Last active
August 29, 2015 13:58
-
-
Save BrianTheCoder/10071053 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user ubuntu; | |
pid /var/run/nginx.pid; | |
worker_processes auto; | |
worker_rlimit_nofile 100000; | |
events { | |
worker_connections 2048; | |
multi_accept on; | |
use epoll; | |
} | |
http { | |
passenger_root /home/ubuntu/.rvm/gems/ruby-2.1.1/gems/passenger-4.0.40; | |
passenger_ruby /home/ubuntu/.rvm/gems/ruby-2.1.1/wrappers/ruby; | |
passenger_load_shell_envvars on; | |
passenger_intercept_errors on; | |
passenger_pool_idle_time 600; | |
passenger_max_request_queue_size 10000; | |
passenger_buffer_response on; | |
passenger_show_version_in_header off; | |
passenger_pre_start https://dstldjeans.com; | |
# enterprise | |
# passenger_memory_limit 700; | |
# passenger_rolling_restarts on; | |
# passenger_resist_deployment_errors on; | |
# passenger_max_request_time 60; | |
sendfile on; | |
tcp_nopush on; | |
tcp_nodelay on; | |
access_log off; | |
error_log /var/log/nginx/error.log crit; | |
keepalive_timeout 300; | |
client_header_timeout 300; | |
client_body_timeout 300; | |
reset_timedout_connection on; | |
send_timeout 300; | |
include /opt/nginx/conf/mime.types; | |
default_type text/html; | |
charset UTF-8; | |
gzip on; | |
gzip_static on; | |
gzip_proxied any; | |
gzip_min_length 256; | |
gzip_comp_level 4; | |
gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript; | |
open_file_cache max=100000 inactive=20s; | |
open_file_cache_valid 30s; | |
open_file_cache_min_uses 2; | |
open_file_cache_errors on; | |
include /opt/nginx/conf/sites-enabled/*; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if(function(t,e){"object"==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 i(t){var e=t.length,i=se.type(t);return"function"===i||se.isWindow(t)?!1:1===t.nodeType&&e?!0:"array"===i||0===e||"number"==typeof e&&e>0&&e-1 in t}function n(t,e,i){if(se.isFunction(e))return se.grep(t,function(t,n){return!!e.call(t,n,t)!==i});if(e.nodeType)return se.grep(t,function(t){return t===e!==i});if("string"==typeof e){if(fe.test(e))return se.filter(e,t,i);e=se.filter(e,t)}return se.grep(t,function(t){return se.inArray(t,e)>=0!==i})}function r(t,e){do t=t[e];while(t&&1!==t.nodeType);return t}function s(t){var e=we[t]={};return se.each(t.match(be)||[],function(t,i){e[i]=!0}),e}function o(){me.addEventListener?(me.removeEventListener("DOMContentLoaded",a,!1),t.removeEventListener("load",a,!1)):(me.detachEvent("onreadystatechange",a),t.detachEvent("onload",a))}function a(){(me.addEventListener||"load"===event.type||"complete"===me.readyState)&&(o(),se.ready())}function l(t,e,i){if(void 0===i&&1===t.nodeType){var n="data-"+e.replace(Ce,"-$1").toLowerCase();if(i=t.getAttribute(n),"string"==typeof i){try{i="true"===i?!0:"false"===i?!1:"null"===i?null:+i+""===i?+i:Se.test(i)?se.parseJSON(i):i}catch(r){}se.data(t,e,i)}else i=void 0}return i}function c(t){var e;for(e in t)if(("data"!==e||!se.isEmptyObject(t[e]))&&"toJSON"!==e)return!1;return!0}function u(t,e,i,n){if(se.acceptData(t)){var r,s,o=se.expando,a=t.nodeType,l=a?se.cache:t,c=a?t[o]:t[o]&&o;if(c&&l[c]&&(n||l[c].data)||void 0!==i||"string"!=typeof e)return c||(c=a?t[o]=Q.pop()||se.guid++:o),l[c]||(l[c]=a?{}:{toJSON:se.noop}),("object"==typeof e||"function"==typeof e)&&(n?l[c]=se.extend(l[c],e):l[c].data=se.extend(l[c].data,e)),s=l[c],n||(s.data||(s.data={}),s=s.data),void 0!==i&&(s[se.camelCase(e)]=i),"string"==typeof e?(r=s[e],null==r&&(r=s[se.camelCase(e)])):r=s,r}}function h(t,e,i){if(se.acceptData(t)){var n,r,s=t.nodeType,o=s?se.cache:t,a=s?t[se.expando]:se.expando;if(o[a]){if(e&&(n=i?o[a]:o[a].data)){se.isArray(e)?e=e.concat(se.map(e,se.camelCase)):e in n?e=[e]:(e=se.camelCase(e),e=e in n?[e]:e.split(" ")),r=e.length;for(;r--;)delete n[e[r]];if(i?!c(n):!se.isEmptyObject(n))return}(i||(delete o[a].data,c(o[a])))&&(s?se.cleanData([t],!0):ne.deleteExpando||o!=o.window?delete o[a]:o[a]=null)}}}function d(){return!0}function f(){return!1}function p(){try{return me.activeElement}catch(t){}}function m(t){var e=$e.split("|"),i=t.createDocumentFragment();if(i.createElement)for(;e.length;)i.createElement(e.pop());return i}function g(t,e){var i,n,r=0,s=typeof t.getElementsByTagName!==ke?t.getElementsByTagName(e||"*"):typeof t.querySelectorAll!==ke?t.querySelectorAll(e||"*"):void 0;if(!s)for(s=[],i=t.childNodes||t;null!=(n=i[r]);r++)!e||se.nodeName(n,e)?s.push(n):se.merge(s,g(n,e));return void 0===e||e&&se.nodeName(t,e)?se.merge([t],s):s}function v(t){Oe.test(t.type)&&(t.defaultChecked=t.checked)}function y(t,e){return se.nodeName(t,"table")&&se.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!==se.find.attr(t,"type"))+"/"+t.type,t}function b(t){var e=Qe.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function w(t,e){for(var i,n=0;null!=(i=t[n]);n++)se._data(i,"globalEval",!e||se._data(e[n],"globalEval"))}function x(t,e){if(1===e.nodeType&&se.hasData(t)){var i,n,r,s=se._data(t),o=se._data(e,s),a=s.events;if(a){delete o.handle,o.events={};for(i in a)for(n=0,r=a[i].length;r>n;n++)se.event.add(e,i,a[i][n])}o.data&&(o.data=se.extend({},o.data))}}function T(t,e){var i,n,r;if(1===e.nodeType){if(i=e.nodeName.toLowerCase(),!ne.noCloneEvent&&e[se.expando]){r=se._data(e);for(n in r.events)se.removeEvent(e,n,r.handle);e.removeAttribute(se.expando)}"script"===i&&e.text!==t.text?(_(e).text=t.text,b(e)):"object"===i?(e.parentNode&&(e.outerHTML=t.outerHTML),ne.html5Clone&&t.innerHTML&&!se.trim(e.innerHTML)&&(e.innerHTML=t.innerHTML)):"input"===i&&Oe.test(t.type)?(e.defaultChecked=e.checked=t.checked,e.value!==t.value&&(e.value=t.value)):"option"===i?e.defaultSelected=e.selected=t.defaultSelected:("input"===i||"textarea"===i)&&(e.defaultValue=t.defaultValue)}}function k(e,i){var n=se(i.createElement(e)).appendTo(i.body),r=t.getDefaultComputedStyle?t.getDefaultComputedStyle(n[0]).display:se.css(n[0],"display");return n.detach(),r}function S(t){var e=me,i=ti[t];return i||(i=k(t,e),"none"!==i&&i||(Je=(Je||se("<iframe frameborder='0' width='0' height='0'/>")).appendTo(e.documentElement),e=(Je[0].contentWindow||Je[0].contentDocument).document,e.write(),e.close(),i=k(t,e),Je.detach()),ti[t]=i),i}function C(t,e){return{get:function(){var i=t();if(null!=i)return i?void delete this.get:(this.get=e).apply(this,arguments)}}}function P(t,e){if(e in t)return e;for(var i=e.charAt(0).toUpperCase()+e.slice(1),n=e,r=fi.length;r--;)if(e=fi[r]+i,e in t)return e;return n}function E(t,e){for(var i,n,r,s=[],o=0,a=t.length;a>o;o++)n=t[o],n.style&&(s[o]=se._data(n,"olddisplay"),i=n.style.display,e?(s[o]||"none"!==i||(n.style.display=""),""===n.style.display&&Ae(n)&&(s[o]=se._data(n,"olddisplay",S(n.nodeName)))):s[o]||(r=Ae(n),(i&&"none"!==i||!r)&&se._data(n,"olddisplay",r?i:se.css(n,"display"))));for(o=0;a>o;o++)n=t[o],n.style&&(e&&"none"!==n.style.display&&""!==n.style.display||(n.style.display=e?s[o]||"":"none"));return t}function A(t,e,i){var n=ci.exec(e);return n?Math.max(0,n[1]-(i||0))+(n[2]||"px"):e}function I(t,e,i,n,r){for(var s=i===(n?"border":"content")?4:"width"===e?1:0,o=0;4>s;s+=2)"margin"===i&&(o+=se.css(t,i+Ee[s],!0,r)),n?("content"===i&&(o-=se.css(t,"padding"+Ee[s],!0,r)),"margin"!==i&&(o-=se.css(t,"border"+Ee[s]+"Width",!0,r))):(o+=se.css(t,"padding"+Ee[s],!0,r),"padding"!==i&&(o+=se.css(t,"border"+Ee[s]+"Width",!0,r)));return o}function O(t,e,i){var n=!0,r="width"===e?t.offsetWidth:t.offsetHeight,s=ei(t),o=ne.boxSizing()&&"border-box"===se.css(t,"boxSizing",!1,s);if(0>=r||null==r){if(r=ii(t,e,s),(0>r||null==r)&&(r=t.style[e]),ri.test(r))return r;n=o&&(ne.boxSizingReliable()||r===t.style[e]),r=parseFloat(r)||0}return r+I(t,e,i||(o?"border":"content"),n,s)+"px"}function D(t,e,i,n,r){return new D.prototype.init(t,e,i,n,r)}function N(){return setTimeout(function(){pi=void 0}),pi=se.now()}function M(t,e){var i,n={height:t},r=0;for(e=e?1:0;4>r;r+=2-e)i=Ee[r],n["margin"+i]=n["padding"+i]=t;return e&&(n.opacity=n.width=t),n}function R(t,e,i){for(var n,r=(bi[e]||[]).concat(bi["*"]),s=0,o=r.length;o>s;s++)if(n=r[s].call(i,e,t))return n}function L(t,e,i){var n,r,s,o,a,l,c,u,h=this,d={},f=t.style,p=t.nodeType&&Ae(t),m=se._data(t,"fxshow");i.queue||(a=se._queueHooks(t,"fx"),null==a.unqueued&&(a.unqueued=0,l=a.empty.fire,a.empty.fire=function(){a.unqueued||l()}),a.unqueued++,h.always(function(){h.always(function(){a.unqueued--,se.queue(t,"fx").length||a.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(i.overflow=[f.overflow,f.overflowX,f.overflowY],c=se.css(t,"display"),u=S(t.nodeName),"none"===c&&(c=u),"inline"===c&&"none"===se.css(t,"float")&&(ne.inlineBlockNeedsLayout&&"inline"!==u?f.zoom=1:f.display="inline-block")),i.overflow&&(f.overflow="hidden",ne.shrinkWrapBlocks()||h.always(function(){f.overflow=i.overflow[0],f.overflowX=i.overflow[1],f.overflowY=i.overflow[2]}));for(n in e)if(r=e[n],gi.exec(r)){if(delete e[n],s=s||"toggle"===r,r===(p?"hide":"show")){if("show"!==r||!m||void 0===m[n])continue;p=!0}d[n]=m&&m[n]||se.style(t,n)}if(!se.isEmptyObject(d)){m?"hidden"in m&&(p=m.hidden):m=se._data(t,"fxshow",{}),s&&(m.hidden=!p),p?se(t).show():h.done(function(){se(t).hide()}),h.done(function(){var e;se._removeData(t,"fxshow");for(e in d)se.style(t,e,d[e])});for(n in d)o=R(p?m[n]:0,n,h),n in m||(m[n]=o.start,p&&(o.end=o.start,o.start="width"===n||"height"===n?1:0))}}function $(t,e){var i,n,r,s,o;for(i in t)if(n=se.camelCase(i),r=e[n],s=t[i],se.isArray(s)&&(r=s[1],s=t[i]=s[0]),i!==n&&(t[n]=s,delete t[i]),o=se.cssHooks[n],o&&"expand"in o){s=o.expand(s),delete t[n];for(i in s)i in t||(t[i]=s[i],e[i]=r)}else e[n]=r}function B(t,e,i){var n,r,s=0,o=_i.length,a=se.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var e=pi||N(),i=Math.max(0,c.startTime+c.duration-e),n=i/c.duration||0,s=1-n,o=0,l=c.tweens.length;l>o;o++)c.tweens[o].run(s);return a.notifyWith(t,[c,s,i]),1>s&&l?i:(a.resolveWith(t,[c]),!1)},c=a.promise({elem:t,props:se.extend({},e),opts:se.extend(!0,{specialEasing:{}},i),originalProperties:e,originalOptions:i,startTime:pi||N(),duration:i.duration,tweens:[],createTween:function(e,i){var n=se.Tween(t,c.opts,e,i,c.opts.specialEasing[e]||c.opts.easing);return c.tweens.push(n),n},stop:function(e){var i=0,n=e?c.tweens.length:0;if(r)return this;for(r=!0;n>i;i++)c.tweens[i].run(1);return e?a.resolveWith(t,[c,e]):a.rejectWith(t,[c,e]),this}}),u=c.props;for($(u,c.opts.specialEasing);o>s;s++)if(n=_i[s].call(c,t,u,c.opts))return n;return se.map(u,R,c),se.isFunction(c.opts.start)&&c.opts.start.call(t,c),se.fx.timer(se.extend(l,{elem:t,anim:c,queue:c.opts.queue})),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always)}function F(t){return function(e,i){"string"!=typeof e&&(i=e,e="*");var n,r=0,s=e.toLowerCase().match(be)||[];if(se.isFunction(i))for(;n=s[r++];)"+"===n.charAt(0)?(n=n.slice(1)||"*",(t[n]=t[n]||[]).unshift(i)):(t[n]=t[n]||[]).push(i)}}function j(t,e,i,n){function r(a){var l;return s[a]=!0,se.each(t[a]||[],function(t,a){var c=a(e,i,n);return"string"!=typeof c||o||s[c]?o?!(l=c):void 0:(e.dataTypes.unshift(c),r(c),!1)}),l}var s={},o=t===Xi;return r(e.dataTypes[0])||!s["*"]&&r("*")}function W(t,e){var i,n,r=se.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((r[n]?t:i||(i={}))[n]=e[n]);return i&&se.extend(!0,t,i),t}function H(t,e,i){for(var n,r,s,o,a=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=t.mimeType||e.getResponseHeader("Content-Type"));if(r)for(o in a)if(a[o]&&a[o].test(r)){l.unshift(o);break}if(l[0]in i)s=l[0];else{for(o in i){if(!l[0]||t.converters[o+" "+l[0]]){s=o;break}n||(n=o)}s=s||n}return s?(s!==l[0]&&l.unshift(s),i[s]):void 0}function z(t,e,i,n){var r,s,o,a,l,c={},u=t.dataTypes.slice();if(u[1])for(o in t.converters)c[o.toLowerCase()]=t.converters[o];for(s=u.shift();s;)if(t.responseFields[s]&&(i[t.responseFields[s]]=e),!l&&n&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=s,s=u.shift())if("*"===s)s=l;else if("*"!==l&&l!==s){if(o=c[l+" "+s]||c["* "+s],!o)for(r in c)if(a=r.split(" "),a[1]===s&&(o=c[l+" "+a[0]]||c["* "+a[0]])){o===!0?o=c[r]:c[r]!==!0&&(s=a[0],u.unshift(a[1]));break}if(o!==!0)if(o&&t["throws"])e=o(e);else try{e=o(e)}catch(h){return{state:"parsererror",error:o?h:"No conversion from "+l+" to "+s}}}return{state:"success",data:e}}function X(t,e,i,n){var r;if(se.isArray(e))se.each(e,function(e,r){i||Qi.test(t)?n(t,r):X(t+"["+("object"==typeof r?e:"")+"]",r,i,n)});else if(i||"object"!==se.type(e))n(t,e);else for(r in e)X(t+"["+r+"]",e[r],i,n)}function q(){try{return new t.XMLHttpRequest}catch(e){}}function U(){try{return new t.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}function Y(t){return se.isWindow(t)?t:9===t.nodeType?t.defaultView||t.parentWindow:!1}var Q=[],V=Q.slice,G=Q.concat,Z=Q.push,K=Q.indexOf,J={},te=J.toString,ee=J.hasOwnProperty,ie="".trim,ne={},re="1.11.0",se=function(t,e){return new se.fn.init(t,e)},oe=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,ae=/^-ms-/,le=/-([\da-z])/gi,ce=function(t,e){return e.toUpperCase()};se.fn=se.prototype={jquery:re,constructor:se,selector:"",length:0,toArray:function(){return V.call(this)},get:function(t){return null!=t?0>t?this[t+this.length]:this[t]:V.call(this)},pushStack:function(t){var e=se.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t,e){return se.each(this,t,e)},map:function(t){return this.pushStack(se.map(this,function(e,i){return t.call(e,i,e)}))},slice:function(){return this.pushStack(V.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,i=+t+(0>t?e:0);return this.pushStack(i>=0&&e>i?[this[i]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:Z,sort:Q.sort,splice:Q.splice},se.extend=se.fn.extend=function(){var t,e,i,n,r,s,o=arguments[0]||{},a=1,l=arguments.length,c=!1;for("boolean"==typeof o&&(c=o,o=arguments[a]||{},a++),"object"==typeof o||se.isFunction(o)||(o={}),a===l&&(o=this,a--);l>a;a++)if(null!=(r=arguments[a]))for(n in r)t=o[n],i=r[n],o!==i&&(c&&i&&(se.isPlainObject(i)||(e=se.isArray(i)))?(e?(e=!1,s=t&&se.isArray(t)?t:[]):s=t&&se.isPlainObject(t)?t:{},o[n]=se.extend(c,s,i)):void 0!==i&&(o[n]=i));return o},se.extend({expando:"jQuery"+(re+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===se.type(t)},isArray:Array.isArray||function(t){return"array"===se.type(t)},isWindow:function(t){return null!=t&&t==t.window},isNumeric:function(t){return t-parseFloat(t)>=0},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},isPlainObject:function(t){var e;if(!t||"object"!==se.type(t)||t.nodeType||se.isWindow(t))return!1;try{if(t.constructor&&!ee.call(t,"constructor")&&!ee.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(i){return!1}if(ne.ownLast)for(e in t)return ee.call(t,e);for(e in t);return void 0===e||ee.call(t,e)},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?J[te.call(t)]||"object":typeof t},globalEval:function(e){e&&se.trim(e)&&(t.execScript||function(e){t.eval.call(t,e)})(e)},camelCase:function(t){return t.replace(ae,"ms-").replace(le,ce)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e,n){var r,s=0,o=t.length,a=i(t);if(n){if(a)for(;o>s&&(r=e.apply(t[s],n),r!==!1);s++);else for(s in t)if(r=e.apply(t[s],n),r===!1)break}else if(a)for(;o>s&&(r=e.call(t[s],s,t[s]),r!==!1);s++);else for(s in t)if(r=e.call(t[s],s,t[s]),r===!1)break;return t},trim:ie&&!ie.call("\ufeff\xa0")?function(t){return null==t?"":ie.call(t)}:function(t){return null==t?"":(t+"").replace(oe,"")},makeArray:function(t,e){var n=e||[];return null!=t&&(i(Object(t))?se.merge(n,"string"==typeof t?[t]:t):Z.call(n,t)),n},inArray:function(t,e,i){var n;if(e){if(K)return K.call(e,t,i);for(n=e.length,i=i?0>i?Math.max(0,n+i):i:0;n>i;i++)if(i in e&&e[i]===t)return i}return-1},merge:function(t,e){for(var i=+e.length,n=0,r=t.length;i>n;)t[r++]=e[n++];if(i!==i)for(;void 0!==e[n];)t[r++]=e[n++];return t.length=r,t},grep:function(t,e,i){for(var n,r=[],s=0,o=t.length,a=!i;o>s;s++)n=!e(t[s],s),n!==a&&r.push(t[s]);return r},map:function(t,e,n){var r,s=0,o=t.length,a=i(t),l=[];if(a)for(;o>s;s++)r=e(t[s],s,n),null!=r&&l.push(r);else for(s in t)r=e(t[s],s,n),null!=r&&l.push(r);return G.apply([],l)},guid:1,proxy:function(t,e){var i,n,r;return"string"==typeof e&&(r=t[e],e=t,t=r),se.isFunction(t)?(i=V.call(arguments,2),n=function(){return t.apply(e||this,i.concat(V.call(arguments)))},n.guid=t.guid=t.guid||se.guid++,n):void 0},now:function(){return+new Date},support:ne}),se.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(t,e){J["[object "+e+"]"]=e.toLowerCase()});var ue=function(t){function e(t,e,i,n){var r,s,o,a,l,c,h,p,m,g;if((e?e.ownerDocument||e:j)!==D&&O(e),e=e||D,i=i||[],!t||"string"!=typeof t)return i;if(1!==(a=e.nodeType)&&9!==a)return[];if(M&&!n){if(r=ye.exec(t))if(o=r[1]){if(9===a){if(s=e.getElementById(o),!s||!s.parentNode)return i;if(s.id===o)return i.push(s),i}else if(e.ownerDocument&&(s=e.ownerDocument.getElementById(o))&&B(e,s)&&s.id===o)return i.push(s),i}else{if(r[2])return J.apply(i,e.getElementsByTagName(t)),i;if((o=r[3])&&T.getElementsByClassName&&e.getElementsByClassName)return J.apply(i,e.getElementsByClassName(o)),i}if(T.qsa&&(!R||!R.test(t))){if(p=h=F,m=e,g=9===a&&t,1===a&&"object"!==e.nodeName.toLowerCase()){for(c=d(t),(h=e.getAttribute("id"))?p=h.replace(be,"\\$&"):e.setAttribute("id",p),p="[id='"+p+"'] ",l=c.length;l--;)c[l]=p+f(c[l]);m=_e.test(t)&&u(e.parentNode)||e,g=c.join(",")}if(g)try{return J.apply(i,m.querySelectorAll(g)),i}catch(v){}finally{h||e.removeAttribute("id")}}}return w(t.replace(le,"$1"),e,i,n)}function i(){function t(i,n){return e.push(i+" ")>k.cacheLength&&delete t[e.shift()],t[i+" "]=n}var e=[];return t}function n(t){return t[F]=!0,t}function r(t){var e=D.createElement("div");try{return!!t(e)}catch(i){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function s(t,e){for(var i=t.split("|"),n=t.length;n--;)k.attrHandle[i[n]]=e}function o(t,e){var i=e&&t,n=i&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||Q)-(~t.sourceIndex||Q);if(n)return n;if(i)for(;i=i.nextSibling;)if(i===e)return-1;return t?1:-1}function a(t){return function(e){var i=e.nodeName.toLowerCase();return"input"===i&&e.type===t}}function l(t){return function(e){var i=e.nodeName.toLowerCase();return("input"===i||"button"===i)&&e.type===t}}function c(t){return n(function(e){return e=+e,n(function(i,n){for(var r,s=t([],i.length,e),o=s.length;o--;)i[r=s[o]]&&(i[r]=!(n[r]=i[r]))})})}function u(t){return t&&typeof t.getElementsByTagName!==Y&&t}function h(){}function d(t,i){var n,r,s,o,a,l,c,u=X[t+" "];if(u)return i?0:u.slice(0);for(a=t,l=[],c=k.preFilter;a;){(!n||(r=ce.exec(a)))&&(r&&(a=a.slice(r[0].length)||a),l.push(s=[])),n=!1,(r=ue.exec(a))&&(n=r.shift(),s.push({value:n,type:r[0].replace(le," ")}),a=a.slice(n.length));for(o in k.filter)!(r=pe[o].exec(a))||c[o]&&!(r=c[o](r))||(n=r.shift(),s.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return i?a.length:a?e.error(t):X(t,l).slice(0)}function f(t){for(var e=0,i=t.length,n="";i>e;e++)n+=t[e].value;return n}function p(t,e,i){var n=e.dir,r=i&&"parentNode"===n,s=H++;return e.first?function(e,i,s){for(;e=e[n];)if(1===e.nodeType||r)return t(e,i,s)}:function(e,i,o){var a,l,c=[W,s];if(o){for(;e=e[n];)if((1===e.nodeType||r)&&t(e,i,o))return!0}else for(;e=e[n];)if(1===e.nodeType||r){if(l=e[F]||(e[F]={}),(a=l[n])&&a[0]===W&&a[1]===s)return c[2]=a[2];if(l[n]=c,c[2]=t(e,i,o))return!0}}}function m(t){return t.length>1?function(e,i,n){for(var r=t.length;r--;)if(!t[r](e,i,n))return!1;return!0}:t[0]}function g(t,e,i,n,r){for(var s,o=[],a=0,l=t.length,c=null!=e;l>a;a++)(s=t[a])&&(!i||i(s,n,r))&&(o.push(s),c&&e.push(a));return o}function v(t,e,i,r,s,o){return r&&!r[F]&&(r=v(r)),s&&!s[F]&&(s=v(s,o)),n(function(n,o,a,l){var c,u,h,d=[],f=[],p=o.length,m=n||b(e||"*",a.nodeType?[a]:a,[]),v=!t||!n&&e?m:g(m,d,t,a,l),y=i?s||(n?t:p||r)?[]:o:v;if(i&&i(v,y,a,l),r)for(c=g(y,f),r(c,[],a,l),u=c.length;u--;)(h=c[u])&&(y[f[u]]=!(v[f[u]]=h));if(n){if(s||t){if(s){for(c=[],u=y.length;u--;)(h=y[u])&&c.push(v[u]=h);s(null,y=[],c,l)}for(u=y.length;u--;)(h=y[u])&&(c=s?ee.call(n,h):d[u])>-1&&(n[c]=!(o[c]=h))}}else y=g(y===o?y.splice(p,y.length):y),s?s(null,o,y,l):J.apply(o,y)})}function y(t){for(var e,i,n,r=t.length,s=k.relative[t[0].type],o=s||k.relative[" "],a=s?1:0,l=p(function(t){return t===e},o,!0),c=p(function(t){return ee.call(e,t)>-1},o,!0),u=[function(t,i,n){return!s&&(n||i!==E)||((e=i).nodeType?l(t,i,n):c(t,i,n))}];r>a;a++)if(i=k.relative[t[a].type])u=[p(m(u),i)];else{if(i=k.filter[t[a].type].apply(null,t[a].matches),i[F]){for(n=++a;r>n&&!k.relative[t[n].type];n++);return v(a>1&&m(u),a>1&&f(t.slice(0,a-1).concat({value:" "===t[a-2].type?"*":""})).replace(le,"$1"),i,n>a&&y(t.slice(a,n)),r>n&&y(t=t.slice(n)),r>n&&f(t))}u.push(i)}return m(u)}function _(t,i){var r=i.length>0,s=t.length>0,o=function(n,o,a,l,c){var u,h,d,f=0,p="0",m=n&&[],v=[],y=E,_=n||s&&k.find.TAG("*",c),b=W+=null==y?1:Math.random()||.1,w=_.length;for(c&&(E=o!==D&&o);p!==w&&null!=(u=_[p]);p++){if(s&&u){for(h=0;d=t[h++];)if(d(u,o,a)){l.push(u);break}c&&(W=b)}r&&((u=!d&&u)&&f--,n&&m.push(u))}if(f+=p,r&&p!==f){for(h=0;d=i[h++];)d(m,v,o,a);if(n){if(f>0)for(;p--;)m[p]||v[p]||(v[p]=Z.call(l));v=g(v)}J.apply(l,v),c&&!n&&v.length>0&&f+i.length>1&&e.uniqueSort(l)}return c&&(W=b,E=y),m};return r?n(o):o}function b(t,i,n){for(var r=0,s=i.length;s>r;r++)e(t,i[r],n);return n}function w(t,e,i,n){var r,s,o,a,l,c=d(t);if(!n&&1===c.length){if(s=c[0]=c[0].slice(0),s.length>2&&"ID"===(o=s[0]).type&&T.getById&&9===e.nodeType&&M&&k.relative[s[1].type]){if(e=(k.find.ID(o.matches[0].replace(we,xe),e)||[])[0],!e)return i;t=t.slice(s.shift().value.length)}for(r=pe.needsContext.test(t)?0:s.length;r--&&(o=s[r],!k.relative[a=o.type]);)if((l=k.find[a])&&(n=l(o.matches[0].replace(we,xe),_e.test(s[0].type)&&u(e.parentNode)||e))){if(s.splice(r,1),t=n.length&&f(s),!t)return J.apply(i,n),i;break}}return P(t,c)(n,e,!M,i,_e.test(t)&&u(e.parentNode)||e),i}var x,T,k,S,C,P,E,A,I,O,D,N,M,R,L,$,B,F="sizzle"+-new Date,j=t.document,W=0,H=0,z=i(),X=i(),q=i(),U=function(t,e){return t===e&&(I=!0),0},Y="undefined",Q=1<<31,V={}.hasOwnProperty,G=[],Z=G.pop,K=G.push,J=G.push,te=G.slice,ee=G.indexOf||function(t){for(var e=0,i=this.length;i>e;e++)if(this[e]===t)return e;return-1},ie="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ne="[\\x20\\t\\r\\n\\f]",re="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",se=re.replace("w","w#"),oe="\\["+ne+"*("+re+")"+ne+"*(?:([*^$|!~]?=)"+ne+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+se+")|)|)"+ne+"*\\]",ae=":("+re+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+oe.replace(3,8)+")*)|.*)\\)|)",le=new RegExp("^"+ne+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ne+"+$","g"),ce=new RegExp("^"+ne+"*,"+ne+"*"),ue=new RegExp("^"+ne+"*([>+~]|"+ne+")"+ne+"*"),he=new RegExp("="+ne+"*([^\\]'\"]*?)"+ne+"*\\]","g"),de=new RegExp(ae),fe=new RegExp("^"+se+"$"),pe={ID:new RegExp("^#("+re+")"),CLASS:new RegExp("^\\.("+re+")"),TAG:new RegExp("^("+re.replace("w","w*")+")"),ATTR:new RegExp("^"+oe),PSEUDO:new RegExp("^"+ae),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ne+"*(even|odd|(([+-]|)(\\d*)n|)"+ne+"*(?:([+-]|)"+ne+"*(\\d+)|))"+ne+"*\\)|)","i"),bool:new RegExp("^(?:"+ie+")$","i"),needsContext:new RegExp("^"+ne+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ne+"*((?:-\\d)?\\d*)"+ne+"*\\)|)(?=[^-]|$)","i")},me=/^(?:input|select|textarea|button)$/i,ge=/^h\d$/i,ve=/^[^{]+\{\s*\[native \w/,ye=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,_e=/[+~]/,be=/'|\\/g,we=new RegExp("\\\\([\\da-f]{1,6}"+ne+"?|("+ne+")|.)","ig"),xe=function(t,e,i){var n="0x"+e-65536;return n!==n||i?e:0>n?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)};try{J.apply(G=te.call(j.childNodes),j.childNodes),G[j.childNodes.length].nodeType}catch(Te){J={apply:G.length?function(t,e){K.apply(t,te.call(e))}:function(t,e){for(var i=t.length,n=0;t[i++]=e[n++];);t.length=i-1}}}T=e.support={},C=e.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return e?"HTML"!==e.nodeName:!1},O=e.setDocument=function(t){var e,i=t?t.ownerDocument||t:j,n=i.defaultView;return i!==D&&9===i.nodeType&&i.documentElement?(D=i,N=i.documentElement,M=!C(i),n&&n!==n.top&&(n.addEventListener?n.addEventListener("unload",function(){O()},!1):n.attachEvent&&n.attachEvent("onunload",function(){O()})),T.attributes=r(function(t){return t.className="i",!t.getAttribute("className")}),T.getElementsByTagName=r(function(t){return t.appendChild(i.createComment("")),!t.getElementsByTagName("*").length}),T.getElementsByClassName=ve.test(i.getElementsByClassName)&&r(function(t){return t.innerHTML="<div class='a'></div><div class='a i'></div>",t.firstChild.className="i",2===t.getElementsByClassName("i").length}),T.getById=r(function(t){return N.appendChild(t).id=F,!i.getElementsByName||!i.getElementsByName(F).length}),T.getById?(k.find.ID=function(t,e){if(typeof e.getElementById!==Y&&M){var i=e.getElementById(t);return i&&i.parentNode?[i]:[]}},k.filter.ID=function(t){var e=t.replace(we,xe);return function(t){return t.getAttribute("id")===e}}):(delete k.find.ID,k.filter.ID=function(t){var e=t.replace(we,xe);return function(t){var i=typeof t.getAttributeNode!==Y&&t.getAttributeNode("id");return i&&i.value===e}}),k.find.TAG=T.getElementsByTagName?function(t,e){return typeof e.getElementsByTagName!==Y?e.getElementsByTagName(t):void 0}:function(t,e){var i,n=[],r=0,s=e.getElementsByTagName(t);if("*"===t){for(;i=s[r++];)1===i.nodeType&&n.push(i);return n}return s},k.find.CLASS=T.getElementsByClassName&&function(t,e){return typeof e.getElementsByClassName!==Y&&M?e.getElementsByClassName(t):void 0},L=[],R=[],(T.qsa=ve.test(i.querySelectorAll))&&(r(function(t){t.innerHTML="<select t=''><option selected=''></option></select>",t.querySelectorAll("[t^='']").length&&R.push("[*^$]="+ne+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||R.push("\\["+ne+"*(?:value|"+ie+")"),t.querySelectorAll(":checked").length||R.push(":checked")}),r(function(t){var e=i.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&R.push("name"+ne+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||R.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),R.push(",.*:")})),(T.matchesSelector=ve.test($=N.webkitMatchesSelector||N.mozMatchesSelector||N.oMatchesSelector||N.msMatchesSelector))&&r(function(t){T.disconnectedMatch=$.call(t,"div"),$.call(t,"[s!='']:x"),L.push("!=",ae)}),R=R.length&&new RegExp(R.join("|")),L=L.length&&new RegExp(L.join("|")),e=ve.test(N.compareDocumentPosition),B=e||ve.test(N.contains)?function(t,e){var i=9===t.nodeType?t.documentElement:t,n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},U=e?function(t,e){if(t===e)return I=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n?n:(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&n||!T.sortDetached&&e.compareDocumentPosition(t)===n?t===i||t.ownerDocument===j&&B(j,t)?-1:e===i||e.ownerDocument===j&&B(j,e)?1:A?ee.call(A,t)-ee.call(A,e):0:4&n?-1:1)}:function(t,e){if(t===e)return I=!0,0;var n,r=0,s=t.parentNode,a=e.parentNode,l=[t],c=[e];if(!s||!a)return t===i?-1:e===i?1:s?-1:a?1:A?ee.call(A,t)-ee.call(A,e):0;if(s===a)return o(t,e);for(n=t;n=n.parentNode;)l.unshift(n);for(n=e;n=n.parentNode;)c.unshift(n);for(;l[r]===c[r];)r++;return r?o(l[r],c[r]):l[r]===j?-1:c[r]===j?1:0},i):D},e.matches=function(t,i){return e(t,null,null,i)},e.matchesSelector=function(t,i){if((t.ownerDocument||t)!==D&&O(t),i=i.replace(he,"='$1']"),!(!T.matchesSelector||!M||L&&L.test(i)||R&&R.test(i)))try{var n=$.call(t,i);if(n||T.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(r){}return e(i,D,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!==D&&O(t),B(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==D&&O(t);var i=k.attrHandle[e.toLowerCase()],n=i&&V.call(k.attrHandle,e.toLowerCase())?i(t,e,!M):void 0;return void 0!==n?n:T.attributes||!M?t.getAttribute(e):(n=t.getAttributeNode(e))&&n.specified?n.value:null},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,i=[],n=0,r=0;if(I=!T.detectDuplicates,A=!T.sortStable&&t.slice(0),t.sort(U),I){for(;e=t[r++];)e===t[r]&&(n=i.push(r));for(;n--;)t.splice(i[n],1)}return A=null,t},S=e.getText=function(t){var e,i="",n=0,r=t.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)i+=S(t)}else if(3===r||4===r)return t.nodeValue}else for(;e=t[n++];)i+=S(e);return i},k=e.selectors={cacheLength:50,createPseudo:n,match:pe,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(we,xe),t[3]=(t[4]||t[5]||"").replace(we,xe),"~="===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,i=!t[5]&&t[2];return pe.CHILD.test(t[0])?null:(t[3]&&void 0!==t[4]?t[2]=t[4]:i&&de.test(i)&&(e=d(i,!0))&&(e=i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(we,xe).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("(^|"+ne+")"+t+"("+ne+"|$)"))&&z(t,function(t){return e.test("string"==typeof t.className&&t.className||typeof t.getAttribute!==Y&&t.getAttribute("class")||"")})},ATTR:function(t,i,n){return function(r){var s=e.attr(r,t);return null==s?"!="===i:i?(s+="","="===i?s===n:"!="===i?s!==n:"^="===i?n&&0===s.indexOf(n):"*="===i?n&&s.indexOf(n)>-1:"$="===i?n&&s.slice(-n.length)===n:"~="===i?(" "+s+" ").indexOf(n)>-1:"|="===i?s===n||s.slice(0,n.length+1)===n+"-":!1):!0}},CHILD:function(t,e,i,n,r){var s="nth"!==t.slice(0,3),o="last"!==t.slice(-4),a="of-type"===e;return 1===n&&0===r?function(t){return!!t.parentNode}:function(e,i,l){var c,u,h,d,f,p,m=s!==o?"nextSibling":"previousSibling",g=e.parentNode,v=a&&e.nodeName.toLowerCase(),y=!l&&!a;if(g){if(s){for(;m;){for(h=e;h=h[m];)if(a?h.nodeName.toLowerCase()===v:1===h.nodeType)return!1;p=m="only"===t&&!p&&"nextSibling"}return!0}if(p=[o?g.firstChild:g.lastChild],o&&y){for(u=g[F]||(g[F]={}),c=u[t]||[],f=c[0]===W&&c[1],d=c[0]===W&&c[2],h=f&&g.childNodes[f];h=++f&&h&&h[m]||(d=f=0)||p.pop();)if(1===h.nodeType&&++d&&h===e){u[t]=[W,f,d];break}}else if(y&&(c=(e[F]||(e[F]={}))[t])&&c[0]===W)d=c[1];else for(;(h=++f&&h&&h[m]||(d=f=0)||p.pop())&&((a?h.nodeName.toLowerCase()!==v:1!==h.nodeType)||!++d||(y&&((h[F]||(h[F]={}))[t]=[W,d]),h!==e)););return d-=r,d===n||d%n===0&&d/n>=0}}},PSEUDO:function(t,i){var r,s=k.pseudos[t]||k.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return s[F]?s(i):s.length>1?(r=[t,t,"",i],k.setFilters.hasOwnProperty(t.toLowerCase())?n(function(t,e){for(var n,r=s(t,i),o=r.length;o--;)n=ee.call(t,r[o]),t[n]=!(e[n]=r[o])}):function(t){return s(t,0,r)}):s}},pseudos:{not:n(function(t){var e=[],i=[],r=P(t.replace(le,"$1"));return r[F]?n(function(t,e,i,n){for(var s,o=r(t,null,n,[]),a=t.length;a--;)(s=o[a])&&(t[a]=!(e[a]=s))}):function(t,n,s){return e[0]=t,r(e,null,s,i),!i.pop()}}),has:n(function(t){return function(i){return e(t,i).length>0}}),contains:n(function(t){return function(e){return(e.textContent||e.innerText||S(e)).indexOf(t)>-1}}),lang:n(function(t){return fe.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(we,xe).toLowerCase(),function(e){var i;do if(i=M?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return i=i.toLowerCase(),i===t||0===i.indexOf(t+"-");while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var i=t.location&&t.location.hash;return i&&i.slice(1)===e.id},root:function(t){return t===N},focus:function(t){return t===D.activeElement&&(!D.hasFocus||D.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return t.disabled===!1},disabled:function(t){return t.disabled===!0},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,t.selected===!0},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!k.pseudos.empty(t)},header:function(t){return ge.test(t.nodeName)},input:function(t){return me.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:c(function(){return[0]}),last:c(function(t,e){return[e-1]}),eq:c(function(t,e,i){return[0>i?i+e:i]}),even:c(function(t,e){for(var i=0;e>i;i+=2)t.push(i);return t}),odd:c(function(t,e){for(var i=1;e>i;i+=2)t.push(i);return t}),lt:c(function(t,e,i){for(var n=0>i?i+e:i;--n>=0;)t.push(n);return t}),gt:c(function(t,e,i){for(var n=0>i?i+e:i;++n<e;)t.push(n);return t})}},k.pseudos.nth=k.pseudos.eq;for(x in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})k.pseudos[x]=a(x);for(x in{submit:!0,reset:!0})k.pseudos[x]=l(x);return h.prototype=k.filters=k.pseudos,k.setFilters=new h,P=e.compile=function(t,e){var i,n=[],r=[],s=q[t+" "];if(!s){for(e||(e=d(t)),i=e.length;i--;)s=y(e[i]),s[F]?n.push(s):r.push(s);s=q(t,_(r,n))}return s},T.sortStable=F.split("").sort(U).join("")===F,T.detectDuplicates=!!I,O(),T.sortDetached=r(function(t){return 1&t.compareDocumentPosition(D.createElement("div")) | |
}),r(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||s("type|href|height|width",function(t,e,i){return i?void 0:t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),T.attributes&&r(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||s("value",function(t,e,i){return i||"input"!==t.nodeName.toLowerCase()?void 0:t.defaultValue}),r(function(t){return null==t.getAttribute("disabled")})||s(ie,function(t,e,i){var n;return i?void 0:t[e]===!0?e.toLowerCase():(n=t.getAttributeNode(e))&&n.specified?n.value:null}),e}(t);se.find=ue,se.expr=ue.selectors,se.expr[":"]=se.expr.pseudos,se.unique=ue.uniqueSort,se.text=ue.getText,se.isXMLDoc=ue.isXML,se.contains=ue.contains;var he=se.expr.match.needsContext,de=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,fe=/^.[^:#\[\.,]*$/;se.filter=function(t,e,i){var n=e[0];return i&&(t=":not("+t+")"),1===e.length&&1===n.nodeType?se.find.matchesSelector(n,t)?[n]:[]:se.find.matches(t,se.grep(e,function(t){return 1===t.nodeType}))},se.fn.extend({find:function(t){var e,i=[],n=this,r=n.length;if("string"!=typeof t)return this.pushStack(se(t).filter(function(){for(e=0;r>e;e++)if(se.contains(n[e],this))return!0}));for(e=0;r>e;e++)se.find(t,n[e],i);return i=this.pushStack(r>1?se.unique(i):i),i.selector=this.selector?this.selector+" "+t:t,i},filter:function(t){return this.pushStack(n(this,t||[],!1))},not:function(t){return this.pushStack(n(this,t||[],!0))},is:function(t){return!!n(this,"string"==typeof t&&he.test(t)?se(t):t||[],!1).length}});var pe,me=t.document,ge=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,ve=se.fn.init=function(t,e){var i,n;if(!t)return this;if("string"==typeof t){if(i="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&t.length>=3?[null,t,null]:ge.exec(t),!i||!i[1]&&e)return!e||e.jquery?(e||pe).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof se?e[0]:e,se.merge(this,se.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:me,!0)),de.test(i[1])&&se.isPlainObject(e))for(i in e)se.isFunction(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}if(n=me.getElementById(i[2]),n&&n.parentNode){if(n.id!==i[2])return pe.find(t);this.length=1,this[0]=n}return this.context=me,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):se.isFunction(t)?"undefined"!=typeof pe.ready?pe.ready(t):t(se):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),se.makeArray(t,this))};ve.prototype=se.fn,pe=se(me);var ye=/^(?:parents|prev(?:Until|All))/,_e={children:!0,contents:!0,next:!0,prev:!0};se.extend({dir:function(t,e,i){for(var n=[],r=t[e];r&&9!==r.nodeType&&(void 0===i||1!==r.nodeType||!se(r).is(i));)1===r.nodeType&&n.push(r),r=r[e];return n},sibling:function(t,e){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&i.push(t);return i}}),se.fn.extend({has:function(t){var e,i=se(t,this),n=i.length;return this.filter(function(){for(e=0;n>e;e++)if(se.contains(this,i[e]))return!0})},closest:function(t,e){for(var i,n=0,r=this.length,s=[],o=he.test(t)||"string"!=typeof t?se(t,e||this.context):0;r>n;n++)for(i=this[n];i&&i!==e;i=i.parentNode)if(i.nodeType<11&&(o?o.index(i)>-1:1===i.nodeType&&se.find.matchesSelector(i,t))){s.push(i);break}return this.pushStack(s.length>1?se.unique(s):s)},index:function(t){return t?"string"==typeof t?se.inArray(this[0],se(t)):se.inArray(t.jquery?t[0]:t,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(se.unique(se.merge(this.get(),se(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),se.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return se.dir(t,"parentNode")},parentsUntil:function(t,e,i){return se.dir(t,"parentNode",i)},next:function(t){return r(t,"nextSibling")},prev:function(t){return r(t,"previousSibling")},nextAll:function(t){return se.dir(t,"nextSibling")},prevAll:function(t){return se.dir(t,"previousSibling")},nextUntil:function(t,e,i){return se.dir(t,"nextSibling",i)},prevUntil:function(t,e,i){return se.dir(t,"previousSibling",i)},siblings:function(t){return se.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return se.sibling(t.firstChild)},contents:function(t){return se.nodeName(t,"iframe")?t.contentDocument||t.contentWindow.document:se.merge([],t.childNodes)}},function(t,e){se.fn[t]=function(i,n){var r=se.map(this,e,i);return"Until"!==t.slice(-5)&&(n=i),n&&"string"==typeof n&&(r=se.filter(n,r)),this.length>1&&(_e[t]||(r=se.unique(r)),ye.test(t)&&(r=r.reverse())),this.pushStack(r)}});var be=/\S+/g,we={};se.Callbacks=function(t){t="string"==typeof t?we[t]||s(t):se.extend({},t);var e,i,n,r,o,a,l=[],c=!t.once&&[],u=function(s){for(i=t.memory&&s,n=!0,o=a||0,a=0,r=l.length,e=!0;l&&r>o;o++)if(l[o].apply(s[0],s[1])===!1&&t.stopOnFalse){i=!1;break}e=!1,l&&(c?c.length&&u(c.shift()):i?l=[]:h.disable())},h={add:function(){if(l){var n=l.length;!function s(e){se.each(e,function(e,i){var n=se.type(i);"function"===n?t.unique&&h.has(i)||l.push(i):i&&i.length&&"string"!==n&&s(i)})}(arguments),e?r=l.length:i&&(a=n,u(i))}return this},remove:function(){return l&&se.each(arguments,function(t,i){for(var n;(n=se.inArray(i,l,n))>-1;)l.splice(n,1),e&&(r>=n&&r--,o>=n&&o--)}),this},has:function(t){return t?se.inArray(t,l)>-1:!(!l||!l.length)},empty:function(){return l=[],r=0,this},disable:function(){return l=c=i=void 0,this},disabled:function(){return!l},lock:function(){return c=void 0,i||h.disable(),this},locked:function(){return!c},fireWith:function(t,i){return!l||n&&!c||(i=i||[],i=[t,i.slice?i.slice():i],e?c.push(i):u(i)),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!n}};return h},se.extend({Deferred:function(t){var e=[["resolve","done",se.Callbacks("once memory"),"resolved"],["reject","fail",se.Callbacks("once memory"),"rejected"],["notify","progress",se.Callbacks("memory")]],i="pending",n={state:function(){return i},always:function(){return r.done(arguments).fail(arguments),this},then:function(){var t=arguments;return se.Deferred(function(i){se.each(e,function(e,s){var o=se.isFunction(t[e])&&t[e];r[s[1]](function(){var t=o&&o.apply(this,arguments);t&&se.isFunction(t.promise)?t.promise().done(i.resolve).fail(i.reject).progress(i.notify):i[s[0]+"With"](this===n?i.promise():this,o?[t]:arguments)})}),t=null}).promise()},promise:function(t){return null!=t?se.extend(t,n):n}},r={};return n.pipe=n.then,se.each(e,function(t,s){var o=s[2],a=s[3];n[s[1]]=o.add,a&&o.add(function(){i=a},e[1^t][2].disable,e[2][2].lock),r[s[0]]=function(){return r[s[0]+"With"](this===r?n:this,arguments),this},r[s[0]+"With"]=o.fireWith}),n.promise(r),t&&t.call(r,r),r},when:function(t){var e,i,n,r=0,s=V.call(arguments),o=s.length,a=1!==o||t&&se.isFunction(t.promise)?o:0,l=1===a?t:se.Deferred(),c=function(t,i,n){return function(r){i[t]=this,n[t]=arguments.length>1?V.call(arguments):r,n===e?l.notifyWith(i,n):--a||l.resolveWith(i,n)}};if(o>1)for(e=new Array(o),i=new Array(o),n=new Array(o);o>r;r++)s[r]&&se.isFunction(s[r].promise)?s[r].promise().done(c(r,n,s)).fail(l.reject).progress(c(r,i,e)):--a;return a||l.resolveWith(n,s),l.promise()}});var xe;se.fn.ready=function(t){return se.ready.promise().done(t),this},se.extend({isReady:!1,readyWait:1,holdReady:function(t){t?se.readyWait++:se.ready(!0)},ready:function(t){if(t===!0?!--se.readyWait:!se.isReady){if(!me.body)return setTimeout(se.ready);se.isReady=!0,t!==!0&&--se.readyWait>0||(xe.resolveWith(me,[se]),se.fn.trigger&&se(me).trigger("ready").off("ready"))}}}),se.ready.promise=function(e){if(!xe)if(xe=se.Deferred(),"complete"===me.readyState)setTimeout(se.ready);else if(me.addEventListener)me.addEventListener("DOMContentLoaded",a,!1),t.addEventListener("load",a,!1);else{me.attachEvent("onreadystatechange",a),t.attachEvent("onload",a);var i=!1;try{i=null==t.frameElement&&me.documentElement}catch(n){}i&&i.doScroll&&!function r(){if(!se.isReady){try{i.doScroll("left")}catch(t){return setTimeout(r,50)}o(),se.ready()}}()}return xe.promise(e)};var Te,ke="undefined";for(Te in se(ne))break;ne.ownLast="0"!==Te,ne.inlineBlockNeedsLayout=!1,se(function(){var t,e,i=me.getElementsByTagName("body")[0];i&&(t=me.createElement("div"),t.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",e=me.createElement("div"),i.appendChild(t).appendChild(e),typeof e.style.zoom!==ke&&(e.style.cssText="border:0;margin:0;width:1px;padding:1px;display:inline;zoom:1",(ne.inlineBlockNeedsLayout=3===e.offsetWidth)&&(i.style.zoom=1)),i.removeChild(t),t=e=null)}),function(){var t=me.createElement("div");if(null==ne.deleteExpando){ne.deleteExpando=!0;try{delete t.test}catch(e){ne.deleteExpando=!1}}t=null}(),se.acceptData=function(t){var e=se.noData[(t.nodeName+" ").toLowerCase()],i=+t.nodeType||1;return 1!==i&&9!==i?!1:!e||e!==!0&&t.getAttribute("classid")===e};var Se=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Ce=/([A-Z])/g;se.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(t){return t=t.nodeType?se.cache[t[se.expando]]:t[se.expando],!!t&&!c(t)},data:function(t,e,i){return u(t,e,i)},removeData:function(t,e){return h(t,e)},_data:function(t,e,i){return u(t,e,i,!0)},_removeData:function(t,e){return h(t,e,!0)}}),se.fn.extend({data:function(t,e){var i,n,r,s=this[0],o=s&&s.attributes;if(void 0===t){if(this.length&&(r=se.data(s),1===s.nodeType&&!se._data(s,"parsedAttrs"))){for(i=o.length;i--;)n=o[i].name,0===n.indexOf("data-")&&(n=se.camelCase(n.slice(5)),l(s,n,r[n]));se._data(s,"parsedAttrs",!0)}return r}return"object"==typeof t?this.each(function(){se.data(this,t)}):arguments.length>1?this.each(function(){se.data(this,t,e)}):s?l(s,t,se.data(s,t)):void 0},removeData:function(t){return this.each(function(){se.removeData(this,t)})}}),se.extend({queue:function(t,e,i){var n;return t?(e=(e||"fx")+"queue",n=se._data(t,e),i&&(!n||se.isArray(i)?n=se._data(t,e,se.makeArray(i)):n.push(i)),n||[]):void 0},dequeue:function(t,e){e=e||"fx";var i=se.queue(t,e),n=i.length,r=i.shift(),s=se._queueHooks(t,e),o=function(){se.dequeue(t,e)};"inprogress"===r&&(r=i.shift(),n--),r&&("fx"===e&&i.unshift("inprogress"),delete s.stop,r.call(t,o,s)),!n&&s&&s.empty.fire()},_queueHooks:function(t,e){var i=e+"queueHooks";return se._data(t,i)||se._data(t,i,{empty:se.Callbacks("once memory").add(function(){se._removeData(t,e+"queue"),se._removeData(t,i)})})}}),se.fn.extend({queue:function(t,e){var i=2;return"string"!=typeof t&&(e=t,t="fx",i--),arguments.length<i?se.queue(this[0],t):void 0===e?this:this.each(function(){var i=se.queue(this,t,e);se._queueHooks(this,t),"fx"===t&&"inprogress"!==i[0]&&se.dequeue(this,t)})},dequeue:function(t){return this.each(function(){se.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var i,n=1,r=se.Deferred(),s=this,o=this.length,a=function(){--n||r.resolveWith(s,[s])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";o--;)i=se._data(s[o],t+"queueHooks"),i&&i.empty&&(n++,i.empty.add(a));return a(),r.promise(e)}});var Pe=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Ee=["Top","Right","Bottom","Left"],Ae=function(t,e){return t=e||t,"none"===se.css(t,"display")||!se.contains(t.ownerDocument,t)},Ie=se.access=function(t,e,i,n,r,s,o){var a=0,l=t.length,c=null==i;if("object"===se.type(i)){r=!0;for(a in i)se.access(t,e,a,i[a],!0,s,o)}else if(void 0!==n&&(r=!0,se.isFunction(n)||(o=!0),c&&(o?(e.call(t,n),e=null):(c=e,e=function(t,e,i){return c.call(se(t),i)})),e))for(;l>a;a++)e(t[a],i,o?n:n.call(t[a],a,e(t[a],i)));return r?t:c?e.call(t):l?e(t[0],i):s},Oe=/^(?:checkbox|radio)$/i;!function(){var t=me.createDocumentFragment(),e=me.createElement("div"),i=me.createElement("input");if(e.setAttribute("className","t"),e.innerHTML=" <link/><table></table><a href='/a'>a</a>",ne.leadingWhitespace=3===e.firstChild.nodeType,ne.tbody=!e.getElementsByTagName("tbody").length,ne.htmlSerialize=!!e.getElementsByTagName("link").length,ne.html5Clone="<:nav></:nav>"!==me.createElement("nav").cloneNode(!0).outerHTML,i.type="checkbox",i.checked=!0,t.appendChild(i),ne.appendChecked=i.checked,e.innerHTML="<textarea>x</textarea>",ne.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,t.appendChild(e),e.innerHTML="<input type='radio' checked='checked' name='t'/>",ne.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,ne.noCloneEvent=!0,e.attachEvent&&(e.attachEvent("onclick",function(){ne.noCloneEvent=!1}),e.cloneNode(!0).click()),null==ne.deleteExpando){ne.deleteExpando=!0;try{delete e.test}catch(n){ne.deleteExpando=!1}}t=e=i=null}(),function(){var e,i,n=me.createElement("div");for(e in{submit:!0,change:!0,focusin:!0})i="on"+e,(ne[e+"Bubbles"]=i in t)||(n.setAttribute(i,"t"),ne[e+"Bubbles"]=n.attributes[i].expando===!1);n=null}();var De=/^(?:input|select|textarea)$/i,Ne=/^key/,Me=/^(?:mouse|contextmenu)|click/,Re=/^(?:focusinfocus|focusoutblur)$/,Le=/^([^.]*)(?:\.(.+)|)$/;se.event={global:{},add:function(t,e,i,n,r){var s,o,a,l,c,u,h,d,f,p,m,g=se._data(t);if(g){for(i.handler&&(l=i,i=l.handler,r=l.selector),i.guid||(i.guid=se.guid++),(o=g.events)||(o=g.events={}),(u=g.handle)||(u=g.handle=function(t){return typeof se===ke||t&&se.event.triggered===t.type?void 0:se.event.dispatch.apply(u.elem,arguments)},u.elem=t),e=(e||"").match(be)||[""],a=e.length;a--;)s=Le.exec(e[a])||[],f=m=s[1],p=(s[2]||"").split(".").sort(),f&&(c=se.event.special[f]||{},f=(r?c.delegateType:c.bindType)||f,c=se.event.special[f]||{},h=se.extend({type:f,origType:m,data:n,handler:i,guid:i.guid,selector:r,needsContext:r&&se.expr.match.needsContext.test(r),namespace:p.join(".")},l),(d=o[f])||(d=o[f]=[],d.delegateCount=0,c.setup&&c.setup.call(t,n,p,u)!==!1||(t.addEventListener?t.addEventListener(f,u,!1):t.attachEvent&&t.attachEvent("on"+f,u))),c.add&&(c.add.call(t,h),h.handler.guid||(h.handler.guid=i.guid)),r?d.splice(d.delegateCount++,0,h):d.push(h),se.event.global[f]=!0);t=null}},remove:function(t,e,i,n,r){var s,o,a,l,c,u,h,d,f,p,m,g=se.hasData(t)&&se._data(t);if(g&&(u=g.events)){for(e=(e||"").match(be)||[""],c=e.length;c--;)if(a=Le.exec(e[c])||[],f=m=a[1],p=(a[2]||"").split(".").sort(),f){for(h=se.event.special[f]||{},f=(n?h.delegateType:h.bindType)||f,d=u[f]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=s=d.length;s--;)o=d[s],!r&&m!==o.origType||i&&i.guid!==o.guid||a&&!a.test(o.namespace)||n&&n!==o.selector&&("**"!==n||!o.selector)||(d.splice(s,1),o.selector&&d.delegateCount--,h.remove&&h.remove.call(t,o));l&&!d.length&&(h.teardown&&h.teardown.call(t,p,g.handle)!==!1||se.removeEvent(t,f,g.handle),delete u[f])}else for(f in u)se.event.remove(t,f+e[c],i,n,!0);se.isEmptyObject(u)&&(delete g.handle,se._removeData(t,"events"))}},trigger:function(e,i,n,r){var s,o,a,l,c,u,h,d=[n||me],f=ee.call(e,"type")?e.type:e,p=ee.call(e,"namespace")?e.namespace.split("."):[];if(a=u=n=n||me,3!==n.nodeType&&8!==n.nodeType&&!Re.test(f+se.event.triggered)&&(f.indexOf(".")>=0&&(p=f.split("."),f=p.shift(),p.sort()),o=f.indexOf(":")<0&&"on"+f,e=e[se.expando]?e:new se.Event(f,"object"==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=n),i=null==i?[e]:se.makeArray(i,[e]),c=se.event.special[f]||{},r||!c.trigger||c.trigger.apply(n,i)!==!1)){if(!r&&!c.noBubble&&!se.isWindow(n)){for(l=c.delegateType||f,Re.test(l+f)||(a=a.parentNode);a;a=a.parentNode)d.push(a),u=a;u===(n.ownerDocument||me)&&d.push(u.defaultView||u.parentWindow||t)}for(h=0;(a=d[h++])&&!e.isPropagationStopped();)e.type=h>1?l:c.bindType||f,s=(se._data(a,"events")||{})[e.type]&&se._data(a,"handle"),s&&s.apply(a,i),s=o&&a[o],s&&s.apply&&se.acceptData(a)&&(e.result=s.apply(a,i),e.result===!1&&e.preventDefault());if(e.type=f,!r&&!e.isDefaultPrevented()&&(!c._default||c._default.apply(d.pop(),i)===!1)&&se.acceptData(n)&&o&&n[f]&&!se.isWindow(n)){u=n[o],u&&(n[o]=null),se.event.triggered=f;try{n[f]()}catch(m){}se.event.triggered=void 0,u&&(n[o]=u)}return e.result}},dispatch:function(t){t=se.event.fix(t);var e,i,n,r,s,o=[],a=V.call(arguments),l=(se._data(this,"events")||{})[t.type]||[],c=se.event.special[t.type]||{};if(a[0]=t,t.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,t)!==!1){for(o=se.event.handlers.call(this,t,l),e=0;(r=o[e++])&&!t.isPropagationStopped();)for(t.currentTarget=r.elem,s=0;(n=r.handlers[s++])&&!t.isImmediatePropagationStopped();)(!t.namespace_re||t.namespace_re.test(n.namespace))&&(t.handleObj=n,t.data=n.data,i=((se.event.special[n.origType]||{}).handle||n.handler).apply(r.elem,a),void 0!==i&&(t.result=i)===!1&&(t.preventDefault(),t.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,t),t.result}},handlers:function(t,e){var i,n,r,s,o=[],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&&(l.disabled!==!0||"click"!==t.type)){for(r=[],s=0;a>s;s++)n=e[s],i=n.selector+" ",void 0===r[i]&&(r[i]=n.needsContext?se(i,this).index(l)>=0:se.find(i,this,null,[l]).length),r[i]&&r.push(n);r.length&&o.push({elem:l,handlers:r})}return a<e.length&&o.push({elem:this,handlers:e.slice(a)}),o},fix:function(t){if(t[se.expando])return t;var e,i,n,r=t.type,s=t,o=this.fixHooks[r];for(o||(this.fixHooks[r]=o=Me.test(r)?this.mouseHooks:Ne.test(r)?this.keyHooks:{}),n=o.props?this.props.concat(o.props):this.props,t=new se.Event(s),e=n.length;e--;)i=n[e],t[i]=s[i];return t.target||(t.target=s.srcElement||me),3===t.target.nodeType&&(t.target=t.target.parentNode),t.metaKey=!!t.metaKey,o.filter?o.filter(t,s):t},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,e){var i,n,r,s=e.button,o=e.fromElement;return null==t.pageX&&null!=e.clientX&&(n=t.target.ownerDocument||me,r=n.documentElement,i=n.body,t.pageX=e.clientX+(r&&r.scrollLeft||i&&i.scrollLeft||0)-(r&&r.clientLeft||i&&i.clientLeft||0),t.pageY=e.clientY+(r&&r.scrollTop||i&&i.scrollTop||0)-(r&&r.clientTop||i&&i.clientTop||0)),!t.relatedTarget&&o&&(t.relatedTarget=o===t.target?e.toElement:o),t.which||void 0===s||(t.which=1&s?1:2&s?3:4&s?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 se.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):void 0},_default:function(t){return se.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&(t.originalEvent.returnValue=t.result)}}},simulate:function(t,e,i,n){var r=se.extend(new se.Event,i,{type:t,isSimulated:!0,originalEvent:{}});n?se.event.trigger(r,null,e):se.event.dispatch.call(e,r),r.isDefaultPrevented()&&i.preventDefault()}},se.removeEvent=me.removeEventListener?function(t,e,i){t.removeEventListener&&t.removeEventListener(e,i,!1)}:function(t,e,i){var n="on"+e;t.detachEvent&&(typeof t[n]===ke&&(t[n]=null),t.detachEvent(n,i))},se.Event=function(t,e){return this instanceof se.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&(t.returnValue===!1||t.getPreventDefault&&t.getPreventDefault())?d:f):this.type=t,e&&se.extend(this,e),this.timeStamp=t&&t.timeStamp||se.now(),void(this[se.expando]=!0)):new se.Event(t,e)},se.Event.prototype={isDefaultPrevented:f,isPropagationStopped:f,isImmediatePropagationStopped:f,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=d,t&&(t.preventDefault?t.preventDefault():t.returnValue=!1)},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=d,t&&(t.stopPropagation&&t.stopPropagation(),t.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=d,this.stopPropagation()}},se.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(t,e){se.event.special[t]={delegateType:e,bindType:e,handle:function(t){var i,n=this,r=t.relatedTarget,s=t.handleObj;return(!r||r!==n&&!se.contains(n,r))&&(t.type=s.origType,i=s.handler.apply(this,arguments),t.type=e),i}}}),ne.submitBubbles||(se.event.special.submit={setup:function(){return se.nodeName(this,"form")?!1:void se.event.add(this,"click._submit keypress._submit",function(t){var e=t.target,i=se.nodeName(e,"input")||se.nodeName(e,"button")?e.form:void 0;i&&!se._data(i,"submitBubbles")&&(se.event.add(i,"submit._submit",function(t){t._submit_bubble=!0}),se._data(i,"submitBubbles",!0))})},postDispatch:function(t){t._submit_bubble&&(delete t._submit_bubble,this.parentNode&&!t.isTrigger&&se.event.simulate("submit",this.parentNode,t,!0))},teardown:function(){return se.nodeName(this,"form")?!1:void se.event.remove(this,"._submit")}}),ne.changeBubbles||(se.event.special.change={setup:function(){return De.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(se.event.add(this,"propertychange._change",function(t){"checked"===t.originalEvent.propertyName&&(this._just_changed=!0)}),se.event.add(this,"click._change",function(t){this._just_changed&&!t.isTrigger&&(this._just_changed=!1),se.event.simulate("change",this,t,!0)})),!1):void se.event.add(this,"beforeactivate._change",function(t){var e=t.target;De.test(e.nodeName)&&!se._data(e,"changeBubbles")&&(se.event.add(e,"change._change",function(t){!this.parentNode||t.isSimulated||t.isTrigger||se.event.simulate("change",this.parentNode,t,!0)}),se._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 se.event.remove(this,"._change"),!De.test(this.nodeName)}}),ne.focusinBubbles||se.each({focus:"focusin",blur:"focusout"},function(t,e){var i=function(t){se.event.simulate(e,t.target,se.event.fix(t),!0)};se.event.special[e]={setup:function(){var n=this.ownerDocument||this,r=se._data(n,e);r||n.addEventListener(t,i,!0),se._data(n,e,(r||0)+1)},teardown:function(){var n=this.ownerDocument||this,r=se._data(n,e)-1;r?se._data(n,e,r):(n.removeEventListener(t,i,!0),se._removeData(n,e))}}}),se.fn.extend({on:function(t,e,i,n,r){var s,o;if("object"==typeof t){"string"!=typeof e&&(i=i||e,e=void 0);for(s in t)this.on(s,e,i,t[s],r);return this}if(null==i&&null==n?(n=e,i=e=void 0):null==n&&("string"==typeof e?(n=i,i=void 0):(n=i,i=e,e=void 0)),n===!1)n=f;else if(!n)return this;return 1===r&&(o=n,n=function(t){return se().off(t),o.apply(this,arguments)},n.guid=o.guid||(o.guid=se.guid++)),this.each(function(){se.event.add(this,t,n,i,e)})},one:function(t,e,i,n){return this.on(t,e,i,n,1)},off:function(t,e,i){var n,r;if(t&&t.preventDefault&&t.handleObj)return n=t.handleObj,se(t.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"==typeof t){for(r in t)this.off(r,e,t[r]);return this}return(e===!1||"function"==typeof e)&&(i=e,e=void 0),i===!1&&(i=f),this.each(function(){se.event.remove(this,t,i,e)})},trigger:function(t,e){return this.each(function(){se.event.trigger(t,e,this)})},triggerHandler:function(t,e){var i=this[0];return i?se.event.trigger(t,e,i,!0):void 0}});var $e="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",Be=/ jQuery\d+="(?:null|\d+)"/g,Fe=new RegExp("<(?:"+$e+")[\\s/>]","i"),je=/^\s+/,We=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,He=/<([\w:]+)/,ze=/<tbody/i,Xe=/<|&#?\w+;/,qe=/<(?:script|style|link)/i,Ue=/checked\s*(?:[^=]|=\s*.checked.)/i,Ye=/^$|\/(?:java|ecma)script/i,Qe=/^true\/(.*)/,Ve=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,Ge={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:ne.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},Ze=m(me),Ke=Ze.appendChild(me.createElement("div"));Ge.optgroup=Ge.option,Ge.tbody=Ge.tfoot=Ge.colgroup=Ge.caption=Ge.thead,Ge.th=Ge.td,se.extend({clone:function(t,e,i){var n,r,s,o,a,l=se.contains(t.ownerDocument,t);if(ne.html5Clone||se.isXMLDoc(t)||!Fe.test("<"+t.nodeName+">")?s=t.cloneNode(!0):(Ke.innerHTML=t.outerHTML,Ke.removeChild(s=Ke.firstChild)),!(ne.noCloneEvent&&ne.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||se.isXMLDoc(t)))for(n=g(s),a=g(t),o=0;null!=(r=a[o]);++o)n[o]&&T(r,n[o]);if(e)if(i)for(a=a||g(t),n=n||g(s),o=0;null!=(r=a[o]);o++)x(r,n[o]);else x(t,s);return n=g(s,"script"),n.length>0&&w(n,!l&&g(t,"script")),n=a=r=null,s},buildFragment:function(t,e,i,n){for(var r,s,o,a,l,c,u,h=t.length,d=m(e),f=[],p=0;h>p;p++)if(s=t[p],s||0===s)if("object"===se.type(s))se.merge(f,s.nodeType?[s]:s);else if(Xe.test(s)){for(a=a||d.appendChild(e.createElement("div")),l=(He.exec(s)||["",""])[1].toLowerCase(),u=Ge[l]||Ge._default,a.innerHTML=u[1]+s.replace(We,"<$1></$2>")+u[2],r=u[0];r--;)a=a.lastChild;if(!ne.leadingWhitespace&&je.test(s)&&f.push(e.createTextNode(je.exec(s)[0])),!ne.tbody)for(s="table"!==l||ze.test(s)?"<table>"!==u[1]||ze.test(s)?0:a:a.firstChild,r=s&&s.childNodes.length;r--;)se.nodeName(c=s.childNodes[r],"tbody")&&!c.childNodes.length&&s.removeChild(c);for(se.merge(f,a.childNodes),a.textContent="";a.firstChild;)a.removeChild(a.firstChild);a=d.lastChild}else f.push(e.createTextNode(s));for(a&&d.removeChild(a),ne.appendChecked||se.grep(g(f,"input"),v),p=0;s=f[p++];)if((!n||-1===se.inArray(s,n))&&(o=se.contains(s.ownerDocument,s),a=g(d.appendChild(s),"script"),o&&w(a),i))for(r=0;s=a[r++];)Ye.test(s.type||"")&&i.push(s);return a=null,d},cleanData:function(t,e){for(var i,n,r,s,o=0,a=se.expando,l=se.cache,c=ne.deleteExpando,u=se.event.special;null!=(i=t[o]);o++)if((e||se.acceptData(i))&&(r=i[a],s=r&&l[r])){if(s.events)for(n in s.events)u[n]?se.event.remove(i,n):se.removeEvent(i,n,s.handle);l[r]&&(delete l[r],c?delete i[a]:typeof i.removeAttribute!==ke?i.removeAttribute(a):i[a]=null,Q.push(r))}}}),se.fn.extend({text:function(t){return Ie(this,function(t){return void 0===t?se.text(this):this.empty().append((this[0]&&this[0].ownerDocument||me).createTextNode(t))},null,t,arguments.length)},append:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=y(this,t);e.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 i,n=t?se.filter(t,this):this,r=0;null!=(i=n[r]);r++)e||1!==i.nodeType||se.cleanData(g(i)),i.parentNode&&(e&&se.contains(i.ownerDocument,i)&&w(g(i,"script")),i.parentNode.removeChild(i));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++){for(1===t.nodeType&&se.cleanData(g(t,!1));t.firstChild;)t.removeChild(t.firstChild);t.options&&se.nodeName(t,"select")&&(t.options.length=0)}return this},clone:function(t,e){return t=null==t?!1:t,e=null==e?t:e,this.map(function(){return se.clone(this,t,e)})},html:function(t){return Ie(this,function(t){var e=this[0]||{},i=0,n=this.length;if(void 0===t)return 1===e.nodeType?e.innerHTML.replace(Be,""):void 0;if(!("string"!=typeof t||qe.test(t)||!ne.htmlSerialize&&Fe.test(t)||!ne.leadingWhitespace&&je.test(t)||Ge[(He.exec(t)||["",""])[1].toLowerCase()])){t=t.replace(We,"<$1></$2>");try{for(;n>i;i++)e=this[i]||{},1===e.nodeType&&(se.cleanData(g(e,!1)),e.innerHTML=t);e=0}catch(r){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=arguments[0];return this.domManip(arguments,function(e){t=this.parentNode,se.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=G.apply([],t);var i,n,r,s,o,a,l=0,c=this.length,u=this,h=c-1,d=t[0],f=se.isFunction(d);if(f||c>1&&"string"==typeof d&&!ne.checkClone&&Ue.test(d))return this.each(function(i){var n=u.eq(i);f&&(t[0]=d.call(this,i,n.html())),n.domManip(t,e)});if(c&&(a=se.buildFragment(t,this[0].ownerDocument,!1,this),i=a.firstChild,1===a.childNodes.length&&(a=i),i)){for(s=se.map(g(a,"script"),_),r=s.length;c>l;l++)n=a,l!==h&&(n=se.clone(n,!0,!0),r&&se.merge(s,g(n,"script"))),e.call(this[l],n,l);if(r)for(o=s[s.length-1].ownerDocument,se.map(s,b),l=0;r>l;l++)n=s[l],Ye.test(n.type||"")&&!se._data(n,"globalEval")&&se.contains(o,n)&&(n.src?se._evalUrl&&se._evalUrl(n.src):se.globalEval((n.text||n.textContent||n.innerHTML||"").replace(Ve,"")));a=i=null}return this}}),se.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){se.fn[t]=function(t){for(var i,n=0,r=[],s=se(t),o=s.length-1;o>=n;n++)i=n===o?this:this.clone(!0),se(s[n])[e](i),Z.apply(r,i.get());return this.pushStack(r)}});var Je,ti={};!function(){var t,e,i=me.createElement("div"),n="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;padding:0;margin:0;border:0";i.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",t=i.getElementsByTagName("a")[0],t.style.cssText="float:left;opacity:.5",ne.opacity=/^0.5/.test(t.style.opacity),ne.cssFloat=!!t.style.cssFloat,i.style.backgroundClip="content-box",i.cloneNode(!0).style.backgroundClip="",ne.clearCloneStyle="content-box"===i.style.backgroundClip,t=i=null,ne.shrinkWrapBlocks=function(){var t,i,r,s;if(null==e){if(t=me.getElementsByTagName("body")[0],!t)return;s="border:0;width:0;height:0;position:absolute;top:0;left:-9999px",i=me.createElement("div"),r=me.createElement("div"),t.appendChild(i).appendChild(r),e=!1,typeof r.style.zoom!==ke&&(r.style.cssText=n+";width:1px;padding:1px;zoom:1",r.innerHTML="<div></div>",r.firstChild.style.width="5px",e=3!==r.offsetWidth),t.removeChild(i),t=i=r=null}return e}}();var ei,ii,ni=/^margin/,ri=new RegExp("^("+Pe+")(?!px)[a-z%]+$","i"),si=/^(top|right|bottom|left)$/;t.getComputedStyle?(ei=function(t){return t.ownerDocument.defaultView.getComputedStyle(t,null)},ii=function(t,e,i){var n,r,s,o,a=t.style;return i=i||ei(t),o=i?i.getPropertyValue(e)||i[e]:void 0,i&&(""!==o||se.contains(t.ownerDocument,t)||(o=se.style(t,e)),ri.test(o)&&ni.test(e)&&(n=a.width,r=a.minWidth,s=a.maxWidth,a.minWidth=a.maxWidth=a.width=o,o=i.width,a.width=n,a.minWidth=r,a.maxWidth=s)),void 0===o?o:o+""}):me.documentElement.currentStyle&&(ei=function(t){return t.currentStyle},ii=function(t,e,i){var n,r,s,o,a=t.style;return i=i||ei(t),o=i?i[e]:void 0,null==o&&a&&a[e]&&(o=a[e]),ri.test(o)&&!si.test(e)&&(n=a.left,r=t.runtimeStyle,s=r&&r.left,s&&(r.left=t.currentStyle.left),a.left="fontSize"===e?"1em":o,o=a.pixelLeft+"px",a.left=n,s&&(r.left=s)),void 0===o?o:o+""||"auto"}),function(){function e(){var e,i,n=me.getElementsByTagName("body")[0];n&&(e=me.createElement("div"),i=me.createElement("div"),e.style.cssText=c,n.appendChild(e).appendChild(i),i.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:absolute;display:block;padding:1px;border:1px;width:4px;margin-top:1%;top:1%",se.swap(n,null!=n.style.zoom?{zoom:1}:{},function(){r=4===i.offsetWidth}),s=!0,o=!1,a=!0,t.getComputedStyle&&(o="1%"!==(t.getComputedStyle(i,null)||{}).top,s="4px"===(t.getComputedStyle(i,null)||{width:"4px"}).width),n.removeChild(e),i=n=null)}var i,n,r,s,o,a,l=me.createElement("div"),c="border:0;width:0;height:0;position:absolute;top:0;left:-9999px",u="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;padding:0;margin:0;border:0";l.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",i=l.getElementsByTagName("a")[0],i.style.cssText="float:left;opacity:.5",ne.opacity=/^0.5/.test(i.style.opacity),ne.cssFloat=!!i.style.cssFloat,l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",ne.clearCloneStyle="content-box"===l.style.backgroundClip,i=l=null,se.extend(ne,{reliableHiddenOffsets:function(){if(null!=n)return n; | |
var t,e,i,r=me.createElement("div"),s=me.getElementsByTagName("body")[0];if(s)return r.setAttribute("className","t"),r.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",t=me.createElement("div"),t.style.cssText=c,s.appendChild(t).appendChild(r),r.innerHTML="<table><tr><td></td><td>t</td></tr></table>",e=r.getElementsByTagName("td"),e[0].style.cssText="padding:0;margin:0;border:0;display:none",i=0===e[0].offsetHeight,e[0].style.display="",e[1].style.display="none",n=i&&0===e[0].offsetHeight,s.removeChild(t),r=s=null,n},boxSizing:function(){return null==r&&e(),r},boxSizingReliable:function(){return null==s&&e(),s},pixelPosition:function(){return null==o&&e(),o},reliableMarginRight:function(){var e,i,n,r;if(null==a&&t.getComputedStyle){if(e=me.getElementsByTagName("body")[0],!e)return;i=me.createElement("div"),n=me.createElement("div"),i.style.cssText=c,e.appendChild(i).appendChild(n),r=n.appendChild(me.createElement("div")),r.style.cssText=n.style.cssText=u,r.style.marginRight=r.style.width="0",n.style.width="1px",a=!parseFloat((t.getComputedStyle(r,null)||{}).marginRight),e.removeChild(i)}return a}})}(),se.swap=function(t,e,i,n){var r,s,o={};for(s in e)o[s]=t.style[s],t.style[s]=e[s];r=i.apply(t,n||[]);for(s in e)t.style[s]=o[s];return r};var oi=/alpha\([^)]*\)/i,ai=/opacity\s*=\s*([^)]*)/,li=/^(none|table(?!-c[ea]).+)/,ci=new RegExp("^("+Pe+")(.*)$","i"),ui=new RegExp("^([+-])=("+Pe+")","i"),hi={position:"absolute",visibility:"hidden",display:"block"},di={letterSpacing:0,fontWeight:400},fi=["Webkit","O","Moz","ms"];se.extend({cssHooks:{opacity:{get:function(t,e){if(e){var i=ii(t,"opacity");return""===i?"1":i}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":ne.cssFloat?"cssFloat":"styleFloat"},style:function(t,e,i,n){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,s,o,a=se.camelCase(e),l=t.style;if(e=se.cssProps[a]||(se.cssProps[a]=P(l,a)),o=se.cssHooks[e]||se.cssHooks[a],void 0===i)return o&&"get"in o&&void 0!==(r=o.get(t,!1,n))?r:l[e];if(s=typeof i,"string"===s&&(r=ui.exec(i))&&(i=(r[1]+1)*r[2]+parseFloat(se.css(t,e)),s="number"),null!=i&&i===i&&("number"!==s||se.cssNumber[a]||(i+="px"),ne.clearCloneStyle||""!==i||0!==e.indexOf("background")||(l[e]="inherit"),!(o&&"set"in o&&void 0===(i=o.set(t,i,n)))))try{l[e]="",l[e]=i}catch(c){}}},css:function(t,e,i,n){var r,s,o,a=se.camelCase(e);return e=se.cssProps[a]||(se.cssProps[a]=P(t.style,a)),o=se.cssHooks[e]||se.cssHooks[a],o&&"get"in o&&(s=o.get(t,!0,i)),void 0===s&&(s=ii(t,e,n)),"normal"===s&&e in di&&(s=di[e]),""===i||i?(r=parseFloat(s),i===!0||se.isNumeric(r)?r||0:s):s}}),se.each(["height","width"],function(t,e){se.cssHooks[e]={get:function(t,i,n){return i?0===t.offsetWidth&&li.test(se.css(t,"display"))?se.swap(t,hi,function(){return O(t,e,n)}):O(t,e,n):void 0},set:function(t,i,n){var r=n&&ei(t);return A(t,i,n?I(t,e,n,ne.boxSizing()&&"border-box"===se.css(t,"boxSizing",!1,r),r):0)}}}),ne.opacity||(se.cssHooks.opacity={get:function(t,e){return ai.test((e&&t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":e?"1":""},set:function(t,e){var i=t.style,n=t.currentStyle,r=se.isNumeric(e)?"alpha(opacity="+100*e+")":"",s=n&&n.filter||i.filter||"";i.zoom=1,(e>=1||""===e)&&""===se.trim(s.replace(oi,""))&&i.removeAttribute&&(i.removeAttribute("filter"),""===e||n&&!n.filter)||(i.filter=oi.test(s)?s.replace(oi,r):s+" "+r)}}),se.cssHooks.marginRight=C(ne.reliableMarginRight,function(t,e){return e?se.swap(t,{display:"inline-block"},ii,[t,"marginRight"]):void 0}),se.each({margin:"",padding:"",border:"Width"},function(t,e){se.cssHooks[t+e]={expand:function(i){for(var n=0,r={},s="string"==typeof i?i.split(" "):[i];4>n;n++)r[t+Ee[n]+e]=s[n]||s[n-2]||s[0];return r}},ni.test(t)||(se.cssHooks[t+e].set=A)}),se.fn.extend({css:function(t,e){return Ie(this,function(t,e,i){var n,r,s={},o=0;if(se.isArray(e)){for(n=ei(t),r=e.length;r>o;o++)s[e[o]]=se.css(t,e[o],!1,n);return s}return void 0!==i?se.style(t,e,i):se.css(t,e)},t,e,arguments.length>1)},show:function(){return E(this,!0)},hide:function(){return E(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){Ae(this)?se(this).show():se(this).hide()})}}),se.Tween=D,D.prototype={constructor:D,init:function(t,e,i,n,r,s){this.elem=t,this.prop=i,this.easing=r||"swing",this.options=e,this.start=this.now=this.cur(),this.end=n,this.unit=s||(se.cssNumber[i]?"":"px")},cur:function(){var t=D.propHooks[this.prop];return t&&t.get?t.get(this):D.propHooks._default.get(this)},run:function(t){var e,i=D.propHooks[this.prop];return this.pos=e=this.options.duration?se.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):D.propHooks._default.set(this),this}},D.prototype.init.prototype=D.prototype,D.propHooks={_default:{get:function(t){var e;return null==t.elem[t.prop]||t.elem.style&&null!=t.elem.style[t.prop]?(e=se.css(t.elem,t.prop,""),e&&"auto"!==e?e:0):t.elem[t.prop]},set:function(t){se.fx.step[t.prop]?se.fx.step[t.prop](t):t.elem.style&&(null!=t.elem.style[se.cssProps[t.prop]]||se.cssHooks[t.prop])?se.style(t.elem,t.prop,t.now+t.unit):t.elem[t.prop]=t.now}}},D.propHooks.scrollTop=D.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},se.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2}},se.fx=D.prototype.init,se.fx.step={};var pi,mi,gi=/^(?:toggle|show|hide)$/,vi=new RegExp("^(?:([+-])=|)("+Pe+")([a-z%]*)$","i"),yi=/queueHooks$/,_i=[L],bi={"*":[function(t,e){var i=this.createTween(t,e),n=i.cur(),r=vi.exec(e),s=r&&r[3]||(se.cssNumber[t]?"":"px"),o=(se.cssNumber[t]||"px"!==s&&+n)&&vi.exec(se.css(i.elem,t)),a=1,l=20;if(o&&o[3]!==s){s=s||o[3],r=r||[],o=+n||1;do a=a||".5",o/=a,se.style(i.elem,t,o+s);while(a!==(a=i.cur()/n)&&1!==a&&--l)}return r&&(o=i.start=+o||+n||0,i.unit=s,i.end=r[1]?o+(r[1]+1)*r[2]:+r[2]),i}]};se.Animation=se.extend(B,{tweener:function(t,e){se.isFunction(t)?(e=t,t=["*"]):t=t.split(" ");for(var i,n=0,r=t.length;r>n;n++)i=t[n],bi[i]=bi[i]||[],bi[i].unshift(e)},prefilter:function(t,e){e?_i.unshift(t):_i.push(t)}}),se.speed=function(t,e,i){var n=t&&"object"==typeof t?se.extend({},t):{complete:i||!i&&e||se.isFunction(t)&&t,duration:t,easing:i&&e||e&&!se.isFunction(e)&&e};return n.duration=se.fx.off?0:"number"==typeof n.duration?n.duration:n.duration in se.fx.speeds?se.fx.speeds[n.duration]:se.fx.speeds._default,(null==n.queue||n.queue===!0)&&(n.queue="fx"),n.old=n.complete,n.complete=function(){se.isFunction(n.old)&&n.old.call(this),n.queue&&se.dequeue(this,n.queue)},n},se.fn.extend({fadeTo:function(t,e,i,n){return this.filter(Ae).css("opacity",0).show().end().animate({opacity:e},t,i,n)},animate:function(t,e,i,n){var r=se.isEmptyObject(t),s=se.speed(e,i,n),o=function(){var e=B(this,se.extend({},t),s);(r||se._data(this,"finish"))&&e.stop(!0)};return o.finish=o,r||s.queue===!1?this.each(o):this.queue(s.queue,o)},stop:function(t,e,i){var n=function(t){var e=t.stop;delete t.stop,e(i)};return"string"!=typeof t&&(i=e,e=t,t=void 0),e&&t!==!1&&this.queue(t||"fx",[]),this.each(function(){var e=!0,r=null!=t&&t+"queueHooks",s=se.timers,o=se._data(this);if(r)o[r]&&o[r].stop&&n(o[r]);else for(r in o)o[r]&&o[r].stop&&yi.test(r)&&n(o[r]);for(r=s.length;r--;)s[r].elem!==this||null!=t&&s[r].queue!==t||(s[r].anim.stop(i),e=!1,s.splice(r,1));(e||!i)&&se.dequeue(this,t)})},finish:function(t){return t!==!1&&(t=t||"fx"),this.each(function(){var e,i=se._data(this),n=i[t+"queue"],r=i[t+"queueHooks"],s=se.timers,o=n?n.length:0;for(i.finish=!0,se.queue(this,t,[]),r&&r.stop&&r.stop.call(this,!0),e=s.length;e--;)s[e].elem===this&&s[e].queue===t&&(s[e].anim.stop(!0),s.splice(e,1));for(e=0;o>e;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete i.finish})}}),se.each(["toggle","show","hide"],function(t,e){var i=se.fn[e];se.fn[e]=function(t,n,r){return null==t||"boolean"==typeof t?i.apply(this,arguments):this.animate(M(e,!0),t,n,r)}}),se.each({slideDown:M("show"),slideUp:M("hide"),slideToggle:M("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){se.fn[t]=function(t,i,n){return this.animate(e,t,i,n)}}),se.timers=[],se.fx.tick=function(){var t,e=se.timers,i=0;for(pi=se.now();i<e.length;i++)t=e[i],t()||e[i]!==t||e.splice(i--,1);e.length||se.fx.stop(),pi=void 0},se.fx.timer=function(t){se.timers.push(t),t()?se.fx.start():se.timers.pop()},se.fx.interval=13,se.fx.start=function(){mi||(mi=setInterval(se.fx.tick,se.fx.interval))},se.fx.stop=function(){clearInterval(mi),mi=null},se.fx.speeds={slow:600,fast:200,_default:400},se.fn.delay=function(t,e){return t=se.fx?se.fx.speeds[t]||t:t,e=e||"fx",this.queue(e,function(e,i){var n=setTimeout(e,t);i.stop=function(){clearTimeout(n)}})},function(){var t,e,i,n,r=me.createElement("div");r.setAttribute("className","t"),r.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",t=r.getElementsByTagName("a")[0],i=me.createElement("select"),n=i.appendChild(me.createElement("option")),e=r.getElementsByTagName("input")[0],t.style.cssText="top:1px",ne.getSetAttribute="t"!==r.className,ne.style=/top/.test(t.getAttribute("style")),ne.hrefNormalized="/a"===t.getAttribute("href"),ne.checkOn=!!e.value,ne.optSelected=n.selected,ne.enctype=!!me.createElement("form").enctype,i.disabled=!0,ne.optDisabled=!n.disabled,e=me.createElement("input"),e.setAttribute("value",""),ne.input=""===e.getAttribute("value"),e.value="t",e.setAttribute("type","radio"),ne.radioValue="t"===e.value,t=e=i=n=r=null}();var wi=/\r/g;se.fn.extend({val:function(t){var e,i,n,r=this[0];{if(arguments.length)return n=se.isFunction(t),this.each(function(i){var r;1===this.nodeType&&(r=n?t.call(this,i,se(this).val()):t,null==r?r="":"number"==typeof r?r+="":se.isArray(r)&&(r=se.map(r,function(t){return null==t?"":t+""})),e=se.valHooks[this.type]||se.valHooks[this.nodeName.toLowerCase()],e&&"set"in e&&void 0!==e.set(this,r,"value")||(this.value=r))});if(r)return e=se.valHooks[r.type]||se.valHooks[r.nodeName.toLowerCase()],e&&"get"in e&&void 0!==(i=e.get(r,"value"))?i:(i=r.value,"string"==typeof i?i.replace(wi,""):null==i?"":i)}}}),se.extend({valHooks:{option:{get:function(t){var e=se.find.attr(t,"value");return null!=e?e:se.text(t)}},select:{get:function(t){for(var e,i,n=t.options,r=t.selectedIndex,s="select-one"===t.type||0>r,o=s?null:[],a=s?r+1:n.length,l=0>r?a:s?r:0;a>l;l++)if(i=n[l],!(!i.selected&&l!==r||(ne.optDisabled?i.disabled:null!==i.getAttribute("disabled"))||i.parentNode.disabled&&se.nodeName(i.parentNode,"optgroup"))){if(e=se(i).val(),s)return e;o.push(e)}return o},set:function(t,e){for(var i,n,r=t.options,s=se.makeArray(e),o=r.length;o--;)if(n=r[o],se.inArray(se.valHooks.option.get(n),s)>=0)try{n.selected=i=!0}catch(a){n.scrollHeight}else n.selected=!1;return i||(t.selectedIndex=-1),r}}}}),se.each(["radio","checkbox"],function(){se.valHooks[this]={set:function(t,e){return se.isArray(e)?t.checked=se.inArray(se(t).val(),e)>=0:void 0}},ne.checkOn||(se.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var xi,Ti,ki=se.expr.attrHandle,Si=/^(?:checked|selected)$/i,Ci=ne.getSetAttribute,Pi=ne.input;se.fn.extend({attr:function(t,e){return Ie(this,se.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){se.removeAttr(this,t)})}}),se.extend({attr:function(t,e,i){var n,r,s=t.nodeType;if(t&&3!==s&&8!==s&&2!==s)return typeof t.getAttribute===ke?se.prop(t,e,i):(1===s&&se.isXMLDoc(t)||(e=e.toLowerCase(),n=se.attrHooks[e]||(se.expr.match.bool.test(e)?Ti:xi)),void 0===i?n&&"get"in n&&null!==(r=n.get(t,e))?r:(r=se.find.attr(t,e),null==r?void 0:r):null!==i?n&&"set"in n&&void 0!==(r=n.set(t,i,e))?r:(t.setAttribute(e,i+""),i):void se.removeAttr(t,e))},removeAttr:function(t,e){var i,n,r=0,s=e&&e.match(be);if(s&&1===t.nodeType)for(;i=s[r++];)n=se.propFix[i]||i,se.expr.match.bool.test(i)?Pi&&Ci||!Si.test(i)?t[n]=!1:t[se.camelCase("default-"+i)]=t[n]=!1:se.attr(t,i,""),t.removeAttribute(Ci?i:n)},attrHooks:{type:{set:function(t,e){if(!ne.radioValue&&"radio"===e&&se.nodeName(t,"input")){var i=t.value;return t.setAttribute("type",e),i&&(t.value=i),e}}}}}),Ti={set:function(t,e,i){return e===!1?se.removeAttr(t,i):Pi&&Ci||!Si.test(i)?t.setAttribute(!Ci&&se.propFix[i]||i,i):t[se.camelCase("default-"+i)]=t[i]=!0,i}},se.each(se.expr.match.bool.source.match(/\w+/g),function(t,e){var i=ki[e]||se.find.attr;ki[e]=Pi&&Ci||!Si.test(e)?function(t,e,n){var r,s;return n||(s=ki[e],ki[e]=r,r=null!=i(t,e,n)?e.toLowerCase():null,ki[e]=s),r}:function(t,e,i){return i?void 0:t[se.camelCase("default-"+e)]?e.toLowerCase():null}}),Pi&&Ci||(se.attrHooks.value={set:function(t,e,i){return se.nodeName(t,"input")?void(t.defaultValue=e):xi&&xi.set(t,e,i)}}),Ci||(xi={set:function(t,e,i){var n=t.getAttributeNode(i);return n||t.setAttributeNode(n=t.ownerDocument.createAttribute(i)),n.value=e+="","value"===i||e===t.getAttribute(i)?e:void 0}},ki.id=ki.name=ki.coords=function(t,e,i){var n;return i?void 0:(n=t.getAttributeNode(e))&&""!==n.value?n.value:null},se.valHooks.button={get:function(t,e){var i=t.getAttributeNode(e);return i&&i.specified?i.value:void 0},set:xi.set},se.attrHooks.contenteditable={set:function(t,e,i){xi.set(t,""===e?!1:e,i)}},se.each(["width","height"],function(t,e){se.attrHooks[e]={set:function(t,i){return""===i?(t.setAttribute(e,"auto"),i):void 0}}})),ne.style||(se.attrHooks.style={get:function(t){return t.style.cssText||void 0},set:function(t,e){return t.style.cssText=e+""}});var Ei=/^(?:input|select|textarea|button|object)$/i,Ai=/^(?:a|area)$/i;se.fn.extend({prop:function(t,e){return Ie(this,se.prop,t,e,arguments.length>1)},removeProp:function(t){return t=se.propFix[t]||t,this.each(function(){try{this[t]=void 0,delete this[t]}catch(e){}})}}),se.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(t,e,i){var n,r,s,o=t.nodeType;if(t&&3!==o&&8!==o&&2!==o)return s=1!==o||!se.isXMLDoc(t),s&&(e=se.propFix[e]||e,r=se.propHooks[e]),void 0!==i?r&&"set"in r&&void 0!==(n=r.set(t,i,e))?n:t[e]=i:r&&"get"in r&&null!==(n=r.get(t,e))?n:t[e]},propHooks:{tabIndex:{get:function(t){var e=se.find.attr(t,"tabindex");return e?parseInt(e,10):Ei.test(t.nodeName)||Ai.test(t.nodeName)&&t.href?0:-1}}}}),ne.hrefNormalized||se.each(["href","src"],function(t,e){se.propHooks[e]={get:function(t){return t.getAttribute(e,4)}}}),ne.optSelected||(se.propHooks.selected={get:function(t){var e=t.parentNode;return e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex),null}}),se.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){se.propFix[this.toLowerCase()]=this}),ne.enctype||(se.propFix.enctype="encoding");var Ii=/[\t\r\n\f]/g;se.fn.extend({addClass:function(t){var e,i,n,r,s,o,a=0,l=this.length,c="string"==typeof t&&t;if(se.isFunction(t))return this.each(function(e){se(this).addClass(t.call(this,e,this.className))});if(c)for(e=(t||"").match(be)||[];l>a;a++)if(i=this[a],n=1===i.nodeType&&(i.className?(" "+i.className+" ").replace(Ii," "):" ")){for(s=0;r=e[s++];)n.indexOf(" "+r+" ")<0&&(n+=r+" ");o=se.trim(n),i.className!==o&&(i.className=o)}return this},removeClass:function(t){var e,i,n,r,s,o,a=0,l=this.length,c=0===arguments.length||"string"==typeof t&&t;if(se.isFunction(t))return this.each(function(e){se(this).removeClass(t.call(this,e,this.className))});if(c)for(e=(t||"").match(be)||[];l>a;a++)if(i=this[a],n=1===i.nodeType&&(i.className?(" "+i.className+" ").replace(Ii," "):"")){for(s=0;r=e[s++];)for(;n.indexOf(" "+r+" ")>=0;)n=n.replace(" "+r+" "," ");o=t?se.trim(n):"",i.className!==o&&(i.className=o)}return this},toggleClass:function(t,e){var i=typeof t;return"boolean"==typeof e&&"string"===i?e?this.addClass(t):this.removeClass(t):this.each(se.isFunction(t)?function(i){se(this).toggleClass(t.call(this,i,this.className,e),e)}:function(){if("string"===i)for(var e,n=0,r=se(this),s=t.match(be)||[];e=s[n++];)r.hasClass(e)?r.removeClass(e):r.addClass(e);else(i===ke||"boolean"===i)&&(this.className&&se._data(this,"__className__",this.className),this.className=this.className||t===!1?"":se._data(this,"__className__")||"")})},hasClass:function(t){for(var e=" "+t+" ",i=0,n=this.length;n>i;i++)if(1===this[i].nodeType&&(" "+this[i].className+" ").replace(Ii," ").indexOf(e)>=0)return!0;return!1}}),se.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){se.fn[e]=function(t,i){return arguments.length>0?this.on(e,null,t,i):this.trigger(e)}}),se.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)},bind:function(t,e,i){return this.on(t,null,e,i)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,i,n){return this.on(e,t,i,n)},undelegate:function(t,e,i){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",i)}});var Oi=se.now(),Di=/\?/,Ni=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;se.parseJSON=function(e){if(t.JSON&&t.JSON.parse)return t.JSON.parse(e+"");var i,n=null,r=se.trim(e+"");return r&&!se.trim(r.replace(Ni,function(t,e,r,s){return i&&e&&(n=0),0===n?t:(i=r||e,n+=!s-!r,"")}))?Function("return "+r)():se.error("Invalid JSON: "+e)},se.parseXML=function(e){var i,n;if(!e||"string"!=typeof e)return null;try{t.DOMParser?(n=new DOMParser,i=n.parseFromString(e,"text/xml")):(i=new ActiveXObject("Microsoft.XMLDOM"),i.async="false",i.loadXML(e))}catch(r){i=void 0}return i&&i.documentElement&&!i.getElementsByTagName("parsererror").length||se.error("Invalid XML: "+e),i};var Mi,Ri,Li=/#.*$/,$i=/([?&])_=[^&]*/,Bi=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Fi=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,ji=/^(?:GET|HEAD)$/,Wi=/^\/\//,Hi=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,zi={},Xi={},qi="*/".concat("*");try{Ri=location.href}catch(Ui){Ri=me.createElement("a"),Ri.href="",Ri=Ri.href}Mi=Hi.exec(Ri.toLowerCase())||[],se.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ri,type:"GET",isLocal:Fi.test(Mi[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":qi,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":se.parseJSON,"text xml":se.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?W(W(t,se.ajaxSettings),e):W(se.ajaxSettings,t)},ajaxPrefilter:F(zi),ajaxTransport:F(Xi),ajax:function(t,e){function i(t,e,i,n){var r,u,v,y,b,x=e;2!==_&&(_=2,a&&clearTimeout(a),c=void 0,o=n||"",w.readyState=t>0?4:0,r=t>=200&&300>t||304===t,i&&(y=H(h,w,i)),y=z(h,y,w,r),r?(h.ifModified&&(b=w.getResponseHeader("Last-Modified"),b&&(se.lastModified[s]=b),b=w.getResponseHeader("etag"),b&&(se.etag[s]=b)),204===t||"HEAD"===h.type?x="nocontent":304===t?x="notmodified":(x=y.state,u=y.data,v=y.error,r=!v)):(v=x,(t||!x)&&(x="error",0>t&&(t=0))),w.status=t,w.statusText=(e||x)+"",r?p.resolveWith(d,[u,x,w]):p.rejectWith(d,[w,x,v]),w.statusCode(g),g=void 0,l&&f.trigger(r?"ajaxSuccess":"ajaxError",[w,h,r?u:v]),m.fireWith(d,[w,x]),l&&(f.trigger("ajaxComplete",[w,h]),--se.active||se.event.trigger("ajaxStop")))}"object"==typeof t&&(e=t,t=void 0),e=e||{};var n,r,s,o,a,l,c,u,h=se.ajaxSetup({},e),d=h.context||h,f=h.context&&(d.nodeType||d.jquery)?se(d):se.event,p=se.Deferred(),m=se.Callbacks("once memory"),g=h.statusCode||{},v={},y={},_=0,b="canceled",w={readyState:0,getResponseHeader:function(t){var e;if(2===_){if(!u)for(u={};e=Bi.exec(o);)u[e[1].toLowerCase()]=e[2];e=u[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===_?o:null},setRequestHeader:function(t,e){var i=t.toLowerCase();return _||(t=y[i]=y[i]||t,v[t]=e),this},overrideMimeType:function(t){return _||(h.mimeType=t),this},statusCode:function(t){var e;if(t)if(2>_)for(e in t)g[e]=[g[e],t[e]];else w.always(t[w.status]);return this},abort:function(t){var e=t||b;return c&&c.abort(e),i(0,e),this}};if(p.promise(w).complete=m.add,w.success=w.done,w.error=w.fail,h.url=((t||h.url||Ri)+"").replace(Li,"").replace(Wi,Mi[1]+"//"),h.type=e.method||e.type||h.method||h.type,h.dataTypes=se.trim(h.dataType||"*").toLowerCase().match(be)||[""],null==h.crossDomain&&(n=Hi.exec(h.url.toLowerCase()),h.crossDomain=!(!n||n[1]===Mi[1]&&n[2]===Mi[2]&&(n[3]||("http:"===n[1]?"80":"443"))===(Mi[3]||("http:"===Mi[1]?"80":"443")))),h.data&&h.processData&&"string"!=typeof h.data&&(h.data=se.param(h.data,h.traditional)),j(zi,h,e,w),2===_)return w;l=h.global,l&&0===se.active++&&se.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!ji.test(h.type),s=h.url,h.hasContent||(h.data&&(s=h.url+=(Di.test(s)?"&":"?")+h.data,delete h.data),h.cache===!1&&(h.url=$i.test(s)?s.replace($i,"$1_="+Oi++):s+(Di.test(s)?"&":"?")+"_="+Oi++)),h.ifModified&&(se.lastModified[s]&&w.setRequestHeader("If-Modified-Since",se.lastModified[s]),se.etag[s]&&w.setRequestHeader("If-None-Match",se.etag[s])),(h.data&&h.hasContent&&h.contentType!==!1||e.contentType)&&w.setRequestHeader("Content-Type",h.contentType),w.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+qi+"; q=0.01":""):h.accepts["*"]);for(r in h.headers)w.setRequestHeader(r,h.headers[r]);if(h.beforeSend&&(h.beforeSend.call(d,w,h)===!1||2===_))return w.abort();b="abort";for(r in{success:1,error:1,complete:1})w[r](h[r]);if(c=j(Xi,h,e,w)){w.readyState=1,l&&f.trigger("ajaxSend",[w,h]),h.async&&h.timeout>0&&(a=setTimeout(function(){w.abort("timeout")},h.timeout));try{_=1,c.send(v,i)}catch(x){if(!(2>_))throw x;i(-1,x)}}else i(-1,"No Transport");return w},getJSON:function(t,e,i){return se.get(t,e,i,"json")},getScript:function(t,e){return se.get(t,void 0,e,"script")}}),se.each(["get","post"],function(t,e){se[e]=function(t,i,n,r){return se.isFunction(i)&&(r=r||n,n=i,i=void 0),se.ajax({url:t,type:e,dataType:r,data:i,success:n})}}),se.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){se.fn[e]=function(t){return this.on(e,t)}}),se._evalUrl=function(t){return se.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},se.fn.extend({wrapAll:function(t){if(se.isFunction(t))return this.each(function(e){se(this).wrapAll(t.call(this,e))});if(this[0]){var e=se(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(se.isFunction(t)?function(e){se(this).wrapInner(t.call(this,e))}:function(){var e=se(this),i=e.contents();i.length?i.wrapAll(t):e.append(t)})},wrap:function(t){var e=se.isFunction(t);return this.each(function(i){se(this).wrapAll(e?t.call(this,i):t)})},unwrap:function(){return this.parent().each(function(){se.nodeName(this,"body")||se(this).replaceWith(this.childNodes)}).end()}}),se.expr.filters.hidden=function(t){return t.offsetWidth<=0&&t.offsetHeight<=0||!ne.reliableHiddenOffsets()&&"none"===(t.style&&t.style.display||se.css(t,"display"))},se.expr.filters.visible=function(t){return!se.expr.filters.hidden(t)};var Yi=/%20/g,Qi=/\[\]$/,Vi=/\r?\n/g,Gi=/^(?:submit|button|image|reset|file)$/i,Zi=/^(?:input|select|textarea|keygen)/i;se.param=function(t,e){var i,n=[],r=function(t,e){e=se.isFunction(e)?e():null==e?"":e,n[n.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(void 0===e&&(e=se.ajaxSettings&&se.ajaxSettings.traditional),se.isArray(t)||t.jquery&&!se.isPlainObject(t))se.each(t,function(){r(this.name,this.value)});else for(i in t)X(i,t[i],e,r);return n.join("&").replace(Yi,"+")},se.fn.extend({serialize:function(){return se.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=se.prop(this,"elements");return t?se.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!se(this).is(":disabled")&&Zi.test(this.nodeName)&&!Gi.test(t)&&(this.checked||!Oe.test(t))}).map(function(t,e){var i=se(this).val();return null==i?null:se.isArray(i)?se.map(i,function(t){return{name:e.name,value:t.replace(Vi,"\r\n")}}):{name:e.name,value:i.replace(Vi,"\r\n")}}).get()}}),se.ajaxSettings.xhr=void 0!==t.ActiveXObject?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&q()||U()}:q;var Ki=0,Ji={},tn=se.ajaxSettings.xhr();t.ActiveXObject&&se(t).on("unload",function(){for(var t in Ji)Ji[t](void 0,!0)}),ne.cors=!!tn&&"withCredentials"in tn,tn=ne.ajax=!!tn,tn&&se.ajaxTransport(function(t){if(!t.crossDomain||ne.cors){var e;return{send:function(i,n){var r,s=t.xhr(),o=++Ki;if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(r in t.xhrFields)s[r]=t.xhrFields[r];t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");for(r in i)void 0!==i[r]&&s.setRequestHeader(r,i[r]+"");s.send(t.hasContent&&t.data||null),e=function(i,r){var a,l,c;if(e&&(r||4===s.readyState))if(delete Ji[o],e=void 0,s.onreadystatechange=se.noop,r)4!==s.readyState&&s.abort();else{c={},a=s.status,"string"==typeof s.responseText&&(c.text=s.responseText);try{l=s.statusText}catch(u){l=""}a||!t.isLocal||t.crossDomain?1223===a&&(a=204):a=c.text?200:404}c&&n(a,l,c,s.getAllResponseHeaders())},t.async?4===s.readyState?setTimeout(e):s.onreadystatechange=Ji[o]=e:e()},abort:function(){e&&e(void 0,!0)}}}}),se.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(t){return se.globalEval(t),t}}}),se.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET",t.global=!1)}),se.ajaxTransport("script",function(t){if(t.crossDomain){var e,i=me.head||se("head")[0]||me.documentElement;return{send:function(n,r){e=me.createElement("script"),e.async=!0,t.scriptCharset&&(e.charset=t.scriptCharset),e.src=t.url,e.onload=e.onreadystatechange=function(t,i){(i||!e.readyState||/loaded|complete/.test(e.readyState))&&(e.onload=e.onreadystatechange=null,e.parentNode&&e.parentNode.removeChild(e),e=null,i||r(200,"success"))},i.insertBefore(e,i.firstChild)},abort:function(){e&&e.onload(void 0,!0)}}}});var en=[],nn=/(=)\?(?=&|$)|\?\?/;se.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=en.pop()||se.expando+"_"+Oi++;return this[t]=!0,t}}),se.ajaxPrefilter("json jsonp",function(e,i,n){var r,s,o,a=e.jsonp!==!1&&(nn.test(e.url)?"url":"string"==typeof e.data&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&nn.test(e.data)&&"data");return a||"jsonp"===e.dataTypes[0]?(r=e.jsonpCallback=se.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(nn,"$1"+r):e.jsonp!==!1&&(e.url+=(Di.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||se.error(r+" was not called"),o[0]},e.dataTypes[0]="json",s=t[r],t[r]=function(){o=arguments},n.always(function(){t[r]=s,e[r]&&(e.jsonpCallback=i.jsonpCallback,en.push(r)),o&&se.isFunction(s)&&s(o[0]),o=s=void 0}),"script"):void 0}),se.parseHTML=function(t,e,i){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(i=e,e=!1),e=e||me;var n=de.exec(t),r=!i&&[];return n?[e.createElement(n[1])]:(n=se.buildFragment([t],e,r),r&&r.length&&se(r).remove(),se.merge([],n.childNodes))};var rn=se.fn.load;se.fn.load=function(t,e,i){if("string"!=typeof t&&rn)return rn.apply(this,arguments);var n,r,s,o=this,a=t.indexOf(" ");return a>=0&&(n=t.slice(a,t.length),t=t.slice(0,a)),se.isFunction(e)?(i=e,e=void 0):e&&"object"==typeof e&&(s="POST"),o.length>0&&se.ajax({url:t,type:s,dataType:"html",data:e}).done(function(t){r=arguments,o.html(n?se("<div>").append(se.parseHTML(t)).find(n):t)}).complete(i&&function(t,e){o.each(i,r||[t.responseText,e,t])}),this},se.expr.filters.animated=function(t){return se.grep(se.timers,function(e){return t===e.elem}).length};var sn=t.document.documentElement;se.offset={setOffset:function(t,e,i){var n,r,s,o,a,l,c,u=se.css(t,"position"),h=se(t),d={};"static"===u&&(t.style.position="relative"),a=h.offset(),s=se.css(t,"top"),l=se.css(t,"left"),c=("absolute"===u||"fixed"===u)&&se.inArray("auto",[s,l])>-1,c?(n=h.position(),o=n.top,r=n.left):(o=parseFloat(s)||0,r=parseFloat(l)||0),se.isFunction(e)&&(e=e.call(t,i,a)),null!=e.top&&(d.top=e.top-a.top+o),null!=e.left&&(d.left=e.left-a.left+r),"using"in e?e.using.call(t,d):h.css(d)}},se.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){se.offset.setOffset(this,t,e)});var e,i,n={top:0,left:0},r=this[0],s=r&&r.ownerDocument;if(s)return e=s.documentElement,se.contains(e,r)?(typeof r.getBoundingClientRect!==ke&&(n=r.getBoundingClientRect()),i=Y(s),{top:n.top+(i.pageYOffset||e.scrollTop)-(e.clientTop||0),left:n.left+(i.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}):n},position:function(){if(this[0]){var t,e,i={top:0,left:0},n=this[0];return"fixed"===se.css(n,"position")?e=n.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),se.nodeName(t[0],"html")||(i=t.offset()),i.top+=se.css(t[0],"borderTopWidth",!0),i.left+=se.css(t[0],"borderLeftWidth",!0)),{top:e.top-i.top-se.css(n,"marginTop",!0),left:e.left-i.left-se.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||sn;t&&!se.nodeName(t,"html")&&"static"===se.css(t,"position");)t=t.offsetParent;return t||sn})}}),se.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var i=/Y/.test(e);se.fn[t]=function(n){return Ie(this,function(t,n,r){var s=Y(t);return void 0===r?s?e in s?s[e]:s.document.documentElement[n]:t[n]:void(s?s.scrollTo(i?se(s).scrollLeft():r,i?r:se(s).scrollTop()):t[n]=r)},t,n,arguments.length,null)}}),se.each(["top","left"],function(t,e){se.cssHooks[e]=C(ne.pixelPosition,function(t,i){return i?(i=ii(t,e),ri.test(i)?se(t).position()[e]+"px":i):void 0})}),se.each({Height:"height",Width:"width"},function(t,e){se.each({padding:"inner"+t,content:e,"":"outer"+t},function(i,n){se.fn[n]=function(n,r){var s=arguments.length&&(i||"boolean"!=typeof n),o=i||(n===!0||r===!0?"margin":"border");return Ie(this,function(e,i,n){var r;return se.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===n?se.css(e,i,o):se.style(e,i,n,o)},e,s?n:void 0,s,null)}})}),se.fn.size=function(){return this.length},se.fn.andSelf=se.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return se});var on=t.jQuery,an=t.$;return se.noConflict=function(e){return t.$===se&&(t.$=an),e&&t.jQuery===se&&(t.jQuery=on),se},typeof e===ke&&(t.jQuery=t.$=se),se}),function(t,e){t.rails!==e&&t.error("jquery-ujs has already been loaded!");var i,n=t(document);t.rails=i={linkClickSelector:"a[data-confirm], a[data-method], a[data-remote], a[data-disable-with]",buttonClickSelector:"button[data-remote]",inputChangeSelector:"select[data-remote], input[data-remote], textarea[data-remote]",formSubmitSelector:"form",formInputClickSelector:"form input[type=submit], form input[type=image], form button[type=submit], form button:not([type])",disableSelector:"input[data-disable-with], button[data-disable-with], textarea[data-disable-with]",enableSelector:"input[data-disable-with]:disabled, button[data-disable-with]:disabled, textarea[data-disable-with]:disabled",requiredInputSelector:"input[name][required]:not([disabled]),textarea[name][required]:not([disabled])",fileInputSelector:"input[type=file]",linkDisableSelector:"a[data-disable-with]",CSRFProtection:function(e){var i=t('meta[name="csrf-token"]').attr("content");i&&e.setRequestHeader("X-CSRF-Token",i)},refreshCSRFTokens:function(){var e=t("meta[name=csrf-token]").attr("content"),i=t("meta[name=csrf-param]").attr("content");t('form input[name="'+i+'"]').val(e)},fire:function(e,i,n){var r=t.Event(i);return e.trigger(r,n),r.result!==!1},confirm:function(t){return confirm(t)},ajax:function(e){return t.ajax(e)},href:function(t){return t.attr("href")},handleRemote:function(n){var r,s,o,a,l,c,u,h;if(i.fire(n,"ajax:before")){if(a=n.data("cross-domain"),l=a===e?null:a,c=n.data("with-credentials")||null,u=n.data("type")||t.ajaxSettings&&t.ajaxSettings.dataType,n.is("form")){r=n.attr("method"),s=n.attr("action"),o=n.serializeArray(); | |
var d=n.data("ujs:submit-button");d&&(o.push(d),n.data("ujs:submit-button",null))}else n.is(i.inputChangeSelector)?(r=n.data("method"),s=n.data("url"),o=n.serialize(),n.data("params")&&(o=o+"&"+n.data("params"))):n.is(i.buttonClickSelector)?(r=n.data("method")||"get",s=n.data("url"),o=n.serialize(),n.data("params")&&(o=o+"&"+n.data("params"))):(r=n.data("method"),s=i.href(n),o=n.data("params")||null);h={type:r||"GET",data:o,dataType:u,beforeSend:function(t,r){return r.dataType===e&&t.setRequestHeader("accept","*/*;q=0.5, "+r.accepts.script),i.fire(n,"ajax:beforeSend",[t,r])},success:function(t,e,i){n.trigger("ajax:success",[t,e,i])},complete:function(t,e){n.trigger("ajax:complete",[t,e])},error:function(t,e,i){n.trigger("ajax:error",[t,e,i])},crossDomain:l},c&&(h.xhrFields={withCredentials:c}),s&&(h.url=s);var f=i.ajax(h);return n.trigger("ajax:send",f),f}return!1},handleMethod:function(n){var r=i.href(n),s=n.data("method"),o=n.attr("target"),a=t("meta[name=csrf-token]").attr("content"),l=t("meta[name=csrf-param]").attr("content"),c=t('<form method="post" action="'+r+'"></form>'),u='<input name="_method" value="'+s+'" type="hidden" />';l!==e&&a!==e&&(u+='<input name="'+l+'" value="'+a+'" type="hidden" />'),o&&c.attr("target",o),c.hide().append(u).appendTo("body"),c.submit()},disableFormElements:function(e){e.find(i.disableSelector).each(function(){var e=t(this),i=e.is("button")?"html":"val";e.data("ujs:enable-with",e[i]()),e[i](e.data("disable-with")),e.prop("disabled",!0)})},enableFormElements:function(e){e.find(i.enableSelector).each(function(){var e=t(this),i=e.is("button")?"html":"val";e.data("ujs:enable-with")&&e[i](e.data("ujs:enable-with")),e.prop("disabled",!1)})},allowAction:function(t){var e,n=t.data("confirm"),r=!1;return n?(i.fire(t,"confirm")&&(r=i.confirm(n),e=i.fire(t,"confirm:complete",[r])),r&&e):!0},blankInputs:function(e,i,n){var r,s,o=t(),a=i||"input,textarea",l=e.find(a);return l.each(function(){if(r=t(this),s=r.is("input[type=checkbox],input[type=radio]")?r.is(":checked"):r.val(),!s==!n){if(r.is("input[type=radio]")&&l.filter('input[type=radio]:checked[name="'+r.attr("name")+'"]').length)return!0;o=o.add(r)}}),o.length?o:!1},nonBlankInputs:function(t,e){return i.blankInputs(t,e,!0)},stopEverything:function(e){return t(e.target).trigger("ujs:everythingStopped"),e.stopImmediatePropagation(),!1},disableElement:function(t){t.data("ujs:enable-with",t.html()),t.html(t.data("disable-with")),t.bind("click.railsDisable",function(t){return i.stopEverything(t)})},enableElement:function(t){t.data("ujs:enable-with")!==e&&(t.html(t.data("ujs:enable-with")),t.removeData("ujs:enable-with")),t.unbind("click.railsDisable")}},i.fire(n,"rails:attachBindings")&&(t.ajaxPrefilter(function(t,e,n){t.crossDomain||i.CSRFProtection(n)}),n.delegate(i.linkDisableSelector,"ajax:complete",function(){i.enableElement(t(this))}),n.delegate(i.linkClickSelector,"click.rails",function(n){var r=t(this),s=r.data("method"),o=r.data("params"),a=n.metaKey||n.ctrlKey;if(!i.allowAction(r))return i.stopEverything(n);if(!a&&r.is(i.linkDisableSelector)&&i.disableElement(r),r.data("remote")!==e){if(a&&(!s||"GET"===s)&&!o)return!0;var l=i.handleRemote(r);return l===!1?i.enableElement(r):l.error(function(){i.enableElement(r)}),!1}return r.data("method")?(i.handleMethod(r),!1):void 0}),n.delegate(i.buttonClickSelector,"click.rails",function(e){var n=t(this);return i.allowAction(n)?(i.handleRemote(n),!1):i.stopEverything(e)}),n.delegate(i.inputChangeSelector,"change.rails",function(e){var n=t(this);return i.allowAction(n)?(i.handleRemote(n),!1):i.stopEverything(e)}),n.delegate(i.formSubmitSelector,"submit.rails",function(n){var r=t(this),s=r.data("remote")!==e,o=i.blankInputs(r,i.requiredInputSelector),a=i.nonBlankInputs(r,i.fileInputSelector);if(!i.allowAction(r))return i.stopEverything(n);if(o&&r.attr("novalidate")==e&&i.fire(r,"ajax:aborted:required",[o]))return i.stopEverything(n);if(s){if(a){setTimeout(function(){i.disableFormElements(r)},13);var l=i.fire(r,"ajax:aborted:file",[a]);return l||setTimeout(function(){i.enableFormElements(r)},13),l}return i.handleRemote(r),!1}setTimeout(function(){i.disableFormElements(r)},13)}),n.delegate(i.formInputClickSelector,"click.rails",function(e){var n=t(this);if(!i.allowAction(n))return i.stopEverything(e);var r=n.attr("name"),s=r?{name:r,value:n.val()}:null;n.closest("form").data("ujs:submit-button",s)}),n.delegate(i.formSubmitSelector,"ajax:beforeSend.rails",function(e){this==e.target&&i.disableFormElements(t(this))}),n.delegate(i.formSubmitSelector,"ajax:complete.rails",function(e){this==e.target&&i.enableFormElements(t(this))}),t(function(){i.refreshCSRFTokens()}))}(jQuery),!jQuery)throw new Error("Bootstrap requires jQuery");+function(t){"use strict";function e(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var i in e)if(void 0!==t.style[i])return{end:e[i]}}t.fn.emulateTransitionEnd=function(e){var i=!1,n=this;t(this).one(t.support.transition.end,function(){i=!0});var r=function(){i||t(n).trigger(t.support.transition.end)};return setTimeout(r,e),this},t(function(){t.support.transition=e()})}(window.jQuery),+function(t){"use strict";var e='[data-dismiss="alert"]',i=function(i){t(i).on("click",e,this.close)};i.prototype.close=function(e){function i(){s.trigger("closed.bs.alert").remove()}var n=t(this),r=n.attr("data-target");r||(r=n.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,""));var s=t(r);e&&e.preventDefault(),s.length||(s=n.hasClass("alert")?n:n.parent()),s.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(s.removeClass("in"),t.support.transition&&s.hasClass("fade")?s.one(t.support.transition.end,i).emulateTransitionEnd(150):i())};var n=t.fn.alert;t.fn.alert=function(e){return this.each(function(){var n=t(this),r=n.data("bs.alert");r||n.data("bs.alert",r=new i(this)),"string"==typeof e&&r[e].call(n)})},t.fn.alert.Constructor=i,t.fn.alert.noConflict=function(){return t.fn.alert=n,this},t(document).on("click.bs.alert.data-api",e,i.prototype.close)}(window.jQuery),+function(t){"use strict";var e=function(i,n){this.$element=t(i),this.options=t.extend({},e.DEFAULTS,n)};e.DEFAULTS={loadingText:"loading..."},e.prototype.setState=function(t){var e="disabled",i=this.$element,n=i.is("input")?"val":"html",r=i.data();t+="Text",r.resetText||i.data("resetText",i[n]()),i[n](r[t]||this.options[t]),setTimeout(function(){"loadingText"==t?i.addClass(e).attr(e,e):i.removeClass(e).removeAttr(e)},0)},e.prototype.toggle=function(){var t=this.$element.closest('[data-toggle="buttons"]');if(t.length){var e=this.$element.find("input").prop("checked",!this.$element.hasClass("active")).trigger("change");"radio"===e.prop("type")&&t.find(".active").removeClass("active")}this.$element.toggleClass("active")};var i=t.fn.button;t.fn.button=function(i){return this.each(function(){var n=t(this),r=n.data("bs.button"),s="object"==typeof i&&i;r||n.data("bs.button",r=new e(this,s)),"toggle"==i?r.toggle():i&&r.setState(i)})},t.fn.button.Constructor=e,t.fn.button.noConflict=function(){return t.fn.button=i,this},t(document).on("click.bs.button.data-api","[data-toggle^=button]",function(e){var i=t(e.target);i.hasClass("btn")||(i=i.closest(".btn")),i.button("toggle"),e.preventDefault()})}(window.jQuery),+function(t){"use strict";var e=function(e,i){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=i,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&&this.$element.on("mouseenter",t.proxy(this.pause,this)).on("mouseleave",t.proxy(this.cycle,this))};e.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},e.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},e.prototype.getActiveIndex=function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},e.prototype.to=function(e){var i=this,n=this.getActiveIndex();return e>this.$items.length-1||0>e?void 0:this.sliding?this.$element.one("slid",function(){i.to(e)}):n==e?this.pause().cycle():this.slide(e>n?"next":"prev",t(this.$items[e]))},e.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition.end&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},e.prototype.next=function(){return this.sliding?void 0:this.slide("next")},e.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},e.prototype.slide=function(e,i){var n=this.$element.find(".item.active"),r=i||n[e](),s=this.interval,o="next"==e?"left":"right",a="next"==e?"first":"last",l=this;if(!r.length){if(!this.options.wrap)return;r=this.$element.find(".item")[a]()}this.sliding=!0,s&&this.pause();var c=t.Event("slide.bs.carousel",{relatedTarget:r[0],direction:o});if(!r.hasClass("active")){if(this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid",function(){var e=t(l.$indicators.children()[l.getActiveIndex()]);e&&e.addClass("active")})),t.support.transition&&this.$element.hasClass("slide")){if(this.$element.trigger(c),c.isDefaultPrevented())return;r.addClass(e),r[0].offsetWidth,n.addClass(o),r.addClass(o),n.one(t.support.transition.end,function(){r.removeClass([e,o].join(" ")).addClass("active"),n.removeClass(["active",o].join(" ")),l.sliding=!1,setTimeout(function(){l.$element.trigger("slid")},0)}).emulateTransitionEnd(600)}else{if(this.$element.trigger(c),c.isDefaultPrevented())return;n.removeClass("active"),r.addClass("active"),this.sliding=!1,this.$element.trigger("slid")}return s&&this.cycle(),this}};var i=t.fn.carousel;t.fn.carousel=function(i){return this.each(function(){var n=t(this),r=n.data("bs.carousel"),s=t.extend({},e.DEFAULTS,n.data(),"object"==typeof i&&i),o="string"==typeof i?i:s.slide;r||n.data("bs.carousel",r=new e(this,s)),"number"==typeof i?r.to(i):o?r[o]():s.interval&&r.pause().cycle()})},t.fn.carousel.Constructor=e,t.fn.carousel.noConflict=function(){return t.fn.carousel=i,this},t(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",function(e){var i,n=t(this),r=t(n.attr("data-target")||(i=n.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,"")),s=t.extend({},r.data(),n.data()),o=n.attr("data-slide-to");o&&(s.interval=!1),r.carousel(s),(o=n.attr("data-slide-to"))&&r.data("bs.carousel").to(o),e.preventDefault()}),t(window).on("load",function(){t('[data-ride="carousel"]').each(function(){var e=t(this);e.carousel(e.data())})})}(window.jQuery),+function(t){"use strict";var e=function(i,n){this.$element=t(i),this.options=t.extend({},e.DEFAULTS,n),this.transitioning=null,this.options.parent&&(this.$parent=t(this.options.parent)),this.options.toggle&&this.toggle()};e.DEFAULTS={toggle:!0},e.prototype.dimension=function(){var t=this.$element.hasClass("width");return t?"width":"height"},e.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var e=t.Event("show.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){var i=this.$parent&&this.$parent.find("> .panel > .in");if(i&&i.length){var n=i.data("bs.collapse");if(n&&n.transitioning)return;i.collapse("hide"),n||i.data("bs.collapse",null)}var r=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[r](0),this.transitioning=1;var s=function(){this.$element.removeClass("collapsing").addClass("in")[r]("auto"),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return s.call(this);var o=t.camelCase(["scroll",r].join("-"));this.$element.one(t.support.transition.end,t.proxy(s,this)).emulateTransitionEnd(350)[r](this.$element[0][o])}}},e.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var e=t.Event("hide.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){var i=this.dimension();this.$element[i](this.$element[i]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;var n=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};return t.support.transition?void this.$element[i](0).one(t.support.transition.end,t.proxy(n,this)).emulateTransitionEnd(350):n.call(this)}}},e.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var i=t.fn.collapse;t.fn.collapse=function(i){return this.each(function(){var n=t(this),r=n.data("bs.collapse"),s=t.extend({},e.DEFAULTS,n.data(),"object"==typeof i&&i);r||n.data("bs.collapse",r=new e(this,s)),"string"==typeof i&&r[i]()})},t.fn.collapse.Constructor=e,t.fn.collapse.noConflict=function(){return t.fn.collapse=i,this},t(document).on("click.bs.collapse.data-api","[data-toggle=collapse]",function(e){var i,n=t(this),r=n.attr("data-target")||e.preventDefault()||(i=n.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,""),s=t(r),o=s.data("bs.collapse"),a=o?"toggle":n.data(),l=n.attr("data-parent"),c=l&&t(l);o&&o.transitioning||(c&&c.find('[data-toggle=collapse][data-parent="'+l+'"]').not(n).addClass("collapsed"),n[s.hasClass("in")?"addClass":"removeClass"]("collapsed")),s.collapse(a)})}(window.jQuery),+function(t){"use strict";function e(){t(n).remove(),t(r).each(function(e){var n=i(t(this));n.hasClass("open")&&(n.trigger(e=t.Event("hide.bs.dropdown")),e.isDefaultPrevented()||n.removeClass("open").trigger("hidden.bs.dropdown"))})}function i(e){var i=e.attr("data-target");i||(i=e.attr("href"),i=i&&/#/.test(i)&&i.replace(/.*(?=#[^\s]*$)/,""));var n=i&&t(i);return n&&n.length?n:e.parent()}var n=".dropdown-backdrop",r="[data-toggle=dropdown]",s=function(e){t(e).on("click.bs.dropdown",this.toggle)};s.prototype.toggle=function(n){var r=t(this);if(!r.is(".disabled, :disabled")){var s=i(r),o=s.hasClass("open");if(e(),!o){if("ontouchstart"in document.documentElement&&!s.closest(".navbar-nav").length&&t('<div class="dropdown-backdrop"/>').insertAfter(t(this)).on("click",e),s.trigger(n=t.Event("show.bs.dropdown")),n.isDefaultPrevented())return;s.toggleClass("open").trigger("shown.bs.dropdown"),r.focus()}return!1}},s.prototype.keydown=function(e){if(/(38|40|27)/.test(e.keyCode)){var n=t(this);if(e.preventDefault(),e.stopPropagation(),!n.is(".disabled, :disabled")){var s=i(n),o=s.hasClass("open");if(!o||o&&27==e.keyCode)return 27==e.which&&s.find(r).focus(),n.click();var a=t("[role=menu] li:not(.divider):visible a",s);if(a.length){var l=a.index(a.filter(":focus"));38==e.keyCode&&l>0&&l--,40==e.keyCode&&l<a.length-1&&l++,~l||(l=0),a.eq(l).focus()}}}};var o=t.fn.dropdown;t.fn.dropdown=function(e){return this.each(function(){var i=t(this),n=i.data("dropdown");n||i.data("dropdown",n=new s(this)),"string"==typeof e&&n[e].call(i)})},t.fn.dropdown.Constructor=s,t.fn.dropdown.noConflict=function(){return t.fn.dropdown=o,this},t(document).on("click.bs.dropdown.data-api",e).on("click.bs.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}).on("click.bs.dropdown.data-api",r,s.prototype.toggle).on("keydown.bs.dropdown.data-api",r+", [role=menu]",s.prototype.keydown)}(window.jQuery),+function(t){"use strict";var e=function(e,i){this.options=i,this.$element=t(e),this.$backdrop=this.isShown=null,this.options.remote&&this.$element.load(this.options.remote)};e.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},e.prototype.toggle=function(t){return this[this.isShown?"hide":"show"](t)},e.prototype.show=function(e){var i=this,n=t.Event("show.bs.modal",{relatedTarget:e});this.$element.trigger(n),this.isShown||n.isDefaultPrevented()||(this.isShown=!0,this.escape(),this.$element.on("click.dismiss.modal",'[data-dismiss="modal"]',t.proxy(this.hide,this)),this.backdrop(function(){var n=t.support.transition&&i.$element.hasClass("fade");i.$element.parent().length||i.$element.appendTo(document.body),i.$element.show(),n&&i.$element[0].offsetWidth,i.$element.addClass("in").attr("aria-hidden",!1),i.enforceFocus();var r=t.Event("shown.bs.modal",{relatedTarget:e});n?i.$element.find(".modal-dialog").one(t.support.transition.end,function(){i.$element.focus().trigger(r)}).emulateTransitionEnd(300):i.$element.focus().trigger(r)}))},e.prototype.hide=function(e){e&&e.preventDefault(),e=t.Event("hide.bs.modal"),this.$element.trigger(e),this.isShown&&!e.isDefaultPrevented()&&(this.isShown=!1,this.escape(),t(document).off("focusin.bs.modal"),this.$element.removeClass("in").attr("aria-hidden",!0).off("click.dismiss.modal"),t.support.transition&&this.$element.hasClass("fade")?this.$element.one(t.support.transition.end,t.proxy(this.hideModal,this)).emulateTransitionEnd(300):this.hideModal())},e.prototype.enforceFocus=function(){t(document).off("focusin.bs.modal").on("focusin.bs.modal",t.proxy(function(t){this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.focus()},this))},e.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keyup.dismiss.bs.modal",t.proxy(function(t){27==t.which&&this.hide()},this)):this.isShown||this.$element.off("keyup.dismiss.bs.modal")},e.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop(function(){t.removeBackdrop(),t.$element.trigger("hidden.bs.modal")})},e.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},e.prototype.backdrop=function(e){var i=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var n=t.support.transition&&i;if(this.$backdrop=t('<div class="modal-backdrop '+i+'" />').appendTo(document.body),this.$element.on("click.dismiss.modal",t.proxy(function(t){t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus.call(this.$element[0]):this.hide.call(this))},this)),n&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!e)return;n?this.$backdrop.one(t.support.transition.end,e).emulateTransitionEnd(150):e()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),t.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one(t.support.transition.end,e).emulateTransitionEnd(150):e()):e&&e()};var i=t.fn.modal;t.fn.modal=function(i,n){return this.each(function(){var r=t(this),s=r.data("bs.modal"),o=t.extend({},e.DEFAULTS,r.data(),"object"==typeof i&&i);s||r.data("bs.modal",s=new e(this,o)),"string"==typeof i?s[i](n):o.show&&s.show(n)})},t.fn.modal.Constructor=e,t.fn.modal.noConflict=function(){return t.fn.modal=i,this},t(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(e){var i=t(this),n=i.attr("href"),r=t(i.attr("data-target")||n&&n.replace(/.*(?=#[^\s]+$)/,"")),s=r.data("modal")?"toggle":t.extend({remote:!/#/.test(n)&&n},r.data(),i.data());e.preventDefault(),r.modal(s,this).one("hide",function(){i.is(":visible")&&i.focus()})}),t(document).on("show.bs.modal",".modal",function(){t(document.body).addClass("modal-open")}).on("hidden.bs.modal",".modal",function(){t(document.body).removeClass("modal-open")})}(window.jQuery),+function(t){"use strict";var e=function(t,e){this.type=this.options=this.enabled=this.timeout=this.hoverState=this.$element=null,this.init("tooltip",t,e)};e.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1},e.prototype.init=function(e,i,n){this.enabled=!0,this.type=e,this.$element=t(i),this.options=this.getOptions(n);for(var r=this.options.trigger.split(" "),s=r.length;s--;){var o=r[s];if("click"==o)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=o){var a="hover"==o?"mouseenter":"focus",l="hover"==o?"mouseleave":"blur";this.$element.on(a+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.getOptions=function(e){return e=t.extend({},this.getDefaults(),this.$element.data(),e),e.delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},e.prototype.getDelegateOptions=function(){var e={},i=this.getDefaults();return this._options&&t.each(this._options,function(t,n){i[t]!=n&&(e[t]=n)}),e},e.prototype.enter=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type);return clearTimeout(i.timeout),i.hoverState="in",i.options.delay&&i.options.delay.show?void(i.timeout=setTimeout(function(){"in"==i.hoverState&&i.show()},i.options.delay.show)):i.show()},e.prototype.leave=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type);return clearTimeout(i.timeout),i.hoverState="out",i.options.delay&&i.options.delay.hide?void(i.timeout=setTimeout(function(){"out"==i.hoverState&&i.hide()},i.options.delay.hide)):i.hide()},e.prototype.show=function(){var e=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){if(this.$element.trigger(e),e.isDefaultPrevented())return;var i=this.tip();this.setContent(),this.options.animation&&i.addClass("fade");var n="function"==typeof this.options.placement?this.options.placement.call(this,i[0],this.$element[0]):this.options.placement,r=/\s?auto?\s?/i,s=r.test(n);s&&(n=n.replace(r,"")||"top"),i.detach().css({top:0,left:0,display:"block"}).addClass(n),this.options.container?i.appendTo(this.options.container):i.insertAfter(this.$element);var o=this.getPosition(),a=i[0].offsetWidth,l=i[0].offsetHeight;if(s){var c=this.$element.parent(),u=n,h=document.documentElement.scrollTop||document.body.scrollTop,d="body"==this.options.container?window.innerWidth:c.outerWidth(),f="body"==this.options.container?window.innerHeight:c.outerHeight(),p="body"==this.options.container?0:c.offset().left;n="bottom"==n&&o.top+o.height+l-h>f?"top":"top"==n&&o.top-h-l<0?"bottom":"right"==n&&o.right+a>d?"left":"left"==n&&o.left-a<p?"right":n,i.removeClass(u).addClass(n)}var m=this.getCalculatedOffset(n,o,a,l);this.applyPlacement(m,n),this.$element.trigger("shown.bs."+this.type)}},e.prototype.applyPlacement=function(t,e){var i,n=this.tip(),r=n[0].offsetWidth,s=n[0].offsetHeight,o=parseInt(n.css("margin-top"),10),a=parseInt(n.css("margin-left"),10);isNaN(o)&&(o=0),isNaN(a)&&(a=0),t.top=t.top+o,t.left=t.left+a,n.offset(t).addClass("in");var l=n[0].offsetWidth,c=n[0].offsetHeight;if("top"==e&&c!=s&&(i=!0,t.top=t.top+s-c),/bottom|top/.test(e)){var u=0;t.left<0&&(u=-2*t.left,t.left=0,n.offset(t),l=n[0].offsetWidth,c=n[0].offsetHeight),this.replaceArrow(u-r+l,l,"left")}else this.replaceArrow(c-s,c,"top");i&&n.offset(t)},e.prototype.replaceArrow=function(t,e,i){this.arrow().css(i,t?50*(1-t/e)+"%":"")},e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},e.prototype.hide=function(){function e(){"in"!=i.hoverState&&n.detach()}var i=this,n=this.tip(),r=t.Event("hide.bs."+this.type);return this.$element.trigger(r),r.isDefaultPrevented()?void 0:(n.removeClass("in"),t.support.transition&&this.$tip.hasClass("fade")?n.one(t.support.transition.end,e).emulateTransitionEnd(150):e(),this.$element.trigger("hidden.bs."+this.type),this)},e.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},e.prototype.hasContent=function(){return this.getTitle()},e.prototype.getPosition=function(){var e=this.$element[0];return t.extend({},"function"==typeof e.getBoundingClientRect?e.getBoundingClientRect():{width:e.offsetWidth,height:e.offsetHeight},this.$element.offset())},e.prototype.getCalculatedOffset=function(t,e,i,n){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-i/2}:"top"==t?{top:e.top-n,left:e.left+e.width/2-i/2}:"left"==t?{top:e.top+e.height/2-n/2,left:e.left-i}:{top:e.top+e.height/2-n/2,left:e.left+e.width}},e.prototype.getTitle=function(){var t,e=this.$element,i=this.options;return t=e.attr("data-original-title")||("function"==typeof i.title?i.title.call(e[0]):i.title)},e.prototype.tip=function(){return this.$tip=this.$tip||t(this.options.template)},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},e.prototype.validate=function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},e.prototype.enable=function(){this.enabled=!0},e.prototype.disable=function(){this.enabled=!1},e.prototype.toggleEnabled=function(){this.enabled=!this.enabled},e.prototype.toggle=function(e){var i=e?t(e.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type):this;i.tip().hasClass("in")?i.leave(i):i.enter(i)},e.prototype.destroy=function(){this.hide().$element.off("."+this.type).removeData("bs."+this.type)};var i=t.fn.tooltip;t.fn.tooltip=function(i){return this.each(function(){var n=t(this),r=n.data("bs.tooltip"),s="object"==typeof i&&i;r||n.data("bs.tooltip",r=new e(this,s)),"string"==typeof i&&r[i]()})},t.fn.tooltip.Constructor=e,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=i,this}}(window.jQuery),+function(t){"use strict";var e=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");e.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),e.prototype=t.extend({},t.fn.tooltip.Constructor.prototype),e.prototype.constructor=e,e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),i=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content")[this.options.html?"html":"text"](i),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},e.prototype.hasContent=function(){return this.getTitle()||this.getContent()},e.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},e.prototype.tip=function(){return this.$tip||(this.$tip=t(this.options.template)),this.$tip};var i=t.fn.popover;t.fn.popover=function(i){return this.each(function(){var n=t(this),r=n.data("bs.popover"),s="object"==typeof i&&i;r||n.data("bs.popover",r=new e(this,s)),"string"==typeof i&&r[i]()})},t.fn.popover.Constructor=e,t.fn.popover.noConflict=function(){return t.fn.popover=i,this}}(window.jQuery),+function(t){"use strict";function e(i,n){var r,s=t.proxy(this.process,this);this.$element=t(t(i).is("body")?window:i),this.$body=t("body"),this.$scrollElement=this.$element.on("scroll.bs.scroll-spy.data-api",s),this.options=t.extend({},e.DEFAULTS,n),this.selector=(this.options.target||(r=t(i).attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.offsets=t([]),this.targets=t([]),this.activeTarget=null,this.refresh(),this.process()}e.DEFAULTS={offset:10},e.prototype.refresh=function(){var e=this.$element[0]==window?"offset":"position";this.offsets=t([]),this.targets=t([]);{var i=this;this.$body.find(this.selector).map(function(){var n=t(this),r=n.data("target")||n.attr("href"),s=/^#\w/.test(r)&&t(r);return s&&s.length&&[[s[e]().top+(!t.isWindow(i.$scrollElement.get(0))&&i.$scrollElement.scrollTop()),r]]||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){i.offsets.push(this[0]),i.targets.push(this[1])})}},e.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,i=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,n=i-this.$scrollElement.height(),r=this.offsets,s=this.targets,o=this.activeTarget;if(e>=n)return o!=(t=s.last()[0])&&this.activate(t);for(t=r.length;t--;)o!=s[t]&&e>=r[t]&&(!r[t+1]||e<=r[t+1])&&this.activate(s[t])},e.prototype.activate=function(e){this.activeTarget=e,t(this.selector).parents(".active").removeClass("active");var i=this.selector+'[data-target="'+e+'"],'+this.selector+'[href="'+e+'"]',n=t(i).parents("li").addClass("active");n.parent(".dropdown-menu").length&&(n=n.closest("li.dropdown").addClass("active")),n.trigger("activate")};var i=t.fn.scrollspy;t.fn.scrollspy=function(i){return this.each(function(){var n=t(this),r=n.data("bs.scrollspy"),s="object"==typeof i&&i;r||n.data("bs.scrollspy",r=new e(this,s)),"string"==typeof i&&r[i]()})},t.fn.scrollspy.Constructor=e,t.fn.scrollspy.noConflict=function(){return t.fn.scrollspy=i,this},t(window).on("load",function(){t('[data-spy="scroll"]').each(function(){var e=t(this);e.scrollspy(e.data())})})}(window.jQuery),+function(t){"use strict";var e=function(e){this.element=t(e)};e.prototype.show=function(){var e=this.element,i=e.closest("ul:not(.dropdown-menu)"),n=e.attr("data-target");if(n||(n=e.attr("href"),n=n&&n.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var r=i.find(".active:last a")[0],s=t.Event("show.bs.tab",{relatedTarget:r});if(e.trigger(s),!s.isDefaultPrevented()){var o=t(n);this.activate(e.parent("li"),i),this.activate(o,o.parent(),function(){e.trigger({type:"shown.bs.tab",relatedTarget:r})})}}},e.prototype.activate=function(e,i,n){function r(){s.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),e.addClass("active"),o?(e[0].offsetWidth,e.addClass("in")):e.removeClass("fade"),e.parent(".dropdown-menu")&&e.closest("li.dropdown").addClass("active"),n&&n()}var s=i.find("> .active"),o=n&&t.support.transition&&s.hasClass("fade");o?s.one(t.support.transition.end,r).emulateTransitionEnd(150):r(),s.removeClass("in")};var i=t.fn.tab;t.fn.tab=function(i){return this.each(function(){var n=t(this),r=n.data("bs.tab");r||n.data("bs.tab",r=new e(this)),"string"==typeof i&&r[i]()})},t.fn.tab.Constructor=e,t.fn.tab.noConflict=function(){return t.fn.tab=i,this},t(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(e){e.preventDefault(),t(this).tab("show")})}(window.jQuery),+function(t){"use strict";var e=function(i,n){this.options=t.extend({},e.DEFAULTS,n),this.$window=t(window).on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this)),this.$element=t(i),this.affixed=this.unpin=null,this.checkPosition()};e.RESET="affix affix-top affix-bottom",e.DEFAULTS={offset:0},e.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)},e.prototype.checkPosition=function(){if(this.$element.is(":visible")){var i=t(document).height(),n=this.$window.scrollTop(),r=this.$element.offset(),s=this.options.offset,o=s.top,a=s.bottom;"object"!=typeof s&&(a=o=s),"function"==typeof o&&(o=s.top()),"function"==typeof a&&(a=s.bottom());var l=null!=this.unpin&&n+this.unpin<=r.top?!1:null!=a&&r.top+this.$element.height()>=i-a?"bottom":null!=o&&o>=n?"top":!1;this.affixed!==l&&(this.unpin&&this.$element.css("top",""),this.affixed=l,this.unpin="bottom"==l?r.top-n:null,this.$element.removeClass(e.RESET).addClass("affix"+(l?"-"+l:"")),"bottom"==l&&this.$element.offset({top:document.body.offsetHeight-a-this.$element.height()}))}};var i=t.fn.affix;t.fn.affix=function(i){return this.each(function(){var n=t(this),r=n.data("bs.affix"),s="object"==typeof i&&i;r||n.data("bs.affix",r=new e(this,s)),"string"==typeof i&&r[i]()})},t.fn.affix.Constructor=e,t.fn.affix.noConflict=function(){return t.fn.affix=i,this},t(window).on("load",function(){t('[data-spy="affix"]').each(function(){var e=t(this),i=e.data();i.offset=i.offset||{},i.offsetBottom&&(i.offset.bottom=i.offsetBottom),i.offsetTop&&(i.offset.top=i.offsetTop),e.affix(i)})})}(window.jQuery),(window._gsQueue||(window._gsQueue=[])).push(function(){"use strict";window._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(t,e,i){var n=[].slice,r=function(t,e,n){i.call(this,t,e,n),this._cycle=0,this._yoyo=this.vars.yoyo===!0,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._dirty=!0},s=function(t){return t.jquery||t.length&&t[0]&&t[0].nodeType&&t[0].style},o=r.prototype=i.to({},.1,{}),a=[];r.version="1.9.7",o.constructor=r,o.kill()._gc=!1,r.killTweensOf=r.killDelayedCallsTo=i.killTweensOf,r.getTweensOf=i.getTweensOf,r.ticker=i.ticker,o.invalidate=function(){return this._yoyo=this.vars.yoyo===!0,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),i.prototype.invalidate.call(this) | |
},o.updateTo=function(t,e){var n,r=this.ratio;e&&this.timeline&&this._startTime<this._timeline._time&&(this._startTime=this._timeline._time,this._uncache(!1),this._gc?this._enabled(!0,!1):this._timeline.insert(this,this._startTime-this._delay));for(n in t)this.vars[n]=t[n];if(this._initted)if(e)this._initted=!1;else if(this._notifyPluginsOfEnabled&&this._firstPT&&i._onPluginEvent("_onDisable",this),this._time/this._duration>.998){var s=this._time;this.render(0,!0,!1),this._initted=!1,this.render(s,!0,!1)}else if(this._time>0){this._initted=!1,this._init();for(var o,a=1/(1-r),l=this._firstPT;l;)o=l.s+l.c,l.c*=a,l.s=o-l.c,l=l._next}return this},o.render=function(t,e,i){var n,r,s,o,l,c,u,h=this._dirty?this.totalDuration():this._totalDuration,d=this._time,f=this._totalTime,p=this._cycle;if(t>=h?(this._totalTime=h,this._cycle=this._repeat,this._yoyo&&0!==(1&this._cycle)?(this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0):(this._time=this._duration,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1),this._reversed||(n=!0,r="onComplete"),0===this._duration&&((0===t||0>this._rawPrevTime)&&this._rawPrevTime!==t&&(i=!0,this._rawPrevTime>0&&(r="onReverseComplete",e&&(t=-1))),this._rawPrevTime=t)):1e-7>t?(this._totalTime=this._time=this._cycle=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==f||0===this._duration&&this._rawPrevTime>0)&&(r="onReverseComplete",n=this._reversed),0>t?(this._active=!1,0===this._duration&&(this._rawPrevTime>=0&&(i=!0),this._rawPrevTime=t)):this._initted||(i=!0)):(this._totalTime=this._time=t,0!==this._repeat&&(o=this._duration+this._repeatDelay,this._cycle=this._totalTime/o>>0,0!==this._cycle&&this._cycle===this._totalTime/o&&this._cycle--,this._time=this._totalTime-this._cycle*o,this._yoyo&&0!==(1&this._cycle)&&(this._time=this._duration-this._time),this._time>this._duration?this._time=this._duration:0>this._time&&(this._time=0)),this._easeType?(l=this._time/this._duration,c=this._easeType,u=this._easePower,(1===c||3===c&&l>=.5)&&(l=1-l),3===c&&(l*=2),1===u?l*=l:2===u?l*=l*l:3===u?l*=l*l*l:4===u&&(l*=l*l*l*l),this.ratio=1===c?1-l:2===c?l:.5>this._time/this._duration?l/2:1-l/2):this.ratio=this._ease.getRatio(this._time/this._duration)),d===this._time&&!i)return void(f!==this._totalTime&&this._onUpdate&&(e||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||a)));if(!this._initted){if(this._init(),!this._initted)return;this._time&&!n?this.ratio=this._ease.getRatio(this._time/this._duration):n&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(this._active||this._paused||(this._active=!0),0===f&&(this._startAt&&(t>=0?this._startAt.render(t,e,i):r||(r="_dummyGS")),this.vars.onStart&&(0!==this._totalTime||0===this._duration)&&(e||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||a))),s=this._firstPT;s;)s.f?s.t[s.p](s.c*this.ratio+s.s):s.t[s.p]=s.c*this.ratio+s.s,s=s._next;this._onUpdate&&(0>t&&this._startAt&&this._startAt.render(t,e,i),e||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||a)),this._cycle!==p&&(e||this._gc||this.vars.onRepeat&&this.vars.onRepeat.apply(this.vars.onRepeatScope||this,this.vars.onRepeatParams||a)),r&&(this._gc||(0>t&&this._startAt&&!this._onUpdate&&this._startAt.render(t,e,i),n&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[r]&&this.vars[r].apply(this.vars[r+"Scope"]||this,this.vars[r+"Params"]||a)))},r.to=function(t,e,i){return new r(t,e,i)},r.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new r(t,e,i)},r.fromTo=function(t,e,i,n){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,new r(t,e,n)},r.staggerTo=r.allTo=function(t,e,o,l,c,u,h){l=l||0;var d,f,p,m,g=o.delay||0,v=[],y=function(){o.onComplete&&o.onComplete.apply(o.onCompleteScope||this,o.onCompleteParams||a),c.apply(h||this,u||a)};for(t instanceof Array||("string"==typeof t&&(t=i.selector(t)||t),s(t)&&(t=n.call(t,0))),d=t.length,p=0;d>p;p++){f={};for(m in o)f[m]=o[m];f.delay=g,p===d-1&&c&&(f.onComplete=y),v[p]=new r(t[p],e,f),g+=l}return v},r.staggerFrom=r.allFrom=function(t,e,i,n,s,o,a){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,r.staggerTo(t,e,i,n,s,o,a)},r.staggerFromTo=r.allFromTo=function(t,e,i,n,s,o,a,l){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,r.staggerTo(t,e,n,s,o,a,l)},r.delayedCall=function(t,e,i,n,s){return new r(e,0,{delay:t,onComplete:e,onCompleteParams:i,onCompleteScope:n,onReverseComplete:e,onReverseCompleteParams:i,onReverseCompleteScope:n,immediateRender:!1,useFrames:s,overwrite:0})},r.set=function(t,e){return new r(t,0,e)},r.isTweening=function(t){for(var e,n=i.getTweensOf(t),r=n.length;--r>-1;)if(e=n[r],e._active||e._startTime===e._timeline._time&&e._timeline._active)return!0;return!1};var l=function(t,e){for(var n=[],r=0,s=t._first;s;)s instanceof i?n[r++]=s:(e&&(n[r++]=s),n=n.concat(l(s,e)),r=n.length),s=s._next;return n},c=r.getAllTweens=function(e){return l(t._rootTimeline,e).concat(l(t._rootFramesTimeline,e))};r.killAll=function(t,i,n,r){null==i&&(i=!0),null==n&&(n=!0);var s,o,a,l=c(0!=r),u=l.length,h=i&&n&&r;for(a=0;u>a;a++)o=l[a],(h||o instanceof e||(s=o.target===o.vars.onComplete)&&n||i&&!s)&&(t?o.totalTime(o.totalDuration()):o._enabled(!1,!1))},r.killChildTweensOf=function(t,e){if(null!=t){var o,a,l,c,u,h=i._tweenLookup;if("string"==typeof t&&(t=i.selector(t)||t),s(t)&&(t=n(t,0)),t instanceof Array)for(c=t.length;--c>-1;)r.killChildTweensOf(t[c],e);else{o=[];for(l in h)for(a=h[l].target.parentNode;a;)a===t&&(o=o.concat(h[l].tweens)),a=a.parentNode;for(u=o.length,c=0;u>c;c++)e&&o[c].totalTime(o[c].totalDuration()),o[c]._enabled(!1,!1)}}};var u=function(t,i,n,r){void 0===i&&(i=!0),void 0===n&&(n=!0);for(var s,o,a=c(r),l=i&&n&&r,u=a.length;--u>-1;)o=a[u],(l||o instanceof e||(s=o.target===o.vars.onComplete)&&n||i&&!s)&&o.paused(t)};return r.pauseAll=function(t,e,i){u(!0,t,e,i)},r.resumeAll=function(t,e,i){u(!1,t,e,i)},o.progress=function(t){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!==(1&this._cycle)?1-t:t)+this._cycle*(this._duration+this._repeatDelay),!1):this._time/this.duration()},o.totalProgress=function(t){return arguments.length?this.totalTime(this.totalDuration()*t,!1):this._totalTime/this.totalDuration()},o.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),t>this._duration&&(t=this._duration),this._yoyo&&0!==(1&this._cycle)?t=this._duration-t+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(t+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(t,e)):this._time},o.duration=function(e){return arguments.length?t.prototype.duration.call(this,e):this._duration},o.totalDuration=function(t){return arguments.length?-1===this._repeat?this:this.duration((t-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration)},o.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},o.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},o.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},r},!0),window._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(t,e,i){var n=function(t){e.call(this,t),this._labels={},this.autoRemoveChildren=this.vars.autoRemoveChildren===!0,this.smoothChildTiming=this.vars.smoothChildTiming===!0,this._sortChildren=!0,this._onUpdate=this.vars.onUpdate;for(var i,n,s=this.vars,o=r.length;--o>-1;)if(n=s[r[o]])for(i=n.length;--i>-1;)"{self}"===n[i]&&(n=s[r[o]]=n.concat(),n[i]=this);s.tweens instanceof Array&&this.add(s.tweens,0,s.align,s.stagger)},r=["onStartParams","onUpdateParams","onCompleteParams","onReverseCompleteParams","onRepeatParams"],s=[],o=function(t){var e,i={};for(e in t)i[e]=t[e];return i},a=s.slice,l=n.prototype=new e;return n.version="1.9.7",l.constructor=n,l.kill()._gc=!1,l.to=function(t,e,n,r){return e?this.add(new i(t,e,n),r):this.set(t,n,r)},l.from=function(t,e,n,r){return this.add(i.from(t,e,n),r)},l.fromTo=function(t,e,n,r,s){return e?this.add(i.fromTo(t,e,n,r),s):this.set(t,r,s)},l.staggerTo=function(t,e,r,s,l,c,u,h){var d,f=new n({onComplete:c,onCompleteParams:u,onCompleteScope:h});for("string"==typeof t&&(t=i.selector(t)||t),!(t instanceof Array)&&t.length&&t[0]&&t[0].nodeType&&t[0].style&&(t=a.call(t,0)),s=s||0,d=0;t.length>d;d++)r.startAt&&(r.startAt=o(r.startAt)),f.to(t[d],e,o(r),d*s);return this.add(f,l)},l.staggerFrom=function(t,e,i,n,r,s,o,a){return i.immediateRender=0!=i.immediateRender,i.runBackwards=!0,this.staggerTo(t,e,i,n,r,s,o,a)},l.staggerFromTo=function(t,e,i,n,r,s,o,a,l){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,this.staggerTo(t,e,n,r,s,o,a,l)},l.call=function(t,e,n,r){return this.add(i.delayedCall(0,t,e,n),r)},l.set=function(t,e,n){return n=this._parseTimeOrLabel(n,0,!0),null==e.immediateRender&&(e.immediateRender=n===this._time&&!this._paused),this.add(new i(t,0,e),n)},n.exportRoot=function(t,e){t=t||{},null==t.smoothChildTiming&&(t.smoothChildTiming=!0);var r,s,o=new n(t),a=o._timeline;for(null==e&&(e=!0),a._remove(o,!0),o._startTime=0,o._rawPrevTime=o._time=o._totalTime=a._time,r=a._first;r;)s=r._next,e&&r instanceof i&&r.target===r.vars.onComplete||o.add(r,r._startTime-r._delay),r=s;return a.add(o,0),o},l.add=function(r,s,o,a){var l,c,u,h,d;if("number"!=typeof s&&(s=this._parseTimeOrLabel(s,0,!0,r)),!(r instanceof t)){if(r instanceof Array){for(o=o||"normal",a=a||0,l=s,c=r.length,u=0;c>u;u++)(h=r[u])instanceof Array&&(h=new n({tweens:h})),this.add(h,l),"string"!=typeof h&&"function"!=typeof h&&("sequence"===o?l=h._startTime+h.totalDuration()/h._timeScale:"start"===o&&(h._startTime-=h.delay())),l+=a;return this._uncache(!0)}if("string"==typeof r)return this.addLabel(r,s);if("function"!=typeof r)throw"Cannot add "+r+" into the timeline; it is neither a tween, timeline, function, nor a string.";r=i.delayedCall(0,r)}if(e.prototype.add.call(this,r,s),this._gc&&!this._paused&&this._time===this._duration&&this._time<this.duration())for(d=this;d._gc&&d._timeline;)d._timeline.smoothChildTiming?d.totalTime(d._totalTime,!0):d._enabled(!0,!1),d=d._timeline;return this},l.remove=function(e){if(e instanceof t)return this._remove(e,!1);if(e instanceof Array){for(var i=e.length;--i>-1;)this.remove(e[i]);return this}return"string"==typeof e?this.removeLabel(e):this.kill(null,e)},l.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},l.insert=l.insertMultiple=function(t,e,i,n){return this.add(t,e||0,i,n)},l.appendMultiple=function(t,e,i,n){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,n)},l.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},l.removeLabel=function(t){return delete this._labels[t],this},l.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},l._parseTimeOrLabel=function(e,i,n,r){var s;if(r instanceof t&&r.timeline===this)this.remove(r);else if(r instanceof Array)for(s=r.length;--s>-1;)r[s]instanceof t&&r[s].timeline===this&&this.remove(r[s]);if("string"==typeof i)return this._parseTimeOrLabel(i,n&&"number"==typeof e&&null==this._labels[i]?e-this.duration():0,n);if(i=i||0,"string"!=typeof e||!isNaN(e)&&null==this._labels[e])null==e&&(e=this.duration());else{if(s=e.indexOf("="),-1===s)return null==this._labels[e]?n?this._labels[e]=this.duration()+i:i:this._labels[e]+i;i=parseInt(e.charAt(s-1)+"1",10)*Number(e.substr(s+1)),e=s>1?this._parseTimeOrLabel(e.substr(0,s-1),0,n):this.duration()}return Number(e)+i},l.seek=function(t,e){return this.totalTime("number"==typeof t?t:this._parseTimeOrLabel(t),e!==!1)},l.stop=function(){return this.paused(!0)},l.gotoAndPlay=function(t,e){return this.play(t,e)},l.gotoAndStop=function(t,e){return this.pause(t,e)},l.render=function(t,e,i){this._gc&&this._enabled(!0,!1),this._active=!this._paused;var n,r,o,a,l,c=this._dirty?this.totalDuration():this._totalDuration,u=this._time,h=this._startTime,d=this._timeScale,f=this._paused;if(t>=c?(this._totalTime=this._time=c,this._reversed||this._hasPausedChild()||(r=!0,a="onComplete",0===this._duration&&(0===t||0>this._rawPrevTime)&&this._rawPrevTime!==t&&this._first&&(l=!0,this._rawPrevTime>0&&(a="onReverseComplete"))),this._rawPrevTime=t,t=c+1e-6):1e-7>t?(this._totalTime=this._time=0,(0!==u||0===this._duration&&this._rawPrevTime>0)&&(a="onReverseComplete",r=this._reversed),0>t?(this._active=!1,0===this._duration&&this._rawPrevTime>=0&&this._first&&(l=!0)):this._initted||(l=!0),this._rawPrevTime=t,t=0):this._totalTime=this._time=this._rawPrevTime=t,this._time!==u&&this._first||i||l){if(this._initted||(this._initted=!0),0===u&&this.vars.onStart&&0!==this._time&&(e||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||s)),this._time>=u)for(n=this._first;n&&(o=n._next,!this._paused||f);)(n._active||n._startTime<=this._time&&!n._paused&&!n._gc)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=o;else for(n=this._last;n&&(o=n._prev,!this._paused||f);)(n._active||u>=n._startTime&&!n._paused&&!n._gc)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=o;this._onUpdate&&(e||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||s)),a&&(this._gc||(h===this._startTime||d!==this._timeScale)&&(0===this._time||c>=this.totalDuration())&&(r&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[a]&&this.vars[a].apply(this.vars[a+"Scope"]||this,this.vars[a+"Params"]||s)))}},l._hasPausedChild=function(){for(var t=this._first;t;){if(t._paused||t instanceof n&&t._hasPausedChild())return!0;t=t._next}return!1},l.getChildren=function(t,e,n,r){r=r||-9999999999;for(var s=[],o=this._first,a=0;o;)r>o._startTime||(o instanceof i?e!==!1&&(s[a++]=o):(n!==!1&&(s[a++]=o),t!==!1&&(s=s.concat(o.getChildren(!0,e,n)),a=s.length))),o=o._next;return s},l.getTweensOf=function(t,e){for(var n=i.getTweensOf(t),r=n.length,s=[],o=0;--r>-1;)(n[r].timeline===this||e&&this._contains(n[r]))&&(s[o++]=n[r]);return s},l._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},l.shiftChildren=function(t,e,i){i=i||0;for(var n,r=this._first,s=this._labels;r;)r._startTime>=i&&(r._startTime+=t),r=r._next;if(e)for(n in s)s[n]>=i&&(s[n]+=t);return this._uncache(!0)},l._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var i=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),n=i.length,r=!1;--n>-1;)i[n]._kill(t,e)&&(r=!0);return r},l.clear=function(t){var e=this.getChildren(!1,!0,!0),i=e.length;for(this._time=this._totalTime=0;--i>-1;)e[i]._enabled(!1,!1);return t!==!1&&(this._labels={}),this._uncache(!0)},l.invalidate=function(){for(var t=this._first;t;)t.invalidate(),t=t._next;return this},l._enabled=function(t,i){if(t===this._gc)for(var n=this._first;n;)n._enabled(t,!0),n=n._next;return e.prototype._enabled.call(this,t,i)},l.progress=function(t){return arguments.length?this.totalTime(this.duration()*t,!1):this._time/this.duration()},l.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},l.totalDuration=function(t){if(!arguments.length){if(this._dirty){for(var e,i,n=0,r=this._last,s=999999999999;r;)e=r._prev,r._dirty&&r.totalDuration(),r._startTime>s&&this._sortChildren&&!r._paused?this.add(r,r._startTime-r._delay):s=r._startTime,0>r._startTime&&!r._paused&&(n-=r._startTime,this._timeline.smoothChildTiming&&(this._startTime+=r._startTime/this._timeScale),this.shiftChildren(-r._startTime,!1,-9999999999),s=0),i=r._startTime+r._totalDuration/r._timeScale,i>n&&(n=i),r=e;this._duration=this._totalDuration=n,this._dirty=!1}return this._totalDuration}return 0!==this.totalDuration()&&0!==t&&this.timeScale(this._totalDuration/t),this},l.usesFrames=function(){for(var e=this._timeline;e._timeline;)e=e._timeline;return e===t._rootFramesTimeline},l.rawTime=function(){return this._paused||0!==this._totalTime&&this._totalTime!==this._totalDuration?this._totalTime:(this._timeline.rawTime()-this._startTime)*this._timeScale},n},!0),window._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(t,e,i){var n=function(e){t.call(this,e),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=this.vars.yoyo===!0,this._dirty=!0},r=[],s=new i(null,null,1,0),o=function(t){for(;t;){if(t._paused)return!0;t=t._timeline}return!1},a=n.prototype=new t;return a.constructor=n,a.kill()._gc=!1,n.version="1.9.7",a.invalidate=function(){return this._yoyo=this.vars.yoyo===!0,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),t.prototype.invalidate.call(this)},a.addCallback=function(t,i,n,r){return this.add(e.delayedCall(0,t,n,r),i)},a.removeCallback=function(t,e){if(null==e)this._kill(null,t);else for(var i=this.getTweensOf(t,!1),n=i.length,r=this._parseTimeOrLabel(e);--n>-1;)i[n]._startTime===r&&i[n]._enabled(!1,!1);return this},a.tweenTo=function(t,i){i=i||{};var n,o,a={ease:s,overwrite:2,useFrames:this.usesFrames(),immediateRender:!1};for(n in i)a[n]=i[n];return a.time=this._parseTimeOrLabel(t),o=new e(this,Math.abs(Number(a.time)-this._time)/this._timeScale||.001,a),a.onStart=function(){o.target.paused(!0),o.vars.time!==o.target.time()&&o.duration(Math.abs(o.vars.time-o.target.time())/o.target._timeScale),i.onStart&&i.onStart.apply(i.onStartScope||o,i.onStartParams||r)},o},a.tweenFromTo=function(t,e,i){i=i||{},t=this._parseTimeOrLabel(t),i.startAt={onComplete:this.seek,onCompleteParams:[t],onCompleteScope:this},i.immediateRender=i.immediateRender!==!1;var n=this.tweenTo(e,i);return n.duration(Math.abs(n.vars.time-t)/this._timeScale||.001)},a.render=function(t,e,i){this._gc&&this._enabled(!0,!1),this._active=!this._paused;var n,s,o,a,l,c,u=this._dirty?this.totalDuration():this._totalDuration,h=this._duration,d=this._time,f=this._totalTime,p=this._startTime,m=this._timeScale,g=this._rawPrevTime,v=this._paused,y=this._cycle;if(t>=u?(this._locked||(this._totalTime=u,this._cycle=this._repeat),this._reversed||this._hasPausedChild()||(s=!0,a="onComplete",0===h&&(0===t||0>this._rawPrevTime)&&this._rawPrevTime!==t&&this._first&&(l=!0,this._rawPrevTime>0&&(a="onReverseComplete"))),this._rawPrevTime=t,this._yoyo&&0!==(1&this._cycle)?this._time=t=0:(this._time=h,t=h+1e-6)):1e-7>t?(this._locked||(this._totalTime=this._cycle=0),this._time=0,(0!==d||0===h&&this._rawPrevTime>0&&!this._locked)&&(a="onReverseComplete",s=this._reversed),0>t?(this._active=!1,0===h&&this._rawPrevTime>=0&&this._first&&(l=!0)):this._initted||(l=!0),this._rawPrevTime=t,t=0):(this._time=this._rawPrevTime=t,this._locked||(this._totalTime=t,0!==this._repeat&&(c=h+this._repeatDelay,this._cycle=this._totalTime/c>>0,0!==this._cycle&&this._cycle===this._totalTime/c&&this._cycle--,this._time=this._totalTime-this._cycle*c,this._yoyo&&0!==(1&this._cycle)&&(this._time=h-this._time),this._time>h?(this._time=h,t=h+1e-6):0>this._time?this._time=t=0:t=this._time))),this._cycle!==y&&!this._locked){var _=this._yoyo&&0!==(1&y),b=_===(this._yoyo&&0!==(1&this._cycle)),w=this._totalTime,x=this._cycle,T=this._rawPrevTime,k=this._time;this._totalTime=y*h,y>this._cycle?_=!_:this._totalTime+=h,this._time=d,this._rawPrevTime=0===h?g-1e-5:g,this._cycle=y,this._locked=!0,d=_?0:h,this.render(d,e,0===h),e||this._gc||this.vars.onRepeat&&this.vars.onRepeat.apply(this.vars.onRepeatScope||this,this.vars.onRepeatParams||r),b&&(d=_?h+1e-6:-1e-6,this.render(d,!0,!1)),this._time=k,this._totalTime=w,this._cycle=x,this._rawPrevTime=T,this._locked=!1}if(!(this._time!==d&&this._first||i||l))return void(f!==this._totalTime&&this._onUpdate&&(e||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||r)));if(this._initted||(this._initted=!0),0===f&&this.vars.onStart&&0!==this._totalTime&&(e||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||r)),this._time>=d)for(n=this._first;n&&(o=n._next,!this._paused||v);)(n._active||n._startTime<=this._time&&!n._paused&&!n._gc)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=o;else for(n=this._last;n&&(o=n._prev,!this._paused||v);)(n._active||d>=n._startTime&&!n._paused&&!n._gc)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=o;this._onUpdate&&(e||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||r)),a&&(this._locked||this._gc||(p===this._startTime||m!==this._timeScale)&&(0===this._time||u>=this.totalDuration())&&(s&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[a]&&this.vars[a].apply(this.vars[a+"Scope"]||this,this.vars[a+"Params"]||r)))},a.getActive=function(t,e,i){null==t&&(t=!0),null==e&&(e=!0),null==i&&(i=!1);var n,r,s=[],a=this.getChildren(t,e,i),l=0,c=a.length;for(n=0;c>n;n++)r=a[n],r._paused||r._timeline._time>=r._startTime&&r._timeline._time<r._startTime+r._totalDuration/r._timeScale&&(o(r._timeline)||(s[l++]=r));return s},a.getLabelAfter=function(t){t||0!==t&&(t=this._time);var e,i=this.getLabelsArray(),n=i.length;for(e=0;n>e;e++)if(i[e].time>t)return i[e].name;return null},a.getLabelBefore=function(t){null==t&&(t=this._time);for(var e=this.getLabelsArray(),i=e.length;--i>-1;)if(t>e[i].time)return e[i].name;return null},a.getLabelsArray=function(){var t,e=[],i=0;for(t in this._labels)e[i++]={time:this._labels[t],name:t};return e.sort(function(t,e){return t.time-e.time}),e},a.progress=function(t){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!==(1&this._cycle)?1-t:t)+this._cycle*(this._duration+this._repeatDelay),!1):this._time/this.duration()},a.totalProgress=function(t){return arguments.length?this.totalTime(this.totalDuration()*t,!1):this._totalTime/this.totalDuration()},a.totalDuration=function(e){return arguments.length?-1===this._repeat?this:this.duration((e-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(t.prototype.totalDuration.call(this),this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat),this._totalDuration)},a.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),t>this._duration&&(t=this._duration),this._yoyo&&0!==(1&this._cycle)?t=this._duration-t+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(t+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(t,e)):this._time},a.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},a.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},a.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},a.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.getLabelBefore(this._time+1e-8)},n},!0),function(){var t=180/Math.PI,e=Math.PI/180,i=[],n=[],r=[],s={},o=function(t,e,i,n){this.a=t,this.b=e,this.c=i,this.d=n,this.da=n-t,this.ca=i-t,this.ba=e-t},a=",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,",l=function(t,e,i,n){var r={a:t},s={},o={},a={c:n},l=(t+e)/2,c=(e+i)/2,u=(i+n)/2,h=(l+c)/2,d=(c+u)/2,f=(d-h)/8;return r.b=l+(t-l)/4,s.b=h+f,r.c=s.a=(r.b+s.b)/2,s.c=o.a=(h+d)/2,o.b=d-f,a.b=u+(n-u)/4,o.c=a.a=(o.b+a.b)/2,[r,s,o,a]},c=function(t,e,s,o,a){var c,u,h,d,f,p,m,g,v,y,_,b,w,x=t.length-1,T=0,k=t[0].a;for(c=0;x>c;c++)f=t[T],u=f.a,h=f.d,d=t[T+1].d,a?(_=i[c],b=n[c],w=.25*(b+_)*e/(o?.5:r[c]||.5),p=h-(h-u)*(o?.5*e:0!==_?w/_:0),m=h+(d-h)*(o?.5*e:0!==b?w/b:0),g=h-(p+((m-p)*(3*_/(_+b)+.5)/4||0))):(p=h-.5*(h-u)*e,m=h+.5*(d-h)*e,g=h-(p+m)/2),p+=g,m+=g,f.c=v=p,f.b=0!==c?k:k=f.a+.6*(f.c-f.a),f.da=h-u,f.ca=v-u,f.ba=k-u,s?(y=l(u,k,v,h),t.splice(T,1,y[0],y[1],y[2],y[3]),T+=4):T++,k=m;f=t[T],f.b=k,f.c=k+.4*(f.d-k),f.da=f.d-f.a,f.ca=f.c-f.a,f.ba=k-f.a,s&&(y=l(f.a,k,f.c,f.d),t.splice(T,1,y[0],y[1],y[2],y[3]))},u=function(t,e,r,s){var a,l,c,u,h,d,f=[];if(s)for(t=[s].concat(t),l=t.length;--l>-1;)"string"==typeof(d=t[l][e])&&"="===d.charAt(1)&&(t[l][e]=s[e]+Number(d.charAt(0)+d.substr(2)));if(a=t.length-2,0>a)return f[0]=new o(t[0][e],0,0,t[-1>a?0:1][e]),f;for(l=0;a>l;l++)c=t[l][e],u=t[l+1][e],f[l]=new o(c,0,0,u),r&&(h=t[l+2][e],i[l]=(i[l]||0)+(u-c)*(u-c),n[l]=(n[l]||0)+(h-u)*(h-u));return f[l]=new o(t[l][e],0,0,t[l+1][e]),f},h=function(t,e,o,l,h,d){var f,p,m,g,v,y,_,b,w={},x=[],T=d||t[0];h="string"==typeof h?","+h+",":a,null==e&&(e=1);for(p in t[0])x.push(p);if(t.length>1){for(b=t[t.length-1],_=!0,f=x.length;--f>-1;)if(p=x[f],Math.abs(T[p]-b[p])>.05){_=!1;break}_&&(t=t.concat(),d&&t.unshift(d),t.push(t[1]),d=t[t.length-3])}for(i.length=n.length=r.length=0,f=x.length;--f>-1;)p=x[f],s[p]=-1!==h.indexOf(","+p+","),w[p]=u(t,p,s[p],d);for(f=i.length;--f>-1;)i[f]=Math.sqrt(i[f]),n[f]=Math.sqrt(n[f]);if(!l){for(f=x.length;--f>-1;)if(s[p])for(m=w[x[f]],y=m.length-1,g=0;y>g;g++)v=m[g+1].da/n[g]+m[g].da/i[g],r[g]=(r[g]||0)+v*v;for(f=r.length;--f>-1;)r[f]=Math.sqrt(r[f])}for(f=x.length,g=o?4:1;--f>-1;)p=x[f],m=w[p],c(m,e,o,l,s[p]),_&&(m.splice(0,g),m.splice(m.length-g,g));return w},d=function(t,e,i){e=e||"soft";var n,r,s,a,l,c,u,h,d,f,p,m={},g="cubic"===e?3:2,v="soft"===e,y=[];if(v&&i&&(t=[i].concat(t)),null==t||g+1>t.length)throw"invalid Bezier data";for(d in t[0])y.push(d);for(c=y.length;--c>-1;){for(d=y[c],m[d]=l=[],f=0,h=t.length,u=0;h>u;u++)n=null==i?t[u][d]:"string"==typeof(p=t[u][d])&&"="===p.charAt(1)?i[d]+Number(p.charAt(0)+p.substr(2)):Number(p),v&&u>1&&h-1>u&&(l[f++]=(n+l[f-2])/2),l[f++]=n;for(h=f-g+1,f=0,u=0;h>u;u+=g)n=l[u],r=l[u+1],s=l[u+2],a=2===g?0:l[u+3],l[f++]=p=3===g?new o(n,r,s,a):new o(n,(2*r+n)/3,(2*r+s)/3,s);l.length=f}return m},f=function(t,e,i){for(var n,r,s,o,a,l,c,u,h,d,f,p=1/i,m=t.length;--m>-1;)for(d=t[m],s=d.a,o=d.d-s,a=d.c-s,l=d.b-s,n=r=0,u=1;i>=u;u++)c=p*u,h=1-c,n=r-(r=(c*c*o+3*h*(c*a+h*l))*c),f=m*i+u-1,e[f]=(e[f]||0)+n*n},p=function(t,e){e=e>>0||6;var i,n,r,s,o=[],a=[],l=0,c=0,u=e-1,h=[],d=[];for(i in t)f(t[i],o,e);for(r=o.length,n=0;r>n;n++)l+=Math.sqrt(o[n]),s=n%e,d[s]=l,s===u&&(c+=l,s=n/e>>0,h[s]=d,a[s]=c,l=0,d=[]);return{length:c,lengths:a,segments:h}},m=window._gsDefine.plugin({propName:"bezier",priority:-1,API:2,global:!0,init:function(t,e,i){this._target=t,e instanceof Array&&(e={values:e}),this._func={},this._round={},this._props=[],this._timeRes=null==e.timeResolution?6:parseInt(e.timeResolution,10);var n,r,s,o,a,l=e.values||[],c={},u=l[0],f=e.autoRotate||i.vars.orientToBezier;this._autoRotate=f?f instanceof Array?f:[["x","y","rotation",f===!0?0:Number(f)||0]]:null;for(n in u)this._props.push(n);for(s=this._props.length;--s>-1;)n=this._props[s],this._overwriteProps.push(n),r=this._func[n]="function"==typeof t[n],c[n]=r?t[n.indexOf("set")||"function"!=typeof t["get"+n.substr(3)]?n:"get"+n.substr(3)]():parseFloat(t[n]),a||c[n]!==l[0][n]&&(a=c);if(this._beziers="cubic"!==e.type&&"quadratic"!==e.type&&"soft"!==e.type?h(l,isNaN(e.curviness)?1:e.curviness,!1,"thruBasic"===e.type,e.correlate,a):d(l,e.type,c),this._segCount=this._beziers[n].length,this._timeRes){var m=p(this._beziers,this._timeRes);this._length=m.length,this._lengths=m.lengths,this._segments=m.segments,this._l1=this._li=this._s1=this._si=0,this._l2=this._lengths[0],this._curSeg=this._segments[0],this._s2=this._curSeg[0],this._prec=1/this._curSeg.length}if(f=this._autoRotate)for(f[0]instanceof Array||(this._autoRotate=f=[f]),s=f.length;--s>-1;)for(o=0;3>o;o++)n=f[s][o],this._func[n]="function"==typeof t[n]?t[n.indexOf("set")||"function"!=typeof t["get"+n.substr(3)]?n:"get"+n.substr(3)]:!1;return!0},set:function(e){var i,n,r,s,o,a,l,c,u,h,d=this._segCount,f=this._func,p=this._target;if(this._timeRes){if(u=this._lengths,h=this._curSeg,e*=this._length,r=this._li,e>this._l2&&d-1>r){for(c=d-1;c>r&&e>=(this._l2=u[++r]););this._l1=u[r-1],this._li=r,this._curSeg=h=this._segments[r],this._s2=h[this._s1=this._si=0]}else if(this._l1>e&&r>0){for(;r>0&&(this._l1=u[--r])>=e;);0===r&&this._l1>e?this._l1=0:r++,this._l2=u[r],this._li=r,this._curSeg=h=this._segments[r],this._s1=h[(this._si=h.length-1)-1]||0,this._s2=h[this._si]}if(i=r,e-=this._l1,r=this._si,e>this._s2&&h.length-1>r){for(c=h.length-1;c>r&&e>=(this._s2=h[++r]););this._s1=h[r-1],this._si=r}else if(this._s1>e&&r>0){for(;r>0&&(this._s1=h[--r])>=e;);0===r&&this._s1>e?this._s1=0:r++,this._s2=h[r],this._si=r}a=(r+(e-this._s1)/(this._s2-this._s1))*this._prec}else i=0>e?0:e>=1?d-1:d*e>>0,a=(e-i*(1/d))*d;for(n=1-a,r=this._props.length;--r>-1;)s=this._props[r],o=this._beziers[s][i],l=(a*a*o.da+3*n*(a*o.ca+n*o.ba))*a+o.a,this._round[s]&&(l=l+(l>0?.5:-.5)>>0),f[s]?p[s](l):p[s]=l;if(this._autoRotate){var m,g,v,y,_,b,w,x=this._autoRotate;for(r=x.length;--r>-1;)s=x[r][2],b=x[r][3]||0,w=x[r][4]===!0?1:t,o=this._beziers[x[r][0]],m=this._beziers[x[r][1]],o&&m&&(o=o[i],m=m[i],g=o.a+(o.b-o.a)*a,y=o.b+(o.c-o.b)*a,g+=(y-g)*a,y+=(o.c+(o.d-o.c)*a-y)*a,v=m.a+(m.b-m.a)*a,_=m.b+(m.c-m.b)*a,v+=(_-v)*a,_+=(m.c+(m.d-m.c)*a-_)*a,l=Math.atan2(_-v,y-g)*w+b,f[s]?p[s](l):p[s]=l)}}}),g=m.prototype;m.bezierThrough=h,m.cubicToQuadratic=l,m._autoCSS=!0,m.quadraticToCubic=function(t,e,i){return new o(t,(2*e+t)/3,(2*e+i)/3,i)},m._cssRegister=function(){var t=window._gsDefine.globals.CSSPlugin;if(t){var i=t._internals,n=i._parseToProxy,r=i._setPluginRatio,s=i.CSSPropTween;i._registerComplexSpecialProp("bezier",{parser:function(t,i,o,a,l,c){i instanceof Array&&(i={values:i}),c=new m;var u,h,d,f=i.values,p=f.length-1,g=[],v={};if(0>p)return l;for(u=0;p>=u;u++)d=n(t,f[u],a,l,c,p!==u),g[u]=d.end;for(h in i)v[h]=i[h];return v.values=g,l=new s(t,"bezier",0,0,d.pt,2),l.data=d,l.plugin=c,l.setRatio=r,0===v.autoRotate&&(v.autoRotate=!0),!v.autoRotate||v.autoRotate instanceof Array||(u=v.autoRotate===!0?0:Number(v.autoRotate)*e,v.autoRotate=null!=d.end.left?[["left","top","rotation",u,!0]]:null!=d.end.x?[["x","y","rotation",u,!0]]:!1),v.autoRotate&&(a._transform||a._enableTransforms(!1),d.autoRotate=a._target._gsTransform),c._onInitTween(d.proxy,v,a._tween),l}})}},g._roundProps=function(t,e){for(var i=this._overwriteProps,n=i.length;--n>-1;)(t[i[n]]||t.bezier||t.bezierThrough)&&(this._round[i[n]]=e)},g._kill=function(t){var e,i,n=this._props;for(e in this._beziers)if(e in t)for(delete this._beziers[e],delete this._func[e],i=n.length;--i>-1;)n[i]===e&&n.splice(i,1);return this._super._kill.call(this,t)}}(),window._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(t,e){var i,n,r,s,o=function(){t.call(this,"css"),this._overwriteProps.length=0},a={},l=o.prototype=new t("css");l.constructor=o,o.version="1.9.7",o.API=2,o.defaultTransformPerspective=0,l="px",o.suffixMap={top:l,right:l,bottom:l,left:l,width:l,height:l,fontSize:l,padding:l,margin:l,perspective:l};var c,u,h,d,f,p,m=/(?:\d|\-\d|\.\d|\-\.\d)+/g,g=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,v=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,y=/[^\d\-\.]/g,_=/(?:\d|\-|\+|=|#|\.)*/g,b=/opacity *= *([^)]*)/,w=/opacity:([^;]*)/,x=/alpha\(opacity *=.+?\)/i,T=/^(rgb|hsl)/,k=/([A-Z])/g,S=/-([a-z])/gi,C=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,P=function(t,e){return e.toUpperCase()},E=/(?:Left|Right|Width)/i,A=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,I=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,O=/,(?=[^\)]*(?:\(|$))/gi,D=Math.PI/180,N=180/Math.PI,M={},R=document,L=R.createElement("div"),$=R.createElement("img"),B=o._internals={_specialProps:a},F=navigator.userAgent,j=function(){var t,e=F.indexOf("Android"),i=R.createElement("div");return h=-1!==F.indexOf("Safari")&&-1===F.indexOf("Chrome")&&(-1===e||Number(F.substr(e+8,1))>3),f=h&&6>Number(F.substr(F.indexOf("Version/")+8,1)),d=-1!==F.indexOf("Firefox"),/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(F),p=parseFloat(RegExp.$1),i.innerHTML="<a style='top:1px;opacity:.55;'>a</a>",t=i.getElementsByTagName("a")[0],t?/^0.55/.test(t.style.opacity):!1}(),W=function(t){return b.test("string"==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1},H=function(t){window.console&&console.log(t)},z="",X="",q=function(t,e){e=e||L;var i,n,r=e.style;if(void 0!==r[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),i=["O","Moz","ms","Ms","Webkit"],n=5;--n>-1&&void 0===r[i[n]+t];);return n>=0?(X=3===n?"ms":i[n],z="-"+X.toLowerCase()+"-",X+t):null | |
},U=R.defaultView?R.defaultView.getComputedStyle:function(){},Y=o.getStyle=function(t,e,i,n,r){var s;return j||"opacity"!==e?(!n&&t.style[e]?s=t.style[e]:(i=i||U(t,null))?(t=i.getPropertyValue(e.replace(k,"-$1").toLowerCase()),s=t||i.length?t:i[e]):t.currentStyle&&(i=t.currentStyle,s=i[e]),null==r||s&&"none"!==s&&"auto"!==s&&"auto auto"!==s?s:r):W(t)},Q=function(t,e,i,n,r){if("px"===n||!n)return i;if("auto"===n||!i)return 0;var s,o=E.test(e),a=t,l=L.style,c=0>i;return c&&(i=-i),"%"===n&&-1!==e.indexOf("border")?s=i/100*(o?t.clientWidth:t.clientHeight):(l.cssText="border-style:solid; border-width:0; position:absolute; line-height:0;","%"!==n&&a.appendChild?l[o?"borderLeftWidth":"borderTopWidth"]=i+n:(a=t.parentNode||R.body,l[o?"width":"height"]=i+n),a.appendChild(L),s=parseFloat(L[o?"offsetWidth":"offsetHeight"]),a.removeChild(L),0!==s||r||(s=Q(t,e,i,n,!0))),c?-s:s},V=function(t,e,i){if("absolute"!==Y(t,"position",i))return 0;var n="left"===e?"Left":"Top",r=Y(t,"margin"+n,i);return t["offset"+n]-(Q(t,e,parseFloat(r),r.replace(_,""))||0)},G=function(t,e){var i,n,r={};if(e=e||U(t,null))if(i=e.length)for(;--i>-1;)r[e[i].replace(S,P)]=e.getPropertyValue(e[i]);else for(i in e)r[i]=e[i];else if(e=t.currentStyle||t.style)for(i in e)r[i.replace(S,P)]=e[i];return j||(r.opacity=W(t)),n=Te(t,e,!1),r.rotation=n.rotation*N,r.skewX=n.skewX*N,r.scaleX=n.scaleX,r.scaleY=n.scaleY,r.x=n.x,r.y=n.y,xe&&(r.z=n.z,r.rotationX=n.rotationX*N,r.rotationY=n.rotationY*N,r.scaleZ=n.scaleZ),r.filters&&delete r.filters,r},Z=function(t,e,i,n,r){var s,o,a,l={},c=t.style;for(o in i)"cssText"!==o&&"length"!==o&&isNaN(o)&&(e[o]!==(s=i[o])||r&&r[o])&&-1===o.indexOf("Origin")&&("number"==typeof s||"string"==typeof s)&&(l[o]="auto"!==s||"left"!==o&&"top"!==o?""!==s&&"auto"!==s&&"none"!==s||"string"!=typeof e[o]||""===e[o].replace(y,"")?s:0:V(t,o),void 0!==c[o]&&(a=new he(c,o,c[o],a)));if(n)for(o in n)"className"!==o&&(l[o]=n[o]);return{difs:l,firstMPT:a}},K={width:["Left","Right"],height:["Top","Bottom"]},J=["marginLeft","marginRight","marginTop","marginBottom"],te=function(t,e,i){var n=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),r=K[e],s=r.length;for(i=i||U(t,null);--s>-1;)n-=parseFloat(Y(t,"padding"+r[s],i,!0))||0,n-=parseFloat(Y(t,"border"+r[s]+"Width",i,!0))||0;return n},ee=function(t,e){(null==t||""===t||"auto"===t||"auto auto"===t)&&(t="0 0");var i=t.split(" "),n=-1!==t.indexOf("left")?"0%":-1!==t.indexOf("right")?"100%":i[0],r=-1!==t.indexOf("top")?"0%":-1!==t.indexOf("bottom")?"100%":i[1];return null==r?r="0":"center"===r&&(r="50%"),("center"===n||isNaN(parseFloat(n)))&&(n="50%"),e&&(e.oxp=-1!==n.indexOf("%"),e.oyp=-1!==r.indexOf("%"),e.oxr="="===n.charAt(1),e.oyr="="===r.charAt(1),e.ox=parseFloat(n.replace(y,"")),e.oy=parseFloat(r.replace(y,""))),n+" "+r+(i.length>2?" "+i[2]:"")},ie=function(t,e){return"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)},ne=function(t,e){return null==t?e:"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*Number(t.substr(2))+e:parseFloat(t)},re=function(t,e,i,n){var r,s,o,a,l=1e-6;return null==t?a=e:"number"==typeof t?a=t*D:(r=2*Math.PI,s=t.split("_"),o=Number(s[0].replace(y,""))*(-1===t.indexOf("rad")?D:1)-("="===t.charAt(1)?0:e),s.length&&(n&&(n[i]=e+o),-1!==t.indexOf("short")&&(o%=r,o!==o%(r/2)&&(o=0>o?o+r:o-r)),-1!==t.indexOf("_cw")&&0>o?o=(o+9999999999*r)%r-(0|o/r)*r:-1!==t.indexOf("ccw")&&o>0&&(o=(o-9999999999*r)%r-(0|o/r)*r)),a=e+o),l>a&&a>-l&&(a=0),a},se={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]},oe=function(t,e,i){return t=0>t?t+1:t>1?t-1:t,0|255*(1>6*t?e+6*(i-e)*t:.5>t?i:2>3*t?e+6*(i-e)*(2/3-t):e)+.5},ae=function(t){var e,i,n,r,s,o;return t&&""!==t?"number"==typeof t?[t>>16,255&t>>8,255&t]:(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),se[t]?se[t]:"#"===t.charAt(0)?(4===t.length&&(e=t.charAt(1),i=t.charAt(2),n=t.charAt(3),t="#"+e+e+i+i+n+n),t=parseInt(t.substr(1),16),[t>>16,255&t>>8,255&t]):"hsl"===t.substr(0,3)?(t=t.match(m),r=Number(t[0])%360/360,s=Number(t[1])/100,o=Number(t[2])/100,i=.5>=o?o*(s+1):o+s-o*s,e=2*o-i,t.length>3&&(t[3]=Number(t[3])),t[0]=oe(r+1/3,e,i),t[1]=oe(r,e,i),t[2]=oe(r-1/3,e,i),t):(t=t.match(m)||se.transparent,t[0]=Number(t[0]),t[1]=Number(t[1]),t[2]=Number(t[2]),t.length>3&&(t[3]=Number(t[3])),t)):se.black},le="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#.+?\\b";for(l in se)le+="|"+l+"\\b";le=RegExp(le+")","gi");var ce=function(t,e,i,n){if(null==t)return function(t){return t};var r,s=e?(t.match(le)||[""])[0]:"",o=t.split(s).join("").match(v)||[],a=t.substr(0,t.indexOf(o[0])),l=")"===t.charAt(t.length-1)?")":"",c=-1!==t.indexOf(" ")?" ":",",u=o.length,h=u>0?o[0].replace(m,""):"";return u?r=e?function(t){var e,d,f,p;if("number"==typeof t)t+=h;else if(n&&O.test(t)){for(p=t.replace(O,"|").split("|"),f=0;p.length>f;f++)p[f]=r(p[f]);return p.join(",")}if(e=(t.match(le)||[s])[0],d=t.split(e).join("").match(v)||[],f=d.length,u>f--)for(;u>++f;)d[f]=i?d[0|(f-1)/2]:o[f];return a+d.join(c)+c+e+l+(-1!==t.indexOf("inset")?" inset":"")}:function(t){var e,s,d;if("number"==typeof t)t+=h;else if(n&&O.test(t)){for(s=t.replace(O,"|").split("|"),d=0;s.length>d;d++)s[d]=r(s[d]);return s.join(",")}if(e=t.match(v)||[],d=e.length,u>d--)for(;u>++d;)e[d]=i?e[0|(d-1)/2]:o[d];return a+e.join(c)+l}:function(t){return t}},ue=function(t){return t=t.split(","),function(e,i,n,r,s,o,a){var l,c=(i+"").split(" ");for(a={},l=0;4>l;l++)a[t[l]]=c[l]=c[l]||c[(l-1)/2>>0];return r.parse(e,a,s,o)}},he=(B._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,i,n,r,s=this.data,o=s.proxy,a=s.firstMPT,l=1e-6;a;)e=o[a.v],a.r?e=e>0?0|e+.5:0|e-.5:l>e&&e>-l&&(e=0),a.t[a.p]=e,a=a._next;if(s.autoRotate&&(s.autoRotate.rotation=o.rotation),1===t)for(a=s.firstMPT;a;){if(i=a.t,i.type){if(1===i.type){for(r=i.xs0+i.s+i.xs1,n=1;i.l>n;n++)r+=i["xn"+n]+i["xs"+(n+1)];i.e=r}}else i.e=i.s+i.xs0;a=a._next}},function(t,e,i,n,r){this.t=t,this.p=e,this.v=i,this.r=r,n&&(n._prev=this,this._next=n)}),de=(B._parseToProxy=function(t,e,i,n,r,s){var o,a,l,c,u,h=n,d={},f={},p=i._transform,m=M;for(i._transform=null,M=e,n=u=i.parse(t,e,n,r),M=m,s&&(i._transform=p,h&&(h._prev=null,h._prev&&(h._prev._next=null)));n&&n!==h;){if(1>=n.type&&(a=n.p,f[a]=n.s+n.c,d[a]=n.s,s||(c=new he(n,"s",a,c,n.r),n.c=0),1===n.type))for(o=n.l;--o>0;)l="xn"+o,a=n.p+"_"+l,f[a]=n.data[l],d[a]=n[l],s||(c=new he(n,l,a,c,n.rxp[l]));n=n._next}return{proxy:d,end:f,firstMPT:c,pt:u}},B.CSSPropTween=function(t,e,n,r,o,a,l,c,u,h,d){this.t=t,this.p=e,this.s=n,this.c=r,this.n=l||"css_"+e,t instanceof de||s.push(this.n),this.r=c,this.type=a||0,u&&(this.pr=u,i=!0),this.b=void 0===h?n:h,this.e=void 0===d?n+r:d,o&&(this._next=o,o._prev=this)}),fe=o.parseComplex=function(t,e,i,n,r,s,o,a,l,u){i=i||s||"",o=new de(t,e,0,0,o,u?2:1,null,!1,a,i,n),n+="";var h,d,f,p,v,y,_,b,w,x,k,S,C=i.split(", ").join(",").split(" "),P=n.split(", ").join(",").split(" "),E=C.length,A=c!==!1;for((-1!==n.indexOf(",")||-1!==i.indexOf(","))&&(C=C.join(" ").replace(O,", ").split(" "),P=P.join(" ").replace(O,", ").split(" "),E=C.length),E!==P.length&&(C=(s||"").split(" "),E=C.length),o.plugin=l,o.setRatio=u,h=0;E>h;h++)if(p=C[h],v=P[h],b=parseFloat(p),b||0===b)o.appendXtra("",b,ie(v,b),v.replace(g,""),A&&-1!==v.indexOf("px"),!0);else if(r&&("#"===p.charAt(0)||se[p]||T.test(p)))S=","===v.charAt(v.length-1)?"),":")",p=ae(p),v=ae(v),w=p.length+v.length>6,w&&!j&&0===v[3]?(o["xs"+o.l]+=o.l?" transparent":"transparent",o.e=o.e.split(P[h]).join("transparent")):(j||(w=!1),o.appendXtra(w?"rgba(":"rgb(",p[0],v[0]-p[0],",",!0,!0).appendXtra("",p[1],v[1]-p[1],",",!0).appendXtra("",p[2],v[2]-p[2],w?",":S,!0),w&&(p=4>p.length?1:p[3],o.appendXtra("",p,(4>v.length?1:v[3])-p,S,!1)));else if(y=p.match(m)){if(_=v.match(g),!_||_.length!==y.length)return o;for(f=0,d=0;y.length>d;d++)k=y[d],x=p.indexOf(k,f),o.appendXtra(p.substr(f,x-f),Number(k),ie(_[d],k),"",A&&"px"===p.substr(x+k.length,2),0===d),f=x+k.length;o["xs"+o.l]+=p.substr(f)}else o["xs"+o.l]+=o.l?" "+p:p;if(-1!==n.indexOf("=")&&o.data){for(S=o.xs0+o.data.s,h=1;o.l>h;h++)S+=o["xs"+h]+o.data["xn"+h];o.e=S+o["xs"+h]}return o.l||(o.type=-1,o.xs0=o.e),o.xfirst||o},pe=9;for(l=de.prototype,l.l=l.pr=0;--pe>0;)l["xn"+pe]=0,l["xs"+pe]="";l.xs0="",l._next=l._prev=l.xfirst=l.data=l.plugin=l.setRatio=l.rxp=null,l.appendXtra=function(t,e,i,n,r,s){var o=this,a=o.l;return o["xs"+a]+=s&&a?" "+t:t||"",i||0===a||o.plugin?(o.l++,o.type=o.setRatio?2:1,o["xs"+o.l]=n||"",a>0?(o.data["xn"+a]=e+i,o.rxp["xn"+a]=r,o["xn"+a]=e,o.plugin||(o.xfirst=new de(o,"xn"+a,e,i,o.xfirst||o,0,o.n,r,o.pr),o.xfirst.xs0=0),o):(o.data={s:e+i},o.rxp={},o.s=e,o.c=i,o.r=r,o)):(o["xs"+a]+=e+(n||""),o)};var me=function(t,e){e=e||{},this.p=e.prefix?q(t)||t:t,a[t]=a[this.p]=this,this.format=e.formatter||ce(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},ge=B._registerComplexSpecialProp=function(t,e,i){"object"!=typeof e&&(e={parser:i});var n,r,s=t.split(","),o=e.defaultValue;for(i=i||[o],n=0;s.length>n;n++)e.prefix=0===n&&e.prefix,e.defaultValue=i[n]||o,r=new me(s[n],e)},ve=function(t){if(!a[t]){var e=t.charAt(0).toUpperCase()+t.substr(1)+"Plugin";ge(t,{parser:function(t,i,n,r,s,o,l){var c=(window.GreenSockGlobals||window).com.greensock.plugins[e];return c?(c._cssRegister(),a[n].parse(t,i,n,r,s,o,l)):(H("Error: "+e+" js file not loaded."),s)}})}};l=me.prototype,l.parseComplex=function(t,e,i,n,r,s){var o,a,l,c,u,h,d=this.keyword;if(this.multi&&(O.test(i)||O.test(e)?(a=e.replace(O,"|").split("|"),l=i.replace(O,"|").split("|")):d&&(a=[e],l=[i])),l){for(c=l.length>a.length?l.length:a.length,o=0;c>o;o++)e=a[o]=a[o]||this.dflt,i=l[o]=l[o]||this.dflt,d&&(u=e.indexOf(d),h=i.indexOf(d),u!==h&&(i=-1===h?l:a,i[o]+=" "+d));e=a.join(", "),i=l.join(", ")}return fe(t,this.p,e,i,this.clrs,this.dflt,n,this.pr,r,s)},l.parse=function(t,e,i,n,s,o){return this.parseComplex(t.style,this.format(Y(t,this.p,r,!1,this.dflt)),this.format(e),s,o)},o.registerSpecialProp=function(t,e,i){ge(t,{parser:function(t,n,r,s,o,a){var l=new de(t,r,0,0,o,2,r,!1,i);return l.plugin=a,l.setRatio=e(t,n,s._tween,r),l},priority:i})};var ye="scaleX,scaleY,scaleZ,x,y,z,skewX,rotation,rotationX,rotationY,perspective".split(","),_e=q("transform"),be=z+"transform",we=q("transformOrigin"),xe=null!==q("perspective"),Te=function(t,e,i){var n,r,s,a,l,c,u,h,d,f,p,m,g,v=i?t._gsTransform||{skewY:0}:{skewY:0},y=0>v.scaleX,_=2e-5,b=1e5,w=-Math.PI+1e-4,x=Math.PI-1e-4,T=xe?parseFloat(Y(t,we,e,!1,"0 0 0").split(" ")[2])||v.zOrigin||0:0;if(_e)n=Y(t,be,e,!0);else if(t.currentStyle)if(n=t.currentStyle.filter.match(A),n&&4===n.length)n=[n[0].substr(4),Number(n[2].substr(4)),Number(n[1].substr(4)),n[3].substr(4),v.x||0,v.y||0].join(",");else{if(null!=v.x)return v;n=""}for(r=(n||"").match(/(?:\-|\b)[\d\-\.e]+\b/gi)||[],s=r.length;--s>-1;)a=Number(r[s]),r[s]=(l=a-(a|=0))?(0|l*b+(0>l?-.5:.5))/b+a:a;if(16===r.length){var k=r[8],S=r[9],C=r[10],P=r[12],E=r[13],I=r[14];if(v.zOrigin&&(I=-v.zOrigin,P=k*I-r[12],E=S*I-r[13],I=C*I+v.zOrigin-r[14]),!i||null==v.rotationX){var O,D,N,M,R,L,$,B=r[0],F=r[1],j=r[2],W=r[3],H=r[4],z=r[5],X=r[6],q=r[7],U=r[11],Q=v.rotationX=Math.atan2(X,C),V=w>Q||Q>x;Q&&(M=Math.cos(-Q),R=Math.sin(-Q),O=H*M+k*R,D=z*M+S*R,N=X*M+C*R,k=H*-R+k*M,S=z*-R+S*M,C=X*-R+C*M,U=q*-R+U*M,H=O,z=D,X=N),Q=v.rotationY=Math.atan2(k,B),Q&&(L=w>Q||Q>x,M=Math.cos(-Q),R=Math.sin(-Q),O=B*M-k*R,D=F*M-S*R,N=j*M-C*R,S=F*R+S*M,C=j*R+C*M,U=W*R+U*M,B=O,F=D,j=N),Q=v.rotation=Math.atan2(F,z),Q&&($=w>Q||Q>x,M=Math.cos(-Q),R=Math.sin(-Q),B=B*M+H*R,D=F*M+z*R,z=F*-R+z*M,X=j*-R+X*M,F=D),$&&V?v.rotation=v.rotationX=0:$&&L?v.rotation=v.rotationY=0:L&&V&&(v.rotationY=v.rotationX=0),v.scaleX=(0|Math.sqrt(B*B+F*F)*b+.5)/b,v.scaleY=(0|Math.sqrt(z*z+S*S)*b+.5)/b,v.scaleZ=(0|Math.sqrt(X*X+C*C)*b+.5)/b,v.skewX=0,v.perspective=U?1/(0>U?-U:U):0,v.x=P,v.y=E,v.z=I}}else if(!(xe&&0!==r.length&&v.x===r[4]&&v.y===r[5]&&(v.rotationX||v.rotationY)||void 0!==v.x&&"none"===Y(t,"display",e))){var G=r.length>=6,Z=G?r[0]:1,K=r[1]||0,J=r[2]||0,te=G?r[3]:1;v.x=r[4]||0,v.y=r[5]||0,c=Math.sqrt(Z*Z+K*K),u=Math.sqrt(te*te+J*J),h=Z||K?Math.atan2(K,Z):v.rotation||0,d=J||te?Math.atan2(J,te)+h:v.skewX||0,f=c-Math.abs(v.scaleX||0),p=u-Math.abs(v.scaleY||0),Math.abs(d)>Math.PI/2&&Math.abs(d)<1.5*Math.PI&&(y?(c*=-1,d+=0>=h?Math.PI:-Math.PI,h+=0>=h?Math.PI:-Math.PI):(u*=-1,d+=0>=d?Math.PI:-Math.PI)),m=(h-v.rotation)%Math.PI,g=(d-v.skewX)%Math.PI,(void 0===v.skewX||f>_||-_>f||p>_||-_>p||m>w&&x>m&&!1|m*b||g>w&&x>g&&!1|g*b)&&(v.scaleX=c,v.scaleY=u,v.rotation=h,v.skewX=d),xe&&(v.rotationX=v.rotationY=v.z=0,v.perspective=parseFloat(o.defaultTransformPerspective)||0,v.scaleZ=1)}v.zOrigin=T;for(s in v)_>v[s]&&v[s]>-_&&(v[s]=0);return i&&(t._gsTransform=v),v},ke=function(t){var e,i,n=this.data,r=-n.rotation,s=r+n.skewX,o=1e5,a=(0|Math.cos(r)*n.scaleX*o)/o,l=(0|Math.sin(r)*n.scaleX*o)/o,c=(0|Math.sin(s)*-n.scaleY*o)/o,u=(0|Math.cos(s)*n.scaleY*o)/o,h=this.t.style,d=this.t.currentStyle;if(d){i=l,l=-c,c=-i,e=d.filter,h.filter="";var f,m,g=this.t.offsetWidth,v=this.t.offsetHeight,y="absolute"!==d.position,w="progid:DXImageTransform.Microsoft.Matrix(M11="+a+", M12="+l+", M21="+c+", M22="+u,x=n.x,T=n.y;if(null!=n.ox&&(f=(n.oxp?.01*g*n.ox:n.ox)-g/2,m=(n.oyp?.01*v*n.oy:n.oy)-v/2,x+=f-(f*a+m*l),T+=m-(f*c+m*u)),y)f=g/2,m=v/2,w+=", Dx="+(f-(f*a+m*l)+x)+", Dy="+(m-(f*c+m*u)+T)+")";else{var k,S,C,P=8>p?1:-1;for(f=n.ieOffsetX||0,m=n.ieOffsetY||0,n.ieOffsetX=Math.round((g-((0>a?-a:a)*g+(0>l?-l:l)*v))/2+x),n.ieOffsetY=Math.round((v-((0>u?-u:u)*v+(0>c?-c:c)*g))/2+T),pe=0;4>pe;pe++)S=J[pe],k=d[S],i=-1!==k.indexOf("px")?parseFloat(k):Q(this.t,S,parseFloat(k),k.replace(_,""))||0,C=i!==n[S]?2>pe?-n.ieOffsetX:-n.ieOffsetY:2>pe?f-n.ieOffsetX:m-n.ieOffsetY,h[S]=(n[S]=Math.round(i-C*(0===pe||2===pe?1:P)))+"px";w+=", sizingMethod='auto expand')"}h.filter=-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?e.replace(I,w):w+" "+e,(0===t||1===t)&&1===a&&0===l&&0===c&&1===u&&(y&&-1===w.indexOf("Dx=0, Dy=0")||b.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf("gradient(")&&h.removeAttribute("filter"))}},Se=function(){var t,e,i,n,r,s,o,a,l,c=this.data,u=this.t.style,h=c.perspective,f=c.scaleX,p=0,m=0,g=0,v=0,y=c.scaleY,_=0,b=0,w=0,x=0,T=c.scaleZ,k=0,S=0,C=0,P=h?-1/h:0,E=c.rotation,A=c.zOrigin,I=1e5;d&&(o=u.top?"top":u.bottom?"bottom":parseFloat(Y(this.t,"top",null,!1))?"bottom":"top",i=Y(this.t,o,null,!1),a=parseFloat(i)||0,l=i.substr((a+"").length)||"px",c._ffFix=!c._ffFix,u[o]=(c._ffFix?a+.05:a-.05)+l),(E||c.skewX)&&(i=f*Math.cos(E),n=y*Math.sin(E),E-=c.skewX,p=f*-Math.sin(E),y*=Math.cos(E),f=i,v=n),E=c.rotationY,E&&(t=Math.cos(E),e=Math.sin(E),i=f*t,n=v*t,r=T*-e,s=P*-e,m=f*e,_=v*e,T*=t,P*=t,f=i,v=n,w=r,S=s),E=c.rotationX,E&&(t=Math.cos(E),e=Math.sin(E),i=p*t+m*e,n=y*t+_*e,r=x*t+T*e,s=C*t+P*e,m=p*-e+m*t,_=y*-e+_*t,T=x*-e+T*t,P=C*-e+P*t,p=i,y=n,x=r,C=s),A&&(k-=A,g=m*k,b=_*k,k=T*k+A),g=(i=(g+=c.x)-(g|=0))?(0|i*I+(0>i?-.5:.5))/I+g:g,b=(i=(b+=c.y)-(b|=0))?(0|i*I+(0>i?-.5:.5))/I+b:b,k=(i=(k+=c.z)-(k|=0))?(0|i*I+(0>i?-.5:.5))/I+k:k,u[_e]="matrix3d("+[(0|f*I)/I,(0|v*I)/I,(0|w*I)/I,(0|S*I)/I,(0|p*I)/I,(0|y*I)/I,(0|x*I)/I,(0|C*I)/I,(0|m*I)/I,(0|_*I)/I,(0|T*I)/I,(0|P*I)/I,g,b,k,h?1+-k/h:1].join(",")+")"},Ce=function(){var t,e,i,n,r,s,o,a,l,c=this.data,u=this.t,h=u.style;d&&(t=h.top?"top":h.bottom?"bottom":parseFloat(Y(u,"top",null,!1))?"bottom":"top",e=Y(u,t,null,!1),i=parseFloat(e)||0,n=e.substr((i+"").length)||"px",c._ffFix=!c._ffFix,h[t]=(c._ffFix?i+.05:i-.05)+n),c.rotation||c.skewX?(r=c.rotation,s=r-c.skewX,o=1e5,a=c.scaleX*o,l=c.scaleY*o,h[_e]="matrix("+(0|Math.cos(r)*a)/o+","+(0|Math.sin(r)*a)/o+","+(0|Math.sin(s)*-l)/o+","+(0|Math.cos(s)*l)/o+","+c.x+","+c.y+")"):h[_e]="matrix("+c.scaleX+",0,0,"+c.scaleY+","+c.x+","+c.y+")"};ge("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,transformPerspective,directionalRotation",{parser:function(t,e,i,n,s,o,a){if(n._transform)return s;var l,c,u,h,d,f,p,m=n._transform=Te(t,r,!0),g=t.style,v=1e-6,y=ye.length,_=a,b={};if("string"==typeof _.transform&&_e)u=g.cssText,g[_e]=_.transform,g.display="block",l=Te(t,null,!1),g.cssText=u;else if("object"==typeof _){if(l={scaleX:ne(null!=_.scaleX?_.scaleX:_.scale,m.scaleX),scaleY:ne(null!=_.scaleY?_.scaleY:_.scale,m.scaleY),scaleZ:ne(null!=_.scaleZ?_.scaleZ:_.scale,m.scaleZ),x:ne(_.x,m.x),y:ne(_.y,m.y),z:ne(_.z,m.z),perspective:ne(_.transformPerspective,m.perspective)},p=_.directionalRotation,null!=p)if("object"==typeof p)for(u in p)_[u]=p[u];else _.rotation=p;l.rotation=re("rotation"in _?_.rotation:"shortRotation"in _?_.shortRotation+"_short":"rotationZ"in _?_.rotationZ:m.rotation*N,m.rotation,"rotation",b),xe&&(l.rotationX=re("rotationX"in _?_.rotationX:"shortRotationX"in _?_.shortRotationX+"_short":m.rotationX*N||0,m.rotationX,"rotationX",b),l.rotationY=re("rotationY"in _?_.rotationY:"shortRotationY"in _?_.shortRotationY+"_short":m.rotationY*N||0,m.rotationY,"rotationY",b)),l.skewX=null==_.skewX?m.skewX:re(_.skewX,m.skewX),l.skewY=null==_.skewY?m.skewY:re(_.skewY,m.skewY),(c=l.skewY-m.skewY)&&(l.skewX+=c,l.rotation+=c)}for(d=m.z||m.rotationX||m.rotationY||l.z||l.rotationX||l.rotationY||l.perspective,d||null==_.scale||(l.scaleZ=1);--y>-1;)i=ye[y],h=l[i]-m[i],(h>v||-v>h||null!=M[i])&&(f=!0,s=new de(m,i,m[i],h,s),i in b&&(s.e=b[i]),s.xs0=0,s.plugin=o,n._overwriteProps.push(s.n));return h=_.transformOrigin,(h||xe&&d&&m.zOrigin)&&(_e?(f=!0,h=(h||Y(t,i,r,!1,"50% 50%"))+"",i=we,s=new de(g,i,0,0,s,-1,"css_transformOrigin"),s.b=g[i],s.plugin=o,xe?(u=m.zOrigin,h=h.split(" "),m.zOrigin=(h.length>2?parseFloat(h[2]):u)||0,s.xs0=s.e=g[i]=h[0]+" "+(h[1]||"50%")+" 0px",s=new de(m,"zOrigin",0,0,s,-1,s.n),s.b=u,s.xs0=s.e=m.zOrigin):s.xs0=s.e=g[i]=h):ee(h+"",m)),f&&(n._transformType=d||3===this._transformType?3:2),s},prefix:!0}),ge("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),ge("borderRadius",{defaultValue:"0px",parser:function(t,e,i,s,o){e=this.format(e);var a,l,c,u,h,d,f,p,m,g,v,y,_,b,w,x,T=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],k=t.style;for(m=parseFloat(t.offsetWidth),g=parseFloat(t.offsetHeight),a=e.split(" "),l=0;T.length>l;l++)this.p.indexOf("border")&&(T[l]=q(T[l])),h=u=Y(t,T[l],r,!1,"0px"),-1!==h.indexOf(" ")&&(u=h.split(" "),h=u[0],u=u[1]),d=c=a[l],f=parseFloat(h),y=h.substr((f+"").length),_="="===d.charAt(1),_?(p=parseInt(d.charAt(0)+"1",10),d=d.substr(2),p*=parseFloat(d),v=d.substr((p+"").length-(0>p?1:0))||""):(p=parseFloat(d),v=d.substr((p+"").length)),""===v&&(v=n[i]||y),v!==y&&(b=Q(t,"borderLeft",f,y),w=Q(t,"borderTop",f,y),"%"===v?(h=100*(b/m)+"%",u=100*(w/g)+"%"):"em"===v?(x=Q(t,"borderLeft",1,"em"),h=b/x+"em",u=w/x+"em"):(h=b+"px",u=w+"px"),_&&(d=parseFloat(h)+p+v,c=parseFloat(u)+p+v)),o=fe(k,T[l],h+" "+u,d+" "+c,!1,"0px",o);return o},prefix:!0,formatter:ce("0px 0px 0px 0px",!1,!0)}),ge("backgroundPosition",{defaultValue:"0 0",parser:function(t,e,i,n,s,o){var a,l,c,u,h,d,f="background-position",m=r||U(t,null),g=this.format((m?p?m.getPropertyValue(f+"-x")+" "+m.getPropertyValue(f+"-y"):m.getPropertyValue(f):t.currentStyle.backgroundPositionX+" "+t.currentStyle.backgroundPositionY)||"0 0"),v=this.format(e);if(-1!==g.indexOf("%")!=(-1!==v.indexOf("%"))&&(d=Y(t,"backgroundImage").replace(C,""),d&&"none"!==d)){for(a=g.split(" "),l=v.split(" "),$.setAttribute("src",d),c=2;--c>-1;)g=a[c],u=-1!==g.indexOf("%"),u!==(-1!==l[c].indexOf("%"))&&(h=0===c?t.offsetWidth-$.width:t.offsetHeight-$.height,a[c]=u?parseFloat(g)/100*h+"px":100*(parseFloat(g)/h)+"%");g=a.join(" ")}return this.parseComplex(t.style,g,v,s,o)},formatter:ee}),ge("backgroundSize",{defaultValue:"0 0",formatter:ee}),ge("perspective",{defaultValue:"0px",prefix:!0}),ge("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),ge("transformStyle",{prefix:!0}),ge("backfaceVisibility",{prefix:!0}),ge("margin",{parser:ue("marginTop,marginRight,marginBottom,marginLeft")}),ge("padding",{parser:ue("paddingTop,paddingRight,paddingBottom,paddingLeft")}),ge("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,i,n,s,o){var a,l,c;return 9>p?(l=t.currentStyle,c=8>p?" ":",",a="rect("+l.clipTop+c+l.clipRight+c+l.clipBottom+c+l.clipLeft+")",e=this.format(e).split(",").join(c)):(a=this.format(Y(t,this.p,r,!1,this.dflt)),e=this.format(e)),this.parseComplex(t.style,a,e,s,o)}}),ge("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),ge("autoRound,strictUnits",{parser:function(t,e,i,n,r){return r}}),ge("border",{defaultValue:"0px solid #000",parser:function(t,e,i,n,s,o){return this.parseComplex(t.style,this.format(Y(t,"borderTopWidth",r,!1,"0px")+" "+Y(t,"borderTopStyle",r,!1,"solid")+" "+Y(t,"borderTopColor",r,!1,"#000")),this.format(e),s,o)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(le)||["#000"])[0]}}),ge("float,cssFloat,styleFloat",{parser:function(t,e,i,n,r){var s=t.style,o="cssFloat"in s?"cssFloat":"styleFloat";return new de(s,o,0,0,r,-1,i,!1,0,s[o],e)}});var Pe=function(t){var e,i=this.t,n=i.filter,r=0|this.s+this.c*t;100===r&&(-1===n.indexOf("atrix(")&&-1===n.indexOf("radient(")?(i.removeAttribute("filter"),e=!Y(this.data,"filter")):(i.filter=n.replace(x,""),e=!0)),e||(this.xn1&&(i.filter=n=n||"alpha(opacity=100)"),-1===n.indexOf("opacity")?i.filter+=" alpha(opacity="+r+")":i.filter=n.replace(b,"opacity="+r))};ge("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,i,n,s,o){var a,l=parseFloat(Y(t,"opacity",r,!1,"1")),c=t.style;return e=parseFloat(e),"autoAlpha"===i&&(a=Y(t,"visibility",r),1===l&&"hidden"===a&&0!==e&&(l=0),s=new de(c,"visibility",0,0,s,-1,null,!1,0,0!==l?"visible":"hidden",0===e?"hidden":"visible"),s.xs0="visible",n._overwriteProps.push(s.n)),j?s=new de(c,"opacity",l,e-l,s):(s=new de(c,"opacity",100*l,100*(e-l),s),s.xn1="autoAlpha"===i?1:0,c.zoom=1,s.type=2,s.b="alpha(opacity="+s.s+")",s.e="alpha(opacity="+(s.s+s.c)+")",s.data=t,s.plugin=o,s.setRatio=Pe),s}});var Ee=function(t,e){e&&(t.removeProperty?t.removeProperty(e.replace(k,"-$1").toLowerCase()):t.removeAttribute(e))},Ae=function(t){if(this.t._gsClassPT=this,1===t||0===t){this.t.className=0===t?this.b:this.e;for(var e=this.data,i=this.t.style;e;)e.v?i[e.p]=e.v:Ee(i,e.p),e=e._next;1===t&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.className!==this.e&&(this.t.className=this.e)};ge("className",{parser:function(t,e,n,s,o,a,l){var c,u,h,d,f,p=t.className,m=t.style.cssText;if(o=s._classNamePT=new de(t,n,0,0,o,2),o.setRatio=Ae,o.pr=-11,i=!0,o.b=p,u=G(t,r),h=t._gsClassPT){for(d={},f=h.data;f;)d[f.p]=1,f=f._next;h.setRatio(1)}return t._gsClassPT=o,o.e="="!==e.charAt(1)?e:p.replace(RegExp("\\s*\\b"+e.substr(2)+"\\b"),"")+("+"===e.charAt(0)?" "+e.substr(2):""),s._tween._duration&&(t.className=o.e,c=Z(t,u,G(t),l,d),t.className=p,o.data=c.firstMPT,t.style.cssText=m,o=o.xfirst=s.parse(t,c.difs,o,a)),o}});var Ie=function(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration)for(var e,i="all"===this.e,n=this.t.style,r=i?n.cssText.split(";"):this.e.split(","),s=r.length,o=a.transform.parse;--s>-1;)e=r[s],i&&(e=e.substr(0,e.indexOf(":")).split(" ").join("")),a[e]&&(e=a[e].parse===o?_e:a[e].p),Ee(n,e)};for(ge("clearProps",{parser:function(t,e,n,r,s){return s=new de(t,n,0,0,s,2),s.setRatio=Ie,s.e=e,s.pr=-10,s.data=r._tween,i=!0,s}}),l="bezier,throwProps,physicsProps,physics2D".split(","),pe=l.length;pe--;)ve(l[pe]);l=o.prototype,l._firstPT=null,l._onInitTween=function(t,e,a){if(!t.nodeType)return!1;this._target=t,this._tween=a,this._vars=e,c=e.autoRound,i=!1,n=e.suffixMap||o.suffixMap,r=U(t,""),s=this._overwriteProps;var l,d,p,m,g,v,y,_,b,x=t.style;if(u&&""===x.zIndex&&(l=Y(t,"zIndex",r),("auto"===l||""===l)&&(x.zIndex=0)),"string"==typeof e&&(m=x.cssText,l=G(t,r),x.cssText=m+";"+e,l=Z(t,l,G(t)).difs,!j&&w.test(e)&&(l.opacity=parseFloat(RegExp.$1)),e=l,x.cssText=m),this._firstPT=d=this.parse(t,e,null),this._transformType){for(b=3===this._transformType,_e?h&&(u=!0,""===x.zIndex&&(y=Y(t,"zIndex",r),("auto"===y||""===y)&&(x.zIndex=0)),f&&(x.WebkitBackfaceVisibility=this._vars.WebkitBackfaceVisibility||(b?"visible":"hidden"))):x.zoom=1,p=d;p&&p._next;)p=p._next;_=new de(t,"transform",0,0,null,2),this._linkCSSP(_,null,p),_.setRatio=b&&xe?Se:_e?Ce:ke,_.data=this._transform||Te(t,r,!0),s.pop()}if(i){for(;d;){for(v=d._next,p=m;p&&p.pr>d.pr;)p=p._next;(d._prev=p?p._prev:g)?d._prev._next=d:m=d,(d._next=p)?p._prev=d:g=d,d=v}this._firstPT=m}return!0},l.parse=function(t,e,i,s){var o,l,u,h,d,f,p,m,g,v,y=t.style;for(o in e)f=e[o],l=a[o],l?i=l.parse(t,f,o,this,i,s,e):(d=Y(t,o,r)+"",g="string"==typeof f,"color"===o||"fill"===o||"stroke"===o||-1!==o.indexOf("Color")||g&&T.test(f)?(g||(f=ae(f),f=(f.length>3?"rgba(":"rgb(")+f.join(",")+")"),i=fe(y,o,d,f,!0,"transparent",i,0,s)):!g||-1===f.indexOf(" ")&&-1===f.indexOf(",")?(u=parseFloat(d),p=u||0===u?d.substr((u+"").length):"",(""===d||"auto"===d)&&("width"===o||"height"===o?(u=te(t,o,r),p="px"):"left"===o||"top"===o?(u=V(t,o,r),p="px"):(u="opacity"!==o?0:1,p="")),v=g&&"="===f.charAt(1),v?(h=parseInt(f.charAt(0)+"1",10),f=f.substr(2),h*=parseFloat(f),m=f.replace(_,"")):(h=parseFloat(f),m=g?f.substr((h+"").length)||"":""),""===m&&(m=n[o]||p),f=h||0===h?(v?h+u:h)+m:e[o],p!==m&&""!==m&&(h||0===h)&&(u||0===u)&&(u=Q(t,o,u,p),"%"===m?(u/=Q(t,o,100,"%")/100,u>100&&(u=100),e.strictUnits!==!0&&(d=u+"%")):"em"===m?u/=Q(t,o,1,"em"):(h=Q(t,o,h,m),m="px"),v&&(h||0===h)&&(f=h+u+m)),v&&(h+=u),!u&&0!==u||!h&&0!==h?void 0!==y[o]&&(f||"NaN"!=f+""&&null!=f)?(i=new de(y,o,h||u||0,0,i,-1,"css_"+o,!1,0,d,f),i.xs0="none"!==f||"display"!==o&&-1===o.indexOf("Style")?f:d):H("invalid "+o+" tween value: "+e[o]):(i=new de(y,o,u,h-u,i,0,"css_"+o,c!==!1&&("px"===m||"zIndex"===o),0,d,f),i.xs0=m)):i=fe(y,o,d,f,!0,null,i,0,s)),s&&i&&!i.plugin&&(i.plugin=s);return i},l.setRatio=function(t){var e,i,n,r=this._firstPT,s=1e-6;if(1!==t||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(t||this._tween._time!==this._tween._duration&&0!==this._tween._time||this._tween._rawPrevTime===-1e-6)for(;r;){if(e=r.c*t+r.s,r.r?e=e>0?0|e+.5:0|e-.5:s>e&&e>-s&&(e=0),r.type)if(1===r.type)if(n=r.l,2===n)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2;else if(3===n)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3;else if(4===n)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4;else if(5===n)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4+r.xn4+r.xs5;else{for(i=r.xs0+e+r.xs1,n=1;r.l>n;n++)i+=r["xn"+n]+r["xs"+(n+1)];r.t[r.p]=i}else-1===r.type?r.t[r.p]=r.xs0:r.setRatio&&r.setRatio(t);else r.t[r.p]=e+r.xs0;r=r._next}else for(;r;)2!==r.type?r.t[r.p]=r.b:r.setRatio(t),r=r._next;else for(;r;)2!==r.type?r.t[r.p]=r.e:r.setRatio(t),r=r._next},l._enableTransforms=function(t){this._transformType=t||3===this._transformType?3:2},l._linkCSSP=function(t,e,i,n){return t&&(e&&(e._prev=t),t._next&&(t._next._prev=t._prev),i?i._next=t:n||null!==this._firstPT||(this._firstPT=t),t._prev?t._prev._next=t._next:this._firstPT===t&&(this._firstPT=t._next),t._next=e,t._prev=i),t},l._kill=function(e){var i,n,r,s=e;if(e.css_autoAlpha||e.css_alpha){s={};for(n in e)s[n]=e[n];s.css_opacity=1,s.css_autoAlpha&&(s.css_visibility=1)}return e.css_className&&(i=this._classNamePT)&&(r=i.xfirst,r&&r._prev?this._linkCSSP(r._prev,i._next,r._prev._prev):r===this._firstPT&&(this._firstPT=i._next),i._next&&this._linkCSSP(i._next,i._next._next,r._prev),this._classNamePT=null),t.prototype._kill.call(this,s)};var Oe=function(t,e,i){var n,r,s,o;if(t.slice)for(r=t.length;--r>-1;)Oe(t[r],e,i);else for(n=t.childNodes,r=n.length;--r>-1;)s=n[r],o=s.type,s.style&&(e.push(G(s)),i&&i.push(s)),1!==o&&9!==o&&11!==o||!s.childNodes.length||Oe(s,e,i)};return o.cascadeTo=function(t,i,n){var r,s,o,a=e.to(t,i,n),l=[a],c=[],u=[],h=[],d=e._internals.reservedProps;for(t=a._targets||a.target,Oe(t,c,h),a.render(i,!0),Oe(t,u),a.render(0,!0),a._enabled(!0),r=h.length;--r>-1;)if(s=Z(h[r],c[r],u[r]),s.firstMPT){s=s.difs;for(o in n)d[o]&&(s[o]=n[o]);l.push(e.to(h[r],i,s))}return l},t.activate([o]),o},!0),function(){var t=window._gsDefine.plugin({propName:"roundProps",priority:-1,API:2,init:function(t,e,i){return this._tween=i,!0}}),e=t.prototype;e._onInitAllProps=function(){for(var t,e,i,n=this._tween,r=n.vars.roundProps instanceof Array?n.vars.roundProps:n.vars.roundProps.split(","),s=r.length,o={},a=n._propLookup.roundProps;--s>-1;)o[r[s]]=1;for(s=r.length;--s>-1;)for(t=r[s],e=n._firstPT;e;)i=e._next,e.pg?e.t._roundProps(o,!0):e.n===t&&(this._add(e.t,t,e.s,e.c),i&&(i._prev=e._prev),e._prev?e._prev._next=i:n._firstPT===e&&(n._firstPT=i),e._next=e._prev=null,n._propLookup[t]=a),e=i;return!1},e._add=function(t,e,i,n){this._addTween(t,e,i,i+n,e,!0),this._overwriteProps.push(e)}}(),window._gsDefine.plugin({propName:"attr",API:2,init:function(t,e){var i;if("function"!=typeof t.setAttribute)return!1;this._target=t,this._proxy={};for(i in e)this._addTween(this._proxy,i,parseFloat(t.getAttribute(i)),e[i],i),this._overwriteProps.push(i);return!0},set:function(t){this._super.setRatio.call(this,t);for(var e,i=this._overwriteProps,n=i.length;--n>-1;)e=i[n],this._target.setAttribute(e,this._proxy[e]+"")}}),window._gsDefine.plugin({propName:"directionalRotation",API:2,init:function(t,e){"object"!=typeof e&&(e={rotation:e}),this.finals={};var i,n,r,s,o,a,l=e.useRadians===!0?2*Math.PI:360,c=1e-6;for(i in e)"useRadians"!==i&&(a=(e[i]+"").split("_"),n=a[0],r=parseFloat("function"!=typeof t[i]?t[i]:t[i.indexOf("set")||"function"!=typeof t["get"+i.substr(3)]?i:"get"+i.substr(3)]()),s=this.finals[i]="string"==typeof n&&"="===n.charAt(1)?r+parseInt(n.charAt(0)+"1",10)*Number(n.substr(2)):Number(n)||0,o=s-r,a.length&&(n=a.join("_"),-1!==n.indexOf("short")&&(o%=l,o!==o%(l/2)&&(o=0>o?o+l:o-l)),-1!==n.indexOf("_cw")&&0>o?o=(o+9999999999*l)%l-(0|o/l)*l:-1!==n.indexOf("ccw")&&o>0&&(o=(o-9999999999*l)%l-(0|o/l)*l)),(o>c||-c>o)&&(this._addTween(t,i,r,r+o,i),this._overwriteProps.push(i)));return!0},set:function(t){var e;if(1!==t)this._super.setRatio.call(this,t);else for(e=this._firstPT;e;)e.f?e.t[e.p](this.finals[e.p]):e.t[e.p]=this.finals[e.p],e=e._next}})._autoCSS=!0,window._gsDefine("easing.Back",["easing.Ease"],function(t){var e,i,n,r=window.GreenSockGlobals||window,s=r.com.greensock,o=2*Math.PI,a=Math.PI/2,l=s._class,c=function(e,i){var n=l("easing."+e,function(){},!0),r=n.prototype=new t;return r.constructor=n,r.getRatio=i,n},u=t.register||function(){},h=function(t,e,i,n){var r=l("easing."+t,{easeOut:new e,easeIn:new i,easeInOut:new n},!0);return u(r,t),r},d=function(t,e,i){this.t=t,this.v=e,i&&(this.next=i,i.prev=this,this.c=i.v-e,this.gap=i.t-t)},f=function(e,i){var n=l("easing."+e,function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1},!0),r=n.prototype=new t;return r.constructor=n,r.getRatio=i,r.config=function(t){return new n(t)},n},p=h("Back",f("BackOut",function(t){return(t-=1)*t*((this._p1+1)*t+this._p1)+1}),f("BackIn",function(t){return t*t*((this._p1+1)*t-this._p1)}),f("BackInOut",function(t){return 1>(t*=2)?.5*t*t*((this._p2+1)*t-this._p2):.5*((t-=2)*t*((this._p2+1)*t+this._p2)+2)})),m=l("easing.SlowMo",function(t,e,i){e=e||0===e?e:.7,null==t?t=.7:t>1&&(t=1),this._p=1!==t?e:0,this._p1=(1-t)/2,this._p2=t,this._p3=this._p1+this._p2,this._calcEnd=i===!0},!0),g=m.prototype=new t;return g.constructor=m,g.getRatio=function(t){var e=t+(.5-t)*this._p;return this._p1>t?this._calcEnd?1-(t=1-t/this._p1)*t:e-(t=1-t/this._p1)*t*t*t*e:t>this._p3?this._calcEnd?1-(t=(t-this._p3)/this._p1)*t:e+(t-e)*(t=(t-this._p3)/this._p1)*t*t*t:this._calcEnd?1:e},m.ease=new m(.7,.7),g.config=m.config=function(t,e,i){return new m(t,e,i)},e=l("easing.SteppedEase",function(t){t=t||1,this._p1=1/t,this._p2=t+1},!0),g=e.prototype=new t,g.constructor=e,g.getRatio=function(t){return 0>t?t=0:t>=1&&(t=.999999999),(this._p2*t>>0)*this._p1},g.config=e.config=function(t){return new e(t)},i=l("easing.RoughEase",function(e){e=e||{};for(var i,n,r,s,o,a,l=e.taper||"none",c=[],u=0,h=0|(e.points||20),f=h,p=e.randomize!==!1,m=e.clamp===!0,g=e.template instanceof t?e.template:null,v="number"==typeof e.strength?.4*e.strength:.4;--f>-1;)i=p?Math.random():1/h*f,n=g?g.getRatio(i):i,"none"===l?r=v:"out"===l?(s=1-i,r=s*s*v):"in"===l?r=i*i*v:.5>i?(s=2*i,r=.5*s*s*v):(s=2*(1-i),r=.5*s*s*v),p?n+=Math.random()*r-.5*r:f%2?n+=.5*r:n-=.5*r,m&&(n>1?n=1:0>n&&(n=0)),c[u++]={x:i,y:n};for(c.sort(function(t,e){return t.x-e.x | |
}),a=new d(1,1,null),f=h;--f>-1;)o=c[f],a=new d(o.x,o.y,a);this._prev=new d(0,0,0!==a.t?a:a.next)},!0),g=i.prototype=new t,g.constructor=i,g.getRatio=function(t){var e=this._prev;if(t>e.t){for(;e.next&&t>=e.t;)e=e.next;e=e.prev}else for(;e.prev&&e.t>=t;)e=e.prev;return this._prev=e,e.v+(t-e.t)/e.gap*e.c},g.config=function(t){return new i(t)},i.ease=new i,h("Bounce",c("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}),c("BounceIn",function(t){return 1/2.75>(t=1-t)?1-7.5625*t*t:2/2.75>t?1-(7.5625*(t-=1.5/2.75)*t+.75):2.5/2.75>t?1-(7.5625*(t-=2.25/2.75)*t+.9375):1-(7.5625*(t-=2.625/2.75)*t+.984375)}),c("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})),h("Circ",c("CircOut",function(t){return Math.sqrt(1-(t-=1)*t)}),c("CircIn",function(t){return-(Math.sqrt(1-t*t)-1)}),c("CircInOut",function(t){return 1>(t*=2)?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)})),n=function(e,i,n){var r=l("easing."+e,function(t,e){this._p1=t||1,this._p2=e||n,this._p3=this._p2/o*(Math.asin(1/this._p1)||0)},!0),s=r.prototype=new t;return s.constructor=r,s.getRatio=i,s.config=function(t,e){return new r(t,e)},r},h("Elastic",n("ElasticOut",function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*o/this._p2)+1},.3),n("ElasticIn",function(t){return-(this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*o/this._p2))},.3),n("ElasticInOut",function(t){return 1>(t*=2)?-.5*this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*o/this._p2):.5*this._p1*Math.pow(2,-10*(t-=1))*Math.sin((t-this._p3)*o/this._p2)+1},.45)),h("Expo",c("ExpoOut",function(t){return 1-Math.pow(2,-10*t)}),c("ExpoIn",function(t){return Math.pow(2,10*(t-1))-.001}),c("ExpoInOut",function(t){return 1>(t*=2)?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),h("Sine",c("SineOut",function(t){return Math.sin(t*a)}),c("SineIn",function(t){return-Math.cos(t*a)+1}),c("SineInOut",function(t){return-.5*(Math.cos(Math.PI*t)-1)})),l("easing.EaseLookup",{find:function(e){return t.map[e]}},!0),u(r.SlowMo,"SlowMo","ease,"),u(i,"RoughEase","ease,"),u(e,"SteppedEase","ease,"),p},!0)}),function(t){"use strict";var e,i,n,r,s,o=t.GreenSockGlobals||t,a=function(t){var e,i=t.split("."),n=o;for(e=0;i.length>e;e++)n[i[e]]=n=n[i[e]]||{};return n},l=a("com.greensock"),c=[].slice,u=function(){},h={},d=function(e,i,n,r){this.sc=h[e]?h[e].sc:[],h[e]=this,this.gsClass=null,this.func=n;var s=[];this.check=function(l){for(var c,u,f,p,m=i.length,g=m;--m>-1;)(c=h[i[m]]||new d(i[m],[])).gsClass?(s[m]=c.gsClass,g--):l&&c.sc.push(this);if(0===g&&n)for(u=("com.greensock."+e).split("."),f=u.pop(),p=a(u.join("."))[f]=this.gsClass=n.apply(n,s),r&&(o[f]=p,"function"==typeof define&&define.amd?define((t.GreenSockAMDPath?t.GreenSockAMDPath+"/":"")+e.split(".").join("/"),[],function(){return p}):"undefined"!=typeof module&&module.exports&&(module.exports=p)),m=0;this.sc.length>m;m++)this.sc[m].check()},this.check(!0)},f=t._gsDefine=function(t,e,i,n){return new d(t,e,i,n)},p=l._class=function(t,e,i){return e=e||function(){},f(t,[],function(){return e},i),e};f.globals=o;var m=[0,0,1,1],g=[],v=p("easing.Ease",function(t,e,i,n){this._func=t,this._type=i||0,this._power=n||0,this._params=e?m.concat(e):m},!0),y=v.map={},_=v.register=function(t,e,i,n){for(var r,s,o,a,c=e.split(","),u=c.length,h=(i||"easeIn,easeOut,easeInOut").split(",");--u>-1;)for(s=c[u],r=n?p("easing."+s,null,!0):l.easing[s]||{},o=h.length;--o>-1;)a=h[o],y[s+"."+a]=y[a+s]=r[a]=t.getRatio?t:t[a]||new t};for(n=v.prototype,n._calcEnd=!1,n.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,i=this._power,n=1===e?1-t:2===e?t:.5>t?2*t:2*(1-t);return 1===i?n*=n:2===i?n*=n*n:3===i?n*=n*n*n:4===i&&(n*=n*n*n*n),1===e?1-n:2===e?n:.5>t?n/2:1-n/2},e=["Linear","Quad","Cubic","Quart","Quint,Strong"],i=e.length;--i>-1;)n=e[i]+",Power"+i,_(new v(null,null,1,i),n,"easeOut",!0),_(new v(null,null,2,i),n,"easeIn"+(0===i?",easeNone":"")),_(new v(null,null,3,i),n,"easeInOut");y.linear=l.easing.Linear.easeIn,y.swing=l.easing.Quad.easeInOut;var b=p("events.EventDispatcher",function(t){this._listeners={},this._eventTarget=t||this});n=b.prototype,n.addEventListener=function(t,e,i,n,o){o=o||0;var a,l,c=this._listeners[t],u=0;for(null==c&&(this._listeners[t]=c=[]),l=c.length;--l>-1;)a=c[l],a.c===e&&a.s===i?c.splice(l,1):0===u&&o>a.pr&&(u=l+1);c.splice(u,0,{c:e,s:i,up:n,pr:o}),this!==r||s||r.wake()},n.removeEventListener=function(t,e){var i,n=this._listeners[t];if(n)for(i=n.length;--i>-1;)if(n[i].c===e)return void n.splice(i,1)},n.dispatchEvent=function(t){var e,i,n,r=this._listeners[t];if(r)for(e=r.length,i=this._eventTarget;--e>-1;)n=r[e],n.up?n.c.call(n.s||i,{type:t,target:i}):n.c.call(n.s||i)};var w=t.requestAnimationFrame,x=t.cancelAnimationFrame,T=Date.now||function(){return(new Date).getTime()};for(e=["ms","moz","webkit","o"],i=e.length;--i>-1&&!w;)w=t[e[i]+"RequestAnimationFrame"],x=t[e[i]+"CancelAnimationFrame"]||t[e[i]+"CancelRequestAnimationFrame"];p("Ticker",function(t,e){var i,n,o,a,l,c=this,h=T(),d=e!==!1&&w,f=function(t){c.time=(T()-h)/1e3;var e=o,r=c.time-l;(!i||r>0||t===!0)&&(c.frame++,l+=r+(r>=a?.004:a-r),c.dispatchEvent("tick")),t!==!0&&e===o&&(o=n(f))};b.call(c),this.time=this.frame=0,this.tick=function(){f(!0)},this.sleep=function(){null!=o&&(d&&x?x(o):clearTimeout(o),n=u,o=null,c===r&&(s=!1))},this.wake=function(){null!==o&&c.sleep(),n=0===i?u:d&&w?w:function(t){return setTimeout(t,0|1e3*(l-c.time)+1)},c===r&&(s=!0),f(2)},this.fps=function(t){return arguments.length?(i=t,a=1/(i||60),l=this.time+a,void c.wake()):i},this.useRAF=function(t){return arguments.length?(c.sleep(),d=t,void c.fps(i)):d},c.fps(t),setTimeout(function(){d&&(!o||5>c.frame)&&c.useRAF(!1)},1500)}),n=l.Ticker.prototype=new l.events.EventDispatcher,n.constructor=l.Ticker;var k=p("core.Animation",function(t,e){if(this.vars=e||{},this._duration=this._totalDuration=t||0,this._delay=Number(this.vars.delay)||0,this._timeScale=1,this._active=this.vars.immediateRender===!0,this.data=this.vars.data,this._reversed=this.vars.reversed===!0,L){s||r.wake();var i=this.vars.useFrames?R:L;i.add(this,i._time),this.vars.paused&&this.paused(!0)}});r=k.ticker=new l.Ticker,n=k.prototype,n._dirty=n._gc=n._initted=n._paused=!1,n._totalTime=n._time=0,n._rawPrevTime=-1,n._next=n._last=n._onUpdate=n._timeline=n.timeline=null,n._paused=!1,n.play=function(t,e){return arguments.length&&this.seek(t,e),this.reversed(!1).paused(!1)},n.pause=function(t,e){return arguments.length&&this.seek(t,e),this.paused(!0)},n.resume=function(t,e){return arguments.length&&this.seek(t,e),this.paused(!1)},n.seek=function(t,e){return this.totalTime(Number(t),e!==!1)},n.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,e!==!1,!0)},n.reverse=function(t,e){return arguments.length&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},n.render=function(){},n.invalidate=function(){return this},n._enabled=function(t,e){return s||r.wake(),this._gc=!t,this._active=t&&!this._paused&&this._totalTime>0&&this._totalTime<this._totalDuration,e!==!0&&(t&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!t&&this.timeline&&this._timeline._remove(this,!0)),!1},n._kill=function(){return this._enabled(!1,!1)},n.kill=function(t,e){return this._kill(t,e),this},n._uncache=function(t){for(var e=t?this:this.timeline;e;)e._dirty=!0,e=e.timeline;return this},n.eventCallback=function(t,e,i,n){if(null==t)return null;if("on"===t.substr(0,2)){var r,s=this.vars;if(1===arguments.length)return s[t];if(null==e)delete s[t];else if(s[t]=e,s[t+"Params"]=i,s[t+"Scope"]=n,i)for(r=i.length;--r>-1;)"{self}"===i[r]&&(i=s[t+"Params"]=i.concat(),i[r]=this);"onUpdate"===t&&(this._onUpdate=e)}return this},n.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},n.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._time<this._duration&&0!==t&&this.totalTime(this._totalTime*(t/this._duration),!0),this):(this._dirty=!1,this._duration)},n.totalDuration=function(t){return this._dirty=!1,arguments.length?this.duration(t):this._totalDuration},n.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(t>this._duration?this._duration:t,e)):this._time},n.totalTime=function(t,e,i){if(s||r.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(0>t&&!i&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var n=this._totalDuration,o=this._timeline;if(t>n&&!i&&(t=n),this._startTime=(this._paused?this._pauseTime:o._time)-(this._reversed?n-t:t)/this._timeScale,o._dirty||this._uncache(!1),!o._active)for(;o._timeline;)o.totalTime(o._totalTime,!0),o=o._timeline}this._gc&&this._enabled(!0,!1),this._totalTime!==t&&this.render(t,e,!1)}return this},n.startTime=function(t){return arguments.length?(t!==this._startTime&&(this._startTime=t,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,t-this._delay)),this):this._startTime},n.timeScale=function(t){if(!arguments.length)return this._timeScale;if(t=t||1e-6,this._timeline&&this._timeline.smoothChildTiming){var e=this._pauseTime,i=e||0===e?e:this._timeline.totalTime();this._startTime=i-(i-this._startTime)*this._timeScale/t}return this._timeScale=t,this._uncache(!1)},n.reversed=function(t){return arguments.length?(t!=this._reversed&&(this._reversed=t,this.totalTime(this._totalTime,!0)),this):this._reversed},n.paused=function(t){if(!arguments.length)return this._paused;if(t!=this._paused&&this._timeline){s||t||r.wake();var e=this._timeline.rawTime(),i=e-this._pauseTime;!t&&this._timeline.smoothChildTiming&&(this._startTime+=i,this._uncache(!1)),this._pauseTime=t?e:null,this._paused=t,this._active=!t&&this._totalTime>0&&this._totalTime<this._totalDuration,t||0===i||0===this._duration||this.render(this._totalTime,!0,!0)}return this._gc&&!t&&this._enabled(!0,!1),this};var S=p("core.SimpleTimeline",function(t){k.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0});n=S.prototype=new k,n.constructor=S,n.kill()._gc=!1,n._first=n._last=null,n._sortChildren=!1,n.add=n.insert=function(t,e){var i,n;if(t._startTime=Number(e||0)+t._delay,t._paused&&this!==t._timeline&&(t._pauseTime=t._startTime+(this.rawTime()-t._startTime)/t._timeScale),t.timeline&&t.timeline._remove(t,!0),t.timeline=t._timeline=this,t._gc&&t._enabled(!0,!0),i=this._last,this._sortChildren)for(n=t._startTime;i&&i._startTime>n;)i=i._prev;return i?(t._next=i._next,i._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=i,this._timeline&&this._uncache(!0),this},n._remove=function(t,e){return t.timeline===this&&(e||t._enabled(!1,!0),t.timeline=null,t._prev?t._prev._next=t._next:this._first===t&&(this._first=t._next),t._next?t._next._prev=t._prev:this._last===t&&(this._last=t._prev),this._timeline&&this._uncache(!0)),this},n.render=function(t,e,i){var n,r=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;r;)n=r._next,(r._active||t>=r._startTime&&!r._paused)&&(r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)),r=n},n.rawTime=function(){return s||r.wake(),this._totalTime};var C=p("TweenLite",function(t,e,i){if(k.call(this,e,i),null==t)throw"Cannot tween a null target.";this.target=t="string"!=typeof t?t:C.selector(t)||t;var n,r,s,o=t.jquery||t.length&&t[0]&&t[0].nodeType&&t[0].style,a=this.vars.overwrite;if(this._overwrite=a=null==a?M[C.defaultOverwrite]:"number"==typeof a?a>>0:M[a],(o||t instanceof Array)&&"number"!=typeof t[0])for(this._targets=s=c.call(t,0),this._propLookup=[],this._siblings=[],n=0;s.length>n;n++)r=s[n],r?"string"!=typeof r?r.length&&r[0]&&r[0].nodeType&&r[0].style?(s.splice(n--,1),this._targets=s=s.concat(c.call(r,0))):(this._siblings[n]=$(r,this,!1),1===a&&this._siblings[n].length>1&&B(r,this,null,1,this._siblings[n])):(r=s[n--]=C.selector(r),"string"==typeof r&&s.splice(n+1,1)):s.splice(n--,1);else this._propLookup={},this._siblings=$(t,this,!1),1===a&&this._siblings.length>1&&B(t,this,null,1,this._siblings);(this.vars.immediateRender||0===e&&0===this._delay&&this.vars.immediateRender!==!1)&&this.render(-this._delay,!1,!0)},!0),P=function(t){return t.length&&t[0]&&t[0].nodeType&&t[0].style},E=function(t,e){var i,n={};for(i in t)N[i]||i in e&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i||!(!I[i]||I[i]&&I[i]._autoCSS)||(n[i]=t[i],delete t[i]);t.css=n};n=C.prototype=new k,n.constructor=C,n.kill()._gc=!1,n.ratio=0,n._firstPT=n._targets=n._overwrittenProps=n._startAt=null,n._notifyPluginsOfEnabled=!1,C.version="1.9.7",C.defaultEase=n._ease=new v(null,null,1,1),C.defaultOverwrite="auto",C.ticker=r,C.autoSleep=!0,C.selector=t.$||t.jQuery||function(e){return t.$?(C.selector=t.$,t.$(e)):t.document?t.document.getElementById("#"===e.charAt(0)?e.substr(1):e):e};var A=C._internals={},I=C._plugins={},O=C._tweenLookup={},D=0,N=A.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1},M={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,"true":1,"false":0},R=k._rootFramesTimeline=new S,L=k._rootTimeline=new S;L._startTime=r.time,R._startTime=r.frame,L._active=R._active=!0,k._updateRoot=function(){if(L.render((r.time-L._startTime)*L._timeScale,!1,!1),R.render((r.frame-R._startTime)*R._timeScale,!1,!1),!(r.frame%120)){var t,e,i;for(i in O){for(e=O[i].tweens,t=e.length;--t>-1;)e[t]._gc&&e.splice(t,1);0===e.length&&delete O[i]}if(i=L._first,(!i||i._paused)&&C.autoSleep&&!R._first&&1===r._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||r.sleep()}}},r.addEventListener("tick",k._updateRoot);var $=function(t,e,i){var n,r,s=t._gsTweenID;if(O[s||(t._gsTweenID=s="t"+D++)]||(O[s]={target:t,tweens:[]}),e&&(n=O[s].tweens,n[r=n.length]=e,i))for(;--r>-1;)n[r]===e&&n.splice(r,1);return O[s].tweens},B=function(t,e,i,n,r){var s,o,a,l;if(1===n||n>=4){for(l=r.length,s=0;l>s;s++)if((a=r[s])!==e)a._gc||a._enabled(!1,!1)&&(o=!0);else if(5===n)break;return o}var c,u=e._startTime+1e-10,h=[],d=0,f=0===e._duration;for(s=r.length;--s>-1;)(a=r[s])===e||a._gc||a._paused||(a._timeline!==e._timeline?(c=c||F(e,0,f),0===F(a,c,f)&&(h[d++]=a)):u>=a._startTime&&a._startTime+a.totalDuration()/a._timeScale+1e-10>u&&((f||!a._initted)&&2e-10>=u-a._startTime||(h[d++]=a)));for(s=d;--s>-1;)a=h[s],2===n&&a._kill(i,t)&&(o=!0),(2!==n||!a._firstPT&&a._initted)&&a._enabled(!1,!1)&&(o=!0);return o},F=function(t,e,i){for(var n=t._timeline,r=n._timeScale,s=t._startTime,o=1e-10;n._timeline;){if(s+=n._startTime,r*=n._timeScale,n._paused)return-100;n=n._timeline}return s/=r,s>e?s-e:i&&s===e||!t._initted&&2*o>s-e?o:(s+=t.totalDuration()/t._timeScale/r)>e+o?0:s-e-o};n._init=function(){var t,e,i,n,r=this.vars,s=this._overwrittenProps,o=this._duration,a=r.ease;if(r.startAt){if(r.startAt.overwrite=0,r.startAt.immediateRender=!0,this._startAt=C.to(this.target,0,r.startAt),r.immediateRender&&(this._startAt=null,0===this._time&&0!==o))return}else if(r.runBackwards&&r.immediateRender&&0!==o)if(this._startAt)this._startAt.render(-1,!0),this._startAt=null;else if(0===this._time){i={};for(n in r)N[n]&&"autoCSS"!==n||(i[n]=r[n]);return i.overwrite=0,void(this._startAt=C.to(this.target,0,i))}if(this._ease=a?a instanceof v?r.easeParams instanceof Array?a.config.apply(a,r.easeParams):a:"function"==typeof a?new v(a,r.easeParams):y[a]||C.defaultEase:C.defaultEase,this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(t=this._targets.length;--t>-1;)this._initProps(this._targets[t],this._propLookup[t]={},this._siblings[t],s?s[t]:null)&&(e=!0);else e=this._initProps(this.target,this._propLookup,this._siblings,s);if(e&&C._onPluginEvent("_onInitAllProps",this),s&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),r.runBackwards)for(i=this._firstPT;i;)i.s+=i.c,i.c=-i.c,i=i._next;this._onUpdate=r.onUpdate,this._initted=!0},n._initProps=function(t,e,i,n){var r,s,o,a,l,c,u;if(null==t)return!1;this.vars.css||t.style&&t.nodeType&&I.css&&this.vars.autoCSS!==!1&&E(this.vars,t);for(r in this.vars){if(N[r]){if(("onStartParams"===r||"onUpdateParams"===r||"onCompleteParams"===r||"onReverseCompleteParams"===r||"onRepeatParams"===r)&&(l=this.vars[r]))for(s=l.length;--s>-1;)"{self}"===l[s]&&(l=this.vars[r]=l.concat(),l[s]=this)}else if(I[r]&&(a=new I[r])._onInitTween(t,this.vars[r],this)){for(this._firstPT=c={_next:this._firstPT,t:a,p:"setRatio",s:0,c:1,f:!0,n:r,pg:!0,pr:a._priority},s=a._overwriteProps.length;--s>-1;)e[a._overwriteProps[s]]=this._firstPT;(a._priority||a._onInitAllProps)&&(o=!0),(a._onDisable||a._onEnable)&&(this._notifyPluginsOfEnabled=!0)}else this._firstPT=e[r]=c={_next:this._firstPT,t:t,p:r,f:"function"==typeof t[r],n:r,pg:!1,pr:0},c.s=c.f?t[r.indexOf("set")||"function"!=typeof t["get"+r.substr(3)]?r:"get"+r.substr(3)]():parseFloat(t[r]),u=this.vars[r],c.c="string"==typeof u&&"="===u.charAt(1)?parseInt(u.charAt(0)+"1",10)*Number(u.substr(2)):Number(u)-c.s||0;c&&c._next&&(c._next._prev=c)}return n&&this._kill(n,t)?this._initProps(t,e,i,n):this._overwrite>1&&this._firstPT&&i.length>1&&B(t,this,e,this._overwrite,i)?(this._kill(e,t),this._initProps(t,e,i,n)):o},n.render=function(t,e,i){var n,r,s,o=this._time;if(t>=this._duration)this._totalTime=this._time=this._duration,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(n=!0,r="onComplete"),0===this._duration&&((0===t||0>this._rawPrevTime)&&this._rawPrevTime!==t&&(i=!0,this._rawPrevTime>0&&(r="onReverseComplete",e&&(t=-1))),this._rawPrevTime=t);else if(1e-7>t)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==o||0===this._duration&&this._rawPrevTime>0)&&(r="onReverseComplete",n=this._reversed),0>t?(this._active=!1,0===this._duration&&(this._rawPrevTime>=0&&(i=!0),this._rawPrevTime=t)):this._initted||(i=!0);else if(this._totalTime=this._time=t,this._easeType){var a=t/this._duration,l=this._easeType,c=this._easePower;(1===l||3===l&&a>=.5)&&(a=1-a),3===l&&(a*=2),1===c?a*=a:2===c?a*=a*a:3===c?a*=a*a*a:4===c&&(a*=a*a*a*a),this.ratio=1===l?1-a:2===l?a:.5>t/this._duration?a/2:1-a/2}else this.ratio=this._ease.getRatio(t/this._duration);if(this._time!==o||i){if(!this._initted){if(this._init(),!this._initted)return;this._time&&!n?this.ratio=this._ease.getRatio(this._time/this._duration):n&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(this._active||this._paused||(this._active=!0),0===o&&(this._startAt&&(t>=0?this._startAt.render(t,e,i):r||(r="_dummyGS")),this.vars.onStart&&(0!==this._time||0===this._duration)&&(e||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||g))),s=this._firstPT;s;)s.f?s.t[s.p](s.c*this.ratio+s.s):s.t[s.p]=s.c*this.ratio+s.s,s=s._next;this._onUpdate&&(0>t&&this._startAt&&this._startAt.render(t,e,i),e||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||g)),r&&(this._gc||(0>t&&this._startAt&&!this._onUpdate&&this._startAt.render(t,e,i),n&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[r]&&this.vars[r].apply(this.vars[r+"Scope"]||this,this.vars[r+"Params"]||g)))}},n._kill=function(t,e){if("all"===t&&(t=null),null==t&&(null==e||e===this.target))return this._enabled(!1,!1);e="string"!=typeof e?e||this._targets||this.target:C.selector(e)||e;var i,n,r,s,o,a,l,c;if((e instanceof Array||P(e))&&"number"!=typeof e[0])for(i=e.length;--i>-1;)this._kill(t,e[i])&&(a=!0);else{if(this._targets){for(i=this._targets.length;--i>-1;)if(e===this._targets[i]){o=this._propLookup[i]||{},this._overwrittenProps=this._overwrittenProps||[],n=this._overwrittenProps[i]=t?this._overwrittenProps[i]||{}:"all";break}}else{if(e!==this.target)return!1;o=this._propLookup,n=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(o){l=t||o,c=t!==n&&"all"!==n&&t!==o&&(null==t||t._tempKill!==!0);for(r in l)(s=o[r])&&(s.pg&&s.t._kill(l)&&(a=!0),s.pg&&0!==s.t._overwriteProps.length||(s._prev?s._prev._next=s._next:s===this._firstPT&&(this._firstPT=s._next),s._next&&(s._next._prev=s._prev),s._next=s._prev=null),delete o[r]),c&&(n[r]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return a},n.invalidate=function(){return this._notifyPluginsOfEnabled&&C._onPluginEvent("_onDisable",this),this._firstPT=null,this._overwrittenProps=null,this._onUpdate=null,this._startAt=null,this._initted=this._active=this._notifyPluginsOfEnabled=!1,this._propLookup=this._targets?{}:[],this},n._enabled=function(t,e){if(s||r.wake(),t&&this._gc){var i,n=this._targets;if(n)for(i=n.length;--i>-1;)this._siblings[i]=$(n[i],this,!0);else this._siblings=$(this.target,this,!0)}return k.prototype._enabled.call(this,t,e),this._notifyPluginsOfEnabled&&this._firstPT?C._onPluginEvent(t?"_onEnable":"_onDisable",this):!1},C.to=function(t,e,i){return new C(t,e,i)},C.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new C(t,e,i)},C.fromTo=function(t,e,i,n){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,new C(t,e,n)},C.delayedCall=function(t,e,i,n,r){return new C(e,0,{delay:t,onComplete:e,onCompleteParams:i,onCompleteScope:n,onReverseComplete:e,onReverseCompleteParams:i,onReverseCompleteScope:n,immediateRender:!1,useFrames:r,overwrite:0})},C.set=function(t,e){return new C(t,0,e)},C.killTweensOf=C.killDelayedCallsTo=function(t,e){for(var i=C.getTweensOf(t),n=i.length;--n>-1;)i[n]._kill(e,t)},C.getTweensOf=function(t){if(null==t)return[];t="string"!=typeof t?t:C.selector(t)||t;var e,i,n,r;if((t instanceof Array||P(t))&&"number"!=typeof t[0]){for(e=t.length,i=[];--e>-1;)i=i.concat(C.getTweensOf(t[e]));for(e=i.length;--e>-1;)for(r=i[e],n=e;--n>-1;)r===i[n]&&i.splice(e,1)}else for(i=$(t).concat(),e=i.length;--e>-1;)i[e]._gc&&i.splice(e,1);return i};var j=p("plugins.TweenPlugin",function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=j.prototype},!0);if(n=j.prototype,j.version="1.9.1",j.API=2,n._firstPT=null,n._addTween=function(t,e,i,n,r,s){var o,a;null!=n&&(o="number"==typeof n||"="!==n.charAt(1)?Number(n)-i:parseInt(n.charAt(0)+"1",10)*Number(n.substr(2)))&&(this._firstPT=a={_next:this._firstPT,t:t,p:e,s:i,c:o,f:"function"==typeof t[e],n:r||e,r:s},a._next&&(a._next._prev=a))},n.setRatio=function(t){for(var e,i=this._firstPT,n=1e-6;i;)e=i.c*t+i.s,i.r?e=e+(e>0?.5:-.5)>>0:n>e&&e>-n&&(e=0),i.f?i.t[i.p](e):i.t[i.p]=e,i=i._next},n._kill=function(t){var e,i=this._overwriteProps,n=this._firstPT;if(null!=t[this._propName])this._overwriteProps=[];else for(e=i.length;--e>-1;)null!=t[i[e]]&&i.splice(e,1);for(;n;)null!=t[n.n]&&(n._next&&(n._next._prev=n._prev),n._prev?(n._prev._next=n._next,n._prev=null):this._firstPT===n&&(this._firstPT=n._next)),n=n._next;return!1},n._roundProps=function(t,e){for(var i=this._firstPT;i;)(t[this._propName]||null!=i.n&&t[i.n.split(this._propName+"_").join("")])&&(i.r=e),i=i._next},C._onPluginEvent=function(t,e){var i,n,r,s,o,a=e._firstPT;if("_onInitAllProps"===t){for(;a;){for(o=a._next,n=r;n&&n.pr>a.pr;)n=n._next;(a._prev=n?n._prev:s)?a._prev._next=a:r=a,(a._next=n)?n._prev=a:s=a,a=o}a=e._firstPT=r}for(;a;)a.pg&&"function"==typeof a.t[t]&&a.t[t]()&&(i=!0),a=a._next;return i},j.activate=function(t){for(var e=t.length;--e>-1;)t[e].API===j.API&&(I[(new t[e])._propName]=t[e]);return!0},f.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,i=t.propName,n=t.priority||0,r=t.overwriteProps,s={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_roundProps",initAll:"_onInitAllProps"},o=p("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",function(){j.call(this,i,n),this._overwriteProps=r||[]},t.global===!0),a=o.prototype=new j(i);a.constructor=o,o.API=t.API;for(e in s)"function"==typeof t[e]&&(a[s[e]]=t[e]);return o.version=t.version,j.activate([o]),o},e=t._gsQueue){for(i=0;e.length>i;i++)e[i]();for(n in h)h[n].func||t.console.log("GSAP encountered missing dependency: com.greensock."+n)}s=!1}(window),function(){var t=[].indexOf||function(t){for(var e=0,i=this.length;i>e;e++)if(e in this&&this[e]===t)return e;return-1},e=[].slice;!function(t,e){return"function"==typeof define&&define.amd?define("waypoints",["jquery"],function(i){return e(i,t)}):e(t.jQuery,t)}(this,function(i,n){var r,s,o,a,l,c,u,h,d,f,p,m,g,v,y,_;return r=i(n),h=t.call(n,"ontouchstart")>=0,a={horizontal:{},vertical:{}},l=1,u={},c="waypoints-context-id",p="resize.waypoints",m="scroll.waypoints",g=1,v="waypoints-waypoint-ids",y="waypoint",_="waypoints",s=function(){function t(t){var e=this;this.$element=t,this.element=t[0],this.didResize=!1,this.didScroll=!1,this.id="context"+l++,this.oldScroll={x:t.scrollLeft(),y:t.scrollTop()},this.waypoints={horizontal:{},vertical:{}},t.data(c,this.id),u[this.id]=this,t.bind(m,function(){var t;return e.didScroll||h?void 0:(e.didScroll=!0,t=function(){return e.doScroll(),e.didScroll=!1},n.setTimeout(t,i[_].settings.scrollThrottle))}),t.bind(p,function(){var t;return e.didResize?void 0:(e.didResize=!0,t=function(){return i[_]("refresh"),e.didResize=!1},n.setTimeout(t,i[_].settings.resizeThrottle))})}return t.prototype.doScroll=function(){var t,e=this;return t={horizontal:{newScroll:this.$element.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.$element.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}},!h||t.vertical.oldScroll&&t.vertical.newScroll||i[_]("refresh"),i.each(t,function(t,n){var r,s,o;return o=[],s=n.newScroll>n.oldScroll,r=s?n.forward:n.backward,i.each(e.waypoints[t],function(t,e){var i,r;return n.oldScroll<(i=e.offset)&&i<=n.newScroll?o.push(e):n.newScroll<(r=e.offset)&&r<=n.oldScroll?o.push(e):void 0}),o.sort(function(t,e){return t.offset-e.offset}),s||o.reverse(),i.each(o,function(t,e){return e.options.continuous||t===o.length-1?e.trigger([r]):void 0})}),this.oldScroll={x:t.horizontal.newScroll,y:t.vertical.newScroll}},t.prototype.refresh=function(){var t,e,n,r=this;return n=i.isWindow(this.element),e=this.$element.offset(),this.doScroll(),t={horizontal:{contextOffset:n?0:e.left,contextScroll:n?0:this.oldScroll.x,contextDimension:this.$element.width(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:n?0:e.top,contextScroll:n?0:this.oldScroll.y,contextDimension:n?i[_]("viewportHeight"):this.$element.height(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}},i.each(t,function(t,e){return i.each(r.waypoints[t],function(t,n){var r,s,o,a,l;return r=n.options.offset,o=n.offset,s=i.isWindow(n.element)?0:n.$element.offset()[e.offsetProp],i.isFunction(r)?r=r.apply(n.element):"string"==typeof r&&(r=parseFloat(r),n.options.offset.indexOf("%")>-1&&(r=Math.ceil(e.contextDimension*r/100))),n.offset=s-e.contextOffset+e.contextScroll-r,n.options.onlyOnScroll&&null!=o||!n.enabled?void 0:null!==o&&o<(a=e.oldScroll)&&a<=n.offset?n.trigger([e.backward]):null!==o&&o>(l=e.oldScroll)&&l>=n.offset?n.trigger([e.forward]):null===o&&e.oldScroll>=n.offset?n.trigger([e.forward]):void 0})})},t.prototype.checkEmpty=function(){return i.isEmptyObject(this.waypoints.horizontal)&&i.isEmptyObject(this.waypoints.vertical)?(this.$element.unbind([p,m].join(" ")),delete u[this.id]):void 0},t}(),o=function(){function t(t,e,n){var r,s;n=i.extend({},i.fn[y].defaults,n),"bottom-in-view"===n.offset&&(n.offset=function(){var t;return t=i[_]("viewportHeight"),i.isWindow(e.element)||(t=e.$element.height()),t-i(this).outerHeight()}),this.$element=t,this.element=t[0],this.axis=n.horizontal?"horizontal":"vertical",this.callback=n.handler,this.context=e,this.enabled=n.enabled,this.id="waypoints"+g++,this.offset=null,this.options=n,e.waypoints[this.axis][this.id]=this,a[this.axis][this.id]=this,r=null!=(s=t.data(v))?s:[],r.push(this.id),t.data(v,r)}return t.prototype.trigger=function(t){return this.enabled?(null!=this.callback&&this.callback.apply(this.element,t),this.options.triggerOnce?this.destroy():void 0):void 0},t.prototype.disable=function(){return this.enabled=!1},t.prototype.enable=function(){return this.context.refresh(),this.enabled=!0},t.prototype.destroy=function(){return delete a[this.axis][this.id],delete this.context.waypoints[this.axis][this.id],this.context.checkEmpty()},t.getWaypointsByElement=function(t){var e,n;return(n=i(t).data(v))?(e=i.extend({},a.horizontal,a.vertical),i.map(n,function(t){return e[t]})):[]},t}(),f={init:function(t,e){var n;return null==e&&(e={}),null==(n=e.handler)&&(e.handler=t),this.each(function(){var t,n,r,a;return t=i(this),r=null!=(a=e.context)?a:i.fn[y].defaults.context,i.isWindow(r)||(r=t.closest(r)),r=i(r),n=u[r.data(c)],n||(n=new s(r)),new o(t,n,e)}),i[_]("refresh"),this},disable:function(){return f._invoke(this,"disable")},enable:function(){return f._invoke(this,"enable")},destroy:function(){return f._invoke(this,"destroy")},prev:function(t,e){return f._traverse.call(this,t,e,function(t,e,i){return e>0?t.push(i[e-1]):void 0})},next:function(t,e){return f._traverse.call(this,t,e,function(t,e,i){return e<i.length-1?t.push(i[e+1]):void 0})},_traverse:function(t,e,r){var s,o;return null==t&&(t="vertical"),null==e&&(e=n),o=d.aggregate(e),s=[],this.each(function(){var e;return e=i.inArray(this,o[t]),r(s,e,o[t])}),this.pushStack(s)},_invoke:function(t,e){return t.each(function(){var t;return t=o.getWaypointsByElement(this),i.each(t,function(t,i){return i[e](),!0})}),this}},i.fn[y]=function(){var t,n;return n=arguments[0],t=2<=arguments.length?e.call(arguments,1):[],f[n]?f[n].apply(this,t):i.isFunction(n)?f.init.apply(this,arguments):i.isPlainObject(n)?f.init.apply(this,[null,n]):i.error(n?"The "+n+" method does not exist in jQuery Waypoints.":"jQuery Waypoints needs a callback function or handler option.")},i.fn[y].defaults={context:n,continuous:!0,enabled:!0,horizontal:!1,offset:0,triggerOnce:!1},d={refresh:function(){return i.each(u,function(t,e){return e.refresh()})},viewportHeight:function(){var t;return null!=(t=n.innerHeight)?t:r.height()},aggregate:function(t){var e,n,r;return e=a,t&&(e=null!=(r=u[i(t).data(c)])?r.waypoints:void 0),e?(n={horizontal:[],vertical:[]},i.each(n,function(t,r){return i.each(e[t],function(t,e){return r.push(e)}),r.sort(function(t,e){return t.offset-e.offset}),n[t]=i.map(r,function(t){return t.element}),n[t]=i.unique(n[t])}),n):[]},above:function(t){return null==t&&(t=n),d._filter(t,"vertical",function(t,e){return e.offset<=t.oldScroll.y})},below:function(t){return null==t&&(t=n),d._filter(t,"vertical",function(t,e){return e.offset>t.oldScroll.y})},left:function(t){return null==t&&(t=n),d._filter(t,"horizontal",function(t,e){return e.offset<=t.oldScroll.x})},right:function(t){return null==t&&(t=n),d._filter(t,"horizontal",function(t,e){return e.offset>t.oldScroll.x})},enable:function(){return d._invoke("enable")},disable:function(){return d._invoke("disable")},destroy:function(){return d._invoke("destroy")},extendFn:function(t,e){return f[t]=e},_invoke:function(t){var e;return e=i.extend({},a.vertical,a.horizontal),i.each(e,function(e,i){return i[t](),!0})},_filter:function(t,e,n){var r,s;return(r=u[i(t).data(c)])?(s=[],i.each(r.waypoints[e],function(t,e){return n(r,e)?s.push(e):void 0}),s.sort(function(t,e){return t.offset-e.offset}),i.map(s,function(t){return t.element})):[]}},i[_]=function(){var t,i;return i=arguments[0],t=2<=arguments.length?e.call(arguments,1):[],d[i]?d[i].apply(null,t):d.aggregate.call(null,i)},i[_].settings={resizeThrottle:100,scrollThrottle:30},r.load(function(){return i[_]("refresh")})})}.call(this),function(){!function(t,e){return"function"==typeof define&&define.amd?define(["jquery","waypoints"],e):e(t.jQuery)}(this,function(t){var e,i;return e={wrapper:'<div class="sticky-wrapper" />',stuckClass:"stuck"},i=function(t,e){return t.wrap(e.wrapper),t.parent()},t.waypoints("extendFn","sticky",function(n){var r,s,o;return s=t.extend({},t.fn.waypoint.defaults,e,n),r=i(this,s),o=s.handler,s.handler=function(e){var i,n; | |
return i=t(this).children(":first"),n="down"===e||"right"===e,i.toggleClass(s.stuckClass,n),r.height(n?i.outerHeight():""),null!=o?o.call(this,e):void 0},r.waypoint(s),this.data("stuckClass",s.stuckClass)}),t.waypoints("extendFn","unsticky",function(){return this.parent().waypoint("destroy"),this.unwrap(),this.removeClass(this.data("stuckClass"))})})}.call(this),function(t){function e(e,i){this.carouselRoot=t(e);var n=this;this._lockYAxis=!1,this._isAnimating=!1,this._downEvent="",this._moveEvent="",this._upEvent="",this._totalItemsWidth,this._itemWidths,this._startAccelerationX,this._accelerationX,this._latestDragX,this._startTime=0,this.settings=t.extend({},t.fn.touchCarousel.defaults,i),this._dragContainer=this.carouselRoot.find(".touchcarousel-container"),this._dragContainerStyle=this._dragContainer[0].style,this._itemsWrapper=this._dragContainer.wrap(t('<div class="touchcarousel-wrapper" />')).parent();var r=this._dragContainer.find(".touchcarousel-item");this.items=[],this.numItems=r.length;var s=navigator.userAgent.toLowerCase(),o=function(t){var e=/(chrome)[ \/]([\w.]+)/.exec(t)||/(webkit)[ \/]([\w.]+)/.exec(t)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(t)||/(msie) ([\w.]+)/.exec(t)||t.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(t)||[];return{browser:e[1]||"",version:e[2]||"0"}},a=o(s),l={};if(a.browser&&(l[a.browser]=!0,l.version=a.version),l.chrome&&(l.webkit=!0),n._browser=l,this._decelerationAnim,this._successfullyDragged=!1,this._startMouseX=0,this._prevMouseX=0,this._moveDist=0,this._blockClickEvents=!1,this._wasBlocked=!1,this._useWebkitTransition=!1,"ontouchstart"in window)this.hasTouch=!0,this._downEvent="touchstart.rs",this._moveEvent="touchmove.rs",this._upEvent="touchend.rs",this._baseFriction=this.settings.baseTouchFriction;else if(this.hasTouch=!1,this._baseFriction=this.settings.baseMouseFriction,this.settings.dragUsingMouse){this._downEvent="mousedown.rs",this._moveEvent="mousemove.rs",this._upEvent="mouseup.rs",this._grabCursor,this._grabbingCursor;var s=n._browser;s.msie||s.opera?this._grabCursor=this._grabbingCursor="move":s.mozilla&&(this._grabCursor="-moz-grab",this._grabbingCursor="-moz-grabbing"),this._setGrabCursor()}else this._itemsWrapper.addClass("auto-cursor");(this.hasTouch||this.settings.useWebkit3d)&&"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix&&(this._dragContainer.css({"-webkit-transform-origin":"0 0","-webkit-transform":"translateZ(0)"}),this._useWebkitTransition=!0),this._useWebkitTransition?(this._xProp="-webkit-transform",this._xPref="translate3d(",this._xSuf="px, 0, 0)"):(this._xProp="left",this._xPref="",this._xSuf="px"),this.hasTouch&&(this.settings.directionNavAutoHide=!1),this.settings.directionNav||(this.settings.loopItems?(this._arrowLeftBlocked=!0,this._arrowRightBlocked=!0):(this._arrowLeftBlocked=!1,this._arrowRightBlocked=!1),this.settings.loopItems=!0);var c,u,h=0;if(r.eq(this.numItems-1).addClass("last"),r.each(function(e){if(u=t(this),c={},c.item=u,c.index=e,c.posX=h,c.width=u.outerWidth(!0)||n.settings.itemFallbackWidth,h+=c.width,this.hasTouch){var i,r=u.find("a");r.each(function(){i=t(this),i.data("tc-href",i.attr("href")),i.data("tc-target",i.attr("target")),i.attr("href","#"),i.bind("click",function(e){if(e.preventDefault(),n._successfullyDragged)return!1;var i=t(this).data("tc-href"),r=t(this).data("tc-target");r&&"_self"!==r.toLowerCase()?window.open(i):window.location.href=i})})}else u.find("a").bind("click.touchcarousel",function(t){return n._successfullyDragged?(t.preventDefault(),!1):void 0});u.find(".non-draggable").bind(n._downEvent,function(t){n._successfullyDragged=!1,t.stopImmediatePropagation()}),n.items.push(c)}),this._maxXPos=this._totalItemsWidth=h,this._itemsPerMove=this.settings.itemsPerMove>0?this.settings.itemsPerMove:1,this.settings.pagingNav){if(this.settings.snapToItems=!0,this._pagingEnabled=!0,this._numPages=Math.ceil(this.numItems/this._itemsPerMove),this._currPageId=0,this.settings.pagingNavControls){this._pagingNavContainer=t('<div class="tc-paging-container"><div class="tc-paging-centerer"><div class="tc-paging-centerer-inside"></div></div></div>');for(var d,f=this._pagingNavContainer.find(".tc-paging-centerer-inside"),p=1;p<=this._numPages;p++)d=t('<a class="tc-paging-item" href="#">'+p+"</a>").data("tc-id",p),p===this._currPageId+1&&d.addClass("current"),f.append(d);this._pagingItems=f.find(".tc-paging-item").click(function(e){e.preventDefault(),n.goTo((t(e.currentTarget).data("tc-id")-1)*n._itemsPerMove)}),this._itemsWrapper.after(this._pagingNavContainer)}}else this._pagingEnabled=!1;this._dragContainer.css({width:h}),this.settings.directionNav&&(this._itemsWrapper.after("<a href='#' class='arrow-holder left'><span class='arrow-icon left'></span></a> <a href='#' class='arrow-holder right'><span class='arrow-icon right'></span></a>"),this.arrowLeft=this.carouselRoot.find(".arrow-holder.left"),this.arrowRight=this.carouselRoot.find(".arrow-holder.right"),this.arrowLeft.length<1||this.arrowRight.length<1?this.settings.directionNav=!1:this.settings.directionNavAutoHide&&(this.arrowLeft.hide(),this.arrowRight.hide(),this.carouselRoot.one("mousemove.arrowshover",function(){n.arrowLeft.fadeIn("fast"),n.arrowRight.fadeIn("fast")}),this.carouselRoot.hover(function(){n.arrowLeft.fadeIn("fast"),n.arrowRight.fadeIn("fast")},function(){n.arrowLeft.fadeOut("fast"),n.arrowRight.fadeOut("fast")})),this._updateDirectionNav(0),this.settings.directionNav&&(this.arrowRight.click(function(t){t.preventDefault(),(n.settings.loopItems&&!n._blockClickEvents||!n._arrowRightBlocked)&&n.next()}),this.arrowLeft.click(function(t){t.preventDefault(),(n.settings.loopItems&&!n._blockClickEvents||!n._arrowLeftBlocked)&&n.prev()}))),this.carouselWidth,this._resizeEvent="onorientationchange"in window?"orientationchange.touchcarousel":"resize.touchcarousel";var m;t(window).bind(this._resizeEvent,function(){m&&clearTimeout(m),m=setTimeout(function(){n.updateCarouselSize(!1)},100)}),this.settings.scrollbar?(this._scrollbarHolder=t("<div class='scrollbar-holder'><div class='scrollbar"+("light"===this.settings.scrollbarTheme.toLowerCase()?" light":" dark")+"'></div></div>"),this._scrollbarHolder.appendTo(this.carouselRoot),this.scrollbarJQ=this._scrollbarHolder.find(".scrollbar"),this._scrollbarHideTimeout="",this._scrollbarStyle=this.scrollbarJQ[0].style,this._scrollbarDist=0,this.settings.scrollbarAutoHide?(this._scrollbarVisible=!1,this.scrollbarJQ.css("opacity",0)):this._scrollbarVisible=!0):this.settings.scrollbarAutoHide=!1,this.updateCarouselSize(!0),this._itemsWrapper.bind(this._downEvent,function(t){n._onDragStart(t)}),this.settings.autoplay&&this.settings.autoplayDelay>0?(this._isHovering=!1,this.autoplayTimer="",this.wasAutoplayRunning=!0,this.hasTouch||this.carouselRoot.hover(function(){n._isHovering=!0,n._stopAutoplay()},function(){n._isHovering=!1,n._resumeAutoplay()}),this.autoplay=!0,this._releaseAutoplay()):this.autoplay=!1,this.settings.keyboardNav&&t(document).bind("keydown.touchcarousel",function(t){n._blockClickEvents||(37===t.keyCode?n.prev():39===t.keyCode&&n.next())}),this.carouselRoot.css("overflow","visible")}e.prototype={goTo:function(t,e){var i=this.items[t];if(i){!e&&this.autoplay&&this.settings.autoplayStopAtAction&&this.stopAutoplay(),this._updatePagingNav(t),this.endPos=this._getXPos();var n=-i.posX;n>0?n=0:n<this.carouselWidth-this._maxXPos&&(n=this.carouselWidth-this._maxXPos),this.animateTo(n,this.settings.transitionSpeed,"easeInOutSine")}},next:function(t){var e=this._getXPos(),i=this._getItemAtPos(e).index;if(this._pagingEnabled){var n=this._currPageId+1;i=n>this._numPages-1?this.settings.loopItems?0:(this._numPages-1)*this._itemsPerMove:n*this._itemsPerMove}else i+=this._itemsPerMove,this.settings.loopItems&&e<=this.carouselWidth-this._maxXPos&&(i=0),i>this.numItems-1&&(i=this.numItems-1);this.goTo(i,t)},prev:function(t){var e=this._getXPos(),i=this._getItemAtPos(e).index;if(this._pagingEnabled){var n=this._currPageId-1;i=0>n?this.settings.loopItems?(this._numPages-1)*this._itemsPerMove:0:n*this._itemsPerMove}else i-=this._itemsPerMove,0>i&&(i=this.settings.loopItems?0>e?0:this.numItems-1:0);this.goTo(i,t)},getCurrentId:function(){var t=this._getItemAtPos(this._getXPos()).index;return t},setXPos:function(t,e){e?this._scrollbarStyle[this._xProp]=this._xPref+t+this._xSuf:this._dragContainerStyle[this._xProp]=this._xPref+t+this._xSuf},stopAutoplay:function(){this._stopAutoplay(),this.autoplay=!1,this.wasAutoplayRunning=!1},resumeAutoplay:function(){this.autoplay=!0,this.wasAutoplayRunning||this._resumeAutoplay()},updateCarouselSize:function(t){if(this.carouselWidth=this.carouselRoot.width(),this.settings.scrollToLast){var e=0;if(this._pagingEnabled){var i=this.numItems%this._itemsPerMove;if(i>0)for(var n=this.numItems-i;n<this.numItems;n++)e+=this.items[n].width;else e=this.carouselWidth}else e=this.items[this.numItems-1].width;this._maxXPos=this._totalItemsWidth+this.carouselWidth-e}else this._maxXPos=this._totalItemsWidth;if(this.settings.scrollbar){var r=Math.round(this._scrollbarHolder.width()/(this._maxXPos/this.carouselWidth));this.scrollbarJQ.css("width",r),this._scrollbarDist=this._scrollbarHolder.width()-r}if(!this.settings.scrollToLast){if(this.carouselWidth>=this._totalItemsWidth)return this._wasBlocked=!0,this.settings.loopItems||(this._arrowRightBlocked=!0,this.arrowRight.addClass("disabled"),this._arrowLeftBlocked=!0,this.arrowLeft.addClass("disabled")),void this.setXPos(0);this._wasBlocked&&(this._wasBlocked=!1,this._arrowRightBlocked=!1,this._arrowLeftBlocked=!1,this.arrowRight.removeClass("disabled"),this.arrowLeft.removeClass("disabled"))}if(!t){var s=this.endPos=this._getXPos();s>0?s=0:s<this.carouselWidth-this._maxXPos&&(s=this.carouselWidth-this._maxXPos),this.animateTo(s,300,"easeInOutSine")}},animateTo:function(e,i,n,r,s,o,a){function l(){c._isAnimating=!1,c._releaseAutoplay(),c.settings.scrollbarAutoHide&&c._hideScrollbar(),null!==c.settings.onAnimComplete&&c.settings.onAnimComplete.call(c)}null!==this.settings.onAnimStart&&this.settings.onAnimStart.call(this),this.autoplay&&this.autoplayTimer&&(this.wasAutoplayRunning=!0,this._stopAutoplay()),this._stopAnimation();var c=this,u=this.settings.scrollbar,h=c._xProp,d=c._xPref,f=c._xSuf,p={containerPos:this.endPos},m={containerPos:e},g={containerPos:s},s=r?s:e,v=c._dragContainerStyle;if(c._isAnimating=!0,u){var y=this._scrollbarStyle,_=c._maxXPos-c.carouselWidth;this.settings.scrollbarAutoHide&&(this._scrollbarVisible||this._showScrollbar())}this._updateDirectionNav(s),this._decelerationAnim=t(p).animate(m,{duration:i,easing:n,step:function(){u&&(y[h]=d+Math.round(c._scrollbarDist*(-this.containerPos/_))+f),v[h]=d+Math.round(this.containerPos)+f},complete:function(){r?c._decelerationAnim=t(m).animate(g,{duration:o,easing:a,step:function(){u&&(y[h]=d+Math.round(c._scrollbarDist*(-this.containerPos/_))+f),v[h]=d+Math.round(this.containerPos)+f},complete:function(){u&&(y[h]=d+Math.round(c._scrollbarDist*(-g.containerPos/_))+f),v[h]=d+Math.round(g.containerPos)+f,l()}}):(u&&(y[h]=d+Math.round(c._scrollbarDist*(-m.containerPos/_))+f),v[h]=d+Math.round(m.containerPos)+f,l())}})},destroy:function(){this.stopAutoplay(),this._itemsWrapper.unbind(this._downEvent),t(document).unbind(this._moveEvent).unbind(this._upEvent),t(window).unbind(this._resizeEvent),this.settings.keyboardNav&&t(document).unbind("keydown.touchcarousel"),this.carouselRoot.remove()},_updatePagingNav:function(t){if(this._pagingEnabled){var e=this._getPageIdFromItemId(t);this._currPageId=e,this.settings.pagingNavControls&&(this._pagingItems.removeClass("current"),this._pagingItems.eq(e).addClass("current"))}},_getPageIdFromItemId:function(t){for(var e=this._itemsPerMove,i=0;i<this._numPages;i++)if(t>=i*e&&i*e+e>t)return i;return 0>t?0:t>=this._numPages?this._numPages-1:!1},_enableArrows:function(){this.settings.loopItems||(this._arrowLeftBlocked?(this._arrowLeftBlocked=!1,this.arrowLeft.removeClass("disabled")):this._arrowRightBlocked&&(this._arrowRightBlocked=!1,this.arrowRight.removeClass("disabled")))},_disableLeftArrow:function(){this._arrowLeftBlocked||this.settings.loopItems||(this._arrowLeftBlocked=!0,this.arrowLeft.addClass("disabled"),this._arrowRightBlocked&&(this._arrowRightBlocked=!1,this.arrowRight.removeClass("disabled")))},_disableRightArrow:function(){this._arrowRightBlocked||this.settings.loopItems||(this._arrowRightBlocked=!0,this.arrowRight.addClass("disabled"),this._arrowLeftBlocked&&(this._arrowLeftBlocked=!1,this.arrowLeft.removeClass("disabled")))},_getItemAtPos:function(t){var e=this;t=-t;for(var i,n=0;n<e.numItems;n++)if(i=e.items[n],t>=i.posX&&t<i.posX+i.width)return i;return-1},_releaseAutoplay:function(){this.autoplay&&this.wasAutoplayRunning&&(this._isHovering||this._resumeAutoplay(),this.wasAutoplayRunning=!1)},_hideScrollbar:function(){var t=this;this._scrollbarVisible=!1,this._scrollbarHideTimeout&&clearTimeout(this._scrollbarHideTimeout),this._scrollbarHideTimeout=setTimeout(function(){t.scrollbarJQ.animate({opacity:0},150,"linear")},450)},_showScrollbar:function(){this._scrollbarVisible=!0,this._scrollbarHideTimeout&&clearTimeout(this._scrollbarHideTimeout),this.scrollbarJQ.stop().animate({opacity:1},150,"linear")},_stopAnimation:function(){this._decelerationAnim&&this._decelerationAnim.stop()},_resumeAutoplay:function(){if(this.autoplay){var t=this;this.autoplayTimer||(this.autoplayTimer=setInterval(function(){t._isDragging||t._isAnimating||t.next(!0)},this.settings.autoplayDelay))}},_stopAutoplay:function(){this.autoplayTimer&&(clearInterval(this.autoplayTimer),this.autoplayTimer="")},_getXPos:function(t){var e=t?this.scrollbarJQ:this._dragContainer;if(this._useWebkitTransition){var i=e.css("-webkit-transform"),n=i.replace(/^matrix\(/i,"").split(/, |\)$/g);return parseInt(n[4],10)}return Math.round(e.position().left)},_onDragStart:function(e){if(!this._isDragging){this.autoplay&&this.settings.autoplayStopAtAction&&this.stopAutoplay(),this._stopAnimation(),this.settings.scrollbarAutoHide&&this._showScrollbar();var i;if(this.hasTouch){this._lockYAxis=!1;var n=e.originalEvent.touches;if(!(n&&n.length>0))return!1;i=n[0]}else i=e,e.preventDefault();this._setGrabbingCursor(),this._isDragging=!0;var r=this;this._useWebkitTransition&&r._dragContainer.css({"-webkit-transition-duration":"0","-webkit-transition-property":"none"}),t(document).bind(this._moveEvent,function(t){r._onDragMove(t)}),t(document).bind(this._upEvent,function(t){r._onDragRelease(t)}),this._startPos=this._getXPos(),this._accelerationX=i.clientX,this._successfullyDragged=!1,this._startTime=e.timeStamp||(new Date).getTime(),this._moveDist=0,this._prevMouseX=this._startMouseX=i.clientX,this._startMouseY=i.clientY}},_onDragMove:function(t){var e,i=t.timeStamp||(new Date).getTime();if(this.hasTouch){if(this._lockYAxis)return!1;var n=t.originalEvent.touches;if(n.length>1)return!1;if(e=n[0],Math.abs(e.clientY-this._startMouseY)>Math.abs(e.clientX-this._startMouseX)+3)return this.settings.lockAxis&&(this._lockYAxis=!0),!1;t.preventDefault()}else e=t,t.preventDefault();this._latestDragX=e.clientX,this._lastDragPosition=this._currentDragPosition;var r=e.clientX-this._prevMouseX;if(this._lastDragPosition!=r&&(this._currentDragPosition=r),0!=r){var s=this._startPos+this._moveDist;s>=0?(r/=4,this._disableLeftArrow()):s<=this.carouselWidth-this._maxXPos?(this._disableRightArrow(),r/=4):this._enableArrows(),this._moveDist+=r,this.setXPos(s),this.settings.scrollbar&&this.setXPos(this._scrollbarDist*(-s/(this._maxXPos-this.carouselWidth)),!0)}return this._prevMouseX=e.clientX,i-this._startTime>350&&(this._startTime=i,this._accelerationX=e.clientX),null!==this.settings.onDragStart&&this.settings.onDragStart.call(this),!1},_onDragRelease:function(e){function i(t){return t>0?t=0:t<n.carouselWidth-n._maxXPos&&(t=n.carouselWidth-n._maxXPos),t}if(this._isDragging){var n=this;if(this._isDragging=!1,this._setGrabCursor(),this.endPos=this._getXPos(),this.isdrag=!1,t(document).unbind(this._moveEvent).unbind(this._upEvent),this.endPos==this._startPos)return this._successfullyDragged=!1,void(this.settings.scrollbarAutoHide&&this._hideScrollbar());this._successfullyDragged=!0;var r=this._latestDragX-this._accelerationX,s=Math.max(40,(e.timeStamp||(new Date).getTime())-this._startTime),o=.5,a=2,l=Math.abs(r)/s;if(this.settings.snapToItems){this.autoplay&&this.settings.autoplayStopAtAction&&this.stopAutoplay();var c=Boolean(this._startMouseX-this._prevMouseX>0),u=i(this._getXPos()),h=this._getItemAtPos(u).index;if(this._pagingEnabled){c&&(u=Math.max(u-this.carouselWidth-1,1-n._maxXPos),h=this._getItemAtPos(u).index,void 0===h&&(h=this.numItems-1));var d=this._getPageIdFromItemId(h);h=d*this._itemsPerMove}else h+=c?this._itemsPerMove:-this._itemsPerMove+1;h=c?Math.min(h,this.numItems-1):Math.max(h,0);var f=this.items[h];if(this._updatePagingNav(h),f){u=i(-f.posX);var p=Math.abs(this.endPos-u),m=Math.max(1.08*p/l,150),g=Boolean(180>m),v=.08*p;c&&(v=-1*v),this.animateTo(g?u+v:u,Math.min(m,400),"easeOutSine",g,u,300,"easeOutCubic")}}else{var y=0;2>=l?(o=3.5*this._baseFriction,y=0):l>2&&3>=l?(o=4*this._baseFriction,y=200):l>3&&(y=300,l>4&&(l=4,y=400,o=6*this._baseFriction),o=5*this._baseFriction);var _=l*l*a/(2*o);_*=0>r?-1:1;var b=l*a/o+y;this.endPos+_>0?this.endPos>0?this.animateTo(0,800,"easeOutCubic"):this.animateTo(this.carouselWidth/10*((y+200)/1e3),1.1*Math.abs(this.endPos)/l,"easeOutSine",!0,0,400,"easeOutCubic"):this.endPos+_<this.carouselWidth-this._maxXPos?this.endPos<this.carouselWidth-this._maxXPos?this.animateTo(this.carouselWidth-this._maxXPos,800,"easeOutCubic"):this.animateTo(this.carouselWidth-this._maxXPos-this.carouselWidth/10*((y+200)/1e3),1.1*Math.abs(this.carouselWidth-this._maxXPos-this.endPos)/l,"easeOutSine",!0,this.carouselWidth-this._maxXPos,400,"easeOutCubic"):this.animateTo(this.endPos+_,b,"easeOutCubic")}null!==this.settings.onDragRelease&&this.settings.onDragRelease.call(this)}return!1},_updateDirectionNav:function(t){void 0===t&&(t=this._getXPos()),this.settings.loopItems||(t>=0?this._disableLeftArrow():t<=this.carouselWidth-this._maxXPos?this._disableRightArrow():this._enableArrows())},_setGrabCursor:function(){this._grabCursor?this._itemsWrapper.css("cursor",this._grabCursor):(this._itemsWrapper.removeClass("grabbing-cursor"),this._itemsWrapper.addClass("grab-cursor"))},_setGrabbingCursor:function(){this._grabbingCursor?this._itemsWrapper.css("cursor",this._grabbingCursor):(this._itemsWrapper.removeClass("grab-cursor"),this._itemsWrapper.addClass("grabbing-cursor"))}},t.fn.touchCarousel=function(i){return this.each(function(){var n=new e(t(this),i);t(this).data("touchCarousel",n)})},t.fn.touchCarousel.defaults={itemsPerMove:1,snapToItems:!1,pagingNav:!1,pagingNavControls:!0,autoplay:!1,autoplayDelay:3e3,autoplayStopAtAction:!0,scrollbar:!0,scrollbarAutoHide:!1,scrollbarTheme:"dark",transitionSpeed:600,directionNav:!0,directionNavAutoHide:!1,loopItems:!1,keyboardNav:!1,dragUsingMouse:!0,scrollToLast:!1,itemFallbackWidth:500,baseMouseFriction:.0012,baseTouchFriction:8e-4,lockAxis:!0,useWebkit3d:!1,onAnimStart:null,onAnimComplete:null,onDragStart:null,onDragRelease:null},t.fn.touchCarousel.settings={},t.extend(jQuery.easing,{easeInOutSine:function(t,e,i,n,r){return-n/2*(Math.cos(Math.PI*e/r)-1)+i},easeOutSine:function(t,e,i,n,r){return n*Math.sin(e/r*(Math.PI/2))+i},easeOutCubic:function(t,e,i,n,r){return n*((e=e/r-1)*e*e+1)+i}})}(jQuery),function(t){t.fn.hoverIntent=function(e,i,n){var r={interval:100,sensitivity:7,timeout:0};r="object"==typeof e?t.extend(r,e):t.isFunction(i)?t.extend(r,{over:e,out:i,selector:n}):t.extend(r,{over:e,out:e,selector:i});var s,o,a,l,c=function(t){s=t.pageX,o=t.pageY},u=function(e,i){return i.hoverIntent_t=clearTimeout(i.hoverIntent_t),Math.abs(a-s)+Math.abs(l-o)<r.sensitivity?(t(i).off("mousemove.hoverIntent",c),i.hoverIntent_s=1,r.over.apply(i,[e])):(a=s,l=o,i.hoverIntent_t=setTimeout(function(){u(e,i)},r.interval),void 0)},h=function(t,e){return e.hoverIntent_t=clearTimeout(e.hoverIntent_t),e.hoverIntent_s=0,r.out.apply(e,[t])},d=function(e){var i=jQuery.extend({},e),n=this;n.hoverIntent_t&&(n.hoverIntent_t=clearTimeout(n.hoverIntent_t)),"mouseenter"==e.type?(a=i.pageX,l=i.pageY,t(n).on("mousemove.hoverIntent",c),1!=n.hoverIntent_s&&(n.hoverIntent_t=setTimeout(function(){u(i,n)},r.interval))):(t(n).off("mousemove.hoverIntent",c),1==n.hoverIntent_s&&(n.hoverIntent_t=setTimeout(function(){h(i,n)},r.timeout)))};return this.on({"mouseenter.hoverIntent":d,"mouseleave.hoverIntent":d},r.selector)}}(jQuery),function(t,e,i){"use strict";function n(i){if(r=e.documentElement,s=e.body,X(),oe=this,i=i||{},he=i.constants||{},i.easing)for(var n in i.easing)Y[n]=i.easing[n];ye=i.edgeStrategy||"set",ce={beforerender:i.beforerender,render:i.render},ue=i.forceHeight!==!1,ue&&(Ne=i.scale||1),de=i.mobileDeceleration||k,pe=i.smoothScrolling!==!1,me=i.smoothScrollingDuration||S,ge={targetTop:oe.getScrollTop()},We=(i.mobileCheck||function(){return/Android|iPhone|iPad|iPod|BlackBerry|Windows Phone/i.test(navigator.userAgent||navigator.vendor||t.opera)})(),We?(le=e.getElementById("skrollr-body"),le&&se(),Q(),Pe(r,[y,w],[_])):Pe(r,[y,b],[_]),oe.refresh(),we(t,"resize orientationchange",function(){var t=r.clientWidth,e=r.clientHeight;(e!==Be||t!==$e)&&(Be=e,$e=t,Fe=!0)});var o=q();return function a(){Z(),be=o(a)}(),oe}var r,s,o=t.skrollr={get:function(){return oe},init:function(t){return oe||new n(t)},VERSION:"0.6.17"},a=Object.prototype.hasOwnProperty,l=t.Math,c=t.getComputedStyle,u="touchstart",h="touchmove",d="touchcancel",f="touchend",p="skrollable",m=p+"-before",g=p+"-between",v=p+"-after",y="skrollr",_="no-"+y,b=y+"-desktop",w=y+"-mobile",x="linear",T=1e3,k=.004,S=200,C="start",P="end",E="center",A="bottom",I="___skrollable_id",O=/^(?:input|textarea|button|select)$/i,D=/^\s+|\s+$/g,N=/^data(?:-(_\w+))?(?:-?(-?\d*\.?\d+p?))?(?:-?(start|end|top|center|bottom))?(?:-?(top|center|bottom))?$/,M=/\s*([\w\-\[\]]+)\s*:\s*(.+?)\s*(?:;|$)/gi,R=/^([a-z\-]+)\[(\w+)\]$/,L=/-([a-z])/g,$=function(t,e){return e.toUpperCase()},B=/[\-+]?[\d]*\.?[\d]+/g,F=/\{\?\}/g,j=/rgba?\(\s*-?\d+\s*,\s*-?\d+\s*,\s*-?\d+/g,W=/[a-z\-]+-gradient/g,H="",z="",X=function(){var t=/^(?:O|Moz|webkit|ms)|(?:-(?:o|moz|webkit|ms)-)/;if(c){var e=c(s,null);for(var n in e)if(H=n.match(t)||+n==n&&e[n].match(t))break;if(!H)return H=z="",i;H=H[0],"-"===H.slice(0,1)?(z=H,H={"-webkit-":"webkit","-moz-":"Moz","-ms-":"ms","-o-":"O"}[H]):z="-"+H.toLowerCase()+"-"}},q=function(){var e=t.requestAnimationFrame||t[H.toLowerCase()+"RequestAnimationFrame"],i=Ie();return(We||!e)&&(e=function(e){var n=Ie()-i,r=l.max(0,1e3/60-n);return t.setTimeout(function(){i=Ie(),e()},r)}),e},U=function(){var e=t.cancelAnimationFrame||t[H.toLowerCase()+"CancelAnimationFrame"];return(We||!e)&&(e=function(e){return t.clearTimeout(e)}),e},Y={begin:function(){return 0},end:function(){return 1},linear:function(t){return t},quadratic:function(t){return t*t},cubic:function(t){return t*t*t},swing:function(t){return-l.cos(t*l.PI)/2+.5},sqrt:function(t){return l.sqrt(t)},outCubic:function(t){return l.pow(t-1,3)+1},bounce:function(t){var e;if(.5083>=t)e=3;else if(.8489>=t)e=9;else if(.96208>=t)e=27;else{if(!(.99981>=t))return 1;e=91}return 1-l.abs(3*l.cos(1.028*t*e)/e)}};n.prototype.refresh=function(t){var n,r,s=!1;for(t===i?(s=!0,ae=[],je=0,t=e.getElementsByTagName("*")):t=[].concat(t),n=0,r=t.length;r>n;n++){var o=t[n],a=o,l=[],c=pe,u=ye;if(o.attributes){for(var h=0,d=o.attributes.length;d>h;h++){var f=o.attributes[h];if("data-anchor-target"!==f.name)if("data-smooth-scrolling"!==f.name)if("data-edge-strategy"!==f.name){var m=f.name.match(N);if(null!==m){var g={props:f.value,element:o};l.push(g);var v=m[1];v=v&&he[v.substr(1)]||0;var y=m[2];/p$/.test(y)?(g.isPercentage=!0,g.offset=((0|y.slice(0,-1))+v)/100):g.offset=(0|y)+v;var _=m[3],b=m[4]||_;_&&_!==C&&_!==P?(g.mode="relative",g.anchors=[_,b]):(g.mode="absolute",_===P?g.isEnd=!0:g.isPercentage||(g.frame=g.offset*Ne,delete g.offset))}}else u=f.value;else c="off"!==f.value;else if(a=e.querySelector(f.value),null===a)throw'Unable to find anchor target "'+f.value+'"'}if(l.length){var w,x,T;!s&&I in o?(T=o[I],w=ae[T].styleAttr,x=ae[T].classAttr):(T=o[I]=je++,w=o.style.cssText,x=Ce(o)),ae[T]={element:o,styleAttr:w,classAttr:x,anchorTarget:a,keyFrames:l,smoothScrolling:c,edgeStrategy:u},Pe(o,[p],[])}}}for(ke(),n=0,r=t.length;r>n;n++){var k=ae[t[n][I]];k!==i&&(K(k),te(k))}return oe},n.prototype.relativeToAbsolute=function(t,e,i){var n=r.clientHeight,s=t.getBoundingClientRect(),o=s.top,a=s.bottom-s.top;return e===A?o-=n:e===E&&(o-=n/2),i===A?o+=a:i===E&&(o+=a/2),o+=oe.getScrollTop(),0|o+.5},n.prototype.animateTo=function(t,e){e=e||{};var n=Ie(),r=oe.getScrollTop();return fe={startTop:r,topDiff:t-r,targetTop:t,duration:e.duration||T,startTime:n,endTime:n+(e.duration||T),easing:Y[e.easing||x],done:e.done},fe.topDiff||(fe.done&&fe.done.call(oe,!1),fe=i),oe},n.prototype.stopAnimateTo=function(){fe&&fe.done&&fe.done.call(oe,!0),fe=i},n.prototype.isAnimatingTo=function(){return!!fe},n.prototype.setScrollTop=function(e,i){return ve=i===!0,We?He=l.min(l.max(e,0),De):t.scrollTo(0,e),oe},n.prototype.getScrollTop=function(){return We?He:t.pageYOffset||r.scrollTop||s.scrollTop||0},n.prototype.getMaxScrollTop=function(){return De},n.prototype.on=function(t,e){return ce[t]=e,oe},n.prototype.off=function(t){return delete ce[t],oe},n.prototype.destroy=function(){var t=U();t(be),Te(),Pe(r,[_],[y,b,w]);for(var e=0,n=ae.length;n>e;e++)re(ae[e].element);r.style.overflow=s.style.overflow="auto",r.style.height=s.style.height="auto",le&&o.setStyle(le,"transform","none"),oe=i,le=i,ce=i,ue=i,De=0,Ne=1,he=i,de=i,Me="down",Re=-1,$e=0,Be=0,Fe=!1,fe=i,pe=i,me=i,ge=i,ve=i,je=0,ye=i,We=!1,He=0,_e=i};var Q=function(){var n,o,a,c,p,m,g,v,y,_,b,w;we(r,[u,h,d,f].join(" "),function(t){var r=t.changedTouches[0];for(c=t.target;3===c.nodeType;)c=c.parentNode;switch(p=r.clientY,m=r.clientX,_=t.timeStamp,O.test(c.tagName)||t.preventDefault(),t.type){case u:n&&n.blur(),oe.stopAnimateTo(),n=c,o=g=p,a=m,y=_;break;case h:O.test(c.tagName)&&e.activeElement!==c&&t.preventDefault(),v=p-g,w=_-b,oe.setScrollTop(He-v,!0),g=p,b=_;break;default:case d:case f:var s=o-p,x=a-m,T=x*x+s*s;if(49>T){if(!O.test(n.tagName)){n.focus();var k=e.createEvent("MouseEvents");k.initMouseEvent("click",!0,!0,t.view,1,r.screenX,r.screenY,r.clientX,r.clientY,t.ctrlKey,t.altKey,t.shiftKey,t.metaKey,0,null),n.dispatchEvent(k)}return}n=i;var S=v/w;S=l.max(l.min(S,3),-3);var C=l.abs(S/de),P=S*C+.5*de*C*C,E=oe.getScrollTop()-P,A=0;E>De?(A=(De-E)/P,E=De):0>E&&(A=-E/P,E=0),C*=1-A,oe.animateTo(0|E+.5,{easing:"outCubic",duration:C})}}),t.scrollTo(0,0),r.style.overflow=s.style.overflow="hidden"},V=function(){var t,e,i,n,s,o,a,c,u;for(c=0,u=ae.length;u>c;c++)for(t=ae[c],e=t.element,i=t.anchorTarget,n=t.keyFrames,s=0,o=n.length;o>s;s++){a=n[s];var h=a.offset;a.isPercentage&&(h*=r.clientHeight,a.frame=h),"relative"===a.mode&&(re(e),a.frame=oe.relativeToAbsolute(i,a.anchors[0],a.anchors[1])-h,re(e,!0)),ue&&!a.isEnd&&a.frame>De&&(De=a.frame)}for(De=l.max(De,Se()),c=0,u=ae.length;u>c;c++){for(t=ae[c],n=t.keyFrames,s=0,o=n.length;o>s;s++)a=n[s],a.isEnd&&(a.frame=De-a.offset);t.keyFrames.sort(Oe)}},G=function(t,e){for(var i=0,n=ae.length;n>i;i++){var r,s,l=ae[i],c=l.element,u=l.smoothScrolling?t:e,h=l.keyFrames,d=h[0].frame,f=h[h.length-1].frame,y=d>u,_=u>f,b=h[y?0:h.length-1];if(y||_){if(y&&-1===l.edge||_&&1===l.edge)continue;switch(Pe(c,[y?m:v],[m,g,v]),l.edge=y?-1:1,l.edgeStrategy){case"reset":re(c);continue;case"ease":u=b.frame;break;default:case"set":var w=b.props;for(r in w)a.call(w,r)&&(s=ne(w[r].value),o.setStyle(c,r,s));continue}}else 0!==l.edge&&(Pe(c,[p,g],[m,v]),l.edge=0);for(var x=0,T=h.length-1;T>x;x++)if(u>=h[x].frame&&h[x+1].frame>=u){var k=h[x],S=h[x+1];for(r in k.props)if(a.call(k.props,r)){var C=(u-k.frame)/(S.frame-k.frame);C=k.props[r].easing(C),s=ie(k.props[r].value,S.props[r].value,C),s=ne(s),o.setStyle(c,r,s)}break}}},Z=function(){Fe&&(Fe=!1,ke());var t,e,n=oe.getScrollTop(),r=Ie();if(fe)r>=fe.endTime?(n=fe.targetTop,t=fe.done,fe=i):(e=fe.easing((r-fe.startTime)/fe.duration),n=0|fe.startTop+e*fe.topDiff),oe.setScrollTop(n,!0);else if(!ve){var s=ge.targetTop-n;s&&(ge={startTop:Re,topDiff:n-Re,targetTop:n,startTime:Le,endTime:Le+me}),ge.endTime>=r&&(e=Y.sqrt((r-ge.startTime)/me),n=0|ge.startTop+e*ge.topDiff)}if(We&&le&&o.setStyle(le,"transform","translate(0, "+-He+"px) "+_e),ve||Re!==n){Me=n>Re?"down":Re>n?"up":Me,ve=!1;var a={curTop:n,lastTop:Re,maxTop:De,direction:Me},l=ce.beforerender&&ce.beforerender.call(oe,a);l!==!1&&(G(n,oe.getScrollTop()),Re=n,ce.render&&ce.render.call(oe,a)),t&&t.call(oe,!1)}Le=r},K=function(t){for(var e=0,i=t.keyFrames.length;i>e;e++){for(var n,r,s,o,a=t.keyFrames[e],l={};null!==(o=M.exec(a.props));)s=o[1],r=o[2],n=s.match(R),null!==n?(s=n[1],n=n[2]):n=x,r=r.indexOf("!")?J(r):[r.slice(1)],l[s]={value:r,easing:Y[n]};a.props=l}},J=function(t){var e=[];return j.lastIndex=0,t=t.replace(j,function(t){return t.replace(B,function(t){return 100*(t/255)+"%"})}),z&&(W.lastIndex=0,t=t.replace(W,function(t){return z+t})),t=t.replace(B,function(t){return e.push(+t),"{?}"}),e.unshift(t),e},te=function(t){var e,i,n={};for(e=0,i=t.keyFrames.length;i>e;e++)ee(t.keyFrames[e],n);for(n={},e=t.keyFrames.length-1;e>=0;e--)ee(t.keyFrames[e],n)},ee=function(t,e){var i;for(i in e)a.call(t.props,i)||(t.props[i]=e[i]);for(i in t.props)e[i]=t.props[i]},ie=function(t,e,i){var n,r=t.length;if(r!==e.length)throw"Can't interpolate between \""+t[0]+'" and "'+e[0]+'"';var s=[t[0]];for(n=1;r>n;n++)s[n]=t[n]+(e[n]-t[n])*i;return s},ne=function(t){var e=1;return F.lastIndex=0,t[0].replace(F,function(){return t[e++]})},re=function(t,e){t=[].concat(t);for(var i,n,r=0,s=t.length;s>r;r++)n=t[r],i=ae[n[I]],i&&(e?(n.style.cssText=i.dirtyStyleAttr,Pe(n,i.dirtyClassAttr)):(i.dirtyStyleAttr=n.style.cssText,i.dirtyClassAttr=Ce(n),n.style.cssText=i.styleAttr,Pe(n,i.classAttr)))},se=function(){_e="translateZ(0)",o.setStyle(le,"transform",_e);var t=c(le),e=t.getPropertyValue("transform"),i=t.getPropertyValue(z+"transform"),n=e&&"none"!==e||i&&"none"!==i;n||(_e="")};o.setStyle=function(t,e,i){var n=t.style;if(e=e.replace(L,$).replace("-",""),"zIndex"===e)n[e]=isNaN(i)?i:""+(0|i);else if("float"===e)n.styleFloat=n.cssFloat=i;else try{H&&(n[H+e.slice(0,1).toUpperCase()+e.slice(1)]=i),n[e]=i}catch(r){}};var oe,ae,le,ce,ue,he,de,fe,pe,me,ge,ve,ye,_e,be,we=o.addEvent=function(e,i,n){var r=function(e){return e=e||t.event,e.target||(e.target=e.srcElement),e.preventDefault||(e.preventDefault=function(){e.returnValue=!1}),n.call(this,e)};i=i.split(" ");for(var s,o=0,a=i.length;a>o;o++)s=i[o],e.addEventListener?e.addEventListener(s,n,!1):e.attachEvent("on"+s,r),ze.push({element:e,name:s,listener:n})},xe=o.removeEvent=function(t,e,i){e=e.split(" ");for(var n=0,r=e.length;r>n;n++)t.removeEventListener?t.removeEventListener(e[n],i,!1):t.detachEvent("on"+e[n],i)},Te=function(){for(var t,e=0,i=ze.length;i>e;e++)t=ze[e],xe(t.element,t.name,t.listener);ze=[]},ke=function(){var t=oe.getScrollTop();De=0,ue&&!We&&(s.style.height="auto"),V(),ue&&!We&&(s.style.height=De+r.clientHeight+"px"),We?oe.setScrollTop(l.min(oe.getScrollTop(),De)):oe.setScrollTop(t,!0),ve=!0},Se=function(){var t=le&&le.offsetHeight||0,e=l.max(t,s.scrollHeight,s.offsetHeight,r.scrollHeight,r.offsetHeight,r.clientHeight);return e-r.clientHeight},Ce=function(e){var i="className";return t.SVGElement&&e instanceof t.SVGElement&&(e=e[i],i="baseVal"),e[i]},Pe=function(e,n,r){var s="className";if(t.SVGElement&&e instanceof t.SVGElement&&(e=e[s],s="baseVal"),r===i)return e[s]=n,i;for(var o=e[s],a=0,l=r.length;l>a;a++)o=Ae(o).replace(Ae(r[a])," ");o=Ee(o);for(var c=0,u=n.length;u>c;c++)-1===Ae(o).indexOf(Ae(n[c]))&&(o+=" "+n[c]);e[s]=Ee(o)},Ee=function(t){return t.replace(D,"")},Ae=function(t){return" "+t+" "},Ie=Date.now||function(){return+new Date},Oe=function(t,e){return t.frame-e.frame},De=0,Ne=1,Me="down",Re=-1,Le=Ie(),$e=0,Be=0,Fe=!1,je=0,We=!1,He=0,ze=[]}(window,document),function(t,e){function i(e){t.fn.cycle.debug&&n(e)}function n(){window.console&&console.log&&console.log("[cycle] "+Array.prototype.join.call(arguments," "))}function r(e,i,n){var r=t(e).data("cycle.opts"),s=!!e.cyclePause;s&&r.paused?r.paused(e,r,i,n):!s&&r.resumed&&r.resumed(e,r,i,n)}function s(i,s,o){function l(e,i,r){if(!e&&i===!0){var s=t(r).data("cycle.opts");if(!s)return n("options not found, can not resume"),!1;r.cycleTimeout&&(clearTimeout(r.cycleTimeout),r.cycleTimeout=0),d(s.elements,s,1,!s.backwards)}}if(i.cycleStop==e&&(i.cycleStop=0),(s===e||null===s)&&(s={}),s.constructor==String){switch(s){case"destroy":case"stop":var c=t(i).data("cycle.opts");return c?(i.cycleStop++,i.cycleTimeout&&clearTimeout(i.cycleTimeout),i.cycleTimeout=0,c.elements&&t(c.elements).stop(),t(i).removeData("cycle.opts"),"destroy"==s&&a(c),!1):!1; | |
case"toggle":return i.cyclePause=1===i.cyclePause?0:1,l(i.cyclePause,o,i),r(i),!1;case"pause":return i.cyclePause=1,r(i),!1;case"resume":return i.cyclePause=0,l(!1,o,i),r(i),!1;case"prev":case"next":var c=t(i).data("cycle.opts");return c?(t.fn.cycle[s](c),!1):(n('options not found, "prev/next" ignored'),!1);default:s={fx:s}}return s}if(s.constructor==Number){var u=s;return(s=t(i).data("cycle.opts"))?0>u||u>=s.elements.length?(n("invalid slide index: "+u),!1):(s.nextSlide=u,i.cycleTimeout&&(clearTimeout(i.cycleTimeout),i.cycleTimeout=0),"string"==typeof o&&(s.oneTimeFx=o),d(s.elements,s,1,u>=s.currSlide),!1):(n("options not found, can not advance slide"),!1)}return s}function o(e,i){if(!t.support.opacity&&i.cleartype&&e.style.filter)try{e.style.removeAttribute("filter")}catch(n){}}function a(e){e.next&&t(e.next).unbind(e.prevNextEvent),e.prev&&t(e.prev).unbind(e.prevNextEvent),(e.pager||e.pagerAnchorBuilder)&&t.each(e.pagerAnchors||[],function(){this.unbind().remove()}),e.pagerAnchors=null,e.destroy&&e.destroy(e)}function l(i,s,a,l,f){var p,y=t.extend({},t.fn.cycle.defaults,l||{},t.metadata?i.metadata():t.meta?i.data():{}),_=t.isFunction(i.data)?i.data(y.metaAttr):null;_&&(y=t.extend(y,_)),y.autostop&&(y.countdown=y.autostopCount||a.length);var b=i[0];if(i.data("cycle.opts",y),y.$cont=i,y.stopCount=b.cycleStop,y.elements=a,y.before=y.before?[y.before]:[],y.after=y.after?[y.after]:[],!t.support.opacity&&y.cleartype&&y.after.push(function(){o(this,y)}),y.continuous&&y.after.push(function(){d(a,y,0,!y.backwards)}),c(y),t.support.opacity||!y.cleartype||y.cleartypeNoBg||v(s),"static"==i.css("position")&&i.css("position","relative"),y.width&&i.width(y.width),y.height&&"auto"!=y.height&&i.height(y.height),y.startingSlide!=e?(y.startingSlide=parseInt(y.startingSlide,10),y.startingSlide>=a.length||y.startSlide<0?y.startingSlide=0:p=!0):y.startingSlide=y.backwards?a.length-1:0,y.random){y.randomMap=[];for(var w=0;w<a.length;w++)y.randomMap.push(w);if(y.randomMap.sort(function(){return Math.random()-.5}),p)for(var x=0;x<a.length;x++)y.startingSlide==y.randomMap[x]&&(y.randomIndex=x);else y.randomIndex=1,y.startingSlide=y.randomMap[1]}else y.startingSlide>=a.length&&(y.startingSlide=0);y.currSlide=y.startingSlide||0;var T=y.startingSlide;s.css({position:"absolute",top:0,left:0}).hide().each(function(e){var i;i=y.backwards?T?T>=e?a.length+(e-T):T-e:a.length-e:T?e>=T?a.length-(e-T):T-e:a.length-e,t(this).css("z-index",i)}),t(a[T]).css("opacity",1).show(),o(a[T],y),y.fit&&(y.aspect?s.each(function(){var e=t(this),i=y.aspect===!0?e.width()/e.height():y.aspect;y.width&&e.width()!=y.width&&(e.width(y.width),e.height(y.width/i)),y.height&&e.height()<y.height&&(e.height(y.height),e.width(y.height*i))}):(y.width&&s.width(y.width),y.height&&"auto"!=y.height&&s.height(y.height))),!y.center||y.fit&&!y.aspect||s.each(function(){var e=t(this);e.css({"margin-left":y.width?(y.width-e.width())/2+"px":0,"margin-top":y.height?(y.height-e.height())/2+"px":0})}),!y.center||y.fit||y.slideResize||s.each(function(){var e=t(this);e.css({"margin-left":y.width?(y.width-e.width())/2+"px":0,"margin-top":y.height?(y.height-e.height())/2+"px":0})});var k=y.containerResize&&!i.innerHeight();if(k){for(var S=0,C=0,P=0;P<a.length;P++){var E=t(a[P]),A=E[0],I=E.outerWidth(),O=E.outerHeight();I||(I=A.offsetWidth||A.width||E.attr("width")),O||(O=A.offsetHeight||A.height||E.attr("height")),S=I>S?I:S,C=O>C?O:C}S>0&&C>0&&i.css({width:S+"px",height:C+"px"})}var D=!1;if(y.pause&&i.hover(function(){D=!0,this.cyclePause++,r(b,!0)},function(){D&&this.cyclePause--,r(b,!0)}),u(y)===!1)return!1;var N=!1;if(l.requeueAttempts=l.requeueAttempts||0,s.each(function(){var e=t(this);if(this.cycleH=y.fit&&y.height?y.height:e.height()||this.offsetHeight||this.height||e.attr("height")||0,this.cycleW=y.fit&&y.width?y.width:e.width()||this.offsetWidth||this.width||e.attr("width")||0,e.is("img")){var i=t.browser.msie&&28==this.cycleW&&30==this.cycleH&&!this.complete,r=t.browser.mozilla&&34==this.cycleW&&19==this.cycleH&&!this.complete,s=t.browser.opera&&(42==this.cycleW&&19==this.cycleH||37==this.cycleW&&17==this.cycleH)&&!this.complete,o=0==this.cycleH&&0==this.cycleW&&!this.complete;if(i||r||s||o){if(f.s&&y.requeueOnImageNotLoaded&&++l.requeueAttempts<100)return n(l.requeueAttempts," - img slide not loaded, requeuing slideshow: ",this.src,this.cycleW,this.cycleH),setTimeout(function(){t(f.s,f.c).cycle(l)},y.requeueTimeout),N=!0,!1;n("could not determine size of image: "+this.src,this.cycleW,this.cycleH)}}return!0}),N)return!1;if(y.cssBefore=y.cssBefore||{},y.cssAfter=y.cssAfter||{},y.cssFirst=y.cssFirst||{},y.animIn=y.animIn||{},y.animOut=y.animOut||{},s.not(":eq("+T+")").css(y.cssBefore),t(s[T]).css(y.cssFirst),y.timeout){y.timeout=parseInt(y.timeout,10),y.speed.constructor==String&&(y.speed=t.fx.speeds[y.speed]||parseInt(y.speed,10)),y.sync||(y.speed=y.speed/2);for(var M="none"==y.fx?0:"shuffle"==y.fx?500:250;y.timeout-y.speed<M;)y.timeout+=y.speed}if(y.easing&&(y.easeIn=y.easeOut=y.easing),y.speedIn||(y.speedIn=y.speed),y.speedOut||(y.speedOut=y.speed),y.slideCount=a.length,y.currSlide=y.lastSlide=T,y.random?(++y.randomIndex==a.length&&(y.randomIndex=0),y.nextSlide=y.randomMap[y.randomIndex]):y.nextSlide=y.backwards?0==y.startingSlide?a.length-1:y.startingSlide-1:y.startingSlide>=a.length-1?0:y.startingSlide+1,!y.multiFx){var R=t.fn.cycle.transitions[y.fx];if(t.isFunction(R))R(i,s,y);else if("custom"!=y.fx&&!y.multiFx)return n("unknown transition: "+y.fx,"; slideshow terminating"),!1}var L=s[T];return y.skipInitializationCallbacks||(y.before.length&&y.before[0].apply(L,[L,L,y,!0]),y.after.length&&y.after[0].apply(L,[L,L,y,!0])),y.next&&t(y.next).bind(y.prevNextEvent,function(){return m(y,1)}),y.prev&&t(y.prev).bind(y.prevNextEvent,function(){return m(y,0)}),(y.pager||y.pagerAnchorBuilder)&&g(a,y),h(y,a),y}function c(e){e.original={before:[],after:[]},e.original.cssBefore=t.extend({},e.cssBefore),e.original.cssAfter=t.extend({},e.cssAfter),e.original.animIn=t.extend({},e.animIn),e.original.animOut=t.extend({},e.animOut),t.each(e.before,function(){e.original.before.push(this)}),t.each(e.after,function(){e.original.after.push(this)})}function u(e){var r,s,o=t.fn.cycle.transitions;if(e.fx.indexOf(",")>0){for(e.multiFx=!0,e.fxs=e.fx.replace(/\s*/g,"").split(","),r=0;r<e.fxs.length;r++){var a=e.fxs[r];s=o[a],s&&o.hasOwnProperty(a)&&t.isFunction(s)||(n("discarding unknown transition: ",a),e.fxs.splice(r,1),r--)}if(!e.fxs.length)return n("No valid transitions named; slideshow terminating."),!1}else if("all"==e.fx){e.multiFx=!0,e.fxs=[];for(p in o)s=o[p],o.hasOwnProperty(p)&&t.isFunction(s)&&e.fxs.push(p)}if(e.multiFx&&e.randomizeEffects){var l=Math.floor(20*Math.random())+30;for(r=0;l>r;r++){var c=Math.floor(Math.random()*e.fxs.length);e.fxs.push(e.fxs.splice(c,1)[0])}i("randomized fx sequence: ",e.fxs)}return!0}function h(e,i){e.addSlide=function(n,r){var s=t(n),o=s[0];e.autostopCount||e.countdown++,i[r?"unshift":"push"](o),e.els&&e.els[r?"unshift":"push"](o),e.slideCount=i.length,e.random&&(e.randomMap.push(e.slideCount-1),e.randomMap.sort(function(){return Math.random()-.5})),s.css("position","absolute"),s[r?"prependTo":"appendTo"](e.$cont),r&&(e.currSlide++,e.nextSlide++),t.support.opacity||!e.cleartype||e.cleartypeNoBg||v(s),e.fit&&e.width&&s.width(e.width),e.fit&&e.height&&"auto"!=e.height&&s.height(e.height),o.cycleH=e.fit&&e.height?e.height:s.height(),o.cycleW=e.fit&&e.width?e.width:s.width(),s.css(e.cssBefore),(e.pager||e.pagerAnchorBuilder)&&t.fn.cycle.createPagerAnchor(i.length-1,o,t(e.pager),i,e),t.isFunction(e.onAddSlide)?e.onAddSlide(s):s.hide()}}function d(n,r,s,o){function a(){{var t=0;r.timeout}r.timeout&&!r.continuous?(t=f(n[r.currSlide],n[r.nextSlide],r,o),"shuffle"==r.fx&&(t-=r.speedOut)):r.continuous&&l.cyclePause&&(t=10),t>0&&(l.cycleTimeout=setTimeout(function(){d(n,r,0,!r.backwards)},t))}if(s&&r.busy&&r.manualTrump&&(i("manualTrump in go(), stopping active transition"),t(n).stop(!0,!0),r.busy=0),r.busy)return void i("transition active, ignoring new tx request");var l=r.$cont[0],c=n[r.currSlide],u=n[r.nextSlide];if(l.cycleStop==r.stopCount&&(0!==l.cycleTimeout||s)){if(!s&&!l.cyclePause&&!r.bounce&&(r.autostop&&--r.countdown<=0||r.nowrap&&!r.random&&r.nextSlide<r.currSlide))return void(r.end&&r.end(r));var h=!1;if(!s&&l.cyclePause||r.nextSlide==r.currSlide)a();else{h=!0;var p=r.fx;c.cycleH=c.cycleH||t(c).height(),c.cycleW=c.cycleW||t(c).width(),u.cycleH=u.cycleH||t(u).height(),u.cycleW=u.cycleW||t(u).width(),r.multiFx&&(o&&(r.lastFx==e||++r.lastFx>=r.fxs.length)?r.lastFx=0:!o&&(r.lastFx==e||--r.lastFx<0)&&(r.lastFx=r.fxs.length-1),p=r.fxs[r.lastFx]),r.oneTimeFx&&(p=r.oneTimeFx,r.oneTimeFx=null),t.fn.cycle.resetState(r,p),r.before.length&&t.each(r.before,function(t,e){l.cycleStop==r.stopCount&&e.apply(u,[c,u,r,o])});var m=function(){r.busy=0,t.each(r.after,function(t,e){l.cycleStop==r.stopCount&&e.apply(u,[c,u,r,o])}),l.cycleStop||a()};i("tx firing("+p+"); currSlide: "+r.currSlide+"; nextSlide: "+r.nextSlide),r.busy=1,r.fxFn?r.fxFn(c,u,r,m,o,s&&r.fastOnEvent):t.isFunction(t.fn.cycle[r.fx])?t.fn.cycle[r.fx](c,u,r,m,o,s&&r.fastOnEvent):t.fn.cycle.custom(c,u,r,m,o,s&&r.fastOnEvent)}if(h||r.nextSlide==r.currSlide)if(r.lastSlide=r.currSlide,r.random)r.currSlide=r.nextSlide,++r.randomIndex==n.length&&(r.randomIndex=0,r.randomMap.sort(function(){return Math.random()-.5})),r.nextSlide=r.randomMap[r.randomIndex],r.nextSlide==r.currSlide&&(r.nextSlide=r.currSlide==r.slideCount-1?0:r.currSlide+1);else if(r.backwards){var g=r.nextSlide-1<0;g&&r.bounce?(r.backwards=!r.backwards,r.nextSlide=1,r.currSlide=0):(r.nextSlide=g?n.length-1:r.nextSlide-1,r.currSlide=g?0:r.nextSlide+1)}else{var g=r.nextSlide+1==n.length;g&&r.bounce?(r.backwards=!r.backwards,r.nextSlide=n.length-2,r.currSlide=n.length-1):(r.nextSlide=g?0:r.nextSlide+1,r.currSlide=g?n.length-1:r.nextSlide-1)}h&&r.pager&&r.updateActivePagerLink(r.pager,r.currSlide,r.activePagerClass)}}function f(t,e,n,r){if(n.timeoutFn){for(var s=n.timeoutFn.call(t,t,e,n,r);"none"!=n.fx&&s-n.speed<250;)s+=n.speed;if(i("calculated timeout: "+s+"; speed: "+n.speed),s!==!1)return s}return n.timeout}function m(e,i){var n=i?1:-1,r=e.elements,s=e.$cont[0],o=s.cycleTimeout;if(o&&(clearTimeout(o),s.cycleTimeout=0),e.random&&0>n)e.randomIndex--,-2==--e.randomIndex?e.randomIndex=r.length-2:-1==e.randomIndex&&(e.randomIndex=r.length-1),e.nextSlide=e.randomMap[e.randomIndex];else if(e.random)e.nextSlide=e.randomMap[e.randomIndex];else if(e.nextSlide=e.currSlide+n,e.nextSlide<0){if(e.nowrap)return!1;e.nextSlide=r.length-1}else if(e.nextSlide>=r.length){if(e.nowrap)return!1;e.nextSlide=0}var a=e.onPrevNextEvent||e.prevNextClick;return t.isFunction(a)&&a(n>0,e.nextSlide,r[e.nextSlide]),d(r,e,1,i),!1}function g(e,i){var n=t(i.pager);t.each(e,function(r,s){t.fn.cycle.createPagerAnchor(r,s,n,e,i)}),i.updateActivePagerLink(i.pager,i.startingSlide,i.activePagerClass)}function v(e){function n(t){return t=parseInt(t,10).toString(16),t.length<2?"0"+t:t}function r(e){for(;e&&"html"!=e.nodeName.toLowerCase();e=e.parentNode){var i=t.css(e,"background-color");if(i&&i.indexOf("rgb")>=0){var r=i.match(/\d+/g);return"#"+n(r[0])+n(r[1])+n(r[2])}if(i&&"transparent"!=i)return i}return"#ffffff"}i("applying clearType background-color hack"),e.each(function(){t(this).css("background-color",r(this))})}var y="2.9998";t.support==e&&(t.support={opacity:!t.browser.msie}),t.expr[":"].paused=function(t){return t.cyclePause},t.fn.cycle=function(e,r){var o={s:this.selector,c:this.context};return 0===this.length&&"stop"!=e?!t.isReady&&o.s?(n("DOM not ready, queuing slideshow"),t(function(){t(o.s,o.c).cycle(e,r)}),this):(n("terminating; zero elements found by selector"+(t.isReady?"":" (DOM not ready)")),this):this.each(function(){var a=s(this,e,r);if(a!==!1){a.updateActivePagerLink=a.updateActivePagerLink||t.fn.cycle.updateActivePagerLink,this.cycleTimeout&&clearTimeout(this.cycleTimeout),this.cycleTimeout=this.cyclePause=0;var c=t(this),u=a.slideExpr?t(a.slideExpr,this):c.children(),h=u.get(),p=l(c,u,h,a,o);if(p!==!1){if(h.length<2)return void n("terminating; too few slides: "+h.length);var m=p.continuous?10:f(h[p.currSlide],h[p.nextSlide],p,!p.backwards);m&&(m+=p.delay||0,10>m&&(m=10),i("first timeout: "+m),this.cycleTimeout=setTimeout(function(){d(h,p,0,!a.backwards)},m))}}})},t.fn.cycle.resetState=function(e,i){i=i||e.fx,e.before=[],e.after=[],e.cssBefore=t.extend({},e.original.cssBefore),e.cssAfter=t.extend({},e.original.cssAfter),e.animIn=t.extend({},e.original.animIn),e.animOut=t.extend({},e.original.animOut),e.fxFn=null,t.each(e.original.before,function(){e.before.push(this)}),t.each(e.original.after,function(){e.after.push(this)});var n=t.fn.cycle.transitions[i];t.isFunction(n)&&n(e.$cont,t(e.elements),e)},t.fn.cycle.updateActivePagerLink=function(e,i,n){t(e).each(function(){t(this).children().removeClass(n).eq(i).addClass(n)})},t.fn.cycle.next=function(t){m(t,1)},t.fn.cycle.prev=function(t){m(t,0)},t.fn.cycle.createPagerAnchor=function(e,n,s,o,a){var l;if(t.isFunction(a.pagerAnchorBuilder)?(l=a.pagerAnchorBuilder(e,n),i("pagerAnchorBuilder("+e+", el) returned: "+l)):l='<a href="#">'+(e+1)+"</a>",l){var c=t(l);if(0===c.parents("body").length){var u=[];s.length>1?(s.each(function(){var e=c.clone(!0);t(this).append(e),u.push(e[0])}),c=t(u)):c.appendTo(s)}a.pagerAnchors=a.pagerAnchors||[],a.pagerAnchors.push(c);var h=function(i){i.preventDefault(),a.nextSlide=e;var n=a.$cont[0],r=n.cycleTimeout;r&&(clearTimeout(r),n.cycleTimeout=0);var s=a.onPagerEvent||a.pagerClick;t.isFunction(s)&&s(a.nextSlide,o[a.nextSlide]),d(o,a,1,a.currSlide<e)};/mouseenter|mouseover/i.test(a.pagerEvent)?c.hover(h,function(){}):c.bind(a.pagerEvent,h),/^click/.test(a.pagerEvent)||a.allowPagerClickBubble||c.bind("click.cycle",function(){return!1});var f=a.$cont[0],p=!1;a.pauseOnPagerHover&&c.hover(function(){p=!0,f.cyclePause++,r(f,!0,!0)},function(){p&&f.cyclePause--,r(f,!0,!0)})}},t.fn.cycle.hopsFromLast=function(t,e){var i,n=t.lastSlide,r=t.currSlide;return i=e?r>n?r-n:t.slideCount-n:n>r?n-r:n+t.slideCount-r},t.fn.cycle.commonReset=function(e,i,n,r,s,o){t(n.elements).not(e).hide(),"undefined"==typeof n.cssBefore.opacity&&(n.cssBefore.opacity=1),n.cssBefore.display="block",n.slideResize&&r!==!1&&i.cycleW>0&&(n.cssBefore.width=i.cycleW),n.slideResize&&s!==!1&&i.cycleH>0&&(n.cssBefore.height=i.cycleH),n.cssAfter=n.cssAfter||{},n.cssAfter.display="none",t(e).css("zIndex",n.slideCount+(o===!0?1:0)),t(i).css("zIndex",n.slideCount+(o===!0?0:1))},t.fn.cycle.custom=function(e,i,n,r,s,o){var a=t(e),l=t(i),c=n.speedIn,u=n.speedOut,h=n.easeIn,d=n.easeOut;l.css(n.cssBefore),o&&(c=u="number"==typeof o?o:1,h=d=null);var f=function(){l.animate(n.animIn,c,h,function(){r()})};a.animate(n.animOut,u,d,function(){a.css(n.cssAfter),n.sync||f()}),n.sync&&f()},t.fn.cycle.transitions={fade:function(e,i,n){i.not(":eq("+n.currSlide+")").css("opacity",0),n.before.push(function(e,i,n){t.fn.cycle.commonReset(e,i,n),n.cssBefore.opacity=0}),n.animIn={opacity:1},n.animOut={opacity:0},n.cssBefore={top:0,left:0}}},t.fn.cycle.ver=function(){return y},t.fn.cycle.defaults={activePagerClass:"activeSlide",after:null,allowPagerClickBubble:!1,animIn:null,animOut:null,aspect:!1,autostop:0,autostopCount:0,backwards:!1,before:null,center:null,cleartype:!t.support.opacity,cleartypeNoBg:!1,containerResize:1,continuous:0,cssAfter:null,cssBefore:null,delay:0,easeIn:null,easeOut:null,easing:null,end:null,fastOnEvent:0,fit:0,fx:"fade",fxFn:null,height:"auto",manualTrump:!0,metaAttr:"cycle",next:null,nowrap:0,onPagerEvent:null,onPrevNextEvent:null,pager:null,pagerAnchorBuilder:null,pagerEvent:"click.cycle",pause:0,pauseOnPagerHover:0,prev:null,prevNextEvent:"click.cycle",random:0,randomizeEffects:1,requeueOnImageNotLoaded:!0,requeueTimeout:250,rev:0,shuffle:null,skipInitializationCallbacks:!1,slideExpr:null,slideResize:1,speed:1e3,speedIn:null,speedOut:null,startingSlide:0,sync:1,timeout:4e3,timeoutFn:null,updateActivePagerLink:null,width:null}}(jQuery),function(t){t.fn.cycle.transitions.none=function(e,i,n){n.fxFn=function(e,i,n,r){t(i).show(),t(e).hide(),r()}},t.fn.cycle.transitions.fadeout=function(e,i,n){i.not(":eq("+n.currSlide+")").css({display:"block",opacity:1}),n.before.push(function(e,i,n,r,s,o){t(e).css("zIndex",n.slideCount+(!o==!0?1:0)),t(i).css("zIndex",n.slideCount+(!o==!0?0:1))}),n.animIn.opacity=1,n.animOut.opacity=0,n.cssBefore.opacity=1,n.cssBefore.display="block",n.cssAfter.zIndex=0},t.fn.cycle.transitions.scrollUp=function(e,i,n){e.css("overflow","hidden"),n.before.push(t.fn.cycle.commonReset);var r=e.height();n.cssBefore.top=r,n.cssBefore.left=0,n.cssFirst.top=0,n.animIn.top=0,n.animOut.top=-r},t.fn.cycle.transitions.scrollDown=function(e,i,n){e.css("overflow","hidden"),n.before.push(t.fn.cycle.commonReset);var r=e.height();n.cssFirst.top=0,n.cssBefore.top=-r,n.cssBefore.left=0,n.animIn.top=0,n.animOut.top=r},t.fn.cycle.transitions.scrollLeft=function(e,i,n){e.css("overflow","hidden"),n.before.push(t.fn.cycle.commonReset);var r=e.width();n.cssFirst.left=0,n.cssBefore.left=r,n.cssBefore.top=0,n.animIn.left=0,n.animOut.left=0-r},t.fn.cycle.transitions.scrollRight=function(e,i,n){e.css("overflow","hidden"),n.before.push(t.fn.cycle.commonReset);var r=e.width();n.cssFirst.left=0,n.cssBefore.left=-r,n.cssBefore.top=0,n.animIn.left=0,n.animOut.left=r},t.fn.cycle.transitions.scrollHorz=function(e,i,n){e.css("overflow","hidden").width(),n.before.push(function(e,i,n,r){n.rev&&(r=!r),t.fn.cycle.commonReset(e,i,n),n.cssBefore.left=r?i.cycleW-1:1-i.cycleW,n.animOut.left=r?-e.cycleW:e.cycleW}),n.cssFirst.left=0,n.cssBefore.top=0,n.animIn.left=0,n.animOut.top=0},t.fn.cycle.transitions.scrollVert=function(e,i,n){e.css("overflow","hidden"),n.before.push(function(e,i,n,r){n.rev&&(r=!r),t.fn.cycle.commonReset(e,i,n),n.cssBefore.top=r?1-i.cycleH:i.cycleH-1,n.animOut.top=r?e.cycleH:-e.cycleH}),n.cssFirst.top=0,n.cssBefore.left=0,n.animIn.top=0,n.animOut.left=0},t.fn.cycle.transitions.slideX=function(e,i,n){n.before.push(function(e,i,n){t(n.elements).not(e).hide(),t.fn.cycle.commonReset(e,i,n,!1,!0),n.animIn.width=i.cycleW}),n.cssBefore.left=0,n.cssBefore.top=0,n.cssBefore.width=0,n.animIn.width="show",n.animOut.width=0},t.fn.cycle.transitions.slideY=function(e,i,n){n.before.push(function(e,i,n){t(n.elements).not(e).hide(),t.fn.cycle.commonReset(e,i,n,!0,!1),n.animIn.height=i.cycleH}),n.cssBefore.left=0,n.cssBefore.top=0,n.cssBefore.height=0,n.animIn.height="show",n.animOut.height=0},t.fn.cycle.transitions.shuffle=function(e,i,n){var r,s=e.css("overflow","visible").width();for(i.css({left:0,top:0}),n.before.push(function(e,i,n){t.fn.cycle.commonReset(e,i,n,!0,!0,!0)}),n.speedAdjusted||(n.speed=n.speed/2,n.speedAdjusted=!0),n.random=0,n.shuffle=n.shuffle||{left:-s,top:15},n.els=[],r=0;r<i.length;r++)n.els.push(i[r]);for(r=0;r<n.currSlide;r++)n.els.push(n.els.shift());n.fxFn=function(e,i,n,r,s){n.rev&&(s=!s);var o=t(s?e:i);t(i).css(n.cssBefore);var a=n.slideCount;o.animate(n.shuffle,n.speedIn,n.easeIn,function(){for(var i=t.fn.cycle.hopsFromLast(n,s),l=0;i>l;l++)s?n.els.push(n.els.shift()):n.els.unshift(n.els.pop());if(s)for(var c=0,u=n.els.length;u>c;c++)t(n.els[c]).css("z-index",u-c+a);else{var h=t(e).css("z-index");o.css("z-index",parseInt(h,10)+1+a)}o.animate({left:0,top:0},n.speedOut,n.easeOut,function(){t(s?this:e).hide(),r&&r()})})},t.extend(n.cssBefore,{display:"block",opacity:1,top:0,left:0})},t.fn.cycle.transitions.turnUp=function(e,i,n){n.before.push(function(e,i,n){t.fn.cycle.commonReset(e,i,n,!0,!1),n.cssBefore.top=i.cycleH,n.animIn.height=i.cycleH,n.animOut.width=i.cycleW}),n.cssFirst.top=0,n.cssBefore.left=0,n.cssBefore.height=0,n.animIn.top=0,n.animOut.height=0},t.fn.cycle.transitions.turnDown=function(e,i,n){n.before.push(function(e,i,n){t.fn.cycle.commonReset(e,i,n,!0,!1),n.animIn.height=i.cycleH,n.animOut.top=e.cycleH}),n.cssFirst.top=0,n.cssBefore.left=0,n.cssBefore.top=0,n.cssBefore.height=0,n.animOut.height=0},t.fn.cycle.transitions.turnLeft=function(e,i,n){n.before.push(function(e,i,n){t.fn.cycle.commonReset(e,i,n,!1,!0),n.cssBefore.left=i.cycleW,n.animIn.width=i.cycleW}),n.cssBefore.top=0,n.cssBefore.width=0,n.animIn.left=0,n.animOut.width=0},t.fn.cycle.transitions.turnRight=function(e,i,n){n.before.push(function(e,i,n){t.fn.cycle.commonReset(e,i,n,!1,!0),n.animIn.width=i.cycleW,n.animOut.left=e.cycleW}),t.extend(n.cssBefore,{top:0,left:0,width:0}),n.animIn.left=0,n.animOut.width=0},t.fn.cycle.transitions.zoom=function(e,i,n){n.before.push(function(e,i,n){t.fn.cycle.commonReset(e,i,n,!1,!1,!0),n.cssBefore.top=i.cycleH/2,n.cssBefore.left=i.cycleW/2,t.extend(n.animIn,{top:0,left:0,width:i.cycleW,height:i.cycleH}),t.extend(n.animOut,{width:0,height:0,top:e.cycleH/2,left:e.cycleW/2})}),n.cssFirst.top=0,n.cssFirst.left=0,n.cssBefore.width=0,n.cssBefore.height=0},t.fn.cycle.transitions.fadeZoom=function(e,i,n){n.before.push(function(e,i,n){t.fn.cycle.commonReset(e,i,n,!1,!1),n.cssBefore.left=i.cycleW/2,n.cssBefore.top=i.cycleH/2,t.extend(n.animIn,{top:0,left:0,width:i.cycleW,height:i.cycleH})}),n.cssBefore.width=0,n.cssBefore.height=0,n.animOut.opacity=0},t.fn.cycle.transitions.blindX=function(e,i,n){var r=e.css("overflow","hidden").width();n.before.push(function(e,i,n){t.fn.cycle.commonReset(e,i,n),n.animIn.width=i.cycleW,n.animOut.left=e.cycleW}),n.cssBefore.left=r,n.cssBefore.top=0,n.animIn.left=0,n.animOut.left=r},t.fn.cycle.transitions.blindY=function(e,i,n){var r=e.css("overflow","hidden").height();n.before.push(function(e,i,n){t.fn.cycle.commonReset(e,i,n),n.animIn.height=i.cycleH,n.animOut.top=e.cycleH}),n.cssBefore.top=r,n.cssBefore.left=0,n.animIn.top=0,n.animOut.top=r},t.fn.cycle.transitions.blindZ=function(e,i,n){var r=e.css("overflow","hidden").height(),s=e.width();n.before.push(function(e,i,n){t.fn.cycle.commonReset(e,i,n),n.animIn.height=i.cycleH,n.animOut.top=e.cycleH}),n.cssBefore.top=r,n.cssBefore.left=s,n.animIn.top=0,n.animIn.left=0,n.animOut.top=r,n.animOut.left=s},t.fn.cycle.transitions.growX=function(e,i,n){n.before.push(function(e,i,n){t.fn.cycle.commonReset(e,i,n,!1,!0),n.cssBefore.left=this.cycleW/2,n.animIn.left=0,n.animIn.width=this.cycleW,n.animOut.left=0}),n.cssBefore.top=0,n.cssBefore.width=0},t.fn.cycle.transitions.growY=function(e,i,n){n.before.push(function(e,i,n){t.fn.cycle.commonReset(e,i,n,!0,!1),n.cssBefore.top=this.cycleH/2,n.animIn.top=0,n.animIn.height=this.cycleH,n.animOut.top=0}),n.cssBefore.height=0,n.cssBefore.left=0},t.fn.cycle.transitions.curtainX=function(e,i,n){n.before.push(function(e,i,n){t.fn.cycle.commonReset(e,i,n,!1,!0,!0),n.cssBefore.left=i.cycleW/2,n.animIn.left=0,n.animIn.width=this.cycleW,n.animOut.left=e.cycleW/2,n.animOut.width=0}),n.cssBefore.top=0,n.cssBefore.width=0},t.fn.cycle.transitions.curtainY=function(e,i,n){n.before.push(function(e,i,n){t.fn.cycle.commonReset(e,i,n,!0,!1,!0),n.cssBefore.top=i.cycleH/2,n.animIn.top=0,n.animIn.height=i.cycleH,n.animOut.top=e.cycleH/2,n.animOut.height=0}),n.cssBefore.height=0,n.cssBefore.left=0},t.fn.cycle.transitions.cover=function(e,i,n){var r=n.direction||"left",s=e.css("overflow","hidden").width(),o=e.height();n.before.push(function(e,i,n){t.fn.cycle.commonReset(e,i,n),"right"==r?n.cssBefore.left=-s:"up"==r?n.cssBefore.top=o:"down"==r?n.cssBefore.top=-o:n.cssBefore.left=s}),n.animIn.left=0,n.animIn.top=0,n.cssBefore.top=0,n.cssBefore.left=0},t.fn.cycle.transitions.uncover=function(e,i,n){var r=n.direction||"left",s=e.css("overflow","hidden").width(),o=e.height();n.before.push(function(e,i,n){t.fn.cycle.commonReset(e,i,n,!0,!0,!0),"right"==r?n.animOut.left=s:"up"==r?n.animOut.top=-o:"down"==r?n.animOut.top=o:n.animOut.left=-s}),n.animIn.left=0,n.animIn.top=0,n.cssBefore.top=0,n.cssBefore.left=0},t.fn.cycle.transitions.toss=function(e,i,n){var r=e.css("overflow","visible").width(),s=e.height();n.before.push(function(e,i,n){t.fn.cycle.commonReset(e,i,n,!0,!0,!0),n.animOut.left||n.animOut.top?n.animOut.opacity=0:t.extend(n.animOut,{left:2*r,top:-s/2,opacity:0})}),n.cssBefore.left=0,n.cssBefore.top=0,n.animIn.left=0},t.fn.cycle.transitions.wipe=function(e,i,n){var r=e.css("overflow","hidden").width(),s=e.height();n.cssBefore=n.cssBefore||{};var o;if(n.clip)if(/l2r/.test(n.clip))o="rect(0px 0px "+s+"px 0px)";else if(/r2l/.test(n.clip))o="rect(0px "+r+"px "+s+"px "+r+"px)";else if(/t2b/.test(n.clip))o="rect(0px "+r+"px 0px 0px)";else if(/b2t/.test(n.clip))o="rect("+s+"px "+r+"px "+s+"px 0px)";else if(/zoom/.test(n.clip)){var a=parseInt(s/2,10),l=parseInt(r/2,10);o="rect("+a+"px "+l+"px "+a+"px "+l+"px)"}n.cssBefore.clip=n.cssBefore.clip||o||"rect(0px 0px 0px 0px)";var c=n.cssBefore.clip.match(/(\d+)/g),u=parseInt(c[0],10),h=parseInt(c[1],10),d=parseInt(c[2],10),f=parseInt(c[3],10);n.before.push(function(e,i,n){if(e!=i){var o=t(e),a=t(i);t.fn.cycle.commonReset(e,i,n,!0,!0,!1),n.cssAfter.display="block";var l=1,c=parseInt(n.speedIn/13,10)-1;!function p(){var t=u?u-parseInt(l*(u/c),10):0,e=f?f-parseInt(l*(f/c),10):0,i=s>d?d+parseInt(l*((s-d)/c||1),10):s,n=r>h?h+parseInt(l*((r-h)/c||1),10):r;a.css({clip:"rect("+t+"px "+n+"px "+i+"px "+e+"px)"}),l++<=c?setTimeout(p,13):o.css("display","none")}()}}),t.extend(n.cssBefore,{display:"block",opacity:1,top:0,left:0}),n.animIn={left:0},n.animOut={left:0}}}(jQuery),function(t){"use strict";function e(t){return new RegExp("(^|\\s+)"+t+"(\\s+|$)")}function i(t,e){var i=n(t,e)?s:r;i(t,e)}var n,r,s;"classList"in document.documentElement?(n=function(t,e){return t.classList.contains(e)},r=function(t,e){t.classList.add(e)},s=function(t,e){t.classList.remove(e)}):(n=function(t,i){return e(i).test(t.className)},r=function(t,e){n(t,e)||(t.className=t.className+" "+e)},s=function(t,i){t.className=t.className.replace(e(i)," ")});var o={hasClass:n,addClass:r,removeClass:s,toggleClass:i,has:n,add:r,remove:s,toggle:i};"function"==typeof define&&define.amd?define(o):t.classie=o}(window);var SidebarMenuEffects=function(){function t(e,i){return e===document?!1:classie.has(e,i)?!0:e.parentNode&&t(e.parentNode,i)}function e(){var t=!1;return function(e){(/(android|ipad|playbook|silk|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0,4)))&&(t=!0)}(navigator.userAgent||navigator.vendor||window.opera),t}function i(){var i=document.getElementById("st-container"),n=Array.prototype.slice.call(document.querySelectorAll(".panel-trigger")),r=e()?"touchstart":"click",s=function(){classie.remove(i,"st-menu-open")},o=function(e){t(e.target,"st-menu")||(s(),document.removeEventListener(r,o))};n.forEach(function(t){var e=t.getAttribute("data-effect");t.addEventListener(r,function(t){t.stopPropagation(),t.preventDefault(),i.className="st-container",classie.add(i,e),setTimeout(function(){classie.add(i,"st-menu-open")},25),document.addEventListener(r,o)})})}i()}();!function(t){"use strict";t.fn.maximage=function(e){function i(t){window.console&&window.console.log&&window.console.log(t)}var n;("object"==typeof e||void 0===e)&&(n=t.extend(t.fn.maximage.defaults,e||{})),"string"==typeof e&&(n=t.fn.maximage.defaults),t.Body=t("body"),t.Window=t(window),t.Scroll=t("html, body"),t.Events={RESIZE:"resize"},this.each(function(){var r=t(this),s=0,o=[],a={setup:function(){if(t.Slides.length>0){var e,i=t.Slides.length;for(e=0;i>e;e++){var n=t.Slides[e];r.append('<div class="mc-image '+n.theclass+'" title="'+n.alt+'" style="background-image:url(\''+n.url+"');"+n.style+'" data-href="'+n.datahref+'">'+n.content+"</div>")}a.preload(0),a.resize()}},preload:function(e){var i=t("<img/>");i.load(function(){0==s&&(c.setup(),n.onFirstImageLoaded()),s==t.Slides.length-1?n.onImagesLoaded(r):(s++,a.preload(s))}),i[0].src=t.Slides[e].url,o.push(i[0])},resize:function(){t.Window.bind(t.Events.RESIZE,function(){t.Scroll.addClass("mc-hide-scrolls"),t.Window.data("h",h.sizes().h).data("w",h.sizes().w),r.height(t.Window.data("h")).width(t.Window.data("w")).children().height(t.Window.data("h")).width(t.Window.data("w")),r.children().each(function(){this.cycleH=t.Window.data("h"),this.cycleW=t.Window.data("w")}),t(t.Scroll).removeClass("mc-hide-scrolls")})}},l={setup:function(){var e,i,s,o=t.Slides.length;if(t.BrowserTests.msie&&!n.overrideMSIEStop&&document.execCommand("Stop",!1),r.html(""),t.Body.addClass("mc-old-browser"),t.Slides.length>0){for(t.Scroll.addClass("mc-hide-scrolls"),t.Window.data("h",h.sizes().h).data("w",h.sizes().w),t("body").append(t("<div></div>").attr("class","mc-loader").css({position:"absolute",left:"-9999px"})),s=0;o>s;s++)e=0==t.Slides[s].content.length?'<img src="'+t.Slides[s].url+'" />':t.Slides[s].content,i=t("<div>"+e+"</div>").attr("class","mc-image mc-image-n"+s+" "+t.Slides[s].theclass),r.append(i),0==t(".mc-image-n"+s).children("img").length||t("div.mc-loader").append(t(".mc-image-n"+s).children("img").first().clone().addClass("not-loaded"));l.preload(),l.windowResize()}},preload:function(){var e=setInterval(function(){t(".mc-loader").children("img").each(function(e){var i=t(this);if(i.hasClass("not-loaded")&&i.height()>0){t(this).removeClass("not-loaded");var n=t("div.mc-image-n"+e).children("img").first();n.data("h",i.height()).data("w",i.width()).data("ar",i.width()/i.height()),l.onceLoaded(e)}}),0==t(".not-loaded").length&&(t(".mc-loader").remove(),clearInterval(e))},1e3)},onceLoaded:function(e){l.maximage(e),0==e?(r.css({visibility:"visible"}),n.onFirstImageLoaded()):e==t.Slides.length-1&&(c.setup(),t(t.Scroll).removeClass("mc-hide-scrolls"),n.onImagesLoaded(r),n.debug&&(i(" - Final Maximage - "),i(r)))},maximage:function(e){t("div.mc-image-n"+e).height(t.Window.data("h")).width(t.Window.data("w")).children("img").first().each(function(){u.maxcover(t(this))})},windowResize:function(){t.Window.bind(t.Events.RESIZE,function(){clearTimeout(this.id),t(".mc-image").length>=1&&(this.id=setTimeout(l.doneResizing,200))})},doneResizing:function(){t(t.Scroll).addClass("mc-hide-scrolls"),t.Window.data("h",h.sizes().h).data("w",h.sizes().w),r.height(t.Window.data("h")).width(t.Window.data("w")),r.find(".mc-image").each(function(t){l.maximage(t)});var e=r.data("cycle.opts");void 0!=e&&(e.height=t.Window.data("h"),e.width=t.Window.data("w"),jQuery.each(e.elements,function(e,i){i.cycleW=t.Window.data("w"),i.cycleH=t.Window.data("h")})),t(t.Scroll).removeClass("mc-hide-scrolls")}},c={setup:function(){r.addClass("mc-cycle"),t.Window.data("h",h.sizes().h).data("w",h.sizes().w),jQuery.easing.easeForCSSTransition=function(t,e,i,n){return i+n};var e=t.extend({fit:1,containerResize:0,height:t.Window.data("h"),width:t.Window.data("w"),slideResize:!1,easing:t.BrowserTests.cssTransitions&&n.cssTransitions?"easeForCSSTransition":"swing"},n.cycleOptions);r.cycle(e)}},u={center:function(e){n.verticalCenter&&e.css({marginTop:(e.height()-t.Window.data("h"))/2*-1}),n.horizontalCenter&&e.css({marginLeft:(e.width()-t.Window.data("w"))/2*-1})},fill:function(e){var r=e.is("object")?e.parent().first():e;"function"==typeof n.backgroundSize?n.backgroundSize(e):"cover"==n.backgroundSize?t.Window.data("w")/t.Window.data("h")<r.data("ar")?e.height(t.Window.data("h")).width((t.Window.data("h")*r.data("ar")).toFixed(0)):e.height((t.Window.data("w")/r.data("ar")).toFixed(0)).width(t.Window.data("w")):"contain"==n.backgroundSize?t.Window.data("w")/t.Window.data("h")<r.data("ar")?e.height((t.Window.data("w")/r.data("ar")).toFixed(0)).width(t.Window.data("w")):e.height(t.Window.data("h")).width((t.Window.data("h")*r.data("ar")).toFixed(0)):i("The backgroundSize option was not recognized for older browsers.") | |
},maxcover:function(t){u.fill(t),u.center(t)},maxcontain:function(t){u.fill(t),u.center(t)}},h={browser_tests:function(){var e=t("<div />")[0],r=["Moz","Webkit","Khtml","O","ms"],s="transition",o={cssTransitions:!1,cssBackgroundSize:"backgroundSize"in e.style&&n.cssBackgroundSize,html5Video:!1,msie:!1};if(n.cssTransitions){"string"==typeof e.style[s]&&(o.cssTransitions=!0),s=s.charAt(0).toUpperCase()+s.substr(1);for(var a=0;a<r.length;a++)r[a]+s in e.style&&(o.cssTransitions=!0)}return document.createElement("video").canPlayType&&(o.html5Video=!0),o.msie=void 0!==h.msie(),n.debug&&(i(" - Browser Test - "),i(o)),o},construct_slide_object:function(){var e=new Object,s=new Array;return r.children().each(function(){var i=t(this).is("img")?t(this).clone():t(this).find("img").first().clone();e={},e.url=i.attr("src"),e.title=void 0!=i.attr("title")?i.attr("title"):"",e.alt=void 0!=i.attr("alt")?i.attr("alt"):"",e.theclass=void 0!=i.attr("class")?i.attr("class"):"",e.styles=void 0!=i.attr("style")?i.attr("style"):"",e.orig=i.clone(),e.datahref=void 0!=i.attr("data-href")?i.attr("data-href"):"",e.content="",t(this).find("img").length>0&&(t.BrowserTests.cssBackgroundSize&&t(this).find("img").first().remove(),e.content=t(this).html()),i[0].src="",t.BrowserTests.cssBackgroundSize&&t(this).remove(),s.push(e)}),n.debug&&(i(" - Slide Object - "),i(s)),s},msie:function(){for(var t,e=3,i=document.createElement("div"),n=i.getElementsByTagName("i");i.innerHTML="<!--[if gt IE "+ ++e+"]><i></i><![endif]-->",n[0];);return e>4?e:t},sizes:function(){var e={h:0,w:0};if("window"==n.fillElement)e.h=t.Window.height(),e.w=t.Window.width();else{var i=r.parents(n.fillElement).first();0==i.height()||1==i.data("windowHeight")?(i.data("windowHeight",!0),e.h=t.Window.height()):e.h=i.height(),0==i.width()||1==i.data("windowWidth")?(i.data("windowWidth",!0),e.w=t.Window.width()):e.w=i.width()}return e}};if(t.BrowserTests=h.browser_tests(),"string"==typeof e){if(t.BrowserTests.html5Video||!r.is("video")){var d,f=r.is("object")?r.parent().first():r;t.Body.hasClass("mc-old-browser")||t.Body.addClass("mc-old-browser"),t.Window.data("h",h.sizes().h).data("w",h.sizes().w),f.data("h",r.height()).data("w",r.width()).data("ar",r.width()/r.height()),t.Window.bind(t.Events.RESIZE,function(){t.Window.data("h",h.sizes().h).data("w",h.sizes().w),d=r.data("resizer"),clearTimeout(d),d=setTimeout(u[e](r),200),r.data("resizer",d)}),u[e](r)}}else t.Slides=h.construct_slide_object(),t.BrowserTests.cssBackgroundSize?(n.debug&&i(" - Using Modern - "),a.setup()):(n.debug&&i(" - Using Old - "),l.setup())})},t.fn.maximage.defaults={debug:!1,cssBackgroundSize:!0,cssTransitions:!0,verticalCenter:!0,horizontalCenter:!0,scaleInterval:20,backgroundSize:"cover",fillElement:"window",overrideMSIEStop:!1,onFirstImageLoaded:function(){},onImagesLoaded:function(){}}}(jQuery);var cbpFixedScrollLayout=function(){function t(){n.$navlinks.on("click",function(){return i(n.$sections.eq($(this).index()).offset().top),!1}),n.$sections.waypoint(function(t){"down"===t&&e($(this))},{offset:"30%"}).waypoint(function(t){"up"===t&&e($(this))},{offset:"-30%"}),$(window).on("debouncedresize",function(){i(n.$sections.eq(n.currentLink).offset().top)})}function e(t){n.$navlinks.eq(n.currentLink).removeClass("cbp-fbcurrent"),n.currentLink=t.index("section"),n.$navlinks.eq(n.currentLink).addClass("cbp-fbcurrent")}function i(t){n.$body.stop().animate({scrollTop:t},n.animspeed,n.animeasing)}var n={$sections:$("#cbp-fbscroller > section"),$navlinks:$("#cbp-fbscroller > nav:first > a"),currentLink:0,$body:$("html, body"),animspeed:650,animeasing:"easeInOutExpo"};return{init:t}}();!function(t){var e,i,n=t.event;e=n.special.debouncedresize={setup:function(){t(this).on("resize",e.handler)},teardown:function(){t(this).off("resize",e.handler)},handler:function(t,r){var s=this,o=arguments,a=function(){t.type="debouncedresize",n.dispatch.apply(s,o)};i&&clearTimeout(i),r?a():i=setTimeout(a,e.threshold)},threshold:150}}(jQuery),jQuery.easing.jswing=jQuery.easing.swing,jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(t,e,i,n,r){return jQuery.easing[jQuery.easing.def](t,e,i,n,r)},easeInQuad:function(t,e,i,n,r){return n*(e/=r)*e+i},easeOutQuad:function(t,e,i,n,r){return-n*(e/=r)*(e-2)+i},easeInOutQuad:function(t,e,i,n,r){return(e/=r/2)<1?n/2*e*e+i:-n/2*(--e*(e-2)-1)+i},easeInCubic:function(t,e,i,n,r){return n*(e/=r)*e*e+i},easeOutCubic:function(t,e,i,n,r){return n*((e=e/r-1)*e*e+1)+i},easeInOutCubic:function(t,e,i,n,r){return(e/=r/2)<1?n/2*e*e*e+i:n/2*((e-=2)*e*e+2)+i},easeInQuart:function(t,e,i,n,r){return n*(e/=r)*e*e*e+i},easeOutQuart:function(t,e,i,n,r){return-n*((e=e/r-1)*e*e*e-1)+i},easeInOutQuart:function(t,e,i,n,r){return(e/=r/2)<1?n/2*e*e*e*e+i:-n/2*((e-=2)*e*e*e-2)+i},easeInQuint:function(t,e,i,n,r){return n*(e/=r)*e*e*e*e+i},easeOutQuint:function(t,e,i,n,r){return n*((e=e/r-1)*e*e*e*e+1)+i},easeInOutQuint:function(t,e,i,n,r){return(e/=r/2)<1?n/2*e*e*e*e*e+i:n/2*((e-=2)*e*e*e*e+2)+i},easeInSine:function(t,e,i,n,r){return-n*Math.cos(e/r*(Math.PI/2))+n+i},easeOutSine:function(t,e,i,n,r){return n*Math.sin(e/r*(Math.PI/2))+i},easeInOutSine:function(t,e,i,n,r){return-n/2*(Math.cos(Math.PI*e/r)-1)+i},easeInExpo:function(t,e,i,n,r){return 0==e?i:n*Math.pow(2,10*(e/r-1))+i},easeOutExpo:function(t,e,i,n,r){return e==r?i+n:n*(-Math.pow(2,-10*e/r)+1)+i},easeInOutExpo:function(t,e,i,n,r){return 0==e?i:e==r?i+n:(e/=r/2)<1?n/2*Math.pow(2,10*(e-1))+i:n/2*(-Math.pow(2,-10*--e)+2)+i},easeInCirc:function(t,e,i,n,r){return-n*(Math.sqrt(1-(e/=r)*e)-1)+i},easeOutCirc:function(t,e,i,n,r){return n*Math.sqrt(1-(e=e/r-1)*e)+i},easeInOutCirc:function(t,e,i,n,r){return(e/=r/2)<1?-n/2*(Math.sqrt(1-e*e)-1)+i:n/2*(Math.sqrt(1-(e-=2)*e)+1)+i},easeInElastic:function(t,e,i,n,r){var s=1.70158,o=0,a=n;if(0==e)return i;if(1==(e/=r))return i+n;if(o||(o=.3*r),a<Math.abs(n)){a=n;var s=o/4}else var s=o/(2*Math.PI)*Math.asin(n/a);return-(a*Math.pow(2,10*(e-=1))*Math.sin(2*(e*r-s)*Math.PI/o))+i},easeOutElastic:function(t,e,i,n,r){var s=1.70158,o=0,a=n;if(0==e)return i;if(1==(e/=r))return i+n;if(o||(o=.3*r),a<Math.abs(n)){a=n;var s=o/4}else var s=o/(2*Math.PI)*Math.asin(n/a);return a*Math.pow(2,-10*e)*Math.sin(2*(e*r-s)*Math.PI/o)+n+i},easeInOutElastic:function(t,e,i,n,r){var s=1.70158,o=0,a=n;if(0==e)return i;if(2==(e/=r/2))return i+n;if(o||(o=.3*r*1.5),a<Math.abs(n)){a=n;var s=o/4}else var s=o/(2*Math.PI)*Math.asin(n/a);return 1>e?-.5*a*Math.pow(2,10*(e-=1))*Math.sin(2*(e*r-s)*Math.PI/o)+i:a*Math.pow(2,-10*(e-=1))*Math.sin(2*(e*r-s)*Math.PI/o)*.5+n+i},easeInBack:function(t,e,i,n,r,s){return void 0==s&&(s=1.70158),n*(e/=r)*e*((s+1)*e-s)+i},easeOutBack:function(t,e,i,n,r,s){return void 0==s&&(s=1.70158),n*((e=e/r-1)*e*((s+1)*e+s)+1)+i},easeInOutBack:function(t,e,i,n,r,s){return void 0==s&&(s=1.70158),(e/=r/2)<1?n/2*e*e*(((s*=1.525)+1)*e-s)+i:n/2*((e-=2)*e*(((s*=1.525)+1)*e+s)+2)+i},easeInBounce:function(t,e,i,n,r){return n-jQuery.easing.easeOutBounce(t,r-e,0,n,r)+i},easeOutBounce:function(t,e,i,n,r){return(e/=r)<1/2.75?7.5625*n*e*e+i:2/2.75>e?n*(7.5625*(e-=1.5/2.75)*e+.75)+i:2.5/2.75>e?n*(7.5625*(e-=2.25/2.75)*e+.9375)+i:n*(7.5625*(e-=2.625/2.75)*e+.984375)+i},easeInOutBounce:function(t,e,i,n,r){return r/2>e?.5*jQuery.easing.easeInBounce(t,2*e,0,n,r)+i:.5*jQuery.easing.easeOutBounce(t,2*e-r,0,n,r)+.5*n+i}}),function(t){"use strict";function e(t){this.el=t,this.overlay=this.el.querySelector(".nl-overlay"),this.fields=[],this.fldOpen=-1,this._init()}function i(t,e,i,n){this.form=t,this.elOriginal=e,this.pos=n,this.type=i,this._create(),this._initEvents()}var n=t.document;String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")}),e.prototype={_init:function(){var t=this;Array.prototype.slice.call(this.el.querySelectorAll("select")).forEach(function(e){t.fldOpen++,t.fields.push(new i(t,e,"dropdown",t.fldOpen))}),Array.prototype.slice.call(this.el.querySelectorAll("input")).forEach(function(e){t.fldOpen++,t.fields.push(new i(t,e,"input",t.fldOpen))}),this.overlay.addEventListener("click",function(){t._closeFlds()}),this.overlay.addEventListener("touchstart",function(){t._closeFlds()})},_closeFlds:function(){-1!==this.fldOpen&&this.fields[this.fldOpen].close()}},i.prototype={_create:function(){"dropdown"===this.type?this._createDropDown():"input"===this.type&&this._createInput()},_createDropDown:function(){var t=this;this.fld=n.createElement("div"),this.fld.className="nl-field nl-dd",this.toggle=n.createElement("a"),this.toggle.innerHTML=this.elOriginal.options[this.elOriginal.selectedIndex].innerHTML,this.toggle.className="nl-field-toggle",this.optionsList=n.createElement("ul");var e="";Array.prototype.slice.call(this.elOriginal.querySelectorAll("option")).forEach(function(i,n){e+=t.elOriginal.selectedIndex===n?'<li class="nl-dd-checked">'+i.innerHTML+"</li>":"<li>"+i.innerHTML+"</li>",t.elOriginal.selectedIndex===n&&(t.selectedIdx=n)}),this.optionsList.innerHTML=e,this.fld.appendChild(this.toggle),this.fld.appendChild(this.optionsList),this.elOriginal.parentNode.insertBefore(this.fld,this.elOriginal),this.elOriginal.style.display="none"},_createInput:function(){this.fld=n.createElement("div"),this.fld.className="nl-field nl-ti-text",this.toggle=n.createElement("a"),this.toggle.innerHTML=this.elOriginal.getAttribute("placeholder"),this.toggle.className="nl-field-toggle",this.optionsList=n.createElement("ul"),this.getinput=n.createElement("input"),this.getinput.setAttribute("type","text"),this.getinput.setAttribute("placeholder",this.elOriginal.getAttribute("placeholder")),this.getinputWrapper=n.createElement("li"),this.getinputWrapper.className="nl-ti-input",this.inputsubmit=n.createElement("button"),this.inputsubmit.className="nl-field-go",this.inputsubmit.innerHTML="Go",this.getinputWrapper.appendChild(this.getinput),this.getinputWrapper.appendChild(this.inputsubmit),this.example=n.createElement("li"),this.example.className="nl-ti-example",this.example.innerHTML=this.elOriginal.getAttribute("data-subline"),this.optionsList.appendChild(this.getinputWrapper),this.optionsList.appendChild(this.example),this.fld.appendChild(this.toggle),this.fld.appendChild(this.optionsList),this.elOriginal.parentNode.insertBefore(this.fld,this.elOriginal),this.elOriginal.style.display="none"},_initEvents:function(){var t=this;if(this.toggle.addEventListener("click",function(e){e.preventDefault(),e.stopPropagation(),t._open()}),this.toggle.addEventListener("touchstart",function(e){e.preventDefault(),e.stopPropagation(),t._open()}),"dropdown"===this.type){var e=Array.prototype.slice.call(this.optionsList.querySelectorAll("li"));e.forEach(function(i){i.addEventListener("click",function(n){n.preventDefault(),t.close(i,e.indexOf(i))}),i.addEventListener("touchstart",function(n){n.preventDefault(),t.close(i,e.indexOf(i))})})}else"input"===this.type&&(this.getinput.addEventListener("keydown",function(e){13==e.keyCode&&t.close()}),this.inputsubmit.addEventListener("click",function(e){e.preventDefault(),t.close()}),this.inputsubmit.addEventListener("touchstart",function(e){e.preventDefault(),t.close()}))},_open:function(){if(this.open)return!1;this.open=!0,this.form.fldOpen=this.pos;this.fld.className+=" nl-field-open"},close:function(t,e){if(!this.open)return!1;if(this.open=!1,this.form.fldOpen=-1,this.fld.className=this.fld.className.replace(/\b nl-field-open\b/,""),"dropdown"===this.type){if(t){var i=this.optionsList.children[this.selectedIdx];i.className="",t.className="nl-dd-checked",this.toggle.innerHTML=t.innerHTML,this.selectedIdx=e,this.elOriginal.value=this.elOriginal.children[this.selectedIdx].value}}else"input"===this.type&&(this.getinput.blur(),this.toggle.innerHTML=""!==this.getinput.value.trim()?this.getinput.value:this.getinput.getAttribute("placeholder"),this.elOriginal.value=this.getinput.value)}},t.NLForm=e}(window),function(){"use strict";function t(t){function e(e,n){var s,m,g=e==window,v=n&&void 0!==n.message?n.message:void 0;if(n=t.extend({},t.blockUI.defaults,n||{}),!n.ignoreIfBlocked||!t(e).data("blockUI.isBlocked")){if(n.overlayCSS=t.extend({},t.blockUI.defaults.overlayCSS,n.overlayCSS||{}),s=t.extend({},t.blockUI.defaults.css,n.css||{}),n.onOverlayClick&&(n.overlayCSS.cursor="pointer"),m=t.extend({},t.blockUI.defaults.themedCSS,n.themedCSS||{}),v=void 0===v?n.message:v,g&&f&&i(window,{fadeOut:0}),v&&"string"!=typeof v&&(v.parentNode||v.jquery)){var y=v.jquery?v[0]:v,_={};t(e).data("blockUI.history",_),_.el=y,_.parent=y.parentNode,_.display=y.style.display,_.position=y.style.position,_.parent&&_.parent.removeChild(y)}t(e).data("blockUI.onUnblock",n.onUnblock);var b,w,x,T,k=n.baseZ;b=t(u||n.forceIframe?'<iframe class="blockUI" style="z-index:'+k++ +';display:none;border:none;margin:0;padding:0;position:absolute;width:100%;height:100%;top:0;left:0" src="'+n.iframeSrc+'"></iframe>':'<div class="blockUI" style="display:none"></div>'),w=t(n.theme?'<div class="blockUI blockOverlay ui-widget-overlay" style="z-index:'+k++ +';display:none"></div>':'<div class="blockUI blockOverlay" style="z-index:'+k++ +';display:none;border:none;margin:0;padding:0;width:100%;height:100%;top:0;left:0"></div>'),n.theme&&g?(T='<div class="blockUI '+n.blockMsgClass+' blockPage ui-dialog ui-widget ui-corner-all" style="z-index:'+(k+10)+';display:none;position:fixed">',n.title&&(T+='<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(n.title||" ")+"</div>"),T+='<div class="ui-widget-content ui-dialog-content"></div>',T+="</div>"):n.theme?(T='<div class="blockUI '+n.blockMsgClass+' blockElement ui-dialog ui-widget ui-corner-all" style="z-index:'+(k+10)+';display:none;position:absolute">',n.title&&(T+='<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(n.title||" ")+"</div>"),T+='<div class="ui-widget-content ui-dialog-content"></div>',T+="</div>"):T=g?'<div class="blockUI '+n.blockMsgClass+' blockPage" style="z-index:'+(k+10)+';display:none;position:fixed"></div>':'<div class="blockUI '+n.blockMsgClass+' blockElement" style="z-index:'+(k+10)+';display:none;position:absolute"></div>',x=t(T),v&&(n.theme?(x.css(m),x.addClass("ui-widget-content")):x.css(s)),n.theme||w.css(n.overlayCSS),w.css("position",g?"fixed":"absolute"),(u||n.forceIframe)&&b.css("opacity",0);var S=[b,w,x],C=t(g?"body":e);t.each(S,function(){this.appendTo(C)}),n.theme&&n.draggable&&t.fn.draggable&&x.draggable({handle:".ui-dialog-titlebar",cancel:"li"});var P=d&&(!t.support.boxModel||t("object,embed",g?null:e).length>0);if(h||P){if(g&&n.allowBodyStretch&&t.support.boxModel&&t("html,body").css("height","100%"),(h||!t.support.boxModel)&&!g)var E=l(e,"borderTopWidth"),A=l(e,"borderLeftWidth"),I=E?"(0 - "+E+")":0,O=A?"(0 - "+A+")":0;t.each(S,function(t,e){var i=e[0].style;if(i.position="absolute",2>t)g?i.setExpression("height","Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.support.boxModel?0:"+n.quirksmodeOffsetHack+') + "px"'):i.setExpression("height",'this.parentNode.offsetHeight + "px"'),g?i.setExpression("width",'jQuery.support.boxModel && document.documentElement.clientWidth || document.body.clientWidth + "px"'):i.setExpression("width",'this.parentNode.offsetWidth + "px"'),O&&i.setExpression("left",O),I&&i.setExpression("top",I);else if(n.centerY)g&&i.setExpression("top",'(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"'),i.marginTop=0;else if(!n.centerY&&g){var r=n.css&&n.css.top?parseInt(n.css.top,10):0,s="((document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "+r+') + "px"';i.setExpression("top",s)}})}if(v&&(n.theme?x.find(".ui-widget-content").append(v):x.append(v),(v.jquery||v.nodeType)&&t(v).show()),(u||n.forceIframe)&&n.showOverlay&&b.show(),n.fadeIn){var D=n.onBlock?n.onBlock:c,N=n.showOverlay&&!v?D:c,M=v?D:c;n.showOverlay&&w._fadeIn(n.fadeIn,N),v&&x._fadeIn(n.fadeIn,M)}else n.showOverlay&&w.show(),v&&x.show(),n.onBlock&&n.onBlock();if(r(1,e,n),g?(f=x[0],p=t(n.focusableElements,f),n.focusInput&&setTimeout(o,20)):a(x[0],n.centerX,n.centerY),n.timeout){var R=setTimeout(function(){g?t.unblockUI(n):t(e).unblock(n)},n.timeout);t(e).data("blockUI.timeout",R)}}}function i(e,i){var s,o=e==window,a=t(e),l=a.data("blockUI.history"),c=a.data("blockUI.timeout");c&&(clearTimeout(c),a.removeData("blockUI.timeout")),i=t.extend({},t.blockUI.defaults,i||{}),r(0,e,i),null===i.onUnblock&&(i.onUnblock=a.data("blockUI.onUnblock"),a.removeData("blockUI.onUnblock"));var u;u=o?t("body").children().filter(".blockUI").add("body > .blockUI"):a.find(">.blockUI"),i.cursorReset&&(u.length>1&&(u[1].style.cursor=i.cursorReset),u.length>2&&(u[2].style.cursor=i.cursorReset)),o&&(f=p=null),i.fadeOut?(s=u.length,u.stop().fadeOut(i.fadeOut,function(){0===--s&&n(u,l,i,e)})):n(u,l,i,e)}function n(e,i,n,r){var s=t(r);if(!s.data("blockUI.isBlocked")){e.each(function(){this.parentNode&&this.parentNode.removeChild(this)}),i&&i.el&&(i.el.style.display=i.display,i.el.style.position=i.position,i.parent&&i.parent.appendChild(i.el),s.removeData("blockUI.history")),s.data("blockUI.static")&&s.css("position","static"),"function"==typeof n.onUnblock&&n.onUnblock(r,n);var o=t(document.body),a=o.width(),l=o[0].style.width;o.width(a-1).width(a),o[0].style.width=l}}function r(e,i,n){var r=i==window,o=t(i);if((e||(!r||f)&&(r||o.data("blockUI.isBlocked")))&&(o.data("blockUI.isBlocked",e),r&&n.bindEvents&&(!e||n.showOverlay))){var a="mousedown mouseup keydown keypress keyup touchstart touchend touchmove";e?t(document).bind(a,n,s):t(document).unbind(a,s)}}function s(e){if("keydown"===e.type&&e.keyCode&&9==e.keyCode&&f&&e.data.constrainTabKey){var i=p,n=!e.shiftKey&&e.target===i[i.length-1],r=e.shiftKey&&e.target===i[0];if(n||r)return setTimeout(function(){o(r)},10),!1}var s=e.data,a=t(e.target);return a.hasClass("blockOverlay")&&s.onOverlayClick&&s.onOverlayClick(e),a.parents("div."+s.blockMsgClass).length>0?!0:0===a.parents().children().filter("div.blockUI").length}function o(t){if(p){var e=p[t===!0?p.length-1:0];e&&e.focus()}}function a(t,e,i){var n=t.parentNode,r=t.style,s=(n.offsetWidth-t.offsetWidth)/2-l(n,"borderLeftWidth"),o=(n.offsetHeight-t.offsetHeight)/2-l(n,"borderTopWidth");e&&(r.left=s>0?s+"px":"0"),i&&(r.top=o>0?o+"px":"0")}function l(e,i){return parseInt(t.css(e,i),10)||0}t.fn._fadeIn=t.fn.fadeIn;var c=t.noop||function(){},u=/MSIE/.test(navigator.userAgent),h=/MSIE 6.0/.test(navigator.userAgent)&&!/MSIE 8.0/.test(navigator.userAgent),d=(document.documentMode||0,t.isFunction(document.createElement("div").style.setExpression));t.blockUI=function(t){e(window,t)},t.unblockUI=function(t){i(window,t)},t.growlUI=function(e,i,n,r){var s=t('<div class="growlUI"></div>');e&&s.append("<h1>"+e+"</h1>"),i&&s.append("<h2>"+i+"</h2>"),void 0===n&&(n=3e3);var o=function(e){e=e||{},t.blockUI({message:s,fadeIn:"undefined"!=typeof e.fadeIn?e.fadeIn:700,fadeOut:"undefined"!=typeof e.fadeOut?e.fadeOut:1e3,timeout:"undefined"!=typeof e.timeout?e.timeout:n,centerY:!1,showOverlay:!1,onUnblock:r,css:t.blockUI.defaults.growlCSS})};o();s.css("opacity");s.mouseover(function(){o({fadeIn:0,timeout:3e4});var e=t(".blockMsg");e.stop(),e.fadeTo(300,1)}).mouseout(function(){t(".blockMsg").fadeOut(1e3)})},t.fn.block=function(i){if(this[0]===window)return t.blockUI(i),this;var n=t.extend({},t.blockUI.defaults,i||{});return this.each(function(){var e=t(this);n.ignoreIfBlocked&&e.data("blockUI.isBlocked")||e.unblock({fadeOut:0})}),this.each(function(){"static"==t.css(this,"position")&&(this.style.position="relative",t(this).data("blockUI.static",!0)),this.style.zoom=1,e(this,i)})},t.fn.unblock=function(e){return this[0]===window?(t.unblockUI(e),this):this.each(function(){i(this,e)})},t.blockUI.version=2.66,t.blockUI.defaults={message:'<div class="preloader animated"></div>',title:null,draggable:!0,theme:!1,css:{padding:0,margin:0,marginLeft:"-15px",margintop:"-25px",width:"50px",top:"50%",left:"50%",textAlign:"center",color:"#fff",backgroundColor:"none",cursor:"wait"},themedCSS:{width:"30%",top:"40%",left:"35%"},overlayCSS:{backgroundColor:"#000",opacity:.6,cursor:"wait",position:"absolute",height:"100%",width:"100%"},cursorReset:"default",growlCSS:{width:"350px",top:"10px",left:"",right:"10px",border:"none",padding:"5px",opacity:.6,cursor:"default",color:"#fff",backgroundColor:"#000","-webkit-border-radius":"10px","-moz-border-radius":"10px","border-radius":"10px"},iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",forceIframe:!1,baseZ:1e3,centerX:!0,centerY:!0,allowBodyStretch:!0,bindEvents:!0,constrainTabKey:!0,fadeIn:200,fadeOut:400,timeout:0,showOverlay:!0,focusInput:!0,focusableElements:":input:enabled:visible",onBlock:null,onUnblock:null,onOverlayClick:null,quirksmodeOffsetHack:4,blockMsgClass:"blockMsg",ignoreIfBlocked:!1};var f=null,p=[]}"function"==typeof define&&define.amd&&define.amd.jQuery?define(["jquery"],t):t(jQuery)}(),function(){$(function(){return $(document).ajaxStart($.blockUI).ajaxStop($.unblockUI),$("#gated input[type='email']").focus(function(){return $(".form-group").fadeIn("slow")}),$("#gated label").on("click",function(){return $("#gated label").removeClass("active"),$(this).addClass("active")}),$("#new_waitlist").on("ajax:success",function(t,e){var i;return e.error?$("<div class='sticky-alert size-alert alert alert-danger'><h5>You've already registered! Please login.</h5></div>").prependTo("#gated .content").fadeIn().delay(4e3).fadeOut(function(){return $(this).remove()}):($("body").addClass("gated-thanks"),$("span.link").text(""+e.link),ga("send","event","Lead","New Lead","Email Signup"),i={},i.pixel_id="6015761265083",i.value="0.00",i.currency="USD",function(){var t,e;t=document.createElement("script"),t.async=!0,t.src="//connect.facebook.net/en_US/fp.js",e=document.getElementsByTagName("script")[0],e.parentNode.insertBefore(t,e)}())}).on("ajax:before",function(){return 0===$("form").find("input:radio:checked").length?($("<div class='sticky-alert size-alert alert alert-danger'><h5>Please select a gender</h5></div>").prependTo("#gated").fadeIn().delay(4e3).fadeOut(function(){return $(this).remove()}),!1):void 0}),$(".cost-blocks").waypoint(function(){return $(this).find("img:last-child").toggleClass("engaged").prev().toggleClass("disappear")},{offset:"20%"}),$(".male").on("click",function(t){return t.preventDefault(),$(".gender").removeClass("active"),$(this).addClass("active"),$("#male").attr("checked",!0),$("#female").attr("checked",!1)}),$(".female").on("click",function(t){return t.preventDefault(),$(".gender").removeClass("active"),$(this).addClass("active"),$("#male").attr("checked",!1),$("#female").attr("checked",!0)}),$(".mo-trigger").on("click",function(t){return t.preventDefault(),$(this.hash).toggleClass("engaged")}),$("#success, #definition, .story-hero, #team").css("height",$(window).height()),$(window).resize()&&$("#success, #definition, .story-hero, #team").css("height",$(window).height()),$("#splash-header").waypoint("sticky"),$(".white-block, .dark-block").waypoint(function(){return $("#splash-header").toggleClass("nav-light"),$(".logo").toggleClass("logo-black")}),$("#splash-top .content").delay(500).fadeIn(),$(".html5video").maximage("maxcover")})}.call(this); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(){$(function(){return $(".cost-blocks").waypoint(function(){return $(this).find("img:last-child").toggleClass("engaged").prev().toggleClass("disappear")},{offset:"20%"}),$(".male").on("click",function(e){return e.preventDefault(),$(".gender").removeClass("active"),$(this).addClass("active"),$("#male").attr("checked",!0),$("#female").attr("checked",!1)}),$(".female").on("click",function(e){return e.preventDefault(),$(".gender").removeClass("active"),$(this).addClass("active"),$("#male").attr("checked",!1),$("#female").attr("checked",!0)}),$(".mo-trigger").on("click",function(e){return e.preventDefault(),$($(this.hash)).toggleClass("engaged")}),$("a.scroll").on("click",function(e){return e.preventDefault(),$("body, html").animate({scrollTop:$(this.hash).offset().top})}),$("#success, #definition").css("height",$(window).height()),$(window).resize()&&$("#success, #definition").css("height",$(window).height()),$("#splash-header").waypoint("sticky"),$(".white-block, .dark-block").waypoint(function(){return $("#splash-header").toggleClass("nav-light"),$(".logo").toggleClass("logo-black")}),$("#splash-top .content").delay(500).fadeIn(),$("#new_dstld_signup").on("ajax:success",function(e,t){var a;return t.error&&$("#success p").prepend("<h5>You've already registered!</h5><br>"),$("#splash-top .content").fadeOut().next().fadeIn(),$(".splash-wrapper").removeClass("no-scroll"),$("#press-success").fadeIn(),$("body, html").animate({scrollTop:$("#splash-main").offset().top},1e3),$(".thanks h4").append(""+t.link),ga("send","event","Lead","New Lead","Email Signup"),a={},a.pixel_id="6015761265083",a.value="0.00",a.currency="USD",function(){var e,t;e=document.createElement("script"),e.async=!0,e.src="//connect.facebook.net/en_US/fp.js",t=document.getElementsByTagName("script")[0],t.parentNode.insertBefore(e,t)}()}).on("ajax:before",function(){return $(this).find("input:submit").attr({disabled:!0,value:"Submitting..."})}).on("ajax:error",function(){return $(this).find(".alert-danger").fadeIn(),$(this).find("input:submit").attr({disabled:!1,value:"Get Early Access"})}),$(".maximage").fadeIn().maximage({cycleOptions:{speed:1e3}}),$(".html5video").maximage("maxcover")})}).call(this); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
server_name *.dstldjeans.com *.dstld.la; | |
if ($http_x_forwarded_proto != 'https') { | |
rewrite ^ https://$host$request_uri? permanent; | |
} | |
root /home/ubuntu/dstld/current/public; | |
try_files $uri @passenger; | |
location @passenger { | |
passenger_enabled on; | |
passenger_min_instances 1; | |
rails_env production; | |
} | |
location ~ \.php$ { | |
return 405; | |
} | |
location ~ ^/assets/ { | |
expires 1y; | |
add_header Cache-Control public; | |
break; | |
if ($request_filename ~* ^.?/([^/]?)$) | |
{ | |
set $filename $1; | |
} | |
if ($filename ~* ^.*?\.(eot)|(ttf)|(woff)$){ | |
add_header Access-Control-Allow-Origin *; | |
} | |
} | |
if ($request_method !~ ^(GET|HEAD|PUT|POST|DELETE|OPTIONS|PATCH)$ ){ | |
return 405; | |
} | |
access_log /dev/null; | |
error_log /dev/null; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment