|
Server : Apache/2.4.62 System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64 User : www ( 80) PHP Version : 8.3.8 Disable Function : NONE Directory : /domains/owens.enteract/js/ |
Upload File : |
/*!
* jQuery JavaScript Library v1.10.2
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2013-07-03T13:48Z
*/
/*!
* Sizzle CSS Selector Engine v1.10.2
* http://sizzlejs.com/
*
* Copyright 2013 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2013-07-03
*/
/**
* @license
* Lo-Dash 2.3.0 (Custom Build) <http://lodash.com/>
* Build: `lodash underscore exports="amd,commonjs,global,node" -o ./dist/lodash.underscore.js`
* Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
* Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE>
* Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
* Available under MIT license <http://lodash.com/license>
*/
// (c) 2010-2013 Jeremy Ashkenas, DocumentCloud Inc.
// Backbone may be freely distributed under the MIT license.
// For all details and documentation:
// http://backbonejs.org
/*
Copyright (C) 2011 by Yehuda Katz
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
/*!
* VERSION: 1.14.2
* DATE: 2014-10-29
* UPDATES AND DOCS AT: http://www.greensock.com
*
* Includes all of the following: TweenLite, TweenMax, TimelineLite, TimelineMax, EasePack, CSSPlugin, RoundPropsPlugin, BezierPlugin, AttrPlugin, DirectionalRotationPlugin
*
* @license Copyright (c) 2008-2014, GreenSock. All rights reserved.
* This work is subject to the terms at http://www.greensock.com/terms_of_use.html or for
* Club GreenSock members, the software agreement that was issued with your membership.
*
* @author: Jack Doyle, [email protected]
**/
/**
* @preserve FastClick: polyfill to remove click delays on browsers with touch UIs.
*
* @version 0.6.11
* @codingstandard ftlabs-jsv2
* @copyright The Financial Times Limited [All Rights Reserved]
* @license MIT License (see LICENSE.txt) (https://github.com/ftlabs/fastclick/blob/master/LICENSE)
*/
/*!
* Cookies.js - 0.3.1
* Wednesday, April 24 2013 @ 2:28 AM EST
*
* Copyright (c) 2013, Scott Hamper
* Licensed under the MIT license,
* http://www.opensource.org/licenses/MIT
*/
/* ========================================================================
* Bootstrap: dropdown.js v3.3.4
* http://getbootstrap.com/javascript/#dropdowns
* ========================================================================
* Copyright 2011-2015 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
/**
* @license RequireJS text 2.0.10 Copyright (c) 2010-2012, The Dojo Foundation All Rights Reserved.
* Available via the MIT or new BSD license.
* see: http://github.com/requirejs/text for details
*/
// RequireJS Handlebars template plugin
// http://github.com/jfparadis/requirejs-handlebars
//
// An alternative to http://github.com/SlexAxton/require-handlebars-plugin/blob/master/hbs.js
//
// Using Handlebars Semantic templates at http://handlebarsjs.com
// Using and RequireJS text.js at http://requirejs.org/docs/api.html#text
// @author JF Paradis
// @version 0.0.2
//
// Released under the MIT license
//
// Usage:
// require(['backbone', 'hbar!mytemplate'], function (Backbone, mytemplate) {
// return Backbone.View.extend({
// initialize: function(){
// this.render();
// },
// render: function(){
// this.$el.html(mytemplate({message: 'hello'}));
// });
// });
//
// Configuration: (optional)
// require.config({
// hbars: {
// extension: '.hbar' // default = '.html'
// }
// });
//fade in copyright line
//! moment.js
//! version : 2.5.1
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
//! license : MIT
//! momentjs.com
/*! Stellar.js v0.6.2 | Copyright 2014, Mark Dalgleish | http://markdalgleish.com/projects/stellar.js | http://markdalgleish.mit-license.org */
/*!
* VERSION: 1.7.4
* DATE: 2014-07-17
* UPDATES AND DOCS AT: http://www.greensock.com
*
* @license Copyright (c) 2008-2014, GreenSock. All rights reserved.
* This work is subject to the terms at http://www.greensock.com/terms_of_use.html or for
* Club GreenSock members, the software agreement that was issued with your membership.
*
* @author: Jack Doyle, [email protected]
**/
function FastClick(e){var t,n=this;this.trackingClick=!1,this.trackingClickStart=0,this.targetElement=null,this.touchStartX=0,this.touchStartY=0,this.lastTouchIdentifier=0,this.touchBoundary=10,this.layer=e;if(!e||!e.nodeType)throw new TypeError("Layer must be a document node");this.onClick=function(){return FastClick.prototype.onClick.apply(n,arguments)},this.onMouse=function(){return FastClick.prototype.onMouse.apply(n,arguments)},this.onTouchStart=function(){return FastClick.prototype.onTouchStart.apply(n,arguments)},this.onTouchMove=function(){return FastClick.prototype.onTouchMove.apply(n,arguments)},this.onTouchEnd=function(){return FastClick.prototype.onTouchEnd.apply(n,arguments)},this.onTouchCancel=function(){return FastClick.prototype.onTouchCancel.apply(n,arguments)};if(FastClick.notNeeded(e))return;this.deviceIsAndroid&&(e.addEventListener("mouseover",this.onMouse,!0),e.addEventListener("mousedown",this.onMouse,!0),e.addEventListener("mouseup",this.onMouse,!0)),e.addEventListener("click",this.onClick,!0),e.addEventListener("touchstart",this.onTouchStart,!1),e.addEventListener("touchmove",this.onTouchMove,!1),e.addEventListener("touchend",this.onTouchEnd,!1),e.addEventListener("touchcancel",this.onTouchCancel,!1),Event.prototype.stopImmediatePropagation||(e.removeEventListener=function(t,n,r){var i=Node.prototype.removeEventListener;t==="click"?i.call(e,t,n.hijacked||n,r):i.call(e,t,n,r)},e.addEventListener=function(t,n,r){var i=Node.prototype.addEventListener;t==="click"?i.call(e,t,n.hijacked||(n.hijacked=function(e){e.propagationStopped||n(e)}),r):i.call(e,t,n,r)}),typeof e.onclick=="function"&&(t=e.onclick,e.addEventListener("click",function(e){t(e)},!1),e.onclick=null)}function PxLoaderImage(e,t,n){var r=this,i=null;this.img=new Image,this.tags=t,this.priority=n;var s=function(){r.img.readyState==="complete"&&(a(),i.onLoad(r))},o=function(){a(),i.onLoad(r)},u=function(){a(),i.onError(r)},a=function(){r.unbind("load",o),r.unbind("readystatechange",s),r.unbind("error",u)};this.start=function(t){i=t,r.bind("load",o),r.bind("readystatechange",s),r.bind("error",u),r.img.src=e},this.checkStatus=function(){r.img.complete&&(a(),i.onLoad(r))},this.onTimeout=function(){a(),r.img.complete?i.onLoad(r):i.onTimeout(r)},this.getName=function(){return e},this.bind=function(e,t){r.img.addEventListener?r.img.addEventListener(e,t,!1):r.img.attachEvent&&r.img.attachEvent("on"+e,t)},this.unbind=function(e,t){r.img.removeEventListener?r.img.removeEventListener(e,t,!1):r.img.detachEvent&&r.img.detachEvent("on"+e,t)}}function PxLoaderVideo(e,t,n){var r=this,i=null;this.readyEventName="canplaythrough";try{this.vid=new Video}catch(s){this.vid=document.createElement("video")}this.tags=t,this.priority=n;var o=function(){if(r.vid.readyState!==4)return;f(),i.onLoad(r)},u=function(){f(),i.onLoad(r)},a=function(){f(),i.onError(r)},f=function(){r.unbind("load",u),r.unbind(r.readyEventName,o),r.unbind("error",a)};this.start=function(t){i=t,r.bind("load",u),r.bind(r.readyEventName,o),r.bind("error",a),r.bind("suspend",u),r.vid.src=e,r.vid.load()},this.checkStatus=function(){if(r.vid.readyState!==4)return;f(),i.onLoad(r)},this.onTimeout=function(){f(),r.vid.readyState!==4?i.onLoad(r):i.onTimeout(r)},this.getName=function(){return e},this.bind=function(e,t){r.vid.addEventListener?r.vid.addEventListener(e,t,!1):r.vid.attachEvent&&r.vid.attachEvent("on"+e,t)},this.unbind=function(e,t){r.vid.removeEventListener?r.vid.removeEventListener(e,t,!1):r.vid.detachEvent&&r.vid.detachEvent("on"+e,t)}}function PxLoaderJSON(e,t,n){var r=this,i=null,s=!1;this.tags=t,this.priority=n;var o=null;this.start=function(t){i=t;var n=new XMLHttpRequest;n.open("GET",e,!1),n.onreadystatechange=function(){if(n.readyState!==4)return;if(n.status!==200){i.onError(r);return}var e=n.responseText;try{o=JSON.parse(e),i.onLoad(r)}catch(t){i.onError(r)}},n.send(null)},this.checkStatus=function(){s&&i.onLoad(r)},this.onTimeout=function(){s?i.onLoad(r):i.onTimeout(r)},this.getName=function(){return e},this.getData=function(){return o}}(function(e,t){function H(e){var t=e.length,n=w.type(e);return w.isWindow(e)?!1:e.nodeType===1&&t?!0:n==="array"||n!=="function"&&(t===0||typeof t=="number"&&t>0&&t-1 in e)}function j(e){var t=B[e]={};return w.each(e.match(S)||[],function(e,n){t[n]=!0}),t}function q(e,n,r,i){if(!w.acceptData(e))return;var s,o,u=w.expando,a=e.nodeType,f=a?w.cache:e,l=a?e[u]:e[u]&&u;if((!l||!f[l]||!i&&!f[l].data)&&r===t&&typeof n=="string")return;l||(a?l=e[u]=c.pop()||w.guid++:l=u),f[l]||(f[l]=a?{}:{toJSON:w.noop});if(typeof n=="object"||typeof n=="function")i?f[l]=w.extend(f[l],n):f[l].data=w.extend(f[l].data,n);return o=f[l],i||(o.data||(o.data={}),o=o.data),r!==t&&(o[w.camelCase(n)]=r),typeof n=="string"?(s=o[n],s==null&&(s=o[w.camelCase(n)])):s=o,s}function R(e,t,n){if(!w.acceptData(e))return;var r,i,s=e.nodeType,o=s?w.cache:e,u=s?e[w.expando]:w.expando;if(!o[u])return;if(t){r=n?o[u]:o[u].data;if(r){w.isArray(t)?t=t.concat(w.map(t,w.camelCase)):t in r?t=[t]:(t=w.camelCase(t),t in r?t=[t]:t=t.split(" ")),i=t.length;while(i--)delete r[t[i]];if(n?!z(r):!w.isEmptyObject(r))return}}if(!n){delete o[u].data;if(!z(o[u]))return}s?w.cleanData([e],!0):w.support.deleteExpando||o!=o.window?delete o[u]:o[u]=null}function U(e,n,r){if(r===t&&e.nodeType===1){var i="data-"+n.replace(I,"-$1").toLowerCase();r=e.getAttribute(i);if(typeof r=="string"){try{r=r==="true"?!0:r==="false"?!1:r==="null"?null:+r+""===r?+r:F.test(r)?w.parseJSON(r):r}catch(s){}w.data(e,n,r)}else r=t}return r}function z(e){var t;for(t in e){if(t==="data"&&w.isEmptyObject(e[t]))continue;if(t!=="toJSON")return!1}return!0}function it(){return!0}function st(){return!1}function ot(){try{return o.activeElement}catch(e){}}function ct(e,t){do e=e[t];while(e&&e.nodeType!==1);return e}function ht(e,t,n){if(w.isFunction(t))return w.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return w.grep(e,function(e){return e===t!==n});if(typeof t=="string"){if(ut.test(t))return w.filter(t,e,n);t=w.filter(t,e)}return w.grep(e,function(e){return w.inArray(e,t)>=0!==n})}function pt(e){var t=dt.split("|"),n=e.createDocumentFragment();if(n.createElement)while(t.length)n.createElement(t.pop());return n}function Mt(e,t){return w.nodeName(e,"table")&&w.nodeName(t.nodeType===1?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function _t(e){return e.type=(w.find.attr(e,"type")!==null)+"/"+e.type,e}function Dt(e){var t=Ct.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function Pt(e,t){var n,r=0;for(;(n=e[r])!=null;r++)w._data(n,"globalEval",!t||w._data(t[r],"globalEval"))}function Ht(e,t){if(t.nodeType!==1||!w.hasData(e))return;var n,r,i,s=w._data(e),o=w._data(t,s),u=s.events;if(u){delete o.handle,o.events={};for(n in u)for(r=0,i=u[n].length;r<i;r++)w.event.add(t,n,u[n][r])}o.data&&(o.data=w.extend({},o.data))}function Bt(e,t){var n,r,i;if(t.nodeType!==1)return;n=t.nodeName.toLowerCase();if(!w.support.noCloneEvent&&t[w.expando]){i=w._data(t);for(r in i.events)w.removeEvent(t,r,i.handle);t.removeAttribute(w.expando)}if(n==="script"&&t.text!==e.text)_t(t).text=e.text,Dt(t);else if(n==="object")t.parentNode&&(t.outerHTML=e.outerHTML),w.support.html5Clone&&e.innerHTML&&!w.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML);else if(n==="input"&&xt.test(e.type))t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value);else if(n==="option")t.defaultSelected=t.selected=e.defaultSelected;else if(n==="input"||n==="textarea")t.defaultValue=e.defaultValue}function jt(e,n){var r,s,o=0,u=typeof e.getElementsByTagName!==i?e.getElementsByTagName(n||"*"):typeof e.querySelectorAll!==i?e.querySelectorAll(n||"*"):t;if(!u)for(u=[],r=e.childNodes||e;(s=r[o])!=null;o++)!n||w.nodeName(s,n)?u.push(s):w.merge(u,jt(s,n));return n===t||n&&w.nodeName(e,n)?w.merge([e],u):u}function Ft(e){xt.test(e.type)&&(e.defaultChecked=e.checked)}function tn(e,t){if(t in e)return t;var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=en.length;while(i--){t=en[i]+n;if(t in e)return t}return r}function nn(e,t){return e=t||e,w.css(e,"display")==="none"||!w.contains(e.ownerDocument,e)}function rn(e,t){var n,r,i,s=[],o=0,u=e.length;for(;o<u;o++){r=e[o];if(!r.style)continue;s[o]=w._data(r,"olddisplay"),n=r.style.display,t?(!s[o]&&n==="none"&&(r.style.display=""),r.style.display===""&&nn(r)&&(s[o]=w._data(r,"olddisplay",an(r.nodeName)))):s[o]||(i=nn(r),(n&&n!=="none"||!i)&&w._data(r,"olddisplay",i?n:w.css(r,"display")))}for(o=0;o<u;o++){r=e[o];if(!r.style)continue;if(!t||r.style.display==="none"||r.style.display==="")r.style.display=t?s[o]||"":"none"}return e}function sn(e,t,n){var r=$t.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function on(e,t,n,r,i){var s=n===(r?"border":"content")?4:t==="width"?1:0,o=0;for(;s<4;s+=2)n==="margin"&&(o+=w.css(e,n+Zt[s],!0,i)),r?(n==="content"&&(o-=w.css(e,"padding"+Zt[s],!0,i)),n!=="margin"&&(o-=w.css(e,"border"+Zt[s]+"Width",!0,i))):(o+=w.css(e,"padding"+Zt[s],!0,i),n!=="padding"&&(o+=w.css(e,"border"+Zt[s]+"Width",!0,i)));return o}function un(e,t,n){var r=!0,i=t==="width"?e.offsetWidth:e.offsetHeight,s=qt(e),o=w.support.boxSizing&&w.css(e,"boxSizing",!1,s)==="border-box";if(i<=0||i==null){i=Rt(e,t,s);if(i<0||i==null)i=e.style[t];if(Jt.test(i))return i;r=o&&(w.support.boxSizingReliable||i===e.style[t]),i=parseFloat(i)||0}return i+on(e,t,n||(o?"border":"content"),r,s)+"px"}function an(e){var t=o,n=Qt[e];if(!n){n=fn(e,t);if(n==="none"||!n)It=(It||w("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(t.documentElement),t=(It[0].contentWindow||It[0].contentDocument).document,t.write("<!doctype html><html><body>"),t.close(),n=fn(e,t),It.detach();Qt[e]=n}return n}function fn(e,t){var n=w(t.createElement(e)).appendTo(t.body),r=w.css(n[0],"display");return n.remove(),r}function vn(e,t,n,r){var i;if(w.isArray(t))w.each(t,function(t,i){n||cn.test(e)?r(e,i):vn(e+"["+(typeof i=="object"?t:"")+"]",i,n,r)});else if(!n&&w.type(t)==="object")for(i in t)vn(e+"["+i+"]",t[i],n,r);else r(e,t)}function _n(e){return function(t,n){typeof t!="string"&&(n=t,t="*");var r,i=0,s=t.toLowerCase().match(S)||[];if(w.isFunction(n))while(r=s[i++])r[0]==="+"?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Dn(e,t,n,r){function o(u){var a;return i[u]=!0,w.each(e[u]||[],function(e,u){var f=u(t,n,r);if(typeof f=="string"&&!s&&!i[f])return t.dataTypes.unshift(f),o(f),!1;if(s)return!(a=f)}),a}var i={},s=e===An;return o(t.dataTypes[0])||!i["*"]&&o("*")}function Pn(e,n){var r,i,s=w.ajaxSettings.flatOptions||{};for(i in n)n[i]!==t&&((s[i]?e:r||(r={}))[i]=n[i]);return r&&w.extend(!0,e,r),e}function Hn(e,n,r){var i,s,o,u,a=e.contents,f=e.dataTypes;while(f[0]==="*")f.shift(),s===t&&(s=e.mimeType||n.getResponseHeader("Content-Type"));if(s)for(u in a)if(a[u]&&a[u].test(s)){f.unshift(u);break}if(f[0]in r)o=f[0];else{for(u in r){if(!f[0]||e.converters[u+" "+f[0]]){o=u;break}i||(i=u)}o=o||i}if(o)return o!==f[0]&&f.unshift(o),r[o]}function Bn(e,t,n,r){var i,s,o,u,a,f={},l=e.dataTypes.slice();if(l[1])for(o in e.converters)f[o.toLowerCase()]=e.converters[o];s=l.shift();while(s){e.responseFields[s]&&(n[e.responseFields[s]]=t),!a&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),a=s,s=l.shift();if(s)if(s==="*")s=a;else if(a!=="*"&&a!==s){o=f[a+" "+s]||f["* "+s];if(!o)for(i in f){u=i.split(" ");if(u[1]===s){o=f[a+" "+u[0]]||f["* "+u[0]];if(o){o===!0?o=f[i]:f[i]!==!0&&(s=u[0],l.unshift(u[1]));break}}}if(o!==!0)if(o&&e["throws"])t=o(t);else try{t=o(t)}catch(c){return{state:"parsererror",error:o?c:"No conversion from "+a+" to "+s}}}}return{state:"success",data:t}}function zn(){try{return new e.XMLHttpRequest}catch(t){}}function Wn(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function Yn(){return setTimeout(function(){Xn=t}),Xn=w.now()}function Zn(e,t,n){var r,i=(Gn[t]||[]).concat(Gn["*"]),s=0,o=i.length;for(;s<o;s++)if(r=i[s].call(n,t,e))return r}function er(e,t,n){var r,i,s=0,o=Qn.length,u=w.Deferred().always(function(){delete a.elem}),a=function(){if(i)return!1;var t=Xn||Yn(),n=Math.max(0,f.startTime+f.duration-t),r=n/f.duration||0,s=1-r,o=0,a=f.tweens.length;for(;o<a;o++)f.tweens[o].run(s);return u.notifyWith(e,[f,s,n]),s<1&&a?n:(u.resolveWith(e,[f]),!1)},f=u.promise({elem:e,props:w.extend({},t),opts:w.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:Xn||Yn(),duration:n.duration,tweens:[],createTween:function(t,n){var r=w.Tween(e,f.opts,t,n,f.opts.specialEasing[t]||f.opts.easing);return f.tweens.push(r),r},stop:function(t){var n=0,r=t?f.tweens.length:0;if(i)return this;i=!0;for(;n<r;n++)f.tweens[n].run(1);return t?u.resolveWith(e,[f,t]):u.rejectWith(e,[f,t]),this}}),l=f.props;tr(l,f.opts.specialEasing);for(;s<o;s++){r=Qn[s].call(f,e,l,f.opts);if(r)return r}return w.map(l,Zn,f),w.isFunction(f.opts.start)&&f.opts.start.call(e,f),w.fx.timer(w.extend(a,{elem:e,anim:f,queue:f.opts.queue})),f.progress(f.opts.progress).done(f.opts.done,f.opts.complete).fail(f.opts.fail).always(f.opts.always)}function tr(e,t){var n,r,i,s,o;for(n in e){r=w.camelCase(n),i=t[r],s=e[n],w.isArray(s)&&(i=s[1],s=e[n]=s[0]),n!==r&&(e[r]=s,delete e[n]),o=w.cssHooks[r];if(o&&"expand"in o){s=o.expand(s),delete e[r];for(n in s)n in e||(e[n]=s[n],t[n]=i)}else t[r]=i}}function nr(e,t,n){var r,i,s,o,u,a,f=this,l={},c=e.style,h=e.nodeType&&nn(e),p=w._data(e,"fxshow");n.queue||(u=w._queueHooks(e,"fx"),u.unqueued==null&&(u.unqueued=0,a=u.empty.fire,u.empty.fire=function(){u.unqueued||a()}),u.unqueued++,f.always(function(){f.always(function(){u.unqueued--,w.queue(e,"fx").length||u.empty.fire()})})),e.nodeType===1&&("height"in t||"width"in t)&&(n.overflow=[c.overflow,c.overflowX,c.overflowY],w.css(e,"display")==="inline"&&w.css(e,"float")==="none"&&(!w.support.inlineBlockNeedsLayout||an(e.nodeName)==="inline"?c.display="inline-block":c.zoom=1)),n.overflow&&(c.overflow="hidden",w.support.shrinkWrapBlocks||f.always(function(){c.overflow=n.overflow[0],c.overflowX=n.overflow[1],c.overflowY=n.overflow[2]}));for(r in t){i=t[r];if($n.exec(i)){delete t[r],s=s||i==="toggle";if(i===(h?"hide":"show"))continue;l[r]=p&&p[r]||w.style(e,r)}}if(!w.isEmptyObject(l)){p?"hidden"in p&&(h=p.hidden):p=w._data(e,"fxshow",{}),s&&(p.hidden=!h),h?w(e).show():f.done(function(){w(e).hide()}),f.done(function(){var t;w._removeData(e,"fxshow");for(t in l)w.style(e,t,l[t])});for(r in l)o=Zn(h?p[r]:0,r,f),r in p||(p[r]=o.start,h&&(o.end=o.start,o.start=r==="width"||r==="height"?1:0))}}function rr(e,t,n,r,i){return new rr.prototype.init(e,t,n,r,i)}function ir(e,t){var n,r={height:e},i=0;t=t?1:0;for(;i<4;i+=2-t)n=Zt[i],r["margin"+n]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function sr(e){return w.isWindow(e)?e:e.nodeType===9?e.defaultView||e.parentWindow:!1}var n,r,i=typeof t,s=e.location,o=e.document,u=o.documentElement,a=e.jQuery,f=e.$,l={},c=[],h="1.10.2",p=c.concat,d=c.push,v=c.slice,m=c.indexOf,g=l.toString,y=l.hasOwnProperty,b=h.trim,w=function(e,t){return new w.fn.init(e,t,r)},E=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,S=/\S+/g,x=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,T=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,N=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,C=/^[\],:{}\s]*$/,k=/(?:^|:|,)(?:\s*\[)+/g,L=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,A=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,O=/^-ms-/,M=/-([\da-z])/gi,_=function(e,t){return t.toUpperCase()},D=function(e){if(o.addEventListener||e.type==="load"||o.readyState==="complete")P(),w.ready()},P=function(){o.addEventListener?(o.removeEventListener("DOMContentLoaded",D,!1),e.removeEventListener("load",D,!1)):(o.detachEvent("onreadystatechange",D),e.detachEvent("onload",D))};w.fn=w.prototype={jquery:h,constructor:w,init:function(e,n,r){var i,s;if(!e)return this;if(typeof e=="string"){e.charAt(0)==="<"&&e.charAt(e.length-1)===">"&&e.length>=3?i=[null,e,null]:i=T.exec(e);if(i&&(i[1]||!n)){if(i[1]){n=n instanceof w?n[0]:n,w.merge(this,w.parseHTML(i[1],n&&n.nodeType?n.ownerDocument||n:o,!0));if(N.test(i[1])&&w.isPlainObject(n))for(i in n)w.isFunction(this[i])?this[i](n[i]):this.attr(i,n[i]);return this}s=o.getElementById(i[2]);if(s&&s.parentNode){if(s.id!==i[2])return r.find(e);this.length=1,this[0]=s}return this.context=o,this.selector=e,this}return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e)}return e.nodeType?(this.context=this[0]=e,this.length=1,this):w.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),w.makeArray(e,this))},selector:"",length:0,toArray:function(){return v.call(this)},get:function(e){return e==null?this.toArray():e<0?this[this.length+e]:this[e]},pushStack:function(e){var t=w.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return w.each(this,e,t)},ready:function(e){return w.ready.promise().done(e),this},slice:function(){return this.pushStack(v.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},map:function(e){return this.pushStack(w.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:d,sort:[].sort,splice:[].splice},w.fn.init.prototype=w.fn,w.extend=w.fn.extend=function(){var e,n,r,i,s,o,u=arguments[0]||{},a=1,f=arguments.length,l=!1;typeof u=="boolean"&&(l=u,u=arguments[1]||{},a=2),typeof u!="object"&&!w.isFunction(u)&&(u={}),f===a&&(u=this,--a);for(;a<f;a++)if((s=arguments[a])!=null)for(i in s){e=u[i],r=s[i];if(u===r)continue;l&&r&&(w.isPlainObject(r)||(n=w.isArray(r)))?(n?(n=!1,o=e&&w.isArray(e)?e:[]):o=e&&w.isPlainObject(e)?e:{},u[i]=w.extend(l,o,r)):r!==t&&(u[i]=r)}return u},w.extend({expando:"jQuery"+(h+Math.random()).replace(/\D/g,""),noConflict:function(t){return e.$===w&&(e.$=f),t&&e.jQuery===w&&(e.jQuery=a),w},isReady:!1,readyWait:1,holdReady:function(e){e?w.readyWait++:w.ready(!0)},ready:function(e){if(e===!0?--w.readyWait:w.isReady)return;if(!o.body)return setTimeout(w.ready);w.isReady=!0;if(e!==!0&&--w.readyWait>0)return;n.resolveWith(o,[w]),w.fn.trigger&&w(o).trigger("ready").off("ready")},isFunction:function(e){return w.type(e)==="function"},isArray:Array.isArray||function(e){return w.type(e)==="array"},isWindow:function(e){return e!=null&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return e==null?String(e):typeof e=="object"||typeof e=="function"?l[g.call(e)]||"object":typeof e},isPlainObject:function(e){var n;if(!e||w.type(e)!=="object"||e.nodeType||w.isWindow(e))return!1;try{if(e.constructor&&!y.call(e,"constructor")&&!y.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(r){return!1}if(w.support.ownLast)for(n in e)return y.call(e,n);for(n in e);return n===t||y.call(e,n)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw new Error(e)},parseHTML:function(e,t,n){if(!e||typeof e!="string")return null;typeof t=="boolean"&&(n=t,t=!1),t=t||o;var r=N.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=w.buildFragment([e],t,i),i&&w(i).remove(),w.merge([],r.childNodes))},parseJSON:function(t){if(e.JSON&&e.JSON.parse)return e.JSON.parse(t);if(t===null)return t;if(typeof t=="string"){t=w.trim(t);if(t&&C.test(t.replace(L,"@").replace(A,"]").replace(k,"")))return(new Function("return "+t))()}w.error("Invalid JSON: "+t)},parseXML:function(n){var r,i;if(!n||typeof n!="string")return null;try{e.DOMParser?(i=new DOMParser,r=i.parseFromString(n,"text/xml")):(r=new ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(n))}catch(s){r=t}return(!r||!r.documentElement||r.getElementsByTagName("parsererror").length)&&w.error("Invalid XML: "+n),r},noop:function(){},globalEval:function(t){t&&w.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(O,"ms-").replace(M,_)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r,i=0,s=e.length,o=H(e);if(n)if(o)for(;i<s;i++){r=t.apply(e[i],n);if(r===!1)break}else for(i in e){r=t.apply(e[i],n);if(r===!1)break}else if(o)for(;i<s;i++){r=t.call(e[i],i,e[i]);if(r===!1)break}else for(i in e){r=t.call(e[i],i,e[i]);if(r===!1)break}return e},trim:b&&!b.call(" ")?function(e){return e==null?"":b.call(e)}:function(e){return e==null?"":(e+"").replace(x,"")},makeArray:function(e,t){var n=t||[];return e!=null&&(H(Object(e))?w.merge(n,typeof e=="string"?[e]:e):d.call(n,e)),n},inArray:function(e,t,n){var r;if(t){if(m)return m.call(t,e,n);r=t.length,n=n?n<0?Math.max(0,r+n):n:0;for(;n<r;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,n){var r=n.length,i=e.length,s=0;if(typeof r=="number")for(;s<r;s++)e[i++]=n[s];else while(n[s]!==t)e[i++]=n[s++];return e.length=i,e},grep:function(e,t,n){var r,i=[],s=0,o=e.length;n=!!n;for(;s<o;s++)r=!!t(e[s],s),n!==r&&i.push(e[s]);return i},map:function(e,t,n){var r,i=0,s=e.length,o=H(e),u=[];if(o)for(;i<s;i++)r=t(e[i],i,n),r!=null&&(u[u.length]=r);else for(i in e)r=t(e[i],i,n),r!=null&&(u[u.length]=r);return p.apply([],u)},guid:1,proxy:function(e,n){var r,i,s;return typeof n=="string"&&(s=e[n],n=e,e=s),w.isFunction(e)?(r=v.call(arguments,2),i=function(){return e.apply(n||this,r.concat(v.call(arguments)))},i.guid=e.guid=e.guid||w.guid++,i):t},access:function(e,n,r,i,s,o,u){var a=0,f=e.length,l=r==null;if(w.type(r)==="object"){s=!0;for(a in r)w.access(e,n,a,r[a],!0,o,u)}else if(i!==t){s=!0,w.isFunction(i)||(u=!0),l&&(u?(n.call(e,i),n=null):(l=n,n=function(e,t,n){return l.call(w(e),n)}));if(n)for(;a<f;a++)n(e[a],r,u?i:i.call(e[a],a,n(e[a],r)))}return s?e:l?n.call(e):f?n(e[0],r):o},now:function(){return(new Date).getTime()},swap:function(e,t,n,r){var i,s,o={};for(s in t)o[s]=e.style[s],e.style[s]=t[s];i=n.apply(e,r||[]);for(s in t)e.style[s]=o[s];return i}}),w.ready.promise=function(t){if(!n){n=w.Deferred();if(o.readyState==="complete")setTimeout(w.ready);else if(o.addEventListener)o.addEventListener("DOMContentLoaded",D,!1),e.addEventListener("load",D,!1);else{o.attachEvent("onreadystatechange",D),e.attachEvent("onload",D);var r=!1;try{r=e.frameElement==null&&o.documentElement}catch(i){}r&&r.doScroll&&function s(){if(!w.isReady){try{r.doScroll("left")}catch(e){return setTimeout(s,50)}P(),w.ready()}}()}}return n.promise(t)},w.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){l["[object "+t+"]"]=t.toLowerCase()}),r=w(o),function(e,t){function ot(e,t,n,i){var s,o,u,a,f,l,p,m,g,w;(t?t.ownerDocument||t:E)!==h&&c(t),t=t||h,n=n||[];if(!e||typeof e!="string")return n;if((a=t.nodeType)!==1&&a!==9)return[];if(d&&!i){if(s=Z.exec(e))if(u=s[1]){if(a===9){o=t.getElementById(u);if(!o||!o.parentNode)return n;if(o.id===u)return n.push(o),n}else if(t.ownerDocument&&(o=t.ownerDocument.getElementById(u))&&y(t,o)&&o.id===u)return n.push(o),n}else{if(s[2])return H.apply(n,t.getElementsByTagName(e)),n;if((u=s[3])&&r.getElementsByClassName&&t.getElementsByClassName)return H.apply(n,t.getElementsByClassName(u)),n}if(r.qsa&&(!v||!v.test(e))){m=p=b,g=t,w=a===9&&e;if(a===1&&t.nodeName.toLowerCase()!=="object"){l=mt(e),(p=t.getAttribute("id"))?m=p.replace(nt,"\\$&"):t.setAttribute("id",m),m="[id='"+m+"'] ",f=l.length;while(f--)l[f]=m+gt(l[f]);g=$.test(e)&&t.parentNode||t,w=l.join(",")}if(w)try{return H.apply(n,g.querySelectorAll(w)),n}catch(S){}finally{p||t.removeAttribute("id")}}}return Nt(e.replace(W,"$1"),t,n,i)}function ut(){function t(n,r){return e.push(n+=" ")>s.cacheLength&&delete t[e.shift()],t[n]=r}var e=[];return t}function at(e){return e[b]=!0,e}function ft(e){var t=h.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function lt(e,t){var n=e.split("|"),r=e.length;while(r--)s.attrHandle[n[r]]=t}function ct(e,t){var n=t&&e,r=n&&e.nodeType===1&&t.nodeType===1&&(~t.sourceIndex||O)-(~e.sourceIndex||O);if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function ht(e){return function(t){var n=t.nodeName.toLowerCase();return n==="input"&&t.type===e}}function pt(e){return function(t){var n=t.nodeName.toLowerCase();return(n==="input"||n==="button")&&t.type===e}}function dt(e){return at(function(t){return t=+t,at(function(n,r){var i,s=e([],n.length,t),o=s.length;while(o--)n[i=s[o]]&&(n[i]=!(r[i]=n[i]))})})}function vt(){}function mt(e,t){var n,r,i,o,u,a,f,l=N[e+" "];if(l)return t?0:l.slice(0);u=e,a=[],f=s.preFilter;while(u){if(!n||(r=X.exec(u)))r&&(u=u.slice(r[0].length)||u),a.push(i=[]);n=!1;if(r=V.exec(u))n=r.shift(),i.push({value:n,type:r[0].replace(W," ")}),u=u.slice(n.length);for(o in s.filter)(r=G[o].exec(u))&&(!f[o]||(r=f[o](r)))&&(n=r.shift(),i.push({value:n,type:o,matches:r}),u=u.slice(n.length));if(!n)break}return t?u.length:u?ot.error(e):N(e,a).slice(0)}function gt(e){var t=0,n=e.length,r="";for(;t<n;t++)r+=e[t].value;return r}function yt(e,t,n){var r=t.dir,s=n&&r==="parentNode",o=x++;return t.first?function(t,n,i){while(t=t[r])if(t.nodeType===1||s)return e(t,n,i)}:function(t,n,u){var a,f,l,c=S+" "+o;if(u){while(t=t[r])if(t.nodeType===1||s)if(e(t,n,u))return!0}else while(t=t[r])if(t.nodeType===1||s){l=t[b]||(t[b]={});if((f=l[r])&&f[0]===c){if((a=f[1])===!0||a===i)return a===!0}else{f=l[r]=[c],f[1]=e(t,n,u)||i;if(f[1]===!0)return!0}}}}function bt(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function wt(e,t,n,r,i){var s,o=[],u=0,a=e.length,f=t!=null;for(;u<a;u++)if(s=e[u])if(!n||n(s,r,i))o.push(s),f&&t.push(u);return o}function Et(e,t,n,r,i,s){return r&&!r[b]&&(r=Et(r)),i&&!i[b]&&(i=Et(i,s)),at(function(s,o,u,a){var f,l,c,h=[],p=[],d=o.length,v=s||Tt(t||"*",u.nodeType?[u]:u,[]),m=e&&(s||!t)?wt(v,h,e,u,a):v,g=n?i||(s?e:d||r)?[]:o:m;n&&n(m,g,u,a);if(r){f=wt(g,p),r(f,[],u,a),l=f.length;while(l--)if(c=f[l])g[p[l]]=!(m[p[l]]=c)}if(s){if(i||e){if(i){f=[],l=g.length;while(l--)(c=g[l])&&f.push(m[l]=c);i(null,g=[],f,a)}l=g.length;while(l--)(c=g[l])&&(f=i?j.call(s,c):h[l])>-1&&(s[f]=!(o[f]=c))}}else g=wt(g===o?g.splice(d,g.length):g),i?i(null,o,g,a):H.apply(o,g)})}function St(e){var t,n,r,i=e.length,o=s.relative[e[0].type],u=o||s.relative[" "],a=o?1:0,l=yt(function(e){return e===t},u,!0),c=yt(function(e){return j.call(t,e)>-1},u,!0),h=[function(e,n,r){return!o&&(r||n!==f)||((t=n).nodeType?l(e,n,r):c(e,n,r))}];for(;a<i;a++)if(n=s.relative[e[a].type])h=[yt(bt(h),n)];else{n=s.filter[e[a].type].apply(null,e[a].matches);if(n[b]){r=++a;for(;r<i;r++)if(s.relative[e[r].type])break;return Et(a>1&&bt(h),a>1&>(e.slice(0,a-1).concat({value:e[a-2].type===" "?"*":""})).replace(W,"$1"),n,a<r&&St(e.slice(a,r)),r<i&&St(e=e.slice(r)),r<i&>(e))}h.push(n)}return bt(h)}function xt(e,t){var n=0,r=t.length>0,o=e.length>0,u=function(u,a,l,c,p){var d,v,m,g=[],y=0,b="0",w=u&&[],E=p!=null,x=f,T=u||o&&s.find.TAG("*",p&&a.parentNode||a),N=S+=x==null?1:Math.random()||.1;E&&(f=a!==h&&a,i=n);for(;(d=T[b])!=null;b++){if(o&&d){v=0;while(m=e[v++])if(m(d,a,l)){c.push(d);break}E&&(S=N,i=++n)}r&&((d=!m&&d)&&y--,u&&w.push(d))}y+=b;if(r&&b!==y){v=0;while(m=t[v++])m(w,g,a,l);if(u){if(y>0)while(b--)!w[b]&&!g[b]&&(g[b]=D.call(c));g=wt(g)}H.apply(c,g),E&&!u&&g.length>0&&y+t.length>1&&ot.uniqueSort(c)}return E&&(S=N,f=x),w};return r?at(u):u}function Tt(e,t,n){var r=0,i=t.length;for(;r<i;r++)ot(e,t[r],n);return n}function Nt(e,t,n,i){var o,u,f,l,c,h=mt(e);if(!i&&h.length===1){u=h[0]=h[0].slice(0);if(u.length>2&&(f=u[0]).type==="ID"&&r.getById&&t.nodeType===9&&d&&s.relative[u[1].type]){t=(s.find.ID(f.matches[0].replace(rt,it),t)||[])[0];if(!t)return n;e=e.slice(u.shift().value.length)}o=G.needsContext.test(e)?0:u.length;while(o--){f=u[o];if(s.relative[l=f.type])break;if(c=s.find[l])if(i=c(f.matches[0].replace(rt,it),$.test(u[0].type)&&t.parentNode||t)){u.splice(o,1),e=i.length&>(u);if(!e)return H.apply(n,i),n;break}}}return a(e,h)(i,t,!d,n,$.test(e)),n}var n,r,i,s,o,u,a,f,l,c,h,p,d,v,m,g,y,b="sizzle"+ -(new Date),E=e.document,S=0,x=0,T=ut(),N=ut(),C=ut(),k=!1,L=function(e,t){return e===t?(k=!0,0):0},A=typeof t,O=1<<31,M={}.hasOwnProperty,_=[],D=_.pop,P=_.push,H=_.push,B=_.slice,j=_.indexOf||function(e){var t=0,n=this.length;for(;t<n;t++)if(this[t]===e)return t;return-1},F="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",I="[\\x20\\t\\r\\n\\f]",q="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",R=q.replace("w","w#"),U="\\["+I+"*("+q+")"+I+"*(?:([*^$|!~]?=)"+I+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+R+")|)|)"+I+"*\\]",z=":("+q+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+U.replace(3,8)+")*)|.*)\\)|)",W=new RegExp("^"+I+"+|((?:^|[^\\\\])(?:\\\\.)*)"+I+"+$","g"),X=new RegExp("^"+I+"*,"+I+"*"),V=new RegExp("^"+I+"*([>+~]|"+I+")"+I+"*"),$=new RegExp(I+"*[+~]"),J=new RegExp("="+I+"*([^\\]'\"]*)"+I+"*\\]","g"),K=new RegExp(z),Q=new RegExp("^"+R+"$"),G={ID:new RegExp("^#("+q+")"),CLASS:new RegExp("^\\.("+q+")"),TAG:new RegExp("^("+q.replace("w","w*")+")"),ATTR:new RegExp("^"+U),PSEUDO:new RegExp("^"+z),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+I+"*(even|odd|(([+-]|)(\\d*)n|)"+I+"*(?:([+-]|)"+I+"*(\\d+)|))"+I+"*\\)|)","i"),bool:new RegExp("^(?:"+F+")$","i"),needsContext:new RegExp("^"+I+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+I+"*((?:-\\d)?\\d*)"+I+"*\\)|)(?=[^-]|$)","i")},Y=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,et=/^(?:input|select|textarea|button)$/i,tt=/^h\d$/i,nt=/'|\\/g,rt=new RegExp("\\\\([\\da-f]{1,6}"+I+"?|("+I+")|.)","ig"),it=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,r&1023|56320)};try{H.apply(_=B.call(E.childNodes),E.childNodes),_[E.childNodes.length].nodeType}catch(st){H={apply:_.length?function(e,t){P.apply(e,B.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}u=ot.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?t.nodeName!=="HTML":!1},r=ot.support={},c=ot.setDocument=function(e){var t=e?e.ownerDocument||e:E,n=t.defaultView;if(t===h||t.nodeType!==9||!t.documentElement)return h;h=t,p=t.documentElement,d=!u(t),n&&n.attachEvent&&n!==n.top&&n.attachEvent("onbeforeunload",function(){c()}),r.attributes=ft(function(e){return e.className="i",!e.getAttribute("className")}),r.getElementsByTagName=ft(function(e){return e.appendChild(t.createComment("")),!e.getElementsByTagName("*").length}),r.getElementsByClassName=ft(function(e){return e.innerHTML="<div class='a'></div><div class='a i'></div>",e.firstChild.className="i",e.getElementsByClassName("i").length===2}),r.getById=ft(function(e){return p.appendChild(e).id=b,!t.getElementsByName||!t.getElementsByName(b).length}),r.getById?(s.find.ID=function(e,t){if(typeof t.getElementById!==A&&d){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},s.filter.ID=function(e){var t=e.replace(rt,it);return function(e){return e.getAttribute("id")===t}}):(delete s.find.ID,s.filter.ID=function(e){var t=e.replace(rt,it);return function(e){var n=typeof e.getAttributeNode!==A&&e.getAttributeNode("id");return n&&n.value===t}}),s.find.TAG=r.getElementsByTagName?function(e,t){if(typeof t.getElementsByTagName!==A)return t.getElementsByTagName(e)}:function(e,t){var n,r=[],i=0,s=t.getElementsByTagName(e);if(e==="*"){while(n=s[i++])n.nodeType===1&&r.push(n);return r}return s},s.find.CLASS=r.getElementsByClassName&&function(e,t){if(typeof t.getElementsByClassName!==A&&d)return t.getElementsByClassName(e)},m=[],v=[];if(r.qsa=Y.test(t.querySelectorAll))ft(function(e){e.innerHTML="<select><option selected=''></option></select>",e.querySelectorAll("[selected]").length||v.push("\\["+I+"*(?:value|"+F+")"),e.querySelectorAll(":checked").length||v.push(":checked")}),ft(function(e){var n=t.createElement("input");n.setAttribute("type","hidden"),e.appendChild(n).setAttribute("t",""),e.querySelectorAll("[t^='']").length&&v.push("[*^$]="+I+"*(?:''|\"\")"),e.querySelectorAll(":enabled").length||v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")});return(r.matchesSelector=Y.test(g=p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&ft(function(e){r.disconnectedMatch=g.call(e,"div"),g.call(e,"[s!='']:x"),m.push("!=",z)}),v=v.length&&new RegExp(v.join("|")),m=m.length&&new RegExp(m.join("|")),y=Y.test(p.contains)||p.compareDocumentPosition?function(e,t){var n=e.nodeType===9?e.documentElement:e,r=t&&t.parentNode;return e===r||!!r&&r.nodeType===1&&!!(n.contains?n.contains(r):e.compareDocumentPosition&&e.compareDocumentPosition(r)&16)}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},L=p.compareDocumentPosition?function(e,n){if(e===n)return k=!0,0;var i=n.compareDocumentPosition&&e.compareDocumentPosition&&e.compareDocumentPosition(n);if(i)return i&1||!r.sortDetached&&n.compareDocumentPosition(e)===i?e===t||y(E,e)?-1:n===t||y(E,n)?1:l?j.call(l,e)-j.call(l,n):0:i&4?-1:1;return e.compareDocumentPosition?-1:1}:function(e,n){var r,i=0,s=e.parentNode,o=n.parentNode,u=[e],a=[n];if(e===n)return k=!0,0;if(!s||!o)return e===t?-1:n===t?1:s?-1:o?1:l?j.call(l,e)-j.call(l,n):0;if(s===o)return ct(e,n);r=e;while(r=r.parentNode)u.unshift(r);r=n;while(r=r.parentNode)a.unshift(r);while(u[i]===a[i])i++;return i?ct(u[i],a[i]):u[i]===E?-1:a[i]===E?1:0},t},ot.matches=function(e,t){return ot(e,null,null,t)},ot.matchesSelector=function(e,t){(e.ownerDocument||e)!==h&&c(e),t=t.replace(J,"='$1']");if(r.matchesSelector&&d&&(!m||!m.test(t))&&(!v||!v.test(t)))try{var n=g.call(e,t);if(n||r.disconnectedMatch||e.document&&e.document.nodeType!==11)return n}catch(i){}return ot(t,h,null,[e]).length>0},ot.contains=function(e,t){return(e.ownerDocument||e)!==h&&c(e),y(e,t)},ot.attr=function(e,n){(e.ownerDocument||e)!==h&&c(e);var i=s.attrHandle[n.toLowerCase()],o=i&&M.call(s.attrHandle,n.toLowerCase())?i(e,n,!d):t;return o===t?r.attributes||!d?e.getAttribute(n):(o=e.getAttributeNode(n))&&o.specified?o.value:null:o},ot.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ot.uniqueSort=function(e){var t,n=[],i=0,s=0;k=!r.detectDuplicates,l=!r.sortStable&&e.slice(0),e.sort(L);if(k){while(t=e[s++])t===e[s]&&(i=n.push(s));while(i--)e.splice(n[i],1)}return e},o=ot.getText=function(e){var t,n="",r=0,i=e.nodeType;if(!i)for(;t=e[r];r++)n+=o(t);else if(i===1||i===9||i===11){if(typeof e.textContent=="string")return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(i===3||i===4)return e.nodeValue;return n},s=ot.selectors={cacheLength:50,createPseudo:at,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(rt,it),e[3]=(e[4]||e[5]||"").replace(rt,it),e[2]==="~="&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),e[1].slice(0,3)==="nth"?(e[3]||ot.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*(e[3]==="even"||e[3]==="odd")),e[5]=+(e[7]+e[8]||e[3]==="odd")):e[3]&&ot.error(e[0]),e},PSEUDO:function(e){var n,r=!e[5]&&e[2];return G.CHILD.test(e[0])?null:(e[3]&&e[4]!==t?e[2]=e[4]:r&&K.test(r)&&(n=mt(r,!0))&&(n=r.indexOf(")",r.length-n)-r.length)&&(e[0]=e[0].slice(0,n),e[2]=r.slice(0,n)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(rt,it).toLowerCase();return e==="*"?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=T[e+" "];return t||(t=new RegExp("(^|"+I+")"+e+"("+I+"|$)"))&&T(e,function(e){return t.test(typeof e.className=="string"&&e.className||typeof e.getAttribute!==A&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=ot.attr(r,e);return i==null?t==="!=":t?(i+="",t==="="?i===n:t==="!="?i!==n:t==="^="?n&&i.indexOf(n)===0:t==="*="?n&&i.indexOf(n)>-1:t==="$="?n&&i.slice(-n.length)===n:t==="~="?(" "+i+" ").indexOf(n)>-1:t==="|="?i===n||i.slice(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e,t,n,r,i){var s=e.slice(0,3)!=="nth",o=e.slice(-4)!=="last",u=t==="of-type";return r===1&&i===0?function(e){return!!e.parentNode}:function(t,n,a){var f,l,c,h,p,d,v=s!==o?"nextSibling":"previousSibling",m=t.parentNode,g=u&&t.nodeName.toLowerCase(),y=!a&&!u;if(m){if(s){while(v){c=t;while(c=c[v])if(u?c.nodeName.toLowerCase()===g:c.nodeType===1)return!1;d=v=e==="only"&&!d&&"nextSibling"}return!0}d=[o?m.firstChild:m.lastChild];if(o&&y){l=m[b]||(m[b]={}),f=l[e]||[],p=f[0]===S&&f[1],h=f[0]===S&&f[2],c=p&&m.childNodes[p];while(c=++p&&c&&c[v]||(h=p=0)||d.pop())if(c.nodeType===1&&++h&&c===t){l[e]=[S,p,h];break}}else if(y&&(f=(t[b]||(t[b]={}))[e])&&f[0]===S)h=f[1];else while(c=++p&&c&&c[v]||(h=p=0)||d.pop())if((u?c.nodeName.toLowerCase()===g:c.nodeType===1)&&++h){y&&((c[b]||(c[b]={}))[e]=[S,h]);if(c===t)break}return h-=i,h===r||h%r===0&&h/r>=0}}},PSEUDO:function(e,t){var n,r=s.pseudos[e]||s.setFilters[e.toLowerCase()]||ot.error("unsupported pseudo: "+e);return r[b]?r(t):r.length>1?(n=[e,e,"",t],s.setFilters.hasOwnProperty(e.toLowerCase())?at(function(e,n){var i,s=r(e,t),o=s.length;while(o--)i=j.call(e,s[o]),e[i]=!(n[i]=s[o])}):function(e){return r(e,0,n)}):r}},pseudos:{not:at(function(e){var t=[],n=[],r=a(e.replace(W,"$1"));return r[b]?at(function(e,t,n,i){var s,o=r(e,null,i,[]),u=e.length;while(u--)if(s=o[u])e[u]=!(t[u]=s)}):function(e,i,s){return t[0]=e,r(t,null,s,n),!n.pop()}}),has:at(function(e){return function(t){return ot(e,t).length>0}}),contains:at(function(e){return function(t){return(t.textContent||t.innerText||o(t)).indexOf(e)>-1}}),lang:at(function(e){return Q.test(e||"")||ot.error("unsupported lang: "+e),e=e.replace(rt,it).toLowerCase(),function(t){var n;do if(n=d?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||n.indexOf(e+"-")===0;while((t=t.parentNode)&&t.nodeType===1);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===p},focus:function(e){return e===h.activeElement&&(!h.hasFocus||h.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&!!e.checked||t==="option"&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeName>"@"||e.nodeType===3||e.nodeType===4)return!1;return!0},parent:function(e){return!s.pseudos.empty(e)},header:function(e){return tt.test(e.nodeName)},input:function(e){return et.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&e.type==="button"||t==="button"},text:function(e){var t;return e.nodeName.toLowerCase()==="input"&&e.type==="text"&&((t=e.getAttribute("type"))==null||t.toLowerCase()===e.type)},first:dt(function(){return[0]}),last:dt(function(e,t){return[t-1]}),eq:dt(function(e,t,n){return[n<0?n+t:n]}),even:dt(function(e,t){var n=0;for(;n<t;n+=2)e.push(n);return e}),odd:dt(function(e,t){var n=1;for(;n<t;n+=2)e.push(n);return e}),lt:dt(function(e,t,n){var r=n<0?n+t:n;for(;--r>=0;)e.push(r);return e}),gt:dt(function(e,t,n){var r=n<0?n+t:n;for(;++r<t;)e.push(r);return e})}},s.pseudos.nth=s.pseudos.eq;for(n in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})s.pseudos[n]=ht(n);for(n in{submit:!0,reset:!0})s.pseudos[n]=pt(n);vt.prototype=s.filters=s.pseudos,s.setFilters=new vt,a=ot.compile=function(e,t){var n,r=[],i=[],s=C[e+" "];if(!s){t||(t=mt(e)),n=t.length;while(n--)s=St(t[n]),s[b]?r.push(s):i.push(s);s=C(e,xt(i,r))}return s},r.sortStable=b.split("").sort(L).join("")===b,r.detectDuplicates=k,c(),r.sortDetached=ft(function(e){return e.compareDocumentPosition(h.createElement("div"))&1}),ft(function(e){return e.innerHTML="<a href='#'></a>",e.firstChild.getAttribute("href")==="#"})||lt("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,t.toLowerCase()==="type"?1:2)}),(!r.attributes||!ft(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),e.firstChild.getAttribute("value")===""}))&<("value",function(e,t,n){if(!n&&e.nodeName.toLowerCase()==="input")return e.defaultValue}),ft(function(e){return e.getAttribute("disabled")==null})||lt(F,function(e,t,n){var r;if(!n)return(r=e.getAttributeNode(t))&&r.specified?r.value:e[t]===!0?t.toLowerCase():null}),w.find=ot,w.expr=ot.selectors,w.expr[":"]=w.expr.pseudos,w.unique=ot.uniqueSort,w.text=ot.getText,w.isXMLDoc=ot.isXML,w.contains=ot.contains}(e);var B={};w.Callbacks=function(e){e=typeof e=="string"?B[e]||j(e):w.extend({},e);var n,r,i,s,o,u,a=[],f=!e.once&&[],l=function(t){r=e.memory&&t,i=!0,o=u||0,u=0,s=a.length,n=!0;for(;a&&o<s;o++)if(a[o].apply(t[0],t[1])===!1&&e.stopOnFalse){r=!1;break}n=!1,a&&(f?f.length&&l(f.shift()):r?a=[]:c.disable())},c={add:function(){if(a){var t=a.length;(function i(t){w.each(t,function(t,n){var r=w.type(n);r==="function"?(!e.unique||!c.has(n))&&a.push(n):n&&n.length&&r!=="string"&&i(n)})})(arguments),n?s=a.length:r&&(u=t,l(r))}return this},remove:function(){return a&&w.each(arguments,function(e,t){var r;while((r=w.inArray(t,a,r))>-1)a.splice(r,1),n&&(r<=s&&s--,r<=o&&o--)}),this},has:function(e){return e?w.inArray(e,a)>-1:!!a&&!!a.length},empty:function(){return a=[],s=0,this},disable:function(){return a=f=r=t,this},disabled:function(){return!a},lock:function(){return f=t,r||c.disable(),this},locked:function(){return!f},fireWith:function(e,t){return a&&(!i||f)&&(t=t||[],t=[e,t.slice?t.slice():t],n?f.push(t):l(t)),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!i}};return c},w.extend({Deferred:function(e){var t=[["resolve","done",w.Callbacks("once memory"),"resolved"],["reject","fail",w.Callbacks("once memory"),"rejected"],["notify","progress",w.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return w.Deferred(function(n){w.each(t,function(t,s){var o=s[0],u=w.isFunction(e[t])&&e[t];i[s[1]](function(){var e=u&&u.apply(this,arguments);e&&w.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[o+"With"](this===r?n.promise():this,u?[e]:arguments)})}),e=null}).promise()},promise:function(e){return e!=null?w.extend(e,r):r}},i={};return r.pipe=r.then,w.each(t,function(e,s){var o=s[2],u=s[3];r[s[1]]=o.add,u&&o.add(function(){n=u},t[e^1][2].disable,t[2][2].lock),i[s[0]]=function(){return i[s[0]+"With"](this===i?r:this,arguments),this},i[s[0]+"With"]=o.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=v.call(arguments),r=n.length,i=r!==1||e&&w.isFunction(e.promise)?r:0,s=i===1?e:w.Deferred(),o=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?v.call(arguments):r,n===u?s.notifyWith(t,n):--i||s.resolveWith(t,n)}},u,a,f;if(r>1){u=new Array(r),a=new Array(r),f=new Array(r);for(;t<r;t++)n[t]&&w.isFunction(n[t].promise)?n[t].promise().done(o(t,f,n)).fail(s.reject).progress(o(t,a,u)):--i}return i||s.resolveWith(f,n),s.promise()}}),w.support=function(t){var n,r,s,u,a,f,l,c,h,p=o.createElement("div");p.setAttribute("className","t"),p.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",n=p.getElementsByTagName("*")||[],r=p.getElementsByTagName("a")[0];if(!r||!r.style||!n.length)return t;u=o.createElement("select"),f=u.appendChild(o.createElement("option")),s=p.getElementsByTagName("input")[0],r.style.cssText="top:1px;float:left;opacity:.5",t.getSetAttribute=p.className!=="t",t.leadingWhitespace=p.firstChild.nodeType===3,t.tbody=!p.getElementsByTagName("tbody").length,t.htmlSerialize=!!p.getElementsByTagName("link").length,t.style=/top/.test(r.getAttribute("style")),t.hrefNormalized=r.getAttribute("href")==="/a",t.opacity=/^0.5/.test(r.style.opacity),t.cssFloat=!!r.style.cssFloat,t.checkOn=!!s.value,t.optSelected=f.selected,t.enctype=!!o.createElement("form").enctype,t.html5Clone=o.createElement("nav").cloneNode(!0).outerHTML!=="<:nav></:nav>",t.inlineBlockNeedsLayout=!1,t.shrinkWrapBlocks=!1,t.pixelPosition=!1,t.deleteExpando=!0,t.noCloneEvent=!0,t.reliableMarginRight=!0,t.boxSizingReliable=!0,s.checked=!0,t.noCloneChecked=s.cloneNode(!0).checked,u.disabled=!0,t.optDisabled=!f.disabled;try{delete p.test}catch(d){t.deleteExpando=!1}s=o.createElement("input"),s.setAttribute("value",""),t.input=s.getAttribute("value")==="",s.value="t",s.setAttribute("type","radio"),t.radioValue=s.value==="t",s.setAttribute("checked","t"),s.setAttribute("name","t"),a=o.createDocumentFragment(),a.appendChild(s),t.appendChecked=s.checked,t.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked,p.attachEvent&&(p.attachEvent("onclick",function(){t.noCloneEvent=!1}),p.cloneNode(!0).click());for(h in{submit:!0,change:!0,focusin:!0})p.setAttribute(l="on"+h,"t"),t[h+"Bubbles"]=l in e||p.attributes[l].expando===!1;p.style.backgroundClip="content-box",p.cloneNode(!0).style.backgroundClip="",t.clearCloneStyle=p.style.backgroundClip==="content-box";for(h in w(t))break;return t.ownLast=h!=="0",w(function(){var n,r,s,u="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",a=o.getElementsByTagName("body")[0];if(!a)return;n=o.createElement("div"),n.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",a.appendChild(n).appendChild(p),p.innerHTML="<table><tr><td></td><td>t</td></tr></table>",s=p.getElementsByTagName("td"),s[0].style.cssText="padding:0;margin:0;border:0;display:none",c=s[0].offsetHeight===0,s[0].style.display="",s[1].style.display="none",t.reliableHiddenOffsets=c&&s[0].offsetHeight===0,p.innerHTML="",p.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",w.swap(a,a.style.zoom!=null?{zoom:1}:{},function(){t.boxSizing=p.offsetWidth===4}),e.getComputedStyle&&(t.pixelPosition=(e.getComputedStyle(p,null)||{}).top!=="1%",t.boxSizingReliable=(e.getComputedStyle(p,null)||{width:"4px"}).width==="4px",r=p.appendChild(o.createElement("div")),r.style.cssText=p.style.cssText=u,r.style.marginRight=r.style.width="0",p.style.width="1px",t.reliableMarginRight=!parseFloat((e.getComputedStyle(r,null)||{}).marginRight)),typeof p.style.zoom!==i&&(p.innerHTML="",p.style.cssText=u+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=p.offsetWidth===3,p.style.display="block",p.innerHTML="<div></div>",p.firstChild.style.width="5px",t.shrinkWrapBlocks=p.offsetWidth!==3,t.inlineBlockNeedsLayout&&(a.style.zoom=1)),a.removeChild(n),n=p=s=r=null}),n=u=a=f=r=s=null,t}({});var F=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,I=/([A-Z])/g;w.extend({cache:{},noData:{applet:!0,embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return e=e.nodeType?w.cache[e[w.expando]]:e[w.expando],!!e&&!z(e)},data:function(e,t,n){return q(e,t,n)},removeData:function(e,t){return R(e,t)},_data:function(e,t,n){return q(e,t,n,!0)},_removeData:function(e,t){return R(e,t,!0)},acceptData:function(e){if(e.nodeType&&e.nodeType!==1&&e.nodeType!==9)return!1;var t=e.nodeName&&w.noData[e.nodeName.toLowerCase()];return!t||t!==!0&&e.getAttribute("classid")===t}}),w.fn.extend({data:function(e,n){var r,i,s=null,o=0,u=this[0];if(e===t){if(this.length){s=w.data(u);if(u.nodeType===1&&!w._data(u,"parsedAttrs")){r=u.attributes;for(;o<r.length;o++)i=r[o].name,i.indexOf("data-")===0&&(i=w.camelCase(i.slice(5)),U(u,i,s[i]));w._data(u,"parsedAttrs",!0)}}return s}return typeof e=="object"?this.each(function(){w.data(this,e)}):arguments.length>1?this.each(function(){w.data(this,e,n)}):u?U(u,e,w.data(u,e)):null},removeData:function(e){return this.each(function(){w.removeData(this,e)})}}),w.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=w._data(e,t),n&&(!r||w.isArray(n)?r=w._data(e,t,w.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=w.queue(e,t),r=n.length,i=n.shift(),s=w._queueHooks(e,t),o=function(){w.dequeue(e,t)};i==="inprogress"&&(i=n.shift(),r--),i&&(t==="fx"&&n.unshift("inprogress"),delete s.stop,i.call(e,o,s)),!r&&s&&s.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return w._data(e,n)||w._data(e,n,{empty:w.Callbacks("once memory").add(function(){w._removeData(e,t+"queue"),w._removeData(e,n)})})}}),w.fn.extend({queue:function(e,n){var r=2;return typeof e!="string"&&(n=e,e="fx",r--),arguments.length<r?w.queue(this[0],e):n===t?this:this.each(function(){var t=w.queue(this,e,n);w._queueHooks(this,e),e==="fx"&&t[0]!=="inprogress"&&w.dequeue(this,e)})},dequeue:function(e){return this.each(function(){w.dequeue(this,e)})},delay:function(e,t){return e=w.fx?w.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var r,i=1,s=w.Deferred(),o=this,u=this.length,a=function(){--i||s.resolveWith(o,[o])};typeof e!="string"&&(n=e,e=t),e=e||"fx";while(u--)r=w._data(o[u],e+"queueHooks"),r&&r.empty&&(i++,r.empty.add(a));return a(),s.promise(n)}});var W,X,V=/[\t\r\n\f]/g,$=/\r/g,J=/^(?:input|select|textarea|button|object)$/i,K=/^(?:a|area)$/i,Q=/^(?:checked|selected)$/i,G=w.support.getSetAttribute,Y=w.support.input;w.fn.extend({attr:function(e,t){return w.access(this,w.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){w.removeAttr(this,e)})},prop:function(e,t){return w.access(this,w.prop,e,t,arguments.length>1)},removeProp:function(e){return e=w.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,s,o=0,u=this.length,a=typeof e=="string"&&e;if(w.isFunction(e))return this.each(function(t){w(this).addClass(e.call(this,t,this.className))});if(a){t=(e||"").match(S)||[];for(;o<u;o++){n=this[o],r=n.nodeType===1&&(n.className?(" "+n.className+" ").replace(V," "):" ");if(r){s=0;while(i=t[s++])r.indexOf(" "+i+" ")<0&&(r+=i+" ");n.className=w.trim(r)}}}return this},removeClass:function(e){var t,n,r,i,s,o=0,u=this.length,a=arguments.length===0||typeof e=="string"&&e;if(w.isFunction(e))return this.each(function(t){w(this).removeClass(e.call(this,t,this.className))});if(a){t=(e||"").match(S)||[];for(;o<u;o++){n=this[o],r=n.nodeType===1&&(n.className?(" "+n.className+" ").replace(V," "):"");if(r){s=0;while(i=t[s++])while(r.indexOf(" "+i+" ")>=0)r=r.replace(" "+i+" "," ");n.className=e?w.trim(r):""}}}return this},toggleClass:function(e,t){var n=typeof e;return typeof t=="boolean"&&n==="string"?t?this.addClass(e):this.removeClass(e):w.isFunction(e)?this.each(function(n){w(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if(n==="string"){var t,r=0,s=w(this),o=e.match(S)||[];while(t=o[r++])s.hasClass(t)?s.removeClass(t):s.addClass(t)}else if(n===i||n==="boolean")this.className&&w._data(this,"__className__",this.className),this.className=this.className||e===!1?"":w._data(this,"__className__")||""})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;n<r;n++)if(this[n].nodeType===1&&(" "+this[n].className+" ").replace(V," ").indexOf(t)>=0)return!0;return!1},val:function(e){var n,r,i,s=this[0];if(!arguments.length){if(s)return r=w.valHooks[s.type]||w.valHooks[s.nodeName.toLowerCase()],r&&"get"in r&&(n=r.get(s,"value"))!==t?n:(n=s.value,typeof n=="string"?n.replace($,""):n==null?"":n);return}return i=w.isFunction(e),this.each(function(n){var s;if(this.nodeType!==1)return;i?s=e.call(this,n,w(this).val()):s=e,s==null?s="":typeof s=="number"?s+="":w.isArray(s)&&(s=w.map(s,function(e){return e==null?"":e+""})),r=w.valHooks[this.type]||w.valHooks[this.nodeName.toLowerCase()];if(!r||!("set"in r)||r.set(this,s,"value")===t)this.value=s})}}),w.extend({valHooks:{option:{get:function(e){var t=w.find.attr(e,"value");return t!=null?t:e.text}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,s=e.type==="select-one"||i<0,o=s?null:[],u=s?i+1:r.length,a=i<0?u:s?i:0;for(;a<u;a++){n=r[a];if((n.selected||a===i)&&(w.support.optDisabled?!n.disabled:n.getAttribute("disabled")===null)&&(!n.parentNode.disabled||!w.nodeName(n.parentNode,"optgroup"))){t=w(n).val();if(s)return t;o.push(t)}}return o},set:function(e,t){var n,r,i=e.options,s=w.makeArray(t),o=i.length;while(o--){r=i[o];if(r.selected=w.inArray(w(r).val(),s)>=0)n=!0}return n||(e.selectedIndex=-1),s}}},attr:function(e,n,r){var s,o,u=e.nodeType;if(!e||u===3||u===8||u===2)return;if(typeof e.getAttribute===i)return w.prop(e,n,r);if(u!==1||!w.isXMLDoc(e))n=n.toLowerCase(),s=w.attrHooks[n]||(w.expr.match.bool.test(n)?X:W);if(r===t)return s&&"get"in s&&(o=s.get(e,n))!==null?o:(o=w.find.attr(e,n),o==null?t:o);if(r!==null)return s&&"set"in s&&(o=s.set(e,r,n))!==t?o:(e.setAttribute(n,r+""),r);w.removeAttr(e,n)},removeAttr:function(e,t){var n,r,i=0,s=t&&t.match(S);if(s&&e.nodeType===1)while(n=s[i++])r=w.propFix[n]||n,w.expr.match.bool.test(n)?Y&&G||!Q.test(n)?e[r]=!1:e[w.camelCase("default-"+n)]=e[r]=!1:w.attr(e,n,""),e.removeAttribute(G?n:r)},attrHooks:{type:{set:function(e,t){if(!w.support.radioValue&&t==="radio"&&w.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},propFix:{"for":"htmlFor","class":"className"},prop:function(e,n,r){var i,s,o,u=e.nodeType;if(!e||u===3||u===8||u===2)return;return o=u!==1||!w.isXMLDoc(e),o&&(n=w.propFix[n]||n,s=w.propHooks[n]),r!==t?s&&"set"in s&&(i=s.set(e,r,n))!==t?i:e[n]=r:s&&"get"in s&&(i=s.get(e,n))!==null?i:e[n]},propHooks:{tabIndex:{get:function(e){var t=w.find.attr(e,"tabindex");return t?parseInt(t,10):J.test(e.nodeName)||K.test(e.nodeName)&&e.href?0:-1}}}}),X={set:function(e,t,n){return t===!1?w.removeAttr(e,n):Y&&G||!Q.test(n)?e.setAttribute(!G&&w.propFix[n]||n,n):e[w.camelCase("default-"+n)]=e[n]=!0,n}},w.each(w.expr.match.bool.source.match(/\w+/g),function(e,n){var r=w.expr.attrHandle[n]||w.find.attr;w.expr.attrHandle[n]=Y&&G||!Q.test(n)?function(e,n,i){var s=w.expr.attrHandle[n],o=i?t:(w.expr.attrHandle[n]=t)!=r(e,n,i)?n.toLowerCase():null;return w.expr.attrHandle[n]=s,o}:function(e,n,r){return r?t:e[w.camelCase("default-"+n)]?n.toLowerCase():null}});if(!Y||!G)w.attrHooks.value={set:function(e,t,n){if(!w.nodeName(e,"input"))return W&&W.set(e,t,n);e.defaultValue=t}};G||(W={set:function(e,n,r){var i=e.getAttributeNode(r);return i||e.setAttributeNode(i=e.ownerDocument.createAttribute(r)),i.value=n+="",r==="value"||n===e.getAttribute(r)?n:t}},w.expr.attrHandle.id=w.expr.attrHandle.name=w.expr.attrHandle.coords=function(e,n,r){var i;return r?t:(i=e.getAttributeNode(n))&&i.value!==""?i.value:null},w.valHooks.button={get:function(e,n){var r=e.getAttributeNode(n);return r&&r.specified?r.value:t},set:W.set},w.attrHooks.contenteditable={set:function(e,t,n){W.set(e,t===""?!1:t,n)}},w.each(["width","height"],function(e,t){w.attrHooks[t]={set:function(e,n){if(n==="")return e.setAttribute(t,"auto"),n}}})),w.support.hrefNormalized||w.each(["href","src"],function(e,t){w.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),w.support.style||(w.attrHooks.style={get:function(e){return e.style.cssText||t},set:function(e,t){return e.style.cssText=t+""}}),w.support.optSelected||(w.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}}),w.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){w.propFix[this.toLowerCase()]=this}),w.support.enctype||(w.propFix.enctype="encoding"),w.each(["radio","checkbox"],function(){w.valHooks[this]={set:function(e,t){if(w.isArray(t))return e.checked=w.inArray(w(e).val(),t)>=0}},w.support.checkOn||(w.valHooks[this].get=function(e){return e.getAttribute("value")===null?"on":e.value})});var Z=/^(?:input|select|textarea)$/i,et=/^key/,tt=/^(?:mouse|contextmenu)|click/,nt=/^(?:focusinfocus|focusoutblur)$/,rt=/^([^.]*)(?:\.(.+)|)$/;w.event={global:{},add:function(e,n,r,s,o){var u,a,f,l,c,h,p,d,v,m,g,y=w._data(e);if(!y)return;r.handler&&(l=r,r=l.handler,o=l.selector),r.guid||(r.guid=w.guid++),(a=y.events)||(a=y.events={}),(h=y.handle)||(h=y.handle=function(e){return typeof w===i||!!e&&w.event.triggered===e.type?t:w.event.dispatch.apply(h.elem,arguments)},h.elem=e),n=(n||"").match(S)||[""],f=n.length;while(f--){u=rt.exec(n[f])||[],v=g=u[1],m=(u[2]||"").split(".").sort();if(!v)continue;c=w.event.special[v]||{},v=(o?c.delegateType:c.bindType)||v,c=w.event.special[v]||{},p=w.extend({type:v,origType:g,data:s,handler:r,guid:r.guid,selector:o,needsContext:o&&w.expr.match.needsContext.test(o),namespace:m.join(".")},l);if(!(d=a[v])){d=a[v]=[],d.delegateCount=0;if(!c.setup||c.setup.call(e,s,m,h)===!1)e.addEventListener?e.addEventListener(v,h,!1):e.attachEvent&&e.attachEvent("on"+v,h)}c.add&&(c.add.call(e,p),p.handler.guid||(p.handler.guid=r.guid)),o?d.splice(d.delegateCount++,0,p):d.push(p),w.event.global[v]=!0}e=null},remove:function(e,t,n,r,i){var s,o,u,a,f,l,c,h,p,d,v,m=w.hasData(e)&&w._data(e);if(!m||!(l=m.events))return;t=(t||"").match(S)||[""],f=t.length;while(f--){u=rt.exec(t[f])||[],p=v=u[1],d=(u[2]||"").split(".").sort();if(!p){for(p in l)w.event.remove(e,p+t[f],n,r,!0);continue}c=w.event.special[p]||{},p=(r?c.delegateType:c.bindType)||p,h=l[p]||[],u=u[2]&&new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=s=h.length;while(s--)o=h[s],(i||v===o.origType)&&(!n||n.guid===o.guid)&&(!u||u.test(o.namespace))&&(!r||r===o.selector||r==="**"&&o.selector)&&(h.splice(s,1),o.selector&&h.delegateCount--,c.remove&&c.remove.call(e,o));a&&!h.length&&((!c.teardown||c.teardown.call(e,d,m.handle)===!1)&&w.removeEvent(e,p,m.handle),delete l[p])}w.isEmptyObject(l)&&(delete m.handle,w._removeData(e,"events"))},trigger:function(n,r,i,s){var u,a,f,l,c,h,p,d=[i||o],v=y.call(n,"type")?n.type:n,m=y.call(n,"namespace")?n.namespace.split("."):[];f=h=i=i||o;if(i.nodeType===3||i.nodeType===8)return;if(nt.test(v+w.event.triggered))return;v.indexOf(".")>=0&&(m=v.split("."),v=m.shift(),m.sort()),a=v.indexOf(":")<0&&"on"+v,n=n[w.expando]?n:new w.Event(v,typeof n=="object"&&n),n.isTrigger=s?2:3,n.namespace=m.join("."),n.namespace_re=n.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,n.result=t,n.target||(n.target=i),r=r==null?[n]:w.makeArray(r,[n]),c=w.event.special[v]||{};if(!s&&c.trigger&&c.trigger.apply(i,r)===!1)return;if(!s&&!c.noBubble&&!w.isWindow(i)){l=c.delegateType||v,nt.test(l+v)||(f=f.parentNode);for(;f;f=f.parentNode)d.push(f),h=f;h===(i.ownerDocument||o)&&d.push(h.defaultView||h.parentWindow||e)}p=0;while((f=d[p++])&&!n.isPropagationStopped())n.type=p>1?l:c.bindType||v,u=(w._data(f,"events")||{})[n.type]&&w._data(f,"handle"),u&&u.apply(f,r),u=a&&f[a],u&&w.acceptData(f)&&u.apply&&u.apply(f,r)===!1&&n.preventDefault();n.type=v;if(!s&&!n.isDefaultPrevented()&&(!c._default||c._default.apply(d.pop(),r)===!1)&&w.acceptData(i)&&a&&i[v]&&!w.isWindow(i)){h=i[a],h&&(i[a]=null),w.event.triggered=v;try{i[v]()}catch(g){}w.event.triggered=t,h&&(i[a]=h)}return n.result},dispatch:function(e){e=w.event.fix(e);var n,r,i,s,o,u=[],a=v.call(arguments),f=(w._data(this,"events")||{})[e.type]||[],l=w.event.special[e.type]||{};a[0]=e,e.delegateTarget=this;if(l.preDispatch&&l.preDispatch.call(this,e)===!1)return;u=w.event.handlers.call(this,e,f),n=0;while((s=u[n++])&&!e.isPropagationStopped()){e.currentTarget=s.elem,o=0;while((i=s.handlers[o++])&&!e.isImmediatePropagationStopped())if(!e.namespace_re||e.namespace_re.test(i.namespace))e.handleObj=i,e.data=i.data,r=((w.event.special[i.origType]||{}).handle||i.handler).apply(s.elem,a),r!==t&&(e.result=r)===!1&&(e.preventDefault(),e.stopPropagation())}return l.postDispatch&&l.postDispatch.call(this,e),e.result},handlers:function(e,n){var r,i,s,o,u=[],a=n.delegateCount,f=e.target;if(a&&f.nodeType&&(!e.button||e.type!=="click"))for(;f!=this;f=f.parentNode||this)if(f.nodeType===1&&(f.disabled!==!0||e.type!=="click")){s=[];for(o=0;o<a;o++)i=n[o],r=i.selector+" ",s[r]===t&&(s[r]=i.needsContext?w(r,this).index(f)>=0:w.find(r,this,null,[f]).length),s[r]&&s.push(i);s.length&&u.push({elem:f,handlers:s})}return a<n.length&&u.push({elem:this,handlers:n.slice(a)}),u},fix:function(e){if(e[w.expando])return e;var t,n,r,i=e.type,s=e,u=this.fixHooks[i];u||(this.fixHooks[i]=u=tt.test(i)?this.mouseHooks:et.test(i)?this.keyHooks:{}),r=u.props?this.props.concat(u.props):this.props,e=new w.Event(s),t=r.length;while(t--)n=r[t],e[n]=s[n];return e.target||(e.target=s.srcElement||o),e.target.nodeType===3&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,u.filter?u.filter(e,s):e},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(e,t){return e.which==null&&(e.which=t.charCode!=null?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,n){var r,i,s,u=n.button,a=n.fromElement;return e.pageX==null&&n.clientX!=null&&(i=e.target.ownerDocument||o,s=i.documentElement,r=i.body,e.pageX=n.clientX+(s&&s.scrollLeft||r&&r.scrollLeft||0)-(s&&s.clientLeft||r&&r.clientLeft||0),e.pageY=n.clientY+(s&&s.scrollTop||r&&r.scrollTop||0)-(s&&s.clientTop||r&&r.clientTop||0)),!e.relatedTarget&&a&&(e.relatedTarget=a===e.target?n.toElement:a),!e.which&&u!==t&&(e.which=u&1?1:u&2?3:u&4?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==ot()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){if(this===ot()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(w.nodeName(this,"input")&&this.type==="checkbox"&&this.click)return this.click(),!1},_default:function(e){return w.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){e.result!==t&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){var i=w.extend(new w.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?w.event.trigger(i,null,t):w.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},w.removeEvent=o.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var r="on"+t;e.detachEvent&&(typeof e[r]===i&&(e[r]=null),e.detachEvent(r,n))},w.Event=function(e,t){if(!(this instanceof w.Event))return new w.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.returnValue===!1||e.getPreventDefault&&e.getPreventDefault()?it:st):this.type=e,t&&w.extend(this,t),this.timeStamp=e&&e.timeStamp||w.now(),this[w.expando]=!0},w.Event.prototype={isDefaultPrevented:st,isPropagationStopped:st,isImmediatePropagationStopped:st,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=it;if(!e)return;e.preventDefault?e.preventDefault():e.returnValue=!1},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=it;if(!e)return;e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=it,this.stopPropagation()}},w.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){w.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,s=e.handleObj;if(!i||i!==r&&!w.contains(r,i))e.type=s.origType,n=s.handler.apply(this,arguments),e.type=t;return n}}}),w.support.submitBubbles||(w.event.special.submit={setup:function(){if(w.nodeName(this,"form"))return!1;w.event.add(this,"click._submit keypress._submit",function(e){var n=e.target,r=w.nodeName(n,"input")||w.nodeName(n,"button")?n.form:t;r&&!w._data(r,"submitBubbles")&&(w.event.add(r,"submit._submit",function(e){e._submit_bubble=!0}),w._data(r,"submitBubbles",!0))})},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&w.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){if(w.nodeName(this,"form"))return!1;w.event.remove(this,"._submit")}}),w.support.changeBubbles||(w.event.special.change={setup:function(){if(Z.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio")w.event.add(this,"propertychange._change",function(e){e.originalEvent.propertyName==="checked"&&(this._just_changed=!0)}),w.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),w.event.simulate("change",this,e,!0)});return!1}w.event.add(this,"beforeactivate._change",function(e){var t=e.target;Z.test(t.nodeName)&&!w._data(t,"changeBubbles")&&(w.event.add(t,"change._change",function(e){this.parentNode&&!e.isSimulated&&!e.isTrigger&&w.event.simulate("change",this.parentNode,e,!0)}),w._data(t,"changeBubbles",!0))})},handle:function(e){var t=e.target;if(this!==t||e.isSimulated||e.isTrigger||t.type!=="radio"&&t.type!=="checkbox")return e.handleObj.handler.apply(this,arguments)},teardown:function(){return w.event.remove(this,"._change"),!Z.test(this.nodeName)}}),w.support.focusinBubbles||w.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,r=function(e){w.event.simulate(t,e.target,w.event.fix(e),!0)};w.event.special[t]={setup:function(){n++===0&&o.addEventListener(e,r,!0)},teardown:function(){--n===0&&o.removeEventListener(e,r,!0)}}}),w.fn.extend({on:function(e,n,r,i,s){var o,u;if(typeof e=="object"){typeof n!="string"&&(r=r||n,n=t);for(o in e)this.on(o,n,r,e[o],s);return this}r==null&&i==null?(i=n,r=n=t):i==null&&(typeof n=="string"?(i=r,r=t):(i=r,r=n,n=t));if(i===!1)i=st;else if(!i)return this;return s===1&&(u=i,i=function(e){return w().off(e),u.apply(this,arguments)},i.guid=u.guid||(u.guid=w.guid++)),this.each(function(){w.event.add(this,e,i,r,n)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,n,r){var i,s;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,w(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if(typeof e=="object"){for(s in e)this.off(s,n,e[s]);return this}if(n===!1||typeof n=="function")r=n,n=t;return r===!1&&(r=st),this.each(function(){w.event.remove(this,e,r,n)})},trigger:function(e,t){return this.each(function(){w.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return w.event.trigger(e,t,n,!0)}});var ut=/^.[^:#\[\.,]*$/,at=/^(?:parents|prev(?:Until|All))/,ft=w.expr.match.needsContext,lt={children:!0,contents:!0,next:!0,prev:!0};w.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if(typeof e!="string")return this.pushStack(w(e).filter(function(){for(t=0;t<i;t++)if(w.contains(r[t],this))return!0}));for(t=0;t<i;t++)w.find(e,r[t],n);return n=this.pushStack(i>1?w.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},has:function(e){var t,n=w(e,this),r=n.length;return this.filter(function(){for(t=0;t<r;t++)if(w.contains(this,n[t]))return!0})},not:function(e){return this.pushStack(ht(this,e||[],!0))},filter:function(e){return this.pushStack(ht(this,e||[],!1))},is:function(e){return!!ht(this,typeof e=="string"&&ft.test(e)?w(e):e||[],!1).length},closest:function(e,t){var n,r=0,i=this.length,s=[],o=ft.test(e)||typeof e!="string"?w(e,t||this.context):0;for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(o?o.index(n)>-1:n.nodeType===1&&w.find.matchesSelector(n,e))){n=s.push(n);break}return this.pushStack(s.length>1?w.unique(s):s)},index:function(e){return e?typeof e=="string"?w.inArray(this[0],w(e)):w.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){var n=typeof e=="string"?w(e,t):w.makeArray(e&&e.nodeType?[e]:e),r=w.merge(this.get(),n);return this.pushStack(w.unique(r))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}}),w.each({parent:function(e){var t=e.parentNode;return t&&t.nodeType!==11?t:null},parents:function(e){return w.dir(e,"parentNode")},parentsUntil:function(e,t,n){return w.dir(e,"parentNode",n)},next:function(e){return ct(e,"nextSibling")},prev:function(e){return ct(e,"previousSibling")},nextAll:function(e){return w.dir(e,"nextSibling")},prevAll:function(e){return w.dir(e,"previousSibling")},nextUntil:function(e,t,n){return w.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return w.dir(e,"previousSibling",n)},siblings:function(e){return w.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return w.sibling(e.firstChild)},contents:function(e){return w.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:w.merge([],e.childNodes)}},function(e,t){w.fn[e]=function(n,r){var i=w.map(this,t,n);return e.slice(-5)!=="Until"&&(r=n),r&&typeof r=="string"&&(i=w.filter(r,i)),this.length>1&&(lt[e]||(i=w.unique(i)),at.test(e)&&(i=i.reverse())),this.pushStack(i)}}),w.extend({filter:function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),t.length===1&&r.nodeType===1?w.find.matchesSelector(r,e)?[r]:[]:w.find.matches(e,w.grep(t,function(e){return e.nodeType===1}))},dir:function(e,n,r){var i=[],s=e[n];while(s&&s.nodeType!==9&&(r===t||s.nodeType!==1||!w(s).is(r)))s.nodeType===1&&i.push(s),s=s[n];return i},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)e.nodeType===1&&e!==t&&n.push(e);return n}});var dt="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",vt=/ jQuery\d+="(?:null|\d+)"/g,mt=new RegExp("<(?:"+dt+")[\\s/>]","i"),gt=/^\s+/,yt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,bt=/<([\w:]+)/,wt=/<tbody/i,Et=/<|&#?\w+;/,St=/<(?:script|style|link)/i,xt=/^(?:checkbox|radio)$/i,Tt=/checked\s*(?:[^=]|=\s*.checked.)/i,Nt=/^$|\/(?:java|ecma)script/i,Ct=/^true\/(.*)/,kt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,Lt={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:w.support.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},At=pt(o),Ot=At.appendChild(o.createElement("div"));Lt.optgroup=Lt.option,Lt.tbody=Lt.tfoot=Lt.colgroup=Lt.caption=Lt.thead,Lt.th=Lt.td,w.fn.extend({text:function(e){return w.access(this,function(e){return e===t?w.text(this):this.empty().append((this[0]&&this[0].ownerDocument||o).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=Mt(this,e);t.appendChild(e)}})},prepend:function(){return this.domManip(arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=Mt(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){var n,r=e?w.filter(e,this):this,i=0;for(;(n=r[i])!=null;i++)!t&&n.nodeType===1&&w.cleanData(jt(n)),n.parentNode&&(t&&w.contains(n.ownerDocument,n)&&Pt(jt(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){var e,t=0;for(;(e=this[t])!=null;t++){e.nodeType===1&&w.cleanData(jt(e,!1));while(e.firstChild)e.removeChild(e.firstChild);e.options&&w.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=e==null?!1:e,t=t==null?e:t,this.map(function(){return w.clone(this,e,t)})},html:function(e){return w.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t)return n.nodeType===1?n.innerHTML.replace(vt,""):t;if(typeof e=="string"&&!St.test(e)&&(w.support.htmlSerialize||!mt.test(e))&&(w.support.leadingWhitespace||!gt.test(e))&&!Lt[(bt.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(yt,"<$1></$2>");try{for(;r<i;r++)n=this[r]||{},n.nodeType===1&&(w.cleanData(jt(n,!1)),n.innerHTML=e);n=0}catch(s){}}n&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=w.map(this,function(e){return[e.nextSibling,e.parentNode]}),t=0;return this.domManip(arguments,function(n){var r=e[t++],i=e[t++];i&&(r&&r.parentNode!==i&&(r=this.nextSibling),w(this).remove(),i.insertBefore(n,r))},!0),t?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(e,t,n){e=p.apply([],e);var r,i,s,o,u,a,f=0,l=this.length,c=this,h=l-1,d=e[0],v=w.isFunction(d);if(v||!(l<=1||typeof d!="string"||w.support.checkClone||!Tt.test(d)))return this.each(function(r){var i=c.eq(r);v&&(e[0]=d.call(this,r,i.html())),i.domManip(e,t,n)});if(l){a=w.buildFragment(e,this[0].ownerDocument,!1,!n&&this),r=a.firstChild,a.childNodes.length===1&&(a=r);if(r){o=w.map(jt(a,"script"),_t),s=o.length;for(;f<l;f++)i=a,f!==h&&(i=w.clone(i,!0,!0),s&&w.merge(o,jt(i,"script"))),t.call(this[f],i,f);if(s){u=o[o.length-1].ownerDocument,w.map(o,Dt);for(f=0;f<s;f++)i=o[f],Nt.test(i.type||"")&&!w._data(i,"globalEval")&&w.contains(u,i)&&(i.src?w._evalUrl(i.src):w.globalEval((i.text||i.textContent||i.innerHTML||"").replace(kt,"")))}a=r=null}}return this}}),w.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){w.fn[e]=function(e){var n,r=0,i=[],s=w(e),o=s.length-1;for(;r<=o;r++)n=r===o?this:this.clone(!0),w(s[r])[t](n),d.apply(i,n.get());return this.pushStack(i)}}),w.extend({clone:function(e,t,n){var r,i,s,o,u,a=w.contains(e.ownerDocument,e);w.support.html5Clone||w.isXMLDoc(e)||!mt.test("<"+e.nodeName+">")?s=e.cloneNode(!0):(Ot.innerHTML=e.outerHTML,Ot.removeChild(s=Ot.firstChild));if((!w.support.noCloneEvent||!w.support.noCloneChecked)&&(e.nodeType===1||e.nodeType===11)&&!w.isXMLDoc(e)){r=jt(s),u=jt(e);for(o=0;(i=u[o])!=null;++o)r[o]&&Bt(i,r[o])}if(t)if(n){u=u||jt(e),r=r||jt(s);for(o=0;(i=u[o])!=null;o++)Ht(i,r[o])}else Ht(e,s);return r=jt(s,"script"),r.length>0&&Pt(r,!a&&jt(e,"script")),r=u=i=null,s},buildFragment:function(e,t,n,r){var i,s,o,u,a,f,l,c=e.length,h=pt(t),p=[],d=0;for(;d<c;d++){s=e[d];if(s||s===0)if(w.type(s)==="object")w.merge(p,s.nodeType?[s]:s);else if(!Et.test(s))p.push(t.createTextNode(s));else{u=u||h.appendChild(t.createElement("div")),a=(bt.exec(s)||["",""])[1].toLowerCase(),l=Lt[a]||Lt._default,u.innerHTML=l[1]+s.replace(yt,"<$1></$2>")+l[2],i=l[0];while(i--)u=u.lastChild;!w.support.leadingWhitespace&>.test(s)&&p.push(t.createTextNode(gt.exec(s)[0]));if(!w.support.tbody){s=a==="table"&&!wt.test(s)?u.firstChild:l[1]==="<table>"&&!wt.test(s)?u:0,i=s&&s.childNodes.length;while(i--)w.nodeName(f=s.childNodes[i],"tbody")&&!f.childNodes.length&&s.removeChild(f)}w.merge(p,u.childNodes),u.textContent="";while(u.firstChild)u.removeChild(u.firstChild);u=h.lastChild}}u&&h.removeChild(u),w.support.appendChecked||w.grep(jt(p,"input"),Ft),d=0;while(s=p[d++]){if(r&&w.inArray(s,r)!==-1)continue;o=w.contains(s.ownerDocument,s),u=jt(h.appendChild(s),"script"),o&&Pt(u);if(n){i=0;while(s=u[i++])Nt.test(s.type||"")&&n.push(s)}}return u=null,h},cleanData:function(e,t){var n,r,s,o,u=0,a=w.expando,f=w.cache,l=w.support.deleteExpando,h=w.event.special;for(;(n=e[u])!=null;u++)if(t||w.acceptData(n)){s=n[a],o=s&&f[s];if(o){if(o.events)for(r in o.events)h[r]?w.event.remove(n,r):w.removeEvent(n,r,o.handle);f[s]&&(delete f[s],l?delete n[a]:typeof n.removeAttribute!==i?n.removeAttribute(a):n[a]=null,c.push(s))}}},_evalUrl:function(e){return w.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})}}),w.fn.extend({wrapAll:function(e){if(w.isFunction(e))return this.each(function(t){w(this).wrapAll(e.call(this,t))});if(this[0]){var t=w(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&e.firstChild.nodeType===1)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return w.isFunction(e)?this.each(function(t){w(this).wrapInner(e.call(this,t))}):this.each(function(){var t=w(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=w.isFunction(e);return this.each(function(n){w(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){w.nodeName(this,"body")||w(this).replaceWith(this.childNodes)}).end()}});var It,qt,Rt,Ut=/alpha\([^)]*\)/i,zt=/opacity\s*=\s*([^)]*)/,Wt=/^(top|right|bottom|left)$/,Xt=/^(none|table(?!-c[ea]).+)/,Vt=/^margin/,$t=new RegExp("^("+E+")(.*)$","i"),Jt=new RegExp("^("+E+")(?!px)[a-z%]+$","i"),Kt=new RegExp("^([+-])=("+E+")","i"),Qt={BODY:"block"},Gt={position:"absolute",visibility:"hidden",display:"block"},Yt={letterSpacing:0,fontWeight:400},Zt=["Top","Right","Bottom","Left"],en=["Webkit","O","Moz","ms"];w.fn.extend({css:function(e,n){return w.access(this,function(e,n,r){var i,s,o={},u=0;if(w.isArray(n)){s=qt(e),i=n.length;for(;u<i;u++)o[n[u]]=w.css(e,n[u],!1,s);return o}return r!==t?w.style(e,n,r):w.css(e,n)},e,n,arguments.length>1)},show:function(){return rn(this,!0)},hide:function(){return rn(this)},toggle:function(e){return typeof e=="boolean"?e?this.show():this.hide():this.each(function(){nn(this)?w(this).show():w(this).hide()})}}),w.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Rt(e,"opacity");return n===""?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":w.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(!e||e.nodeType===3||e.nodeType===8||!e.style)return;var s,o,u,a=w.camelCase(n),f=e.style;n=w.cssProps[a]||(w.cssProps[a]=tn(f,a)),u=w.cssHooks[n]||w.cssHooks[a];if(r===t)return u&&"get"in u&&(s=u.get(e,!1,i))!==t?s:f[n];o=typeof r,o==="string"&&(s=Kt.exec(r))&&(r=(s[1]+1)*s[2]+parseFloat(w.css(e,n)),o="number");if(r==null||o==="number"&&isNaN(r))return;o==="number"&&!w.cssNumber[a]&&(r+="px"),!w.support.clearCloneStyle&&r===""&&n.indexOf("background")===0&&(f[n]="inherit");if(!u||!("set"in u)||(r=u.set(e,r,i))!==t)try{f[n]=r}catch(l){}},css:function(e,n,r,i){var s,o,u,a=w.camelCase(n);return n=w.cssProps[a]||(w.cssProps[a]=tn(e.style,a)),u=w.cssHooks[n]||w.cssHooks[a],u&&"get"in u&&(o=u.get(e,!0,r)),o===t&&(o=Rt(e,n,i)),o==="normal"&&n in Yt&&(o=Yt[n]),r===""||r?(s=parseFloat(o),r===!0||w.isNumeric(s)?s||0:o):o}}),e.getComputedStyle?(qt=function(t){return e.getComputedStyle(t,null)},Rt=function(e,n,r){var i,s,o,u=r||qt(e),a=u?u.getPropertyValue(n)||u[n]:t,f=e.style;return u&&(a===""&&!w.contains(e.ownerDocument,e)&&(a=w.style(e,n)),Jt.test(a)&&Vt.test(n)&&(i=f.width,s=f.minWidth,o=f.maxWidth,f.minWidth=f.maxWidth=f.width=a,a=u.width,f.width=i,f.minWidth=s,f.maxWidth=o)),a}):o.documentElement.currentStyle&&(qt=function(e){return e.currentStyle},Rt=function(e,n,r){var i,s,o,u=r||qt(e),a=u?u[n]:t,f=e.style;return a==null&&f&&f[n]&&(a=f[n]),Jt.test(a)&&!Wt.test(n)&&(i=f.left,s=e.runtimeStyle,o=s&&s.left,o&&(s.left=e.currentStyle.left),f.left=n==="fontSize"?"1em":a,a=f.pixelLeft+"px",f.left=i,o&&(s.left=o)),a===""?"auto":a}),w.each(["height","width"],function(e,t){w.cssHooks[t]={get:function(e,n,r){if(n)return e.offsetWidth===0&&Xt.test(w.css(e,"display"))?w.swap(e,Gt,function(){return un(e,t,r)}):un(e,t,r)},set:function(e,n,r){var i=r&&qt(e);return sn(e,n,r?on(e,t,r,w.support.boxSizing&&w.css(e,"boxSizing",!1,i)==="border-box",i):0)}}}),w.support.opacity||(w.cssHooks.opacity={get:function(e,t){return zt.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=w.isNumeric(t)?"alpha(opacity="+t*100+")":"",s=r&&r.filter||n.filter||"";n.zoom=1;if((t>=1||t==="")&&w.trim(s.replace(Ut,""))===""&&n.removeAttribute){n.removeAttribute("filter");if(t===""||r&&!r.filter)return}n.filter=Ut.test(s)?s.replace(Ut,i):s+" "+i}}),w(function(){w.support.reliableMarginRight||(w.cssHooks.marginRight={get:function(e,t){if(t)return w.swap(e,{display:"inline-block"},Rt,[e,"marginRight"])}}),!w.support.pixelPosition&&w.fn.position&&w.each(["top","left"],function(e,t){w.cssHooks[t]={get:function(e,n){if(n)return n=Rt(e,t),Jt.test(n)?w(e).position()[t]+"px":n}}})}),w.expr&&w.expr.filters&&(w.expr.filters.hidden=function(e){return e.offsetWidth<=0&&e.offsetHeight<=0||!w.support.reliableHiddenOffsets&&(e.style&&e.style.display||w.css(e,"display"))==="none"},w.expr.filters.visible=function(e){return!w.expr.filters.hidden(e)}),w.each({margin:"",padding:"",border:"Width"},function(e,t){w.cssHooks[e+t]={expand:function(n){var r=0,i={},s=typeof n=="string"?n.split(" "):[n];for(;r<4;r++)i[e+Zt[r]+t]=s[r]||s[r-2]||s[0];return i}},Vt.test(e)||(w.cssHooks[e+t].set=sn)});var ln=/%20/g,cn=/\[\]$/,hn=/\r?\n/g,pn=/^(?:submit|button|image|reset|file)$/i,dn=/^(?:input|select|textarea|keygen)/i;w.fn.extend({serialize:function(){return w.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=w.prop(this,"elements");return e?w.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!w(this).is(":disabled")&&dn.test(this.nodeName)&&!pn.test(e)&&(this.checked||!xt.test(e))}).map(function(e,t){var n=w(this).val();return n==null?null:w.isArray(n)?w.map(n,function(e){return{name:t.name,value:e.replace(hn,"\r\n")}}):{name:t.name,value:n.replace(hn,"\r\n")}}).get()}}),w.param=function(e,n){var r,i=[],s=function(e,t){t=w.isFunction(t)?t():t==null?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};n===t&&(n=w.ajaxSettings&&w.ajaxSettings.traditional);if(w.isArray(e)||e.jquery&&!w.isPlainObject(e))w.each(e,function(){s(this.name,this.value)});else for(r in e)vn(r,e[r],n,s);return i.join("&").replace(ln,"+")},w.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(e,t){w.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),w.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return arguments.length===1?this.off(e,"**"):this.off(t,e||"**",n)}});var mn,gn,yn=w.now(),bn=/\?/,wn=/#.*$/,En=/([?&])_=[^&]*/,Sn=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,xn=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Tn=/^(?:GET|HEAD)$/,Nn=/^\/\//,Cn=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,kn=w.fn.load,Ln={},An={},On="*/".concat("*");try{gn=s.href}catch(Mn){gn=o.createElement("a"),gn.href="",gn=gn.href}mn=Cn.exec(gn.toLowerCase())||[],w.fn.load=function(e,n,r){if(typeof e!="string"&&kn)return kn.apply(this,arguments);var i,s,o,u=this,a=e.indexOf(" ");return a>=0&&(i=e.slice(a,e.length),e=e.slice(0,a)),w.isFunction(n)?(r=n,n=t):n&&typeof n=="object"&&(o="POST"),u.length>0&&w.ajax({url:e,type:o,dataType:"html",data:n}).done(function(e){s=arguments,u.html(i?w("<div>").append(w.parseHTML(e)).find(i):e)}).complete(r&&function(e,t){u.each(r,s||[e.responseText,t,e])}),this},w.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){w.fn[t]=function(e){return this.on(t,e)}}),w.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:gn,type:"GET",isLocal:xn.test(mn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":On,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":w.parseJSON,"text xml":w.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Pn(Pn(e,w.ajaxSettings),t):Pn(w.ajaxSettings,e)},ajaxPrefilter:_n(Ln),ajaxTransport:_n(An),ajax:function(e,n){function N(e,n,r,i){var l,g,y,E,S,T=n;if(b===2)return;b=2,u&&clearTimeout(u),f=t,o=i||"",x.readyState=e>0?4:0,l=e>=200&&e<300||e===304,r&&(E=Hn(c,x,r)),E=Bn(c,E,x,l);if(l)c.ifModified&&(S=x.getResponseHeader("Last-Modified"),S&&(w.lastModified[s]=S),S=x.getResponseHeader("etag"),S&&(w.etag[s]=S)),e===204||c.type==="HEAD"?T="nocontent":e===304?T="notmodified":(T=E.state,g=E.data,y=E.error,l=!y);else{y=T;if(e||!T)T="error",e<0&&(e=0)}x.status=e,x.statusText=(n||T)+"",l?d.resolveWith(h,[g,T,x]):d.rejectWith(h,[x,T,y]),x.statusCode(m),m=t,a&&p.trigger(l?"ajaxSuccess":"ajaxError",[x,c,l?g:y]),v.fireWith(h,[x,T]),a&&(p.trigger("ajaxComplete",[x,c]),--w.active||w.event.trigger("ajaxStop"))}typeof e=="object"&&(n=e,e=t),n=n||{};var r,i,s,o,u,a,f,l,c=w.ajaxSetup({},n),h=c.context||c,p=c.context&&(h.nodeType||h.jquery)?w(h):w.event,d=w.Deferred(),v=w.Callbacks("once memory"),m=c.statusCode||{},g={},y={},b=0,E="canceled",x={readyState:0,getResponseHeader:function(e){var t;if(b===2){if(!l){l={};while(t=Sn.exec(o))l[t[1].toLowerCase()]=t[2]}t=l[e.toLowerCase()]}return t==null?null:t},getAllResponseHeaders:function(){return b===2?o:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return b||(e=y[n]=y[n]||e,g[e]=t),this},overrideMimeType:function(e){return b||(c.mimeType=e),this},statusCode:function(e){var t;if(e)if(b<2)for(t in e)m[t]=[m[t],e[t]];else x.always(e[x.status]);return this},abort:function(e){var t=e||E;return f&&f.abort(t),N(0,t),this}};d.promise(x).complete=v.add,x.success=x.done,x.error=x.fail,c.url=((e||c.url||gn)+"").replace(wn,"").replace(Nn,mn[1]+"//"),c.type=n.method||n.type||c.method||c.type,c.dataTypes=w.trim(c.dataType||"*").toLowerCase().match(S)||[""],c.crossDomain==null&&(r=Cn.exec(c.url.toLowerCase()),c.crossDomain=!(!r||r[1]===mn[1]&&r[2]===mn[2]&&(r[3]||(r[1]==="http:"?"80":"443"))===(mn[3]||(mn[1]==="http:"?"80":"443")))),c.data&&c.processData&&typeof c.data!="string"&&(c.data=w.param(c.data,c.traditional)),Dn(Ln,c,n,x);if(b===2)return x;a=c.global,a&&w.active++===0&&w.event.trigger("ajaxStart"),c.type=c.type.toUpperCase(),c.hasContent=!Tn.test(c.type),s=c.url,c.hasContent||(c.data&&(s=c.url+=(bn.test(s)?"&":"?")+c.data,delete c.data),c.cache===!1&&(c.url=En.test(s)?s.replace(En,"$1_="+yn++):s+(bn.test(s)?"&":"?")+"_="+yn++)),c.ifModified&&(w.lastModified[s]&&x.setRequestHeader("If-Modified-Since",w.lastModified[s]),w.etag[s]&&x.setRequestHeader("If-None-Match",w.etag[s])),(c.data&&c.hasContent&&c.contentType!==!1||n.contentType)&&x.setRequestHeader("Content-Type",c.contentType),x.setRequestHeader("Accept",c.dataTypes[0]&&c.accepts[c.dataTypes[0]]?c.accepts[c.dataTypes[0]]+(c.dataTypes[0]!=="*"?", "+On+"; q=0.01":""):c.accepts["*"]);for(i in c.headers)x.setRequestHeader(i,c.headers[i]);if(!c.beforeSend||c.beforeSend.call(h,x,c)!==!1&&b!==2){E="abort";for(i in{success:1,error:1,complete:1})x[i](c[i]);f=Dn(An,c,n,x);if(!f)N(-1,"No Transport");else{x.readyState=1,a&&p.trigger("ajaxSend",[x,c]),c.async&&c.timeout>0&&(u=setTimeout(function(){x.abort("timeout")},c.timeout));try{b=1,f.send(g,N)}catch(T){if(!(b<2))throw T;N(-1,T)}}return x}return x.abort()},getJSON:function(e,t,n){return w.get(e,t,n,"json")},getScript:function(e,n){return w.get(e,t,n,"script")}}),w.each(["get","post"],function(e,n){w[n]=function(e,r,i,s){return w.isFunction(r)&&(s=s||i,i=r,r=t),w.ajax({url:e,type:n,dataType:s,data:r,success:i})}}),w.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return w.globalEval(e),e}}}),w.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),w.ajaxTransport("script",function(e){if(e.crossDomain){var n,r=o.head||w("head")[0]||o.documentElement;return{send:function(t,i){n=o.createElement("script"),n.async=!0,e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,t){if(t||!n.readyState||/loaded|complete/.test(n.readyState))n.onload=n.onreadystatechange=null,n.parentNode&&n.parentNode.removeChild(n),n=null,t||i(200,"success")},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(t,!0)}}}});var jn=[],Fn=/(=)\?(?=&|$)|\?\?/;w.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=jn.pop()||w.expando+"_"+yn++;return this[e]=!0,e}}),w.ajaxPrefilter("json jsonp",function(n,r,i){var s,o,u,a=n.jsonp!==!1&&(Fn.test(n.url)?"url":typeof n.data=="string"&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Fn.test(n.data)&&"data");if(a||n.dataTypes[0]==="jsonp")return s=n.jsonpCallback=w.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,a?n[a]=n[a].replace(Fn,"$1"+s):n.jsonp!==!1&&(n.url+=(bn.test(n.url)?"&":"?")+n.jsonp+"="+s),n.converters["script json"]=function(){return u||w.error(s+" was not called"),u[0]},n.dataTypes[0]="json",o=e[s],e[s]=function(){u=arguments},i.always(function(){e[s]=o,n[s]&&(n.jsonpCallback=r.jsonpCallback,jn.push(s)),u&&w.isFunction(o)&&o(u[0]),u=o=t}),"script"});var In,qn,Rn=0,Un=e.ActiveXObject&&function(){var e;for(e in In)In[e](t,!0)};w.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&zn()||Wn()}:zn,qn=w.ajaxSettings.xhr(),w.support.cors=!!qn&&"withCredentials"in qn,qn=w.support.ajax=!!qn,qn&&w.ajaxTransport(function(n){if(!n.crossDomain||w.support.cors){var r;return{send:function(i,s){var o,u,a=n.xhr();n.username?a.open(n.type,n.url,n.async,n.username,n.password):a.open(n.type,n.url,n.async);if(n.xhrFields)for(u in n.xhrFields)a[u]=n.xhrFields[u];n.mimeType&&a.overrideMimeType&&a.overrideMimeType(n.mimeType),!n.crossDomain&&!i["X-Requested-With"]&&(i["X-Requested-With"]="XMLHttpRequest");try{for(u in i)a.setRequestHeader(u,i[u])}catch(f){}a.send(n.hasContent&&n.data||null),r=function(e,i){var u,f,l,c;try{if(r&&(i||a.readyState===4)){r=t,o&&(a.onreadystatechange=w.noop,Un&&delete In[o]);if(i)a.readyState!==4&&a.abort();else{c={},u=a.status,f=a.getAllResponseHeaders(),typeof a.responseText=="string"&&(c.text=a.responseText);try{l=a.statusText}catch(h){l=""}!u&&n.isLocal&&!n.crossDomain?u=c.text?200:404:u===1223&&(u=204)}}}catch(p){i||s(-1,p)}c&&s(u,l,c,f)},n.async?a.readyState===4?setTimeout(r):(o=++Rn,Un&&(In||(In={},w(e).unload(Un)),In[o]=r),a.onreadystatechange=r):r()},abort:function(){r&&r(t,!0)}}}});var Xn,Vn,$n=/^(?:toggle|show|hide)$/,Jn=new RegExp("^(?:([+-])=|)("+E+")([a-z%]*)$","i"),Kn=/queueHooks$/,Qn=[nr],Gn={"*":[function(e,t){var n=this.createTween(e,t),r=n.cur(),i=Jn.exec(t),s=i&&i[3]||(w.cssNumber[e]?"":"px"),o=(w.cssNumber[e]||s!=="px"&&+r)&&Jn.exec(w.css(n.elem,e)),u=1,a=20;if(o&&o[3]!==s){s=s||o[3],i=i||[],o=+r||1;do u=u||".5",o/=u,w.style(n.elem,e,o+s);while(u!==(u=n.cur()/r)&&u!==1&&--a)}return i&&(o=n.start=+o||+r||0,n.unit=s,n.end=i[1]?o+(i[1]+1)*i[2]:+i[2]),n}]};w.Animation=w.extend(er,{tweener:function(e,t){w.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");var n,r=0,i=e.length;for(;r<i;r++)n=e[r],Gn[n]=Gn[n]||[],Gn[n].unshift(t)},prefilter:function(e,t){t?Qn.unshift(e):Qn.push(e)}}),w.Tween=rr,rr.prototype={constructor:rr,init:function(e,t,n,r,i,s){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=s||(w.cssNumber[n]?"":"px")},cur:function(){var e=rr.propHooks[this.prop];return e&&e.get?e.get(this):rr.propHooks._default.get(this)},run:function(e){var t,n=rr.propHooks[this.prop];return this.options.duration?this.pos=t=w.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):rr.propHooks._default.set(this),this}},rr.prototype.init.prototype=rr.prototype,rr.propHooks={_default:{get:function(e){var t;return e.elem[e.prop]==null||!!e.elem.style&&e.elem.style[e.prop]!=null?(t=w.css(e.elem,e.prop,""),!t||t==="auto"?0:t):e.elem[e.prop]},set:function(e){w.fx.step[e.prop]?w.fx.step[e.prop](e):e.elem.style&&(e.elem.style[w.cssProps[e.prop]]!=null||w.cssHooks[e.prop])?w.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},rr.propHooks.scrollTop=rr.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},w.each(["toggle","show","hide"],function(e,t){var n=w.fn[t];w.fn[t]=function(e,r,i){return e==null||typeof e=="boolean"?n.apply(this,arguments):this.animate(ir(t,!0),e,r,i)}}),w.fn.extend({fadeTo:function(e,t,n,r){return this.filter(nn).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=w.isEmptyObject(e),s=w.speed(t,n,r),o=function(){var t=er(this,w.extend({},e),s);(i||w._data(this,"finish"))&&t.stop(!0)};return o.finish=o,i||s.queue===!1?this.each(o):this.queue(s.queue,o)},stop:function(e,n,r){var i=function(e){var t=e.stop;delete e.stop,t(r)};return typeof e!="string"&&(r=n,n=e,e=t),n&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,n=e!=null&&e+"queueHooks",s=w.timers,o=w._data(this);if(n)o[n]&&o[n].stop&&i(o[n]);else for(n in o)o[n]&&o[n].stop&&Kn.test(n)&&i(o[n]);for(n=s.length;n--;)s[n].elem===this&&(e==null||s[n].queue===e)&&(s[n].anim.stop(r),t=!1,s.splice(n,1));(t||!r)&&w.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=w._data(this),r=n[e+"queue"],i=n[e+"queueHooks"],s=w.timers,o=r?r.length:0;n.finish=!0,w.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0);for(t=s.length;t--;)s[t].elem===this&&s[t].queue===e&&(s[t].anim.stop(!0),s.splice(t,1));for(t=0;t<o;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),w.each({slideDown:ir("show"),slideUp:ir("hide"),slideToggle:ir("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){w.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),w.speed=function(e,t,n){var r=e&&typeof e=="object"?w.extend({},e):{complete:n||!n&&t||w.isFunction(e)&&e,duration:e,easing:n&&t||t&&!w.isFunction(t)&&t};r.duration=w.fx.off?0:typeof r.duration=="number"?r.duration:r.duration in w.fx.speeds?w.fx.speeds[r.duration]:w.fx.speeds._default;if(r.queue==null||r.queue===!0)r.queue="fx";return r.old=r.complete,r.complete=function(){w.isFunction(r.old)&&r.old.call(this),r.queue&&w.dequeue(this,r.queue)},r},w.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},w.timers=[],w.fx=rr.prototype.init,w.fx.tick=function(){var e,n=w.timers,r=0;Xn=w.now();for(;r<n.length;r++)e=n[r],!e()&&n[r]===e&&n.splice(r--,1);n.length||w.fx.stop(),Xn=t},w.fx.timer=function(e){e()&&w.timers.push(e)&&w.fx.start()},w.fx.interval=13,w.fx.start=function(){Vn||(Vn=setInterval(w.fx.tick,w.fx.interval))},w.fx.stop=function(){clearInterval(Vn),Vn=null},w.fx.speeds={slow:600,fast:200,_default:400},w.fx.step={},w.expr&&w.expr.filters&&(w.expr.filters.animated=function(e){return w.grep(w.timers,function(t){return e===t.elem}).length}),w.fn.offset=function(e){if(arguments.length)return e===t?this:this.each(function(t){w.offset.setOffset(this,e,t)});var n,r,s={top:0,left:0},o=this[0],u=o&&o.ownerDocument;if(!u)return;return n=u.documentElement,w.contains(n,o)?(typeof o.getBoundingClientRect!==i&&(s=o.getBoundingClientRect()),r=sr(u),{top:s.top+(r.pageYOffset||n.scrollTop)-(n.clientTop||0),left:s.left+(r.pageXOffset||n.scrollLeft)-(n.clientLeft||0)}):s},w.offset={setOffset:function(e,t,n){var r=w.css(e,"position");r==="static"&&(e.style.position="relative");var i=w(e),s=i.offset(),o=w.css(e,"top"),u=w.css(e,"left"),a=(r==="absolute"||r==="fixed")&&w.inArray("auto",[o,u])>-1,f={},l={},c,h;a?(l=i.position(),c=l.top,h=l.left):(c=parseFloat(o)||0,h=parseFloat(u)||0),w.isFunction(t)&&(t=t.call(e,n,s)),t.top!=null&&(f.top=t.top-s.top+c),t.left!=null&&(f.left=t.left-s.left+h),"using"in t?t.using.call(e,f):i.css(f)}},w.fn.extend({position:function(){if(!this[0])return;var e,t,n={top:0,left:0},r=this[0];return w.css(r,"position")==="fixed"?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),w.nodeName(e[0],"html")||(n=e.offset()),n.top+=w.css(e[0],"borderTopWidth",!0),n.left+=w.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-w.css(r,"marginTop",!0),left:t.left-n.left-w.css(r,"marginLeft",!0)}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||u;while(e&&!w.nodeName(e,"html")&&w.css(e,"position")==="static")e=e.offsetParent;return e||u})}}),w.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var r=/Y/.test(n);w.fn[e]=function(i){return w.access(this,function(e,i,s){var o=sr(e);if(s===t)return o?n in o?o[n]:o.document.documentElement[i]:e[i];o?o.scrollTo(r?w(o).scrollLeft():s,r?s:w(o).scrollTop()):e[i]=s},e,i,arguments.length,null)}}),w.each({Height:"height",Width:"width"},function(e,n){w.each({padding:"inner"+e,content:n,"":"outer"+e},function(r,i){w.fn[i]=function(i,s){var o=arguments.length&&(r||typeof i!="boolean"),u=r||(i===!0||s===!0?"margin":"border");return w.access(this,function(n,r,i){var s;return w.isWindow(n)?n.document.documentElement["client"+e]:n.nodeType===9?(s=n.documentElement,Math.max(n.body["scroll"+e],s["scroll"+e],n.body["offset"+e],s["offset"+e],s["client"+e])):i===t?w.css(n,r,u):w.style(n,r,i,u)},n,o?i:t,o,null)}})}),w.fn.size=function(){return this.length},w.fn.andSelf=w.fn.addBack,typeof module=="object"&&module&&typeof module.exports=="object"?module.exports=w:(e.jQuery=e.$=w,typeof define=="function"&&define.amd&&define("jquery",[],function(){return w}))})(window),function(){function x(e,t,n){var r=(n||0)-1,i=e?e.length:0;while(++r<i)if(e[r]===t)return r;return-1}function T(e,t){var n=e.criteria,r=t.criteria;if(n!==r){if(n>r||typeof n=="undefined")return 1;if(n<r||typeof r=="undefined")return-1}return e.index-t.index}function N(e){return"\\"+g[e]}function C(e,t,n){t||(t=0),typeof n=="undefined"&&(n=e?e.length:0);var r=-1,i=n-t||0,s=Array(i<0?0:i);while(++r<i)s[r]=e[t+r];return s}function V(e){return e instanceof V?e:new $(e)}function $(e,t){this.__chain__=!!t,this.__wrapped__=e}function K(e){function i(){if(n){var e=n.slice();B.apply(e,arguments)}if(this instanceof i){var s=Q(t.prototype),o=t.apply(s,e||arguments);return _t(o)?o:s}return t.apply(r,e||arguments)}var t=e[0],n=e[2],r=e[4];return i}function Q(e,t){return _t(e)?F(e):{}}function G(e,t,n){if(typeof e!="function")return Vn;if(typeof t!="undefined"&&"prototype"in e){switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)};case 4:return function(n,r,i,s){return e.call(t,n,r,i,s)}}return Dn(e,t)}return e}function Y(e){function h(){var e=u?s:this;if(r){var p=r.slice();B.apply(p,arguments)}if(i||f){p||(p=C(arguments)),i&&B.apply(p,i);if(f&&p.length<o)return n|=16,Y([t,l?n:n&-4,p,null,s,o])}p||(p=arguments),a&&(t=e[c]);if(this instanceof h){e=Q(t.prototype);var d=t.apply(e,p);return _t(d)?d:e}return t.apply(e,p)}var t=e[0],n=e[1],r=e[2],i=e[3],s=e[4],o=e[5],u=n&1,a=n&2,f=n&4,l=n&8,c=t;return h}function Z(e,t){var n=-1,r=ut(),i=e?e.length:0,s=[];while(++n<i){var o=e[n];r(t,o)<0&&s.push(o)}return s}function et(e,t,n,r){var i=(r||0)-1,s=e?e.length:0,o=[];while(++i<s){var u=e[i];if(u&&typeof u=="object"&&typeof u.length=="number"&&(lt(u)||ft(u))){t||(u=et(u,t,n));var a=-1,f=u.length,l=o.length;o.length+=f;while(++a<f)o[l++]=u[a]}else n||o.push(u)}return o}function tt(e,t,r,i){if(e===t)return e!==0||1/e==1/t;var s=typeof e,o=typeof t;if(e===e&&(!e||!m[s])&&(!t||!m[o]))return!1;if(e==null||t==null)return e===t;var u=O.call(e),c=O.call(t);if(u!=c)return!1;switch(u){case f:case l:return+e==+t;case h:return e!=+e?t!=+t:e==0?1/e==1/t:e==+t;case d:case v:return e==String(t)}var g=u==a;if(!g){var y=e instanceof V,b=t instanceof V;if(y||b)return tt(y?e.__wrapped__:e,b?t.__wrapped__:t,r,i);if(u!=p)return!1;var w=e.constructor,E=t.constructor;if(w!=E&&!(Mt(w)&&w instanceof w&&Mt(E)&&E instanceof E)&&"constructor"in e&&"constructor"in t)return!1}r||(r=[]),i||(i=[]);var S=r.length;while(S--)if(r[S]==e)return i[S]==t;var x=!0,T=0;r.push(e),i.push(t);if(g){T=t.length,x=T==e.length;if(x)while(T--)if(!(x=tt(e[T],t[T],r,i)))break;return x}return wt(t,function(t,s,o){if(P.call(o,s))return T++,!(x=P.call(e,s)&&tt(e[s],t,r,i))&&n}),x&&wt(e,function(e,t,r){if(P.call(r,t))return!(x=--T>-1)&&n}),x}function nt(e,t){return e+D(X()*(t-e+1))}function rt(e,t,n){var r=-1,i=ut(),s=e?e.length:0,o=[],u=n?[]:o;while(++r<s){var a=e[r],f=n?n(a,r,e):a;if(t?!r||u[u.length-1]!==f:i(u,f)<0)n&&u.push(f),o.push(a)}return o}function it(e){return function(t,n,r){var i={};n=Bn(n,r,3);var s=-1,o=t?t.length:0;if(typeof o=="number")while(++s<o){var u=t[s];e(i,u,n(u,s,t),t)}else Et(t,function(t,r,s){e(i,t,n(t,r,s),s)});return i}}function st(e,t,n,r,i,s){var o=t&1,u=t&2,a=t&4,f=t&8,l=t&16,c=t&32;if(!u&&!Mt(e))throw new TypeError;l&&!n.length&&(t&=-17,l=n=!1),c&&!r.length&&(t&=-33,c=r=!1);var h=t==1||t===17?K:Y;return h([e,t,n,r,i,s])}function ot(e){return pt[e]}function ut(){var e=(e=V.indexOf)===bn?x:e;return e}function at(e){return dt[e]}function ft(e){return e&&typeof e=="object"&&typeof e.length=="number"&&O.call(e)==u||!1}function gt(e){if(!e)return e;for(var t=1,n=arguments.length;t<n;t++){var r=arguments[t];if(r)for(var i in r)e[i]=r[i]}return e}function yt(e){return _t(e)?lt(e)?C(e):gt({},e):e}function bt(e){if(!e)return e;for(var t=1,n=arguments.length;t<n;t++){var r=arguments[t];if(r)for(var i in r)typeof e[i]=="undefined"&&(e[i]=r[i])}return e}function St(e){var t=[];return wt(e,function(e,n){Mt(e)&&t.push(n)}),t.sort()}function xt(e,t){return e?P.call(e,t):!1}function Tt(e){var t=-1,n=ht(e),r=n.length,i={};while(++t<r){var s=n[t];i[e[s]]=s}return i}function Nt(e){return e===!0||e===!1||e&&typeof e=="object"&&O.call(e)==f||!1}function Ct(e){return e&&typeof e=="object"&&O.call(e)==l||!1}function kt(e){return e&&e.nodeType===1||!1}function Lt(e){if(!e)return!0;if(lt(e)||jt(e))return!e.length;for(var t in e)if(P.call(e,t))return!1;return!0}function At(e,t){return tt(e,t)}function Ot(e){return q(e)&&!R(parseFloat(e))}function Mt(e){return typeof e=="function"}function _t(e){return!!e&&!!m[typeof e]}function Dt(e){return Ht(e)&&e!=+e}function Pt(e){return e===null}function Ht(e){return typeof e=="number"||e&&typeof e=="object"&&O.call(e)==h||!1}function Bt(e){return e&&m[typeof e]&&O.call(e)==d||!1}function jt(e){return typeof e=="string"||e&&typeof e=="object"&&O.call(e)==v||!1}function Ft(e){return typeof e=="undefined"}function It(e){var t=[];wt(e,function(e,n){t.push(n)}),t=Z(t,et(arguments,!0,!1,1));var n=-1,r=t.length,i={};while(++n<r){var s=t[n];i[s]=e[s]}return i}function qt(e){var t=-1,n=ht(e),r=n.length,i=Array(r);while(++t<r){var s=n[t];i[t]=[s,e[s]]}return i}function Rt(e){var t=-1,n=et(arguments,!0,!1,1),r=n.length,i={};while(++t<r){var s=n[t];s in e&&(i[s]=e[s])}return i}function Ut(e){var t=-1,n=ht(e),r=n.length,i=Array(r);while(++t<r)i[t]=e[n[t]];return i}function zt(e,t){var r=ut(),i=e?e.length:0,s=!1;return i&&typeof i=="number"?s=r(e,t)>-1:Et(e,function(e){return(s=e===t)&&n}),s}function Xt(e,t,r){var i=!0;t=Bn(t,r,3);var s=-1,o=e?e.length:0;if(typeof o=="number"){while(++s<o)if(!(i=!!t(e[s],s,e)))break}else Et(e,function(e,r,s){return!(i=!!t(e,r,s))&&n});return i}function Vt(e,t,n){var r=[];t=Bn(t,n,3);var i=-1,s=e?e.length:0;if(typeof s=="number")while(++i<s){var o=e[i];t(o,i,e)&&r.push(o)}else Et(e,function(e,n,i){t(e,n,i)&&r.push(e)});return r}function $t(e,t,r){t=Bn(t,r,3);var i=-1,s=e?e.length:0;if(typeof s!="number"){var u;return Et(e,function(e,r,i){if(t(e,r,i))return u=e,n}),u}while(++i<s){var o=e[i];if(t(o,i,e))return o}}function Jt(e,t){return dn(e,t,!0)}function Kt(e,t,r){var i=-1,s=e?e.length:0;t=t&&typeof r=="undefined"?t:G(t,r,3);if(typeof s=="number"){while(++i<s)if(t(e[i],i,e)===n)break}else Et(e,t)}function Qt(e,t){var r=e?e.length:0;if(typeof r=="number"){while(r--)if(t(e[r],r,e)===!1)break}else{var i=ht(e);r=i.length,Et(e,function(e,s,o){return s=i?i[--r]:--r,t(o[s],s,o)===!1&&n})}}function Zt(e,t){var n=C(arguments,2),r=-1,i=typeof t=="function",s=e?e.length:0,o=Array(typeof s=="number"?s:0);return Kt(e,function(e){o[++r]=(i?t:e[t]).apply(e,n)}),o}function en(e,t,n){var r=-1,i=e?e.length:0;t=Bn(t,n,3);if(typeof i=="number"){var s=Array(i);while(++r<i)s[r]=t(e[r],r,e)}else s=[],Et(e,function(e,n,i){s[++r]=t(e,n,i)});return s}function tn(e,t,n){var r=-Infinity,i=r;typeof t!="function"&&n&&n[t]===e&&(t=null);var s=-1,o=e?e.length:0;if(t==null&&typeof o=="number")while(++s<o){var u=e[s];u>i&&(i=u)}else t=Bn(t,n,3),Kt(e,function(e,n,s){var o=t(e,n,s);o>r&&(r=o,i=e)});return i}function nn(e,t,n){var r=Infinity,i=r;typeof t!="function"&&n&&n[t]===e&&(t=null);var s=-1,o=e?e.length:0;if(t==null&&typeof o=="number")while(++s<o){var u=e[s];u<i&&(i=u)}else t=Bn(t,n,3),Kt(e,function(e,n,s){var o=t(e,n,s);o<r&&(r=o,i=e)});return i}function rn(e,t){var n=-1,r=e?e.length:0;if(typeof r=="number"){var i=Array(r);while(++n<r)i[n]=e[n][t]}return i||en(e,t)}function sn(e,t,n,r){if(!e)return n;var i=arguments.length<3;t=Bn(t,r,4);var s=-1,o=e.length;if(typeof o=="number"){i&&(n=e[++s]);while(++s<o)n=t(n,e[s],s,e)}else Et(e,function(e,r,s){n=i?(i=!1,e):t(n,e,r,s)});return n}function on(e,t,n,r){var i=arguments.length<3;return t=Bn(t,r,4),Qt(e,function(e,r,s){n=i?(i=!1,e):t(n,e,r,s)}),n}function un(e,t,n){return t=Bn(t,n,3),Vt(e,function(e,n,r){return!t(e,n,r)})}function an(t,n,r){t&&typeof t.length!="number"&&(t=Ut(t));if(n==null||r)return t?t[nt(0,t.length-1)]:e;var i=fn(t);return i.length=W(z(0,n),i.length),i}function fn(e){var t=-1,n=e?e.length:0,r=Array(typeof n=="number"?n:0);return Kt(e,function(e){var n=nt(0,++t);r[t]=r[n],r[n]=e}),r}function ln(e){var t=e?e.length:0;return typeof t=="number"?t:ht(e).length}function cn(e,t,r){var i;t=Bn(t,r,3);var s=-1,o=e?e.length:0;if(typeof o=="number"){while(++s<o)if(i=t(e[s],s,e))break}else Et(e,function(e,r,s){return(i=t(e,r,s))&&n});return!!i}function hn(e,t,n){var r=-1,i=e?e.length:0,s=Array(typeof i=="number"?i:0);t=Bn(t,n,3),Kt(e,function(e,n,i){s[++r]={criteria:t(e,n,i),index:r,value:e}}),i=s.length,s.sort(T);while(i--)s[i]=s[i].value;return s}function pn(e){return lt(e)?C(e):e&&typeof e.length=="number"?en(e):Ut(e)}function dn(t,n,r){return r&&Lt(n)?e:(r?$t:Vt)(t,n)}function vn(e){var t=-1,n=e?e.length:0,r=[];while(++t<n){var i=e[t];i&&r.push(i)}return r}function mn(e){return Z(e,et(arguments,!0,!0,1))}function gn(t,n,r){var i=0,s=t?t.length:0;if(typeof n!="number"&&n!=null){var o=-1;n=Bn(n,r,3);while(++o<s&&n(t[o],o,t))i++}else{i=n;if(i==null||r)return t?t[0]:e}return C(t,0,W(z(0,i),s))}function yn(e,t){return et(e,t)}function bn(e,t,n){if(typeof n=="number"){var r=e?e.length:0;n=n<0?z(0,r+n):n||0}else if(n){var i=Cn(e,t);return e[i]===t?i:-1}return x(e,t,n)}function wn(e,t,n){var r=0,i=e?e.length:0;if(typeof t!="number"&&t!=null){var s=i;t=Bn(t,n,3);while(s--&&t(e[s],s,e))r++}else r=t==null||n?1:t||r;return C(e,0,W(z(0,i-r),i))}function En(e){var t=arguments,n=t.length,r=-1,i=ut(),s=e?e.length:0,o=[];e:while(++r<s){var u=e[r];if(i(o,u)<0){var a=n;while(--a)if(i(t[a],u)<0)continue e;o.push(u)}}return o}function Sn(t,n,r){var i=0,s=t?t.length:0;if(typeof n!="number"&&n!=null){var o=s;n=Bn(n,r,3);while(o--&&n(t[o],o,t))i++}else{i=n;if(i==null||r)return t?t[s-1]:e}return C(t,z(0,s-i))}function xn(e,t,n){var r=e?e.length:0;typeof n=="number"&&(r=(n<0?z(0,r+n):W(n,r-1))+1);while(r--)if(e[r]===t)return r;return-1}function Tn(e,t,n){e=+e||0,n=+n||1,t==null&&(t=e,e=0);var r=-1,i=z(0,_((t-e)/n)),s=Array(i);while(++r<i)s[r]=e,e+=n;return s}function Nn(e,t,n){if(typeof t!="number"&&t!=null){var r=0,i=-1,s=e?e.length:0;t=Bn(t,n,3);while(++i<s&&t(e[i],i,e))r++}else r=t==null||n?1:z(0,t);return C(e,r)}function Cn(e,t,n,r){var i=0,s=e?e.length:i;n=n?Bn(n,r,1):Vn,t=n(t);while(i<s){var o=i+s>>>1;n(e[o])<t?i=o+1:s=o}return i}function kn(e){return rt(et(arguments,!0,!0))}function Ln(e,t,n,r){return typeof t!="boolean"&&t!=null&&(r=n,n=typeof t!="function"&&r&&r[t]===e?null:t,t=!1),n!=null&&(n=Bn(n,r,3)),rt(e,t,n)}function An(e){return Z(e,C(arguments,1))}function On(){var e=-1,t=tn(rn(arguments,"length")),n=Array(t<0?0:t);while(++e<t)n[e]=rn(arguments,e);return n}function Mn(e,t){var n=-1,r=e?e.length:0,i={};while(++n<r){var s=e[n];t?i[s]=t[n]:s&&(i[s[0]]=s[1])}return i}function _n(e,t){if(!Mt(t))throw new TypeError;return function(){if(--e<1)return t.apply(this,arguments)}}function Dn(e,t){return arguments.length>2?st(e,17,C(arguments,2),null,t):st(e,1,null,null,t)}function Pn(e){var t=arguments.length>1?et(arguments,!0,!1,1):St(e),n=-1,r=t.length;while(++n<r){var i=t[n];e[i]=st(e[i],1,null,null,e)}return e}function Hn(){var e=arguments,t=e.length;while(t--)if(!Mt(e[t]))throw new TypeError;return function(){var t=arguments,n=e.length;while(n--)t=[e[n].apply(this,t)];return t[0]}}function Bn(e,t,n){var r=typeof e;if(e==null||r=="function")return G(e,t,n);if(r!="object")return function(t){return t[e]};var i=ht(e);return function(t){var n=i.length,r=!1;while(n--)if(!(r=t[i[n]]===e[i[n]]))break;return r}}function jn(t,n,r){var i,s,o,u,a,f,l,c=0,h=!1,p=!0;if(!Mt(t))throw new TypeError;n=z(0,n)||0;if(r===!0){var d=!0;p=!1}else _t(r)&&(d=r.leading,h="maxWait"in r&&(z(n,r.maxWait)||0),p="trailing"in r?r.trailing:p);var v=function(){var r=n-(H()-u);if(r<=0){s&&clearTimeout(s);var h=l;s=f=l=e,h&&(c=H(),o=t.apply(a,i),!f&&!s&&(i=a=null))}else f=setTimeout(v,r)},m=function(){f&&clearTimeout(f),s=f=l=e;if(p||h!==n)c=H(),o=t.apply(a,i),!f&&!s&&(i=a=null)};return function(){i=arguments,u=H(),a=this,l=p&&(f||!d);if(h===!1)var e=d&&!f;else{!s&&!d&&(c=u);var r=h-(u-c),g=r<=0;g?(s&&(s=clearTimeout(s)),c=u,o=t.apply(a,i)):s||(s=setTimeout(m,r))}return g&&f?f=clearTimeout(f):!f&&n!==h&&(f=setTimeout(v,n)),e&&(g=!0,o=t.apply(a,i)),g&&!f&&!s&&(i=a=null),o}}function Fn(t){if(!Mt(t))throw new TypeError;var n=C(arguments,1);return setTimeout(function(){t.apply(e,n)},1)}function In(t,n){if(!Mt(t))throw new TypeError;var r=C(arguments,2);return setTimeout(function(){t.apply(e,r)},n)}function qn(e,t){var n={};return function(){var i=t?t.apply(this,arguments):r+arguments[0];return P.call(n,i)?n[i]:n[i]=e.apply(this,arguments)}}function Rn(e){var t,n;if(!Mt(e))throw new TypeError;return function(){return t?n:(t=!0,n=e.apply(this,arguments),e=null,n)}}function Un(e){return st(e,16,C(arguments,1))}function zn(e,t,n){var r=!0,i=!0;if(!Mt(e))throw new TypeError;return n===!1?r=!1:_t(n)&&(r="leading"in n?n.leading:r,i="trailing"in n?n.trailing:i),n={},n.leading=r,n.maxWait=t,n.trailing=i,jn(e,t,n)}function Wn(e,t){return st(t,16,[e])}function Xn(e){return e==null?"":String(e).replace(mt,ot)}function Vn(e){return e}function $n(e){Kt(St(e),function(t){var n=V[t]=e[t];V.prototype[t]=function(){var e=[this.__wrapped__];B.apply(e,arguments);var t=n.apply(V,e);return this.__chain__?new $(t,!0):t}})}function Jn(){return y._=A,this}function Kn(){}function Qn(e,t){return e==null&&t==null&&(t=1),e=+e||0,t==null?(t=e,e=0):t=+t||0,e+D(X()*(t-e+1))}function Gn(e,t){if(e){var n=e[t];return Mt(n)?e[t]():n}}function Yn(e,t,n){var r=V,i=r.templateSettings;e=String(e||""),n=bt({},n,i);var u=0,a="__p += '",f=n.variable,l=RegExp((n.escape||s).source+"|"+(n.interpolate||s).source+"|"+(n.evaluate||s).source+"|$","g");e.replace(l,function(t,n,r,i,s){return a+=e.slice(u,s).replace(o,N),n&&(a+="' +\n_.escape("+n+") +\n'"),i&&(a+="';\n"+i+";\n__p += '"),r&&(a+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),u=s+t.length,t}),a+="';\n",f||(f="obj",a="with ("+f+" || {}) {\n"+a+"\n}\n"),a="function("+f+") {\n"+"var __t, __p = '', __j = Array.prototype.join;\n"+"function print() { __p += __j.call(arguments, '') }\n"+a+"return __p\n}";try{var c=Function("_","return "+a)(r)}catch(h){throw h.source=a,h}return t?c(t):(c.source=a,c)}function Zn(e,t,n){e=(e=+e)>-1?e:0;var r=-1,i=Array(e);t=G(t,n,1);while(++r<e)i[r]=t(r);return i}function er(e){return e==null?"":String(e).replace(vt,at)}function tr(e){var n=++t+"";return e?e+n:n}function nr(e){return e=new $(e),e.__chain__=!0,e}function rr(e,t){return t(e),e}function ir(){return this.__chain__=!0,this}function sr(){return this.__wrapped__}var e,t=0,n={},r=+(new Date)+"",i=/<%=([\s\S]+?)%>/g,s=/($^)/,o=/['\n\r\t\u2028\u2029\\]/g,u="[object Arguments]",a="[object Array]",f="[object Boolean]",l="[object Date]",c="[object Function]",h="[object Number]",p="[object Object]",d="[object RegExp]",v="[object String]",m={"boolean":!1,"function":!0,object:!0,number:!1,string:!1,"undefined":!1},g={"\\":"\\","'":"'","\n":"n","\r":"r"," ":"t","\u2028":"u2028","\u2029":"u2029"},y=m[typeof window]&&window||this,b=m[typeof exports]&&exports&&!exports.nodeType&&exports,w=m[typeof module]&&module&&!module.nodeType&&module,E=w&&w.exports===b&&b,S=m[typeof global]&&global;S&&(S.global===S||S.window===S)&&(y=S);var k=[],L=Object.prototype,A=y._,O=L.toString,M=RegExp("^"+String(O).replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/toString| for [^\]]+/g,".*?")+"$"),_=Math.ceil,D=Math.floor,P=L.hasOwnProperty,H=M.test(H=Date.now)&&H||function(){return+(new Date)},B=k.push,j=L.propertyIsEnumerable,F=M.test(F=Object.create)&&F,I=M.test(I=Array.isArray)&&I,q=y.isFinite,R=y.isNaN,U=M.test(U=Object.keys)&&U,z=Math.max,W=Math.min,X=Math.random;$.prototype=V.prototype;var J={};(function(){var e={0:1,length:1};J.spliceObjects=(k.splice.call(e,0,1),!e[0])})(1),V.templateSettings={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:i,variable:""},F||(Q=function(){function e(){}return function(t){if(_t(t)){e.prototype=t;var n=new e;e.prototype=null}return n||y.Object()}}()),ft(arguments)||(ft=function(e){return e&&typeof e=="object"&&typeof e.length=="number"&&P.call(e,"callee")&&!j.call(e,"callee")||!1});var lt=I||function(e){return e&&typeof e=="object"&&typeof e.length=="number"&&O.call(e)==a||!1},ct=function(e){var t,n=e,r=[];if(!n)return r;if(!m[typeof e])return r;for(t in n)P.call(n,t)&&r.push(t);return r},ht=U?function(e){return _t(e)?U(e):[]}:ct,pt={"&":"&","<":"<",">":">",'"':""","'":"'"},dt=Tt(pt),vt=RegExp("("+ht(dt).join("|")+")","g"),mt=RegExp("["+ht(pt).join("")+"]","g"),wt=function(e,t){var r,i=e,s=i;if(!i)return s;if(!m[typeof i])return s;for(r in i)if(t(i[r],r,e)===n)return s;return s},Et=function(e,t){var r,i=e,s=i;if(!i)return s;if(!m[typeof i])return s;for(r in i)if(P.call(i,r)&&t(i[r],r,e)===n)return s;return s};Mt(/x/)&&(Mt=function(e){return typeof e=="function"&&O.call(e)==c});var Wt=it(function(e,t,n){P.call(e,n)?e[n]++:e[n]=1}),Gt=it(function(e,t,n){(P.call(e,n)?e[n]:e[n]=[]).push(t)}),Yt=it(function(e,t,n){e[n]=t});V.after=_n,V.bind=Dn,V.bindAll=Pn,V.chain=nr,V.compact=vn,V.compose=Hn,V.countBy=Wt,V.debounce=jn,V.defaults=bt,V.defer=Fn,V.delay=In,V.difference=mn,V.filter=Vt,V.flatten=yn,V.forEach=Kt,V.functions=St,V.groupBy=Gt,V.indexBy=Yt,V.initial=wn,V.intersection=En,V.invert=Tt,V.invoke=Zt,V.keys=ht,V.map=en,V.max=tn,V.memoize=qn,V.min=nn,V.omit=It,V.once=Rn,V.pairs=qt,V.partial=Un,V.pick=Rt,V.pluck=rn,V.range=Tn,V.reject=un,V.rest=Nn,V.shuffle=fn,V.sortBy=hn,V.tap=rr,V.throttle=zn,V.times=Zn,V.toArray=pn,V.union=kn,V.uniq=Ln,V.values=Ut,V.where=dn,V.without=An,V.wrap=Wn,V.zip=On,V.collect=en,V.drop=Nn,V.each=Kt,V.extend=gt,V.methods=St,V.object=Mn,V.select=Vt,V.tail=Nn,V.unique=Ln,V.clone=yt,V.contains=zt,V.escape=Xn,V.every=Xt,V.find=$t,V.has=xt,V.identity=Vn,V.indexOf=bn,V.isArguments=ft,V.isArray=lt,V.isBoolean=Nt,V.isDate=Ct,V.isElement=kt,V.isEmpty=Lt,V.isEqual=At,V.isFinite=Ot,V.isFunction=Mt,V.isNaN=Dt,V.isNull=Pt,V.isNumber=Ht,V.isObject=_t,V.isRegExp=Bt,V.isString=jt,V.isUndefined=Ft,V.lastIndexOf=xn,V.mixin=$n,V.noConflict=Jn,V.random=Qn,V.reduce=sn,V.reduceRight=on,V.result=Gn,V.size=ln,V.some=cn,V.sortedIndex=Cn,V.template=Yn,V.unescape=er,V.uniqueId=tr,V.all=Xt,V.any=cn,V.detect=$t,V.findWhere=Jt,V.foldl=sn,V.foldr=on,V.include=zt,V.inject=sn,V.first=gn,V.last=Sn,V.sample=an,V.take=gn,V.head=gn,$n(V),V.VERSION="2.3.0",V.prototype.chain=ir,V.prototype.value=sr,Kt(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=k[e];V.prototype[e]=function(){var e=this.__wrapped__;return t.apply(e,arguments),!J.spliceObjects&&e.length===0&&delete e[0],this}}),Kt(["concat","join","slice"],function(e){var t=k[e];V.prototype[e]=function(){var e=this.__wrapped__,n=t.apply(e,arguments);return this.__chain__&&(n=new $(n),n.__chain__=!0),n}}),typeof define=="function"&&typeof define.amd=="object"&&define.amd?(y._=V,define("underscore",[],function(){return V})):b&&w?E?(w.exports=V)._=V:b._=V:y._=V}.call(this),function(e,t){typeof exports!="undefined"?t(e,exports,require("underscore")):typeof define=="function"&&define.amd?define("backbone",["underscore","jquery","exports"],function(n,r,i){e.Backbone=t(e,i,n,r)}):e.Backbone=t(e,{},e._,e.jQuery||e.Zepto||e.ender||e.$)}(this,function(e,t,n,r){var i=e.Backbone,s=[],o=s.push,u=s.slice,a=s.splice;t.VERSION="1.0.0",t.$=r,t.noConflict=function(){return e.Backbone=i,this},t.emulateHTTP=!1,t.emulateJSON=!1;var f=t.Events={on:function(e,t,n){if(!c(this,"on",e,[t,n])||!t)return this;this._events||(this._events={});var r=this._events[e]||(this._events[e]=[]);return r.push({callback:t,context:n,ctx:n||this}),this},once:function(e,t,r){if(!c(this,"once",e,[t,r])||!t)return this;var i=this,s=n.once(function(){i.off(e,s),t.apply(this,arguments)});return s._callback=t,this.on(e,s,r)},off:function(e,t,r){var i,s,o,u,a,f,l,h;if(!this._events||!c(this,"off",e,[t,r]))return this;if(!e&&!t&&!r)return this._events={},this;u=e?[e]:n.keys(this._events);for(a=0,f=u.length;a<f;a++){e=u[a];if(o=this._events[e]){this._events[e]=i=[];if(t||r)for(l=0,h=o.length;l<h;l++)s=o[l],(t&&t!==s.callback&&t!==s.callback._callback||r&&r!==s.context)&&i.push(s);i.length||delete this._events[e]}}return this},trigger:function(e){if(!this._events)return this;var t=u.call(arguments,1);if(!c(this,"trigger",e,t))return this;var n=this._events[e],r=this._events.all;return n&&h(n,t),r&&h(r,arguments),this},stopListening:function(e,t,n){var r=this._listeners;if(!r)return this;var i=!t&&!n;typeof t=="object"&&(n=this),e&&((r={})[e._listenerId]=e);for(var s in r)r[s].off(t,n,this),i&&delete this._listeners[s];return this}},l=/\s+/,c=function(e,t,n,r){if(!n)return!0;if(typeof n=="object"){for(var i in n)e[t].apply(e,[i,n[i]].concat(r));return!1}if(l.test(n)){var s=n.split(l);for(var o=0,u=s.length;o<u;o++)e[t].apply(e,[s[o]].concat(r));return!1}return!0},h=function(e,t){var n,r=-1,i=e.length,s=t[0],o=t[1],u=t[2];switch(t.length){case 0:while(++r<i)(n=e[r]).callback.call(n.ctx);return;case 1:while(++r<i)(n=e[r]).callback.call(n.ctx,s);return;case 2:while(++r<i)(n=e[r]).callback.call(n.ctx,s,o);return;case 3:while(++r<i)(n=e[r]).callback.call(n.ctx,s,o,u);return;default:while(++r<i)(n=e[r]).callback.apply(n.ctx,t)}},p={listenTo:"on",listenToOnce:"once"};n.each(p,function(e,t){f[t]=function(t,r,i){var s=this._listeners||(this._listeners={}),o=t._listenerId||(t._listenerId=n.uniqueId("l"));return s[o]=t,typeof r=="object"&&(i=this),t[e](r,i,this),this}}),f.bind=f.on,f.unbind=f.off,n.extend(t,f);var d=t.Model=function(e,t){var r,i=e||{};t||(t={}),this.cid=n.uniqueId("c"),this.attributes={},n.extend(this,n.pick(t,v)),t.parse&&(i=this.parse(i,t)||{});if(r=n.result(this,"defaults"))i=n.defaults({},i,r);this.set(i,t),this.changed={},this.initialize.apply(this,arguments)},v=["url","urlRoot","collection"];n.extend(d.prototype,f,{changed:null,validationError:null,idAttribute:"id",initialize:function(){},toJSON:function(e){return n.clone(this.attributes)},sync:function(){return t.sync.apply(this,arguments)},get:function(e){return this.attributes[e]},escape:function(e){return n.escape(this.get(e))},has:function(e){return this.get(e)!=null},set:function(e,t,r){var i,s,o,u,a,f,l,c;if(e==null)return this;typeof e=="object"?(s=e,r=t):(s={})[e]=t,r||(r={});if(!this._validate(s,r))return!1;o=r.unset,a=r.silent,u=[],f=this._changing,this._changing=!0,f||(this._previousAttributes=n.clone(this.attributes),this.changed={}),c=this.attributes,l=this._previousAttributes,this.idAttribute in s&&(this.id=s[this.idAttribute]);for(i in s)t=s[i],n.isEqual(c[i],t)||u.push(i),n.isEqual(l[i],t)?delete this.changed[i]:this.changed[i]=t,o?delete c[i]:c[i]=t;if(!a){u.length&&(this._pending=!0);for(var h=0,p=u.length;h<p;h++)this.trigger("change:"+u[h],this,c[u[h]],r)}if(f)return this;if(!a)while(this._pending)this._pending=!1,this.trigger("change",this,r);return this._pending=!1,this._changing=!1,this},unset:function(e,t){return this.set(e,void 0,n.extend({},t,{unset:!0}))},clear:function(e){var t={};for(var r in this.attributes)t[r]=void 0;return this.set(t,n.extend({},e,{unset:!0}))},hasChanged:function(e){return e==null?!n.isEmpty(this.changed):n.has(this.changed,e)},changedAttributes:function(e){if(!e)return this.hasChanged()?n.clone(this.changed):!1;var t,r=!1,i=this._changing?this._previousAttributes:this.attributes;for(var s in e){if(n.isEqual(i[s],t=e[s]))continue;(r||(r={}))[s]=t}return r},previous:function(e){return e==null||!this._previousAttributes?null:this._previousAttributes[e]},previousAttributes:function(){return n.clone(this._previousAttributes)},fetch:function(e){e=e?n.clone(e):{},e.parse===void 0&&(e.parse=!0);var t=this,r=e.success;return e.success=function(n){if(!t.set(t.parse(n,e),e))return!1;r&&r(t,n,e),t.trigger("sync",t,n,e)},F(this,e),this.sync("read",this,e)},save:function(e,t,r){var i,s,o,u=this.attributes;e==null||typeof e=="object"?(i=e,r=t):(i={})[e]=t;if(i&&(!r||!r.wait)&&!this.set(i,r))return!1;r=n.extend({validate:!0},r);if(!this._validate(i,r))return!1;i&&r.wait&&(this.attributes=n.extend({},u,i)),r.parse===void 0&&(r.parse=!0);var a=this,f=r.success;return r.success=function(e){a.attributes=u;var t=a.parse(e,r);r.wait&&(t=n.extend(i||{},t));if(n.isObject(t)&&!a.set(t,r))return!1;f&&f(a,e,r),a.trigger("sync",a,e,r)},F(this,r),s=this.isNew()?"create":r.patch?"patch":"update",s==="patch"&&(r.attrs=i),o=this.sync(s,this,r),i&&r.wait&&(this.attributes=u),o},destroy:function(e){e=e?n.clone(e):{};var t=this,r=e.success,i=function(){t.trigger("destroy",t,t.collection,e)};e.success=function(n){(e.wait||t.isNew())&&i(),r&&r(t,n,e),t.isNew()||t.trigger("sync",t,n,e)};if(this.isNew())return e.success(),!1;F(this,e);var s=this.sync("delete",this,e);return e.wait||i(),s},url:function(){var e=n.result(this,"urlRoot")||n.result(this.collection,"url")||j();return this.isNew()?e:e+(e.charAt(e.length-1)==="/"?"":"/")+encodeURIComponent(this.id)},parse:function(e,t){return e},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return this.id==null},isValid:function(e){return this._validate({},n.extend(e||{},{validate:!0}))},_validate:function(e,t){if(!t.validate||!this.validate)return!0;e=n.extend({},this.attributes,e);var r=this.validationError=this.validate(e,t)||null;return r?(this.trigger("invalid",this,r,n.extend(t||{},{validationError:r})),!1):!0}});var m=["keys","values","pairs","invert","pick","omit"];n.each(m,function(e){d.prototype[e]=function(){var t=u.call(arguments);return t.unshift(this.attributes),n[e].apply(n,t)}});var g=t.Collection=function(e,t){t||(t={}),t.url&&(this.url=t.url),t.model&&(this.model=t.model),t.comparator!==void 0&&(this.comparator=t.comparator),this._reset(),this.initialize.apply(this,arguments),e&&this.reset(e,n.extend({silent:!0},t))},y={add:!0,remove:!0,merge:!0},b={add:!0,merge:!1,remove:!1};n.extend(g.prototype,f,{model:d,initialize:function(){},toJSON:function(e){return this.map(function(t){return t.toJSON(e)})},sync:function(){return t.sync.apply(this,arguments)},add:function(e,t){return this.set(e,n.defaults(t||{},b))},remove:function(e,t){e=n.isArray(e)?e.slice():[e],t||(t={});var r,i,s,o;for(r=0,i=e.length;r<i;r++){o=this.get(e[r]);if(!o)continue;delete this._byId[o.id],delete this._byId[o.cid],s=this.indexOf(o),this.models.splice(s,1),this.length--,t.silent||(t.index=s,o.trigger("remove",o,this,t)),this._removeReference(o)}return this},set:function(e,t){t=n.defaults(t||{},y),t.parse&&(e=this.parse(e,t)),n.isArray(e)||(e=e?[e]:[]);var r,i,s,u,f,l,c=t.at,h=this.comparator&&c==null&&t.sort!==!1,p=n.isString(this.comparator)?this.comparator:null,d=[],v=[],m={};for(r=0,i=e.length;r<i;r++){if(!(s=this._prepareModel(e[r],t)))continue;(f=this.get(s))?(t.remove&&(m[f.cid]=!0),t.merge&&(f.set(s.attributes,t),h&&!l&&f.hasChanged(p)&&(l=!0))):t.add&&(d.push(s),s.on("all",this._onModelEvent,this),this._byId[s.cid]=s,s.id!=null&&(this._byId[s.id]=s))}if(t.remove){for(r=0,i=this.length;r<i;++r)m[(s=this.models[r]).cid]||v.push(s);v.length&&this.remove(v,t)}d.length&&(h&&(l=!0),this.length+=d.length,c!=null?a.apply(this.models,[c,0].concat(d)):o.apply(this.models,d)),l&&this.sort({silent:!0});if(t.silent)return this;for(r=0,i=d.length;r<i;r++)(s=d[r]).trigger("add",s,this,t);return l&&this.trigger("sort",this,t),this},reset:function(e,t){t||(t={});for(var r=0,i=this.models.length;r<i;r++)this._removeReference(this.models[r]);return t.previousModels=this.models,this._reset(),this.add(e,n.extend({silent:!0},t)),t.silent||this.trigger("reset",this,t),this},push:function(e,t){return e=this._prepareModel(e,t),this.add(e,n.extend({at:this.length},t)),e},pop:function(e){var t=this.at(this.length-1);return this.remove(t,e),t},unshift:function(e,t){return e=this._prepareModel(e,t),this.add(e,n.extend({at:0},t)),e},shift:function(e){var t=this.at(0);return this.remove(t,e),t},slice:function(e,t){return this.models.slice(e,t)},get:function(e){return e==null?void 0:this._byId[e.id!=null?e.id:e.cid||e]},at:function(e){return this.models[e]},where:function(e,t){return n.isEmpty(e)?t?void 0:[]:this[t?"find":"filter"](function(t){for(var n in e)if(e[n]!==t.get(n))return!1;return!0})},findWhere:function(e){return this.where(e,!0)},sort:function(e){if(!this.comparator)throw new Error("Cannot sort a set without a comparator");return e||(e={}),n.isString(this.comparator)||this.comparator.length===1?this.models=this.sortBy(this.comparator,this):this.models.sort(n.bind(this.comparator,this)),e.silent||this.trigger("sort",this,e),this},sortedIndex:function(e,t,r){t||(t=this.comparator);var i=n.isFunction(t)?t:function(e){return e.get(t)};return n.sortedIndex(this.models,e,i,r)},pluck:function(e){return n.invoke(this.models,"get",e)},fetch:function(e){e=e?n.clone(e):{},e.parse===void 0&&(e.parse=!0);var t=e.success,r=this;return e.success=function(n){var i=e.reset?"reset":"set";r[i](n,e),t&&t(r,n,e),r.trigger("sync",r,n,e)},F(this,e),this.sync("read",this,e)},create:function(e,t){t=t?n.clone(t):{};if(!(e=this._prepareModel(e,t)))return!1;t.wait||this.add(e,t);var r=this,i=t.success;return t.success=function(n){t.wait&&r.add(e,t),i&&i(e,n,t)},e.save(null,t),e},parse:function(e,t){return e},clone:function(){return new this.constructor(this.models)},_reset:function(){this.length=0,this.models=[],this._byId={}},_prepareModel:function(e,t){if(e instanceof d)return e.collection||(e.collection=this),e;t||(t={}),t.collection=this;var n=new this.model(e,t);return n._validate(e,t)?n:(this.trigger("invalid",this,e,t),!1)},_removeReference:function(e){this===e.collection&&delete e.collection,e.off("all",this._onModelEvent,this)},_onModelEvent:function(e,t,n,r){if((e==="add"||e==="remove")&&n!==this)return;e==="destroy"&&this.remove(t,r),t&&e==="change:"+t.idAttribute&&(delete this._byId[t.previous(t.idAttribute)],t.id!=null&&(this._byId[t.id]=t)),this.trigger.apply(this,arguments)}});var w=["forEach","each","map","collect","reduce","foldl","inject","reduceRight","foldr","find","detect","filter","select","reject","every","all","some","any","include","contains","invoke","max","min","toArray","size","first","head","take","initial","rest","tail","drop","last","without","indexOf","shuffle","lastIndexOf","isEmpty","chain"];n.each(w,function(e){g.prototype[e]=function(){var t=u.call(arguments);return t.unshift(this.models),n[e].apply(n,t)}});var E=["groupBy","countBy","sortBy"];n.each(E,function(e){g.prototype[e]=function(t,r){var i=n.isFunction(t)?t:function(e){return e.get(t)};return n[e](this.models,i,r)}});var S=t.View=function(e){this.cid=n.uniqueId("view"),this._configure(e||{}),this._ensureElement(),this.initialize.apply(this,arguments),this.delegateEvents()},x=/^(\S+)\s*(.*)$/,T=["model","collection","el","id","attributes","className","tagName","events"];n.extend(S.prototype,f,{tagName:"div",$:function(e){return this.$el.find(e)},initialize:function(){},render:function(){return this},remove:function(){return this.$el.remove(),this.stopListening(),this},setElement:function(e,n){return this.$el&&this.undelegateEvents(),this.$el=e instanceof t.$?e:t.$(e),this.el=this.$el[0],n!==!1&&this.delegateEvents(),this},delegateEvents:function(e){if(!e&&!(e=n.result(this,"events")))return this;this.undelegateEvents();for(var t in e){var r=e[t];n.isFunction(r)||(r=this[e[t]]);if(!r)continue;var i=t.match(x),s=i[1],o=i[2];r=n.bind(r,this),s+=".delegateEvents"+this.cid,o===""?this.$el.on(s,r):this.$el.on(s,o,r)}return this},undelegateEvents:function(){return this.$el.off(".delegateEvents"+this.cid),this},_configure:function(e){this.options&&(e=n.extend({},n.result(this,"options"),e)),n.extend(this,n.pick(e,T)),this.options=e},_ensureElement:function(){if(!this.el){var e=n.extend({},n.result(this,"attributes"));this.id&&(e.id=n.result(this,"id")),this.className&&(e["class"]=n.result(this,"className"));var r=t.$("<"+n.result(this,"tagName")+">").attr(e);this.setElement(r,!1)}else this.setElement(n.result(this,"el"),!1)}}),t.sync=function(e,r,i){var s=N[e];n.defaults(i||(i={}),{emulateHTTP:t.emulateHTTP,emulateJSON:t.emulateJSON});var o={type:s,dataType:"json"};i.url||(o.url=n.result(r,"url")||j()),i.data==null&&r&&(e==="create"||e==="update"||e==="patch")&&(o.contentType="application/json",o.data=JSON.stringify(i.attrs||r.toJSON(i))),i.emulateJSON&&(o.contentType="application/x-www-form-urlencoded",o.data=o.data?{model:o.data}:{});if(i.emulateHTTP&&(s==="PUT"||s==="DELETE"||s==="PATCH")){o.type="POST",i.emulateJSON&&(o.data._method=s);var u=i.beforeSend;i.beforeSend=function(e){e.setRequestHeader("X-HTTP-Method-Override",s);if(u)return u.apply(this,arguments)}}o.type!=="GET"&&!i.emulateJSON&&(o.processData=!1),o.type==="PATCH"&&window.ActiveXObject&&(!window.external||!window.external.msActiveXFilteringEnabled)&&(o.xhr=function(){return new ActiveXObject("Microsoft.XMLHTTP")});var a=i.xhr=t.ajax(n.extend(o,i));return r.trigger("request",r,a,i),a};var N={create:"POST",update:"PUT",patch:"PATCH","delete":"DELETE",read:"GET"};t.ajax=function(){return t.$.ajax.apply(t.$,arguments)};var C=t.Router=function(e){e||(e={}),e.routes&&(this.routes=e.routes),this._bindRoutes(),this.initialize.apply(this,arguments)},k=/\((.*?)\)/g,L=/(\(\?)?:\w+/g,A=/\*\w+/g,O=/[\-{}\[\]+?.,\\\^$|#\s]/g;n.extend(C.prototype,f,{initialize:function(){},route:function(e,r,i){n.isRegExp(e)||(e=this._routeToRegExp(e)),n.isFunction(r)&&(i=r,r=""),i||(i=this[r]);var s=this;return t.history.route(e,function(n){var o=s._extractParameters(e,n);i&&i.apply(s,o),s.trigger.apply(s,["route:"+r].concat(o)),s.trigger("route",r,o),t.history.trigger("route",s,r,o)}),this},navigate:function(e,n){return t.history.navigate(e,n),this},_bindRoutes:function(){if(!this.routes)return;this.routes=n.result(this,"routes");var e,t=n.keys(this.routes);while((e=t.pop())!=null)this.route(e,this.routes[e])},_routeToRegExp:function(e){return e=e.replace(O,"\\$&").replace(k,"(?:$1)?").replace(L,function(e,t){return t?e:"([^/]+)"}).replace(A,"(.*?)"),new RegExp("^"+e+"$")},_extractParameters:function(e,t){var r=e.exec(t).slice(1);return n.map(r,function(e){return e?decodeURIComponent(e):null})}});var M=t.History=function(){this.handlers=[],n.bindAll(this,"checkUrl"),typeof window!="undefined"&&(this.location=window.location,this.history=window.history)},_=/^[#\/]|\s+$/g,D=/^\/+|\/+$/g,P=/msie [\w.]+/,H=/\/$/;M.started=!1,n.extend(M.prototype,f,{interval:50,getHash:function(e){var t=(e||this).location.href.match(/#(.*)$/);return t?t[1]:""},getFragment:function(e,t){if(e==null)if(this._hasPushState||!this._wantsHashChange||t){e=this.location.pathname;var n=this.root.replace(H,"");e.indexOf(n)||(e=e.substr(n.length))}else e=this.getHash();return e.replace(_,"")},start:function(e){if(M.started)throw new Error("Backbone.history has already been started");M.started=!0,this.options=n.extend({},{root:"/"},this.options,e),this.root=this.options.root,this._wantsHashChange=this.options.hashChange!==!1,this._wantsPushState=!!this.options.pushState,this._hasPushState=!!(this.options.pushState&&this.history&&this.history.pushState);var r=this.getFragment(),i=document.documentMode,s=P.exec(navigator.userAgent.toLowerCase())&&(!i||i<=7);this.root=("/"+this.root+"/").replace(D,"/"),s&&this._wantsHashChange&&(this.iframe=t.$('<iframe src="javascript:0" tabindex="-1" />').hide().appendTo("body")[0].contentWindow,this.navigate(r)),this._hasPushState?t.$(window).on("popstate",this.checkUrl):this._wantsHashChange&&"onhashchange"in window&&!s?t.$(window).on("hashchange",this.checkUrl):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),this.fragment=r;var o=this.location,u=o.pathname.replace(/[^\/]$/,"$&/")===this.root;if(this._wantsHashChange&&this._wantsPushState&&!this._hasPushState&&!u)return this.fragment=this.getFragment(null,!0),this.location.replace(this.root+this.location.search+"#"+this.fragment),!0;this._wantsPushState&&this._hasPushState&&u&&o.hash&&(this.fragment=this.getHash().replace(_,""),this.history.replaceState({},document.title,this.root+this.fragment+o.search));if(!this.options.silent)return this.loadUrl()},stop:function(){t.$(window).off("popstate",this.checkUrl).off("hashchange",this.checkUrl),clearInterval(this._checkUrlInterval),M.started=!1},route:function(e,t){this.handlers.unshift({route:e,callback:t})},checkUrl:function(e){var t=this.getFragment();t===this.fragment&&this.iframe&&(t=this.getFragment(this.getHash(this.iframe)));if(t===this.fragment)return!1;this.iframe&&this.navigate(t),this.loadUrl()||this.loadUrl(this.getHash())},loadUrl:function(e){var t=this.fragment=this.getFragment(e),r=n.any(this.handlers,function(e){if(e.route.test(t))return e.callback(t),!0});return r},navigate:function(e,t){if(!M.started)return!1;if(!t||t===!0)t={trigger:t};e=this.getFragment(e||"");if(this.fragment===e)return;this.fragment=e;var n=this.root+e;if(this._hasPushState)this.history[t.replace?"replaceState":"pushState"]({},document.title,n);else{if(!this._wantsHashChange)return this.location.assign(n);this._updateHash(this.location,e,t.replace),this.iframe&&e!==this.getFragment(this.getHash(this.iframe))&&(t.replace||this.iframe.document.open().close(),this._updateHash(this.iframe.location,e,t.replace))}t.trigger&&this.loadUrl(e)},_updateHash:function(e,t,n){if(n){var r=e.href.replace(/(javascript:|#).*$/,"");e.replace(r+"#"+t)}else e.hash="#"+t}}),t.history=new M;var B=function(e,t){var r=this,i;e&&n.has(e,"constructor")?i=e.constructor:i=function(){return r.apply(this,arguments)},n.extend(i,r,t);var s=function(){this.constructor=i};return s.prototype=r.prototype,i.prototype=new s,e&&n.extend(i.prototype,e),i.__super__=r.prototype,i};d.extend=g.extend=C.extend=S.extend=M.extend=B;var j=function(){throw new Error('A "url" property or function must be specified')},F=function(e,t){var n=t.error;t.error=function(r){n&&n(e,r,t),e.trigger("error",e,r,t)}};return t}),define("pubsub",["backbone","underscore"],function(e,t){var n=t.extend({},e.Events);return n}),define("app/views/baseview",["underscore","backbone","pubsub"],function(e,t,n){return t.BaseView=t.View.extend({template:null,initialize:function(e){this.pubSub=this.options.pubSub||n,this.bindings(),this.listeners(),this.postInitialize(e),this.trigger("initialize")},getRenderData:function(){return this.model?this.model.toJSON():{}},getTemplate:function(){if(this.template)return this.template},getHtml:function(){var e=this.getTemplate();return e?e(this.getRenderData()):""},render:function(){return this.$el.html(this.getHtml()),this.trigger("render"),this.postRender.apply(this,Array.prototype.slice.call(arguments)),this},postInitialize:function(){},postRender:function(){},listeners:function(){},bindings:function(){e.bindAll(this,"render","destroy")},hide:function(){this.pubSub.trigger("viewHideComplete",this)},cleanup:function(){},dispose:function(){return this.undelegateEvents(),this.model&&this.model.off(null,null,this),this.collection&&this.collection.off(null,null,this),this},destroy:function(){this.dispose(),this.cleanup()}}),t.BaseView}),function(){var e=0,t=["ms","moz","webkit","o"];for(var n=0;n<t.length&&!window.requestAnimationFrame;++n)window.requestAnimationFrame=window[t[n]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[t[n]+"CancelAnimationFrame"]||window[t[n]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(t){var n=(new Date).getTime(),r=Math.max(0,16-(n-e)),i=window.setTimeout(function(){t(n+r)},r);return e=n+r,i}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(e){clearTimeout(e)})}(),Array.prototype.indexOf||(Array.prototype.indexOf=function(e,t){if(this===undefined||this===null)throw new TypeError('"this" is null or not defined');var n=this.length>>>0;t=+t||0,Math.abs(t)===Infinity&&(t=0),t<0&&(t+=n,t<0&&(t=0));for(;t<n;t++)if(this[t]===e)return t;return-1}),Array.prototype.forEach||(Array.prototype.forEach=function(e){if(this===void 0||this===null)throw new TypeError;var t=Object(this),n=t.length>>>0;if(typeof e!="function")throw new TypeError;var r=arguments.length>=2?arguments[1]:void 0;for(var i=0;i<n;i++)i in t&&e.call(r,t[i],i,t)}),Array.prototype.shuffle=function(){if(this===undefined||this===null)throw new TypeError('"this" is null or not defined');var e=this.length,t,n;while(0!==e)n=Math.floor(Math.random()*e),e-=1,t=this[e],this[e]=this[n],this[n]=t},window.console=window.console||function(){var e=function(){},t="log info warn error assert dir clear profile profileEnd".split(" "),n=0,r=null,i={};for(n=0;r=t[n];n+=1)i[r]=e;return i}(),window.getViewport=function(){var e=window,t="inner";return"innerWidth"in window||(t="client",e=document.documentElement||document.body),{width:e[t+"Width"],height:e[t+"Height"]}},window.getQueryString=function(e){var t=window.location.search.substring(1),n=t.split("&"),r,i=n.length,s;for(s=0;s<i;s++){r=n[s].split("=");if(r[0]===e)return r[1]}return!1},define("utils",function(){}),function(e,t){typeof define=="function"&&define.amd?define("dateswitcher",t):e.DateSwitcher=t()}(this,function(){var e={};return e.text="",e.init=function(t){if(!t)return;var n=new Date,r="no valid date set",i,s,o=t.length,u;for(u=0;u<o;u++){i=t[u].date.split("-"),s=new Date(i[2],i[0]-1,i[1]),console.log(s);if(s>n){console.log("tDate is greater than today!"),console.log(s),console.log(n),e.text=r;break}r=t[u].text,console.log(u+", "+o),u===o-1&&(e.text=r)}},e}),function(){var e={};(function(e,t){e.VERSION="1.0.0-rc.3",e.COMPILER_REVISION=2,e.REVISION_CHANGES={1:"<= 1.0.rc.2",2:">= 1.0.0-rc.3"},e.helpers={},e.partials={},e.registerHelper=function(e,t,n){n&&(t.not=n),this.helpers[e]=t},e.registerPartial=function(e,t){this.partials[e]=t},e.registerHelper("helperMissing",function(e){if(arguments.length===2)return t;throw new Error("Could not find property '"+e+"'")});var n=Object.prototype.toString,r="[object Function]";e.registerHelper("blockHelperMissing",function(t,i){var s=i.inverse||function(){},o=i.fn,u=n.call(t);return u===r&&(t=t.call(this)),t===!0?o(this):t===!1||t==null?s(this):u==="[object Array]"?t.length>0?e.helpers.each(t,i):s(this):o(t)}),e.K=function(){},e.createFrame=Object.create||function(t){e.K.prototype=t;var n=new e.K;return e.K.prototype=null,n},e.logger={DEBUG:0,INFO:1,WARN:2,ERROR:3,level:3,methodMap:{0:"debug",1:"info",2:"warn",3:"error"},log:function(t,n){if(e.logger.level<=t){var r=e.logger.methodMap[t];typeof console!="undefined"&&console[r]&&console[r].call(console,n)}}},e.log=function(t,n){e.logger.log(t,n)},e.registerHelper("each",function(t,n){var r=n.fn,i=n.inverse,s=0,o="",u;n.data&&(u=e.createFrame(n.data));if(t&&typeof t=="object")if(t instanceof Array)for(var a=t.length;s<a;s++)u&&(u.index=s),o+=r(t[s],{data:u});else for(var f in t)t.hasOwnProperty(f)&&(u&&(u.key=f),o+=r(t[f],{data:u}),s++);return s===0&&(o=i(this)),o}),e.registerHelper("if",function(t,i){var s=n.call(t);return s===r&&(t=t.call(this)),!t||e.Utils.isEmpty(t)?i.inverse(this):i.fn(this)}),e.registerHelper("unless",function(t,n){return e.helpers["if"].call(this,t,{fn:n.inverse,inverse:n.fn})}),e.registerHelper("with",function(e,t){return t.fn(e)}),e.registerHelper("log",function(t,n){var r=n.data&&n.data.level!=null?parseInt(n.data.level,10):1;e.log(r,t)})})(e);var t=function(){function n(){this.yy={}}var e={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,simpleInverse:6,statements:7,statement:8,openInverse:9,closeBlock:10,openBlock:11,mustache:12,partial:13,CONTENT:14,COMMENT:15,OPEN_BLOCK:16,inMustache:17,CLOSE:18,OPEN_INVERSE:19,OPEN_ENDBLOCK:20,path:21,OPEN:22,OPEN_UNESCAPED:23,OPEN_PARTIAL:24,partialName:25,params:26,hash:27,DATA:28,param:29,STRING:30,INTEGER:31,BOOLEAN:32,hashSegments:33,hashSegment:34,ID:35,EQUALS:36,PARTIAL_NAME:37,pathSegments:38,SEP:39,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"CONTENT",15:"COMMENT",16:"OPEN_BLOCK",18:"CLOSE",19:"OPEN_INVERSE",20:"OPEN_ENDBLOCK",22:"OPEN",23:"OPEN_UNESCAPED",24:"OPEN_PARTIAL",28:"DATA",30:"STRING",31:"INTEGER",32:"BOOLEAN",35:"ID",36:"EQUALS",37:"PARTIAL_NAME",39:"SEP"},productions_:[0,[3,2],[4,2],[4,3],[4,2],[4,1],[4,1],[4,0],[7,1],[7,2],[8,3],[8,3],[8,1],[8,1],[8,1],[8,1],[11,3],[9,3],[10,3],[12,3],[12,3],[13,3],[13,4],[6,2],[17,3],[17,2],[17,2],[17,1],[17,1],[26,2],[26,1],[29,1],[29,1],[29,1],[29,1],[29,1],[27,1],[33,2],[33,1],[34,3],[34,3],[34,3],[34,3],[34,3],[25,1],[21,1],[38,3],[38,1]],performAction:function(t,n,r,i,s,o,u){var a=o.length-1;switch(s){case 1:return o[a-1];case 2:this.$=new i.ProgramNode([],o[a]);break;case 3:this.$=new i.ProgramNode(o[a-2],o[a]);break;case 4:this.$=new i.ProgramNode(o[a-1],[]);break;case 5:this.$=new i.ProgramNode(o[a]);break;case 6:this.$=new i.ProgramNode([],[]);break;case 7:this.$=new i.ProgramNode([]);break;case 8:this.$=[o[a]];break;case 9:o[a-1].push(o[a]),this.$=o[a-1];break;case 10:this.$=new i.BlockNode(o[a-2],o[a-1].inverse,o[a-1],o[a]);break;case 11:this.$=new i.BlockNode(o[a-2],o[a-1],o[a-1].inverse,o[a]);break;case 12:this.$=o[a];break;case 13:this.$=o[a];break;case 14:this.$=new i.ContentNode(o[a]);break;case 15:this.$=new i.CommentNode(o[a]);break;case 16:this.$=new i.MustacheNode(o[a-1][0],o[a-1][1]);break;case 17:this.$=new i.MustacheNode(o[a-1][0],o[a-1][1]);break;case 18:this.$=o[a-1];break;case 19:this.$=new i.MustacheNode(o[a-1][0],o[a-1][1]);break;case 20:this.$=new i.MustacheNode(o[a-1][0],o[a-1][1],!0);break;case 21:this.$=new i.PartialNode(o[a-1]);break;case 22:this.$=new i.PartialNode(o[a-2],o[a-1]);break;case 23:break;case 24:this.$=[[o[a-2]].concat(o[a-1]),o[a]];break;case 25:this.$=[[o[a-1]].concat(o[a]),null];break;case 26:this.$=[[o[a-1]],o[a]];break;case 27:this.$=[[o[a]],null];break;case 28:this.$=[[new i.DataNode(o[a])],null];break;case 29:o[a-1].push(o[a]),this.$=o[a-1];break;case 30:this.$=[o[a]];break;case 31:this.$=o[a];break;case 32:this.$=new i.StringNode(o[a]);break;case 33:this.$=new i.IntegerNode(o[a]);break;case 34:this.$=new i.BooleanNode(o[a]);break;case 35:this.$=new i.DataNode(o[a]);break;case 36:this.$=new i.HashNode(o[a]);break;case 37:o[a-1].push(o[a]),this.$=o[a-1];break;case 38:this.$=[o[a]];break;case 39:this.$=[o[a-2],o[a]];break;case 40:this.$=[o[a-2],new i.StringNode(o[a])];break;case 41:this.$=[o[a-2],new i.IntegerNode(o[a])];break;case 42:this.$=[o[a-2],new i.BooleanNode(o[a])];break;case 43:this.$=[o[a-2],new i.DataNode(o[a])];break;case 44:this.$=new i.PartialNameNode(o[a]);break;case 45:this.$=new i.IdNode(o[a]);break;case 46:o[a-2].push(o[a]),this.$=o[a-2];break;case 47:this.$=[o[a]]}},table:[{3:1,4:2,5:[2,7],6:3,7:4,8:6,9:7,11:8,12:9,13:10,14:[1,11],15:[1,12],16:[1,13],19:[1,5],22:[1,14],23:[1,15],24:[1,16]},{1:[3]},{5:[1,17]},{5:[2,6],7:18,8:6,9:7,11:8,12:9,13:10,14:[1,11],15:[1,12],16:[1,13],19:[1,19],20:[2,6],22:[1,14],23:[1,15],24:[1,16]},{5:[2,5],6:20,8:21,9:7,11:8,12:9,13:10,14:[1,11],15:[1,12],16:[1,13],19:[1,5],20:[2,5],22:[1,14],23:[1,15],24:[1,16]},{17:23,18:[1,22],21:24,28:[1,25],35:[1,27],38:26},{5:[2,8],14:[2,8],15:[2,8],16:[2,8],19:[2,8],20:[2,8],22:[2,8],23:[2,8],24:[2,8]},{4:28,6:3,7:4,8:6,9:7,11:8,12:9,13:10,14:[1,11],15:[1,12],16:[1,13],19:[1,5],20:[2,7],22:[1,14],23:[1,15],24:[1,16]},{4:29,6:3,7:4,8:6,9:7,11:8,12:9,13:10,14:[1,11],15:[1,12],16:[1,13],19:[1,5],20:[2,7],22:[1,14],23:[1,15],24:[1,16]},{5:[2,12],14:[2,12],15:[2,12],16:[2,12],19:[2,12],20:[2,12],22:[2,12],23:[2,12],24:[2,12]},{5:[2,13],14:[2,13],15:[2,13],16:[2,13],19:[2,13],20:[2,13],22:[2,13],23:[2,13],24:[2,13]},{5:[2,14],14:[2,14],15:[2,14],16:[2,14],19:[2,14],20:[2,14],22:[2,14],23:[2,14],24:[2,14]},{5:[2,15],14:[2,15],15:[2,15],16:[2,15],19:[2,15],20:[2,15],22:[2,15],23:[2,15],24:[2,15]},{17:30,21:24,28:[1,25],35:[1,27],38:26},{17:31,21:24,28:[1,25],35:[1,27],38:26},{17:32,21:24,28:[1,25],35:[1,27],38:26},{25:33,37:[1,34]},{1:[2,1]},{5:[2,2],8:21,9:7,11:8,12:9,13:10,14:[1,11],15:[1,12],16:[1,13],19:[1,19],20:[2,2],22:[1,14],23:[1,15],24:[1,16]},{17:23,21:24,28:[1,25],35:[1,27],38:26},{5:[2,4],7:35,8:6,9:7,11:8,12:9,13:10,14:[1,11],15:[1,12],16:[1,13],19:[1,19],20:[2,4],22:[1,14],23:[1,15],24:[1,16]},{5:[2,9],14:[2,9],15:[2,9],16:[2,9],19:[2,9],20:[2,9],22:[2,9],23:[2,9],24:[2,9]},{5:[2,23],14:[2,23],15:[2,23],16:[2,23],19:[2,23],20:[2,23],22:[2,23],23:[2,23],24:[2,23]},{18:[1,36]},{18:[2,27],21:41,26:37,27:38,28:[1,45],29:39,30:[1,42],31:[1,43],32:[1,44],33:40,34:46,35:[1,47],38:26},{18:[2,28]},{18:[2,45],28:[2,45],30:[2,45],31:[2,45],32:[2,45],35:[2,45],39:[1,48]},{18:[2,47],28:[2,47],30:[2,47],31:[2,47],32:[2,47],35:[2,47],39:[2,47]},{10:49,20:[1,50]},{10:51,20:[1,50]},{18:[1,52]},{18:[1,53]},{18:[1,54]},{18:[1,55],21:56,35:[1,27],38:26},{18:[2,44],35:[2,44]},{5:[2,3],8:21,9:7,11:8,12:9,13:10,14:[1,11],15:[1,12],16:[1,13],19:[1,19],20:[2,3],22:[1,14],23:[1,15],24:[1,16]},{14:[2,17],15:[2,17],16:[2,17],19:[2,17],20:[2,17],22:[2,17],23:[2,17],24:[2,17]},{18:[2,25],21:41,27:57,28:[1,45],29:58,30:[1,42],31:[1,43],32:[1,44],33:40,34:46,35:[1,47],38:26},{18:[2,26]},{18:[2,30],28:[2,30],30:[2,30],31:[2,30],32:[2,30],35:[2,30]},{18:[2,36],34:59,35:[1,60]},{18:[2,31],28:[2,31],30:[2,31],31:[2,31],32:[2,31],35:[2,31]},{18:[2,32],28:[2,32],30:[2,32],31:[2,32],32:[2,32],35:[2,32]},{18:[2,33],28:[2,33],30:[2,33],31:[2,33],32:[2,33],35:[2,33]},{18:[2,34],28:[2,34],30:[2,34],31:[2,34],32:[2,34],35:[2,34]},{18:[2,35],28:[2,35],30:[2,35],31:[2,35],32:[2,35],35:[2,35]},{18:[2,38],35:[2,38]},{18:[2,47],28:[2,47],30:[2,47],31:[2,47],32:[2,47],35:[2,47],36:[1,61],39:[2,47]},{35:[1,62]},{5:[2,10],14:[2,10],15:[2,10],16:[2,10],19:[2,10],20:[2,10],22:[2,10],23:[2,10],24:[2,10]},{21:63,35:[1,27],38:26},{5:[2,11],14:[2,11],15:[2,11],16:[2,11],19:[2,11],20:[2,11],22:[2,11],23:[2,11],24:[2,11]},{14:[2,16],15:[2,16],16:[2,16],19:[2,16],20:[2,16],22:[2,16],23:[2,16],24:[2,16]},{5:[2,19],14:[2,19],15:[2,19],16:[2,19],19:[2,19],20:[2,19],22:[2,19],23:[2,19],24:[2,19]},{5:[2,20],14:[2,20],15:[2,20],16:[2,20],19:[2,20],20:[2,20],22:[2,20],23:[2,20],24:[2,20]},{5:[2,21],14:[2,21],15:[2,21],16:[2,21],19:[2,21],20:[2,21],22:[2,21],23:[2,21],24:[2,21]},{18:[1,64]},{18:[2,24]},{18:[2,29],28:[2,29],30:[2,29],31:[2,29],32:[2,29],35:[2,29]},{18:[2,37],35:[2,37]},{36:[1,61]},{21:65,28:[1,69],30:[1,66],31:[1,67],32:[1,68],35:[1,27],38:26},{18:[2,46],28:[2,46],30:[2,46],31:[2,46],32:[2,46],35:[2,46],39:[2,46]},{18:[1,70]},{5:[2,22],14:[2,22],15:[2,22],16:[2,22],19:[2,22],20:[2,22],22:[2,22],23:[2,22],24:[2,22]},{18:[2,39],35:[2,39]},{18:[2,40],35:[2,40]},{18:[2,41],35:[2,41]},{18:[2,42],35:[2,42]},{18:[2,43],35:[2,43]},{5:[2,18],14:[2,18],15:[2,18],16:[2,18],19:[2,18],20:[2,18],22:[2,18],23:[2,18],24:[2,18]}],defaultActions:{17:[2,1],25:[2,28],38:[2,26],57:[2,24]},parseError:function(t,n){throw new Error(t)},parse:function(t){function v(e){r.length=r.length-2*e,i.length=i.length-e,s.length=s.length-e}function m(){var e;return e=n.lexer.lex()||1,typeof e!="number"&&(e=n.symbols_[e]||e),e}var n=this,r=[0],i=[null],s=[],o=this.table,u="",a=0,f=0,l=0,c=2,h=1;this.lexer.setInput(t),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc=="undefined"&&(this.lexer.yylloc={});var p=this.lexer.yylloc;s.push(p);var d=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"&&(this.parseError=this.yy.parseError);var g,y,b,w,E,S,x={},T,N,C,k;for(;;){b=r[r.length-1];if(this.defaultActions[b])w=this.defaultActions[b];else{if(g===null||typeof g=="undefined")g=m();w=o[b]&&o[b][g]}if(typeof w=="undefined"||!w.length||!w[0]){var L="";if(!l){k=[];for(T in o[b])this.terminals_[T]&&T>2&&k.push("'"+this.terminals_[T]+"'");this.lexer.showPosition?L="Parse error on line "+(a+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+k.join(", ")+", got '"+(this.terminals_[g]||g)+"'":L="Parse error on line "+(a+1)+": Unexpected "+(g==1?"end of input":"'"+(this.terminals_[g]||g)+"'"),this.parseError(L,{text:this.lexer.match,token:this.terminals_[g]||g,line:this.lexer.yylineno,loc:p,expected:k})}}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+g);switch(w[0]){case 1:r.push(g),i.push(this.lexer.yytext),s.push(this.lexer.yylloc),r.push(w[1]),g=null,y?(g=y,y=null):(f=this.lexer.yyleng,u=this.lexer.yytext,a=this.lexer.yylineno,p=this.lexer.yylloc,l>0&&l--);break;case 2:N=this.productions_[w[1]][1],x.$=i[i.length-N],x._$={first_line:s[s.length-(N||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(N||1)].first_column,last_column:s[s.length-1].last_column},d&&(x._$.range=[s[s.length-(N||1)].range[0],s[s.length-1].range[1]]),S=this.performAction.call(x,u,f,a,this.yy,w[1],i,s);if(typeof S!="undefined")return S;N&&(r=r.slice(0,-1*N*2),i=i.slice(0,-1*N),s=s.slice(0,-1*N)),r.push(this.productions_[w[1]][0]),i.push(x.$),s.push(x._$),C=o[r[r.length-2]][r[r.length-1]],r.push(C);break;case 3:return!0}}return!0}},t=function(){var e={EOF:1,parseError:function(t,n){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,n)},setInput:function(e){return this._input=e,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var e=this._input[0];this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e;var t=e.match(/(?:\r\n?|\n).*/g);return t?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},unput:function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t-1),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this},more:function(){return this._more=!0,this},less:function(e){this.unput(this.match.slice(e))},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=(new Array(e.length+1)).join("-");return e+this.upcomingInput()+"\n"+t+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var e,t,n,r,i,s;this._more||(this.yytext="",this.match="");var o=this._currentRules();for(var u=0;u<o.length;u++){n=this._input.match(this.rules[o[u]]);if(n&&(!t||n[0].length>t[0].length)){t=n,r=u;if(!this.options.flex)break}}if(t){s=t[0].match(/(?:\r\n?|\n).*/g),s&&(this.yylineno+=s.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:s?s[s.length-1].length-s[s.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],e=this.performAction.call(this,this.yy,this,o[r],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1);if(e)return e;return}return this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return typeof t!="undefined"?t:this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(t){this.begin(t)}};return e.options={},e.performAction=function(t,n,r,i){var s=i;switch(r){case 0:n.yytext.slice(-1)!=="\\"&&this.begin("mu"),n.yytext.slice(-1)==="\\"&&(n.yytext=n.yytext.substr(0,n.yyleng-1),this.begin("emu"));if(n.yytext)return 14;break;case 1:return 14;case 2:return n.yytext.slice(-1)!=="\\"&&this.popState(),n.yytext.slice(-1)==="\\"&&(n.yytext=n.yytext.substr(0,n.yyleng-1)),14;case 3:return n.yytext=n.yytext.substr(0,n.yyleng-4),this.popState(),15;case 4:return this.begin("par"),24;case 5:return 16;case 6:return 20;case 7:return 19;case 8:return 19;case 9:return 23;case 10:return 23;case 11:this.popState(),this.begin("com");break;case 12:return n.yytext=n.yytext.substr(3,n.yyleng-5),this.popState(),15;case 13:return 22;case 14:return 36;case 15:return 35;case 16:return 35;case 17:return 39;case 18:break;case 19:return this.popState(),18;case 20:return this.popState(),18;case 21:return n.yytext=n.yytext.substr(1,n.yyleng-2).replace(/\\"/g,'"'),30;case 22:return n.yytext=n.yytext.substr(1,n.yyleng-2).replace(/\\'/g,"'"),30;case 23:return n.yytext=n.yytext.substr(1),28;case 24:return 32;case 25:return 32;case 26:return 31;case 27:return 35;case 28:return n.yytext=n.yytext.substr(1,n.yyleng-2),35;case 29:return"INVALID";case 30:break;case 31:return this.popState(),37;case 32:return 5}},e.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|$)))/,/^(?:[\s\S]*?--\}\})/,/^(?:\{\{>)/,/^(?:\{\{#)/,/^(?:\{\{\/)/,/^(?:\{\{\^)/,/^(?:\{\{\s*else\b)/,/^(?:\{\{\{)/,/^(?:\{\{&)/,/^(?:\{\{!--)/,/^(?:\{\{![\s\S]*?\}\})/,/^(?:\{\{)/,/^(?:=)/,/^(?:\.(?=[} ]))/,/^(?:\.\.)/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}\}\})/,/^(?:\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@[a-zA-Z]+)/,/^(?:true(?=[}\s]))/,/^(?:false(?=[}\s]))/,/^(?:-?[0-9]+(?=[}\s]))/,/^(?:[a-zA-Z0-9_$-]+(?=[=}\s\/.]))/,/^(?:\[[^\]]*\])/,/^(?:.)/,/^(?:\s+)/,/^(?:[a-zA-Z0-9_$-/]+)/,/^(?:$)/],e.conditions={mu:{rules:[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,32],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[3],inclusive:!1},par:{rules:[30,31],inclusive:!1},INITIAL:{rules:[0,1,32],inclusive:!0}},e}();return e.lexer=t,n.prototype=e,e.Parser=n,new n}();e.Parser=t,e.parse=function(t){return t.constructor===e.AST.ProgramNode?t:(e.Parser.yy=e.AST,e.Parser.parse(t))},function(){e.AST={},e.AST.ProgramNode=function(t,n){this.type="program",this.statements=t,n&&(this.inverse=new e.AST.ProgramNode(n))},e.AST.MustacheNode=function(e,t,n){this.type="mustache",this.escaped=!n,this.hash=t;var r=this.id=e[0],i=this.params=e.slice(1),s=this.eligibleHelper=r.isSimple;this.isHelper=s&&(i.length||t)},e.AST.PartialNode=function(e,t){this.type="partial",this.partialName=e,this.context=t},e.AST.BlockNode=function(t,n,r,i){var s=function(t,n){if(t.original!==n.original)throw new e.Exception(t.original+" doesn't match "+n.original)};s(t.id,i),this.type="block",this.mustache=t,this.program=n,this.inverse=r,this.inverse&&!this.program&&(this.isInverse=!0)},e.AST.ContentNode=function(e){this.type="content",this.string=e},e.AST.HashNode=function(e){this.type="hash",this.pairs=e},e.AST.IdNode=function(t){this.type="ID",this.original=t.join(".");var n=[],r=0;for(var i=0,s=t.length;i<s;i++){var o=t[i];if(o===".."||o==="."||o==="this"){if(n.length>0)throw new e.Exception("Invalid path: "+this.original);o===".."?r++:this.isScoped=!0}else n.push(o)}this.parts=n,this.string=n.join("."),this.depth=r,this.isSimple=t.length===1&&!this.isScoped&&r===0,this.stringModeValue=this.string},e.AST.PartialNameNode=function(e){this.type="PARTIAL_NAME",this.name=e},e.AST.DataNode=function(e){this.type="DATA",this.id=e},e.AST.StringNode=function(e){this.type="STRING",this.string=e,this.stringModeValue=e},e.AST.IntegerNode=function(e){this.type="INTEGER",this.integer=e,this.stringModeValue=Number(e)},e.AST.BooleanNode=function(e){this.type="BOOLEAN",this.bool=e,this.stringModeValue=e==="true"},e.AST.CommentNode=function(e){this.type="comment",this.comment=e}}();var n=["description","fileName","lineNumber","message","name","number","stack"];e.Exception=function(e){var t=Error.prototype.constructor.apply(this,arguments);for(var r=0;r<n.length;r++)this[n[r]]=t[n[r]]},e.Exception.prototype=new Error,e.SafeString=function(e){this.string=e},e.SafeString.prototype.toString=function(){return this.string.toString()},function(){var t={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},n=/[&<>"'`]/g,r=/[&<>"'`]/,i=function(e){return t[e]||"&"};e.Utils={escapeExpression:function(t){return t instanceof e.SafeString?t.toString():t==null||t===!1?"":r.test(t)?t.replace(n,i):t},isEmpty:function(e){return!e&&e!==0?!0:Object.prototype.toString.call(e)==="[object Array]"&&e.length===0?!0:!1}}}(),e.Compiler=function(){},e.JavaScriptCompiler=function(){},function(t,n){t.prototype={compiler:t,disassemble:function(){var e=this.opcodes,t,n=[],r,i;for(var s=0,o=e.length;s<o;s++){t=e[s];if(t.opcode==="DECLARE")n.push("DECLARE "+t.name+"="+t.value);else{r=[];for(var u=0;u<t.args.length;u++)i=t.args[u],typeof i=="string"&&(i='"'+i.replace("\n","\\n")+'"'),r.push(i);n.push(t.opcode+" "+r.join(" "))}}return n.join("\n")},equals:function(e){var t=this.opcodes.length;if(e.opcodes.length!==t)return!1;for(var n=0;n<t;n++){var r=this.opcodes[n],i=e.opcodes[n];if(r.opcode!==i.opcode||r.args.length!==i.args.length)return!1;for(var s=0;s<r.args.length;s++)if(r.args[s]!==i.args[s])return!1}t=this.children.length;if(e.children.length!==t)return!1;for(n=0;n<t;n++)if(!this.children[n].equals(e.children[n]))return!1;return!0},guid:0,compile:function(e,t){this.children=[],this.depths={list:[]},this.options=t;var n=this.options.knownHelpers;this.options.knownHelpers={helperMissing:!0,blockHelperMissing:!0,each:!0,"if":!0,unless:!0,"with":!0,log:!0};if(n)for(var r in n)this.options.knownHelpers[r]=n[r];return this.program(e)},accept:function(e){return this[e.type](e)},program:function(e){var t=e.statements,n;this.opcodes=[];for(var r=0,i=t.length;r<i;r++)n=t[r],this[n.type](n);return this.isSimple=i===1,this.depths.list=this.depths.list.sort(function(e,t){return e-t}),this},compileProgram:function(e){var t=(new this.compiler).compile(e,this.options),n=this.guid++,r;this.usePartial=this.usePartial||t.usePartial,this.children[n]=t;for(var i=0,s=t.depths.list.length;i<s;i++){r=t.depths.list[i];if(r<2)continue;this.addDepth(r-1)}return n},block:function(e){var t=e.mustache,n=e.program,r=e.inverse;n&&(n=this.compileProgram(n)),r&&(r=this.compileProgram(r));var i=this.classifyMustache(t);i==="helper"?this.helperMustache(t,n,r):i==="simple"?(this.simpleMustache(t),this.opcode("pushProgram",n),this.opcode("pushProgram",r),this.opcode("emptyHash"),this.opcode("blockValue")):(this.ambiguousMustache(t,n,r),this.opcode("pushProgram",n),this.opcode("pushProgram",r),this.opcode("emptyHash"),this.opcode("ambiguousBlockValue")),this.opcode("append")},hash:function(e){var t=e.pairs,n,r;this.opcode("pushHash");for(var i=0,s=t.length;i<s;i++)n=t[i],r=n[1],this.options.stringParams?this.opcode("pushStringParam",r.stringModeValue,r.type):this.accept(r),this.opcode("assignToHash",n[0]);this.opcode("popHash")},partial:function(e){var t=e.partialName;this.usePartial=!0,e.context?this.ID(e.context):this.opcode("push","depth0"),this.opcode("invokePartial",t.name),this.opcode("append")},content:function(e){this.opcode("appendContent",e.string)},mustache:function(e){var t=this.options,n=this.classifyMustache(e);n==="simple"?this.simpleMustache(e):n==="helper"?this.helperMustache(e):this.ambiguousMustache(e),e.escaped&&!t.noEscape?this.opcode("appendEscaped"):this.opcode("append")},ambiguousMustache:function(e,t,n){var r=e.id,i=r.parts[0],s=t!=null||n!=null;this.opcode("getContext",r.depth),this.opcode("pushProgram",t),this.opcode("pushProgram",n),this.opcode("invokeAmbiguous",i,s)},simpleMustache:function(e){var t=e.id;t.type==="DATA"?this.DATA(t):t.parts.length?this.ID(t):(this.addDepth(t.depth),this.opcode("getContext",t.depth),this.opcode("pushContext")),this.opcode("resolvePossibleLambda")},helperMustache:function(e,t,n){var r=this.setupFullMustacheParams(e,t,n),i=e.id.parts[0];if(this.options.knownHelpers[i])this.opcode("invokeKnownHelper",r.length,i);else{if(this.knownHelpersOnly)throw new Error("You specified knownHelpersOnly, but used the unknown helper "+i);this.opcode("invokeHelper",r.length,i)}},ID:function(e){this.addDepth(e.depth),this.opcode("getContext",e.depth);var t=e.parts[0];t?this.opcode("lookupOnContext",e.parts[0]):this.opcode("pushContext");for(var n=1,r=e.parts.length;n<r;n++)this.opcode("lookup",e.parts[n])},DATA:function(e){this.options.data=!0,this.opcode("lookupData",e.id)},STRING:function(e){this.opcode("pushString",e.string)},INTEGER:function(e){this.opcode("pushLiteral",e.integer)},BOOLEAN:function(e){this.opcode("pushLiteral",e.bool)},comment:function(){},opcode:function(e){this.opcodes.push({opcode:e,args:[].slice.call(arguments,1)})},declare:function(e,t){this.opcodes.push({opcode:"DECLARE",name:e,value:t})},addDepth:function(e){if(isNaN(e))throw new Error("EWOT");if(e===0)return;this.depths[e]||(this.depths[e]=!0,this.depths.list.push(e))},classifyMustache:function(e){var t=e.isHelper,n=e.eligibleHelper,r=this.options;if(n&&!t){var i=e.id.parts[0];r.knownHelpers[i]?t=!0:r.knownHelpersOnly&&(n=!1)}return t?"helper":n?"ambiguous":"simple"},pushParams:function(e){var t=e.length,n;while(t--)n=e[t],this.options.stringParams?(n.depth&&this.addDepth(n.depth),this.opcode("getContext",n.depth||0),this.opcode("pushStringParam",n.stringModeValue,n.type)):this[n.type](n)},setupMustacheParams:function(e){var t=e.params;return this.pushParams(t),e.hash?this.hash(e.hash):this.opcode("emptyHash"),t},setupFullMustacheParams:function(e,t,n){var r=e.params;return this.pushParams(r),this.opcode("pushProgram",t),this.opcode("pushProgram",n),e.hash?this.hash(e.hash):this.opcode("emptyHash"),r}};var r=function(e){this.value=e};n.prototype={nameLookup:function(e,t){return/^[0-9]+$/.test(t)?e+"["+t+"]":n.isValidJavaScriptVariableName(t)?e+"."+t:e+"['"+t+"']"},appendToBuffer:function(e){return this.environment.isSimple?"return "+e+";":{appendToBuffer:!0,content:e,toString:function(){return"buffer += "+e+";"}}},initializeBuffer:function(){return this.quotedString("")},namespace:"Handlebars",compile:function(t,n,r,i){this.environment=t,this.options=n||{},e.log(e.logger.DEBUG,this.environment.disassemble()+"\n\n"),this.name=this.environment.name,this.isChild=!!r,this.context=r||{programs:[],environments:[],aliases:{}},this.preamble(),this.stackSlot=0,this.stackVars=[],this.registers={list:[]},this.compileStack=[],this.inlineStack=[],this.compileChildren(t,n);var s=t.opcodes,o;this.i=0;for(u=s.length;this.i<u;this.i++)o=s[this.i],o.opcode==="DECLARE"?this[o.name]=o.value:this[o.opcode].apply(this,o.args);return this.createFunctionContext(i)},nextOpcode:function(){var e=this.environment.opcodes;return e[this.i+1]},eat:function(){this.i=this.i+1},preamble:function(){var e=[];if(!this.isChild){var t=this.namespace,n="helpers = helpers || "+t+".helpers;";this.environment.usePartial&&(n=n+" partials = partials || "+t+".partials;"),this.options.data&&(n+=" data = data || {};"),e.push(n)}else e.push("");this.environment.isSimple?e.push(""):e.push(", buffer = "+this.initializeBuffer()),this.lastContext=0,this.source=e},createFunctionContext:function(t){var n=this.stackVars.concat(this.registers.list);n.length>0&&(this.source[1]=this.source[1]+", "+n.join(", "));if(!this.isChild)for(var r in this.context.aliases)this.source[1]=this.source[1]+", "+r+"="+this.context.aliases[r];this.source[1]&&(this.source[1]="var "+this.source[1].substring(2)+";"),this.isChild||(this.source[1]+="\n"+this.context.programs.join("\n")+"\n"),this.environment.isSimple||this.source.push("return buffer;");var i=this.isChild?["depth0","data"]:["Handlebars","depth0","helpers","partials","data"];for(var s=0,o=this.environment.depths.list.length;s<o;s++)i.push("depth"+this.environment.depths.list[s]);var u=this.mergeSource();if(!this.isChild){var a=e.COMPILER_REVISION,f=e.REVISION_CHANGES[a];u="this.compilerInfo = ["+a+",'"+f+"'];\n"+u}if(t)return i.push(u),Function.apply(this,i);var l="function "+(this.name||"")+"("+i.join(",")+") {\n "+u+"}";return e.log(e.logger.DEBUG,l+"\n\n"),l},mergeSource:function(){var e="",t;for(var n=0,r=this.source.length;n<r;n++){var i=this.source[n];i.appendToBuffer?t?t=t+"\n + "+i.content:t=i.content:(t&&(e+="buffer += "+t+";\n ",t=undefined),e+=i+"\n ")}return e},blockValue:function(){this.context.aliases.blockHelperMissing="helpers.blockHelperMissing";var e=["depth0"];this.setupParams(0,e),this.replaceStack(function(t){return e.splice(1,0,t),"blockHelperMissing.call("+e.join(", ")+")"})},ambiguousBlockValue:function(){this.context.aliases.blockHelperMissing="helpers.blockHelperMissing";var e=["depth0"];this.setupParams(0,e);var t=this.topStack();e.splice(1,0,t),e[e.length-1]="options",this.source.push("if (!"+this.lastHelper+") { "+t+" = blockHelperMissing.call("+e.join(", ")+"); }")},appendContent:function(e){this.source.push(this.appendToBuffer(this.quotedString(e)))},append:function(){this.flushInline();var e=this.popStack();this.source.push("if("+e+" || "+e+" === 0) { "+this.appendToBuffer(e)+" }"),this.environment.isSimple&&this.source.push("else { "+this.appendToBuffer("''")+" }")},appendEscaped:function(){this.context.aliases.escapeExpression="this.escapeExpression",this.source.push(this.appendToBuffer("escapeExpression("+this.popStack()+")"))},getContext:function(e){this.lastContext!==e&&(this.lastContext=e)},lookupOnContext:function(e){this.push(this.nameLookup("depth"+this.lastContext,e,"context"))},pushContext:function(){this.pushStackLiteral("depth"+this.lastContext)},resolvePossibleLambda:function(){this.context.aliases.functionType='"function"',this.replaceStack(function(e){return"typeof "+e+" === functionType ? "+e+".apply(depth0) : "+e})},lookup:function(e){this.replaceStack(function(t){return t+" == null || "+t+" === false ? "+t+" : "+this.nameLookup(t,e,"context")})},lookupData:function(e){this.push(this.nameLookup("data",e,"data"))},pushStringParam:function(e,t){this.pushStackLiteral("depth"+this.lastContext),this.pushString(t),typeof e=="string"?this.pushString(e):this.pushStackLiteral(e)},emptyHash:function(){this.pushStackLiteral("{}"),this.options.stringParams&&this.register("hashTypes","{}")},pushHash:function(){this.hash={values:[],types:[]}},popHash:function(){var e=this.hash;this.hash=undefined,this.options.stringParams&&this.register("hashTypes","{"+e.types.join(",")+"}"),this.push("{\n "+e.values.join(",\n ")+"\n }")},pushString:function(e){this.pushStackLiteral(this.quotedString(e))},push:function(e){return this.inlineStack.push(e),e},pushLiteral:function(e){this.pushStackLiteral(e)},pushProgram:function(e){e!=null?this.pushStackLiteral(this.programExpression(e)):this.pushStackLiteral(null)},invokeHelper:function(e,t){this.context.aliases.helperMissing="helpers.helperMissing";var n=this.lastHelper=this.setupHelper(e,t,!0);this.push(n.name),this.replaceStack(function(e){return e+" ? "+e+".call("+n.callParams+") "+": helperMissing.call("+n.helperMissingParams+")"})},invokeKnownHelper:function(e,t){var n=this.setupHelper(e,t);this.push(n.name+".call("+n.callParams+")")},invokeAmbiguous:function(e,t){this.context.aliases.functionType='"function"',this.pushStackLiteral("{}");var n=this.setupHelper(0,e,t),r=this.lastHelper=this.nameLookup("helpers",e,"helper"),i=this.nameLookup("depth"+this.lastContext,e,"context"),s=this.nextStack();this.source.push("if ("+s+" = "+r+") { "+s+" = "+s+".call("+n.callParams+"); }"),this.source.push("else { "+s+" = "+i+"; "+s+" = typeof "+s+" === functionType ? "+s+".apply(depth0) : "+s+"; }")},invokePartial:function(e){var t=[this.nameLookup("partials",e,"partial"),"'"+e+"'",this.popStack(),"helpers","partials"];this.options.data&&t.push("data"),this.context.aliases.self="this",this.push("self.invokePartial("+t.join(", ")+")")},assignToHash:function(e){var t=this.popStack(),n;this.options.stringParams&&(n=this.popStack(),this.popStack());var r=this.hash;n&&r.types.push("'"+e+"': "+n),r.values.push("'"+e+"': ("+t+")")},compiler:n,compileChildren:function(e,t){var n=e.children,r,i;for(var s=0,o=n.length;s<o;s++){r=n[s],i=new this.compiler;var u=this.matchExistingProgram(r);u==null?(this.context.programs.push(""),u=this.context.programs.length,r.index=u,r.name="program"+u,this.context.programs[u]=i.compile(r,t,this.context),this.context.environments[u]=r):(r.index=u,r.name="program"+u)}},matchExistingProgram:function(e){for(var t=0,n=this.context.environments.length;t<n;t++){var r=this.context.environments[t];if(r&&r.equals(e))return t}},programExpression:function(e){this.context.aliases.self="this";if(e==null)return"self.noop";var t=this.environment.children[e],n=t.depths.list,r,i=[t.index,t.name,"data"];for(var s=0,o=n.length;s<o;s++)r=n[s],r===1?i.push("depth0"):i.push("depth"+(r-1));return n.length===0?"self.program("+i.join(", ")+")":(i.shift(),"self.programWithDepth("+i.join(", ")+")")},register:function(e,t){this.useRegister(e),this.source.push(e+" = "+t+";")},useRegister:function(e){this.registers[e]||(this.registers[e]=!0,this.registers.list.push(e))},pushStackLiteral:function(e){return this.push(new r(e))},pushStack:function(e){this.flushInline();var t=this.incrStack();return e&&this.source.push(t+" = "+e+";"),this.compileStack.push(t),t},replaceStack:function(e){var t="",n=this.isInline(),i;if(n){var s=this.popStack(!0);if(s instanceof r)i=s.value;else{var o=this.stackSlot?this.topStackName():this.incrStack();t="("+this.push(o)+" = "+s+"),",i=this.topStack()}}else i=this.topStack();var u=e.call(this,i);return n?((this.inlineStack.length||this.compileStack.length)&&this.popStack(),this.push("("+t+u+")")):(/^stack/.test(i)||(i=this.nextStack()),this.source.push(i+" = ("+t+u+");")),i},nextStack:function(){return this.pushStack()},incrStack:function(){return this.stackSlot++,this.stackSlot>this.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var e=this.inlineStack;if(e.length){this.inlineStack=[];for(var t=0,n=e.length;t<n;t++){var i=e[t];i instanceof r?this.compileStack.push(i):this.pushStack(i)}}},isInline:function(){return this.inlineStack.length},popStack:function(e){var t=this.isInline(),n=(t?this.inlineStack:this.compileStack).pop();return!e&&n instanceof r?n.value:(t||this.stackSlot--,n)},topStack:function(e){var t=this.isInline()?this.inlineStack:this.compileStack,n=t[t.length-1];return!e&&n instanceof r?n.value:n},quotedString:function(e){return'"'+e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r")+'"'},setupHelper:function(e,t,n){var r=[];this.setupParams(e,r,n);var i=this.nameLookup("helpers",t,"helper");return{params:r,name:i,callParams:["depth0"].concat(r).join(", "),helperMissingParams:n&&["depth0",this.quotedString(t)].concat(r).join(", ")}},setupParams:function(e,t,n){var r=[],i=[],s=[],o,u,a;r.push("hash:"+this.popStack()),u=this.popStack(),a=this.popStack();if(a||u)a||(this.context.aliases.self="this",a="self.noop"),u||(this.context.aliases.self="this",u="self.noop"),r.push("inverse:"+u),r.push("fn:"+a);for(var f=0;f<e;f++)o=this.popStack(),t.push(o),this.options.stringParams&&(s.push(this.popStack()),i.push(this.popStack()));return this.options.stringParams&&(r.push("contexts:["+i.join(",")+"]"),r.push("types:["+s.join(",")+"]"),r.push("hashTypes:hashTypes")),this.options.data&&r.push("data:data"),r="{"+r.join(",")+"}",n?(this.register("options",r),t.push("options")):t.push(r),t.join(", ")}};var i="break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield".split(" "),s=n.RESERVED_WORDS={};for(var o=0,u=i.length;o<u;o++)s[i[o]]=!0;n.isValidJavaScriptVariableName=function(e){return!n.RESERVED_WORDS[e]&&/^[a-zA-Z_$][0-9a-zA-Z_$]+$/.test(e)?!0:!1},e.precompile=function(r,i){if(!r||typeof r!="string"&&r.constructor!==e.AST.ProgramNode)throw new e.Exception("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+r);i=i||{},"data"in i||(i.data=!0);var s=e.parse(r),o=(new t).compile(s,i);return(new n).compile(o,i)},e.compile=function(r,i){function o(){var s=e.parse(r),o=(new t).compile(s,i),u=(new n).compile(o,i,undefined,!0);return e.template(u)}if(!r||typeof r!="string"&&r.constructor!==e.AST.ProgramNode)throw new e.Exception("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+r);i=i||{},"data"in i||(i.data=!0);var s;return function(e,t){return s||(s=o()),s.call(this,e,t)}},e.VM={template:function(t){var n={escapeExpression:e.Utils.escapeExpression,invokePartial:e.VM.invokePartial,programs:[],program:function(t,n,r){var i=this.programs[t];return r?e.VM.program(n,r):i?i:(i=this.programs[t]=e.VM.program(n),i)},programWithDepth:e.VM.programWithDepth,noop:e.VM.noop,compilerInfo:null};return function(r,i){i=i||{};var s=t.call(n,e,r,i.helpers,i.partials,i.data),o=n.compilerInfo||[],u=o[0]||1,a=e.COMPILER_REVISION;if(u!==a){if(u<a){var f=e.REVISION_CHANGES[a],l=e.REVISION_CHANGES[u];throw"Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+f+") or downgrade your runtime to an older version ("+l+")."}throw"Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+o[1]+")."}return s}},programWithDepth:function(e,t,n){var r=Array.prototype.slice.call(arguments,2);return function(n,i){return i=i||{},e.apply(this,[n,i.data||t].concat(r))}},program:function(e,t){return function(n,r){return r=r||{},e(n,r.data||t)}},noop:function(){return""},invokePartial:function(t,n,r,i,s,o){var u={helpers:i,partials:s,data:o};if(t===undefined)throw new e.Exception("The partial "+n+" could not be found");if(t instanceof Function)return t(r,u);if(!e.compile)throw new e.Exception("The partial "+n+" could not be compiled when running in runtime-only mode");return s[n]=e.compile(t,{data:o!==undefined}),s[n](r,u)}},e.template=e.VM.template}(e.Compiler,e.JavaScriptCompiler),define("Handlebars",[],function(){return e})}(),function(e,t){typeof define=="function"&&define.amd?define("handlebarshelpers",["Handlebars"],t):e.HandlebarsHelpers=t(e.Handlebars)}(this,function(e){function t(){}return e.registerHelper("rootLocation",function(){return GlobalsObj.ROOT_LOCATION}),e.registerHelper("version",function(){return GlobalsObj.VERSION}),e.registerHelper("isEmptyObj",function(e){var t=0,n;for(n in e)e.hasOwnProperty(n)&&t++;return t}),t}),function(e,t){typeof define=="function"&&define.amd?define("mathutil",["mathutil"],t):e.MathUtil=t()}(this,function(){function e(){}return e.mapRange=function(e,t,n,r,i){return t>=e?r:n<=e?i:(e-t)*(i-r)/(n-t)+r},e.distance=function(e,t,n,r){var i=Math.PI/180;e*=i,t*=i,n*=i,r*=i;var s=12742,o=n-e,u=r-t,a=(1-Math.cos(o)+(1-Math.cos(u))*Math.cos(e)*Math.cos(n))/2;return s*Math.asin(Math.sqrt(a))},e}),function(e){function t(e){e=e||{},this.settings=e,e.statusInterval==null&&(e.statusInterval=5e3),e.loggingDelay==null&&(e.loggingDelay=2e4),e.noProgressTimeout==null&&(e.noProgressTimeout=Infinity);var t=[],r=[],i,s=Date.now(),o={QUEUED:0,WAITING:1,LOADED:2,ERROR:3,TIMEOUT:4},u=function(e){return e==null?[]:Array.isArray(e)?e:[e]};this.add=function(e){e.tags=new n(e.tags),e.priority==null&&(e.priority=Infinity),t.push({resource:e,status:o.QUEUED})},this.addProgressListener=function(e,t){r.push({callback:e,tags:new n(t)})},this.addCompletionListener=function(e,t){r.push({tags:new n(t),callback:function(t){t.completedCount===t.totalCount&&e(t)}})};var a=function(e){e=u(e);var t=function(t){var n=t.resource,r=Infinity;for(var i=0;i<n.tags.length;i++)for(var s=0;s<Math.min(e.length,r);s++){if(n.tags.all[i]===e[s]&&s<r){r=s;if(r===0)break}if(r===0)break}return r};return function(e,n){var r=t(e),i=t(n);return r<i?-1:r>i?1:e.priority<n.priority?-1:e.priority>n.priority?1:0}};this.start=function(e){i=Date.now();var n=a(e);t.sort(n);for(var r=0,s=t.length;r<s;r++){var u=t[r];u.status=o.WAITING,u.resource.start(this)}setTimeout(f,100)};var f=function(){var n=!1,r=Date.now()-s,i=r>=e.noProgressTimeout,u=r>=e.loggingDelay;for(var a=0,l=t.length;a<l;a++){var c=t[a];if(c.status!==o.WAITING)continue;c.resource.checkStatus&&c.resource.checkStatus(),c.status===o.WAITING&&(i?c.resource.onTimeout():n=!0)}u&&n&&h(),n&&setTimeout(f,e.statusInterval)};this.isBusy=function(){for(var e=0,n=t.length;e<n;e++)if(t[e].status===o.QUEUED||t[e].status===o.WAITING)return!0;return!1};var l=function(e,n){var i=null,u,a,f,l,h;for(u=0,a=t.length;u<a;u++)if(t[u].resource===e){i=t[u];break}if(i==null||i.status!==o.WAITING)return;i.status=n,s=Date.now(),f=e.tags.length;for(u=0,a=r.length;u<a;u++)l=r[u],l.tags.length===0?h=!0:h=e.tags.intersects(l.tags),h&&c(i,l)};this.onLoad=function(e){l(e,o.LOADED)},this.onError=function(e){l(e,o.ERROR)},this.onTimeout=function(e){l(e,o.TIMEOUT)};var c=function(e,n){var r=0,i=0,s,u,a,f;for(s=0,u=t.length;s<u;s++)a=t[s],f=!1,n.tags.length===0?f=!0:f=a.resource.tags.intersects(n.tags),f&&(i++,(a.status===o.LOADED||a.status===o.ERROR||a.status===o.TIMEOUT)&&r++);n.callback({resource:e.resource,loaded:e.status===o.LOADED,error:e.status===o.ERROR,timeout:e.status===o.TIMEOUT,completedCount:r,totalCount:i})},h=this.log=function(e){if(!window.console)return;var n=Math.round((Date.now()-i)/1e3);window.console.log("PxLoader elapsed: "+n+" sec");for(var r=0,s=t.length;r<s;r++){var u=t[r];if(!e&&u.status!==o.WAITING)continue;var a="PxLoader: #"+r+" "+u.resource.getName();switch(u.status){case o.QUEUED:a+=" (Not Started)";break;case o.WAITING:a+=" (Waiting)";break;case o.LOADED:a+=" (Loaded)";break;case o.ERROR:a+=" (Error)";break;case o.TIMEOUT:a+=" (Timeout)"}u.resource.tags.length>0&&(a+=" Tags: ["+u.resource.tags.all.join(",")+"]"),window.console.log(a)}}}function n(e){this.all=[],this.first=null,this.length=0,this.lookup={};if(e){if(Array.isArray(e))this.all=e.slice(0);else if(typeof e=="object")for(var t in e)e.hasOwnProperty(t)&&this.all.push(t);else this.all.push(e);this.length=this.all.length,this.length>0&&(this.first=this.all[0]);for(var n=0;n<this.length;n++)this.lookup[this.all[n]]=!0}}n.prototype.intersects=function(e){if(this.length===0||e.length===0)return!1;if(this.length===1&&e.length===1)return this.first===e.first;if(e.length<this.length)return e.intersects(this);for(var t in this.lookup)if(e.lookup[t])return!0;return!1},typeof define=="function"&&define.amd&&define("PxLoader",[],function(){return t}),e.PxLoader=t}(this),Date.now||(Date.now=function(){return(new Date).getTime()}),Array.isArray||(Array.isArray=function(e){return Object.prototype.toString.call(e)==="[object Array]"});var _gsScope=typeof module!="undefined"&&module.exports&&typeof global!="undefined"?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){_gsScope._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(e,t,n){var r=function(e){var t=[],n=e.length,r;for(r=0;r!==n;t.push(e[r++]));return t},i=function(e,t,r){n.call(this,e,t,r),this._cycle=0,this._yoyo=this.vars.yoyo===!0,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._dirty=!0,this.render=i.prototype.render},s=1e-10,o=n._internals,u=o.isSelector,a=o.isArray,f=i.prototype=n.to({},.1,{}),l=[];i.version="1.14.2",f.constructor=i,f.kill()._gc=!1,i.killTweensOf=i.killDelayedCallsTo=n.killTweensOf,i.getTweensOf=n.getTweensOf,i.lagSmoothing=n.lagSmoothing,i.ticker=n.ticker,i.render=n.render,f.invalidate=function(){return this._yoyo=this.vars.yoyo===!0,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),n.prototype.invalidate.call(this)},f.updateTo=function(e,t){var r=this.ratio,i=this.vars.immediateRender||e.immediateRender,s;t&&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(s in e)this.vars[s]=e[s];if(this._initted||i)if(t)this._initted=!1;else{this._gc&&this._enabled(!0,!1),this._notifyPluginsOfEnabled&&this._firstPT&&n._onPluginEvent("_onDisable",this);if(this._time/this._duration>.998){var o=this._time;this.render(0,!0,!1),this._initted=!1,this.render(o,!0,!1)}else if(this._time>0||i){this._initted=!1,this._init();var u=1/(1-r),a=this._firstPT,f;while(a)f=a.s+a.c,a.c*=u,a.s=f-a.c,a=a._next}}return this},f.render=function(e,t,n){this._initted||this._duration===0&&this.vars.repeat&&this.invalidate();var r=this._dirty?this.totalDuration():this._totalDuration,i=this._time,u=this._totalTime,a=this._cycle,f=this._duration,c=this._rawPrevTime,h,p,d,v,m,g,y,b,w;if(e>=r)this._totalTime=r,this._cycle=this._repeat,this._yoyo&&(this._cycle&1)!==0?(this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0):(this._time=f,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1),this._reversed||(h=!0,p="onComplete"),f===0&&(this._initted||!this.vars.lazy||n)&&(this._startTime===this._timeline._duration&&(e=0),(e===0||c<0||c===s)&&c!==e&&(n=!0,c>s&&(p="onReverseComplete")),this._rawPrevTime=b=!t||e||c===e?e:s);else if(e<1e-7){this._totalTime=this._time=this._cycle=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0;if(u!==0||f===0&&c>0&&c!==s)p="onReverseComplete",h=this._reversed;e<0&&(this._active=!1,f===0&&(this._initted||!this.vars.lazy||n)&&(c>=0&&(n=!0),this._rawPrevTime=b=!t||e||c===e?e:s)),this._initted||(n=!0)}else{this._totalTime=this._time=e,this._repeat!==0&&(v=f+this._repeatDelay,this._cycle=this._totalTime/v>>0,this._cycle!==0&&this._cycle===this._totalTime/v&&this._cycle--,this._time=this._totalTime-this._cycle*v,this._yoyo&&(this._cycle&1)!==0&&(this._time=f-this._time),this._time>f?this._time=f:this._time<0&&(this._time=0));if(this._easeType){m=this._time/f,g=this._easeType,y=this._easePower;if(g===1||g===3&&m>=.5)m=1-m;g===3&&(m*=2),y===1?m*=m:y===2?m*=m*m:y===3?m*=m*m*m:y===4&&(m*=m*m*m*m),g===1?this.ratio=1-m:g===2?this.ratio=m:this._time/f<.5?this.ratio=m/2:this.ratio=1-m/2}else this.ratio=this._ease.getRatio(this._time/f)}if(i===this._time&&!n&&a===this._cycle){u!==this._totalTime&&this._onUpdate&&(t||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||l));return}if(!this._initted){this._init();if(!this._initted||this._gc)return;if(!n&&this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration)){this._time=i,this._totalTime=u,this._rawPrevTime=c,this._cycle=a,o.lazyTweens.push(this),this._lazy=[e,t];return}this._time&&!h?this.ratio=this._ease.getRatio(this._time/f):h&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(this._time===0?0:1))}this._lazy!==!1&&(this._lazy=!1),this._active||!this._paused&&this._time!==i&&e>=0&&(this._active=!0),u===0&&(this._initted===2&&e>0&&this._init(),this._startAt&&(e>=0?this._startAt.render(e,t,n):p||(p="_dummyGS")),this.vars.onStart&&(this._totalTime!==0||f===0)&&(t||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||l))),d=this._firstPT;while(d)d.f?d.t[d.p](d.c*this.ratio+d.s):d.t[d.p]=d.c*this.ratio+d.s,d=d._next;this._onUpdate&&(e<0&&this._startAt&&this._startTime&&this._startAt.render(e,t,n),t||(this._totalTime!==u||h)&&this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||l)),this._cycle!==a&&(t||this._gc||this.vars.onRepeat&&this.vars.onRepeat.apply(this.vars.onRepeatScope||this,this.vars.onRepeatParams||l)),p&&(!this._gc||n)&&(e<0&&this._startAt&&!this._onUpdate&&this._startTime&&this._startAt.render(e,t,n),h&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!t&&this.vars[p]&&this.vars[p].apply(this.vars[p+"Scope"]||this,this.vars[p+"Params"]||l),f===0&&this._rawPrevTime===s&&b!==s&&(this._rawPrevTime=0))},i.to=function(e,t,n){return new i(e,t,n)},i.from=function(e,t,n){return n.runBackwards=!0,n.immediateRender=n.immediateRender!=0,new i(e,t,n)},i.fromTo=function(e,t,n,r){return r.startAt=n,r.immediateRender=r.immediateRender!=0&&n.immediateRender!=0,new i(e,t,r)},i.staggerTo=i.allTo=function(e,t,s,o,f,c,h){o=o||0;var p=s.delay||0,d=[],v=function(){s.onComplete&&s.onComplete.apply(s.onCompleteScope||this,arguments),f.apply(h||this,c||l)},m,g,y,b;a(e)||(typeof e=="string"&&(e=n.selector(e)||e),u(e)&&(e=r(e))),e=e||[],o<0&&(e=r(e),e.reverse(),o*=-1),m=e.length-1;for(y=0;y<=m;y++){g={};for(b in s)g[b]=s[b];g.delay=p,y===m&&f&&(g.onComplete=v),d[y]=new i(e[y],t,g),p+=o}return d},i.staggerFrom=i.allFrom=function(e,t,n,r,s,o,u){return n.runBackwards=!0,n.immediateRender=n.immediateRender!=0,i.staggerTo(e,t,n,r,s,o,u)},i.staggerFromTo=i.allFromTo=function(e,t,n,r,s,o,u,a){return r.startAt=n,r.immediateRender=r.immediateRender!=0&&n.immediateRender!=0,i.staggerTo(e,t,r,s,o,u,a)},i.delayedCall=function(e,t,n,r,s){return new i(t,0,{delay:e,onComplete:t,onCompleteParams:n,onCompleteScope:r,onReverseComplete:t,onReverseCompleteParams:n,onReverseCompleteScope:r,immediateRender:!1,useFrames:s,overwrite:0})},i.set=function(e,t){return new i(e,0,t)},i.isTweening=function(e){return n.getTweensOf(e,!0).length>0};var c=function(e,t){var r=[],i=0,s=e._first;while(s)s instanceof n?r[i++]=s:(t&&(r[i++]=s),r=r.concat(c(s,t)),i=r.length),s=s._next;return r},h=i.getAllTweens=function(t){return c(e._rootTimeline,t).concat(c(e._rootFramesTimeline,t))};i.killAll=function(e,n,r,i){n==null&&(n=!0),r==null&&(r=!0);var s=h(i!=0),o=s.length,u=n&&r&&i,a,f,l;for(l=0;l<o;l++){f=s[l];if(u||f instanceof t||(a=f.target===f.vars.onComplete)&&r||n&&!a)e?f.totalTime(f._reversed?0:f.totalDuration()):f._enabled(!1,!1)}},i.killChildTweensOf=function(e,t){if(e==null)return;var s=o.tweenLookup,f,l,c,h,p;typeof e=="string"&&(e=n.selector(e)||e),u(e)&&(e=r(e));if(a(e)){h=e.length;while(--h>-1)i.killChildTweensOf(e[h],t);return}f=[];for(c in s){l=s[c].target.parentNode;while(l)l===e&&(f=f.concat(s[c].tweens)),l=l.parentNode}p=f.length;for(h=0;h<p;h++)t&&f[h].totalTime(f[h].totalDuration()),f[h]._enabled(!1,!1)};var p=function(e,n,r,i){n=n!==!1,r=r!==!1,i=i!==!1;var s=h(i),o=n&&r&&i,u=s.length,a,f;while(--u>-1)f=s[u],(o||f instanceof t||(a=f.target===f.vars.onComplete)&&r||n&&!a)&&f.paused(e)};return i.pauseAll=function(e,t,n){p(!0,e,t,n)},i.resumeAll=function(e,t,n){p(!1,e,t,n)},i.globalTimeScale=function(t){var r=e._rootTimeline,i=n.ticker.time;return arguments.length?(t=t||s,r._startTime=i-(i-r._startTime)*r._timeScale/t,r=e._rootFramesTimeline,i=n.ticker.frame,r._startTime=i-(i-r._startTime)*r._timeScale/t,r._timeScale=e._rootTimeline._timeScale=t,t):r._timeScale},f.progress=function(e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&(this._cycle&1)!==0?1-e:e)+this._cycle*(this._duration+this._repeatDelay),!1):this._time/this.duration()},f.totalProgress=function(e){return arguments.length?this.totalTime(this.totalDuration()*e,!1):this._totalTime/this.totalDuration()},f.time=function(e,t){return arguments.length?(this._dirty&&this.totalDuration(),e>this._duration&&(e=this._duration),this._yoyo&&(this._cycle&1)!==0?e=this._duration-e+this._cycle*(this._duration+this._repeatDelay):this._repeat!==0&&(e+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(e,t)):this._time},f.duration=function(t){return arguments.length?e.prototype.duration.call(this,t):this._duration},f.totalDuration=function(e){return arguments.length?this._repeat===-1?this:this.duration((e-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(this._totalDuration=this._repeat===-1?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration)},f.repeat=function(e){return arguments.length?(this._repeat=e,this._uncache(!0)):this._repeat},f.repeatDelay=function(e){return arguments.length?(this._repeatDelay=e,this._uncache(!0)):this._repeatDelay},f.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},i},!0),_gsScope._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(e,t,n){var r=function(e){t.call(this,e),this._labels={},this.autoRemoveChildren=this.vars.autoRemoveChildren===!0,this.smoothChildTiming=this.vars.smoothChildTiming===!0,this._sortChildren=!0,this._onUpdate=this.vars.onUpdate;var n=this.vars,r,i;for(i in n)r=n[i],u(r)&&r.join("").indexOf("{self}")!==-1&&(n[i]=this._swapSelfInParams(r));u(n.tweens)&&this.add(n.tweens,0,n.align,n.stagger)},i=1e-10,s=n._internals,o=s.isSelector,u=s.isArray,a=s.lazyTweens,f=s.lazyRender,l=[],c=_gsScope._gsDefine.globals,h=function(e){var t={},n;for(n in e)t[n]=e[n];return t},p=function(e,t,n,r){var i=e._timeline._totalTime;if(t||!this._forcingPlayhead)e._timeline.pause(e._startTime),t&&t.apply(r||e._timeline,n||l),this._forcingPlayhead&&e._timeline.seek(i)},d=function(e){var t=[],n=e.length,r;for(r=0;r!==n;t.push(e[r++]));return t},v=r.prototype=new t;return r.version="1.14.2",v.constructor=r,v.kill()._gc=v._forcingPlayhead=!1,v.to=function(e,t,r,i){var s=r.repeat&&c.TweenMax||n;return t?this.add(new s(e,t,r),i):this.set(e,r,i)},v.from=function(e,t,r,i){return this.add((r.repeat&&c.TweenMax||n).from(e,t,r),i)},v.fromTo=function(e,t,r,i,s){var o=i.repeat&&c.TweenMax||n;return t?this.add(o.fromTo(e,t,r,i),s):this.set(e,i,s)},v.staggerTo=function(e,t,i,s,u,a,f,l){var c=new r({onComplete:a,onCompleteParams:f,onCompleteScope:l,smoothChildTiming:this.smoothChildTiming}),p;typeof e=="string"&&(e=n.selector(e)||e),e=e||[],o(e)&&(e=d(e)),s=s||0,s<0&&(e=d(e),e.reverse(),s*=-1);for(p=0;p<e.length;p++)i.startAt&&(i.startAt=h(i.startAt)),c.to(e[p],t,h(i),p*s);return this.add(c,u)},v.staggerFrom=function(e,t,n,r,i,s,o,u){return n.immediateRender=n.immediateRender!=0,n.runBackwards=!0,this.staggerTo(e,t,n,r,i,s,o,u)},v.staggerFromTo=function(e,t,n,r,i,s,o,u,a){return r.startAt=n,r.immediateRender=r.immediateRender!=0&&n.immediateRender!=0,this.staggerTo(e,t,r,i,s,o,u,a)},v.call=function(e,t,r,i){return this.add(n.delayedCall(0,e,t,r),i)},v.set=function(e,t,r){return r=this._parseTimeOrLabel(r,0,!0),t.immediateRender==null&&(t.immediateRender=r===this._time&&!this._paused),this.add(new n(e,0,t),r)},r.exportRoot=function(e,t){e=e||{},e.smoothChildTiming==null&&(e.smoothChildTiming=!0);var i=new r(e),s=i._timeline,o,u;t==null&&(t=!0),s._remove(i,!0),i._startTime=0,i._rawPrevTime=i._time=i._totalTime=s._time,o=s._first;while(o)u=o._next,(!t||!(o instanceof n&&o.target===o.vars.onComplete))&&i.add(o,o._startTime-o._delay),o=u;return s.add(i,0),i},v.add=function(i,s,o,a){var f,l,c,h,p,d;typeof s!="number"&&(s=this._parseTimeOrLabel(s,0,!0,i));if(!(i instanceof e)){if(i instanceof Array||i&&i.push&&u(i)){o=o||"normal",a=a||0,f=s,l=i.length;for(c=0;c<l;c++)u(h=i[c])&&(h=new r({tweens:h})),this.add(h,f),typeof h!="string"&&typeof h!="function"&&(o==="sequence"?f=h._startTime+h.totalDuration()/h._timeScale:o==="start"&&(h._startTime-=h.delay())),f+=a;return this._uncache(!0)}if(typeof i=="string")return this.addLabel(i,s);if(typeof i!="function")throw"Cannot add "+i+" into the timeline; it is not a tween, timeline, function, or string.";i=n.delayedCall(0,i)}t.prototype.add.call(this,i,s);if(this._gc||this._time===this._duration)if(!this._paused&&this._duration<this.duration()){p=this,d=p.rawTime()>i._startTime;while(p._timeline)d&&p._timeline.smoothChildTiming?p.totalTime(p._totalTime,!0):p._gc&&p._enabled(!0,!1),p=p._timeline}return this},v.remove=function(t){if(t instanceof e)return this._remove(t,!1);if(t instanceof Array||t&&t.push&&u(t)){var n=t.length;while(--n>-1)this.remove(t[n]);return this}return typeof t=="string"?this.removeLabel(t):this.kill(null,t)},v._remove=function(e,n){t.prototype._remove.call(this,e,n);var r=this._last;return r?this._time>r._startTime+r._totalDuration/r._timeScale&&(this._time=this.duration(),this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},v.append=function(e,t){return this.add(e,this._parseTimeOrLabel(null,t,!0,e))},v.insert=v.insertMultiple=function(e,t,n,r){return this.add(e,t||0,n,r)},v.appendMultiple=function(e,t,n,r){return this.add(e,this._parseTimeOrLabel(null,t,!0,e),n,r)},v.addLabel=function(e,t){return this._labels[e]=this._parseTimeOrLabel(t),this},v.addPause=function(e,t,n,r){return this.call(p,["{self}",t,n,r],this,e)},v.removeLabel=function(e){return delete this._labels[e],this},v.getLabelTime=function(e){return this._labels[e]!=null?this._labels[e]:-1},v._parseTimeOrLabel=function(t,n,r,i){var s;if(i instanceof e&&i.timeline===this)this.remove(i);else if(i&&(i instanceof Array||i.push&&u(i))){s=i.length;while(--s>-1)i[s]instanceof e&&i[s].timeline===this&&this.remove(i[s])}if(typeof n=="string")return this._parseTimeOrLabel(n,r&&typeof t=="number"&&this._labels[n]==null?t-this.duration():0,r);n=n||0;if(typeof t!="string"||!isNaN(t)&&this._labels[t]==null)t==null&&(t=this.duration());else{s=t.indexOf("=");if(s===-1)return this._labels[t]==null?r?this._labels[t]=this.duration()+n:n:this._labels[t]+n;n=parseInt(t.charAt(s-1)+"1",10)*Number(t.substr(s+1)),t=s>1?this._parseTimeOrLabel(t.substr(0,s-1),0,r):this.duration()}return Number(t)+n},v.seek=function(e,t){return this.totalTime(typeof e=="number"?e:this._parseTimeOrLabel(e),t!==!1)},v.stop=function(){return this.paused(!0)},v.gotoAndPlay=function(e,t){return this.play(e,t)},v.gotoAndStop=function(e,t){return this.pause(e,t)},v.render=function(e,t,n){this._gc&&this._enabled(!0,!1);var r=this._dirty?this.totalDuration():this._totalDuration,s=this._time,o=this._startTime,u=this._timeScale,c=this._paused,h,p,d,v,m;if(e>=r)this._totalTime=this._time=r,this._reversed||this._hasPausedChild()||(p=!0,v="onComplete",this._duration===0&&(e===0||this._rawPrevTime<0||this._rawPrevTime===i)&&this._rawPrevTime!==e&&this._first&&(m=!0,this._rawPrevTime>i&&(v="onReverseComplete"))),this._rawPrevTime=this._duration||!t||e||this._rawPrevTime===e?e:i,e=r+1e-4;else if(e<1e-7){this._totalTime=this._time=0;if(s!==0||this._duration===0&&this._rawPrevTime!==i&&(this._rawPrevTime>0||e<0&&this._rawPrevTime>=0))v="onReverseComplete",p=this._reversed;e<0?(this._active=!1,this._rawPrevTime>=0&&this._first&&(m=!0),this._rawPrevTime=e):(this._rawPrevTime=this._duration||!t||e||this._rawPrevTime===e?e:i,e=0,this._initted||(m=!0))}else this._totalTime=this._time=this._rawPrevTime=e;if((this._time===s||!this._first)&&!n&&!m)return;this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==s&&e>0&&(this._active=!0),s===0&&this.vars.onStart&&this._time!==0&&(t||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||l));if(this._time>=s){h=this._first;while(h){d=h._next;if(this._paused&&!c)break;if(h._active||h._startTime<=this._time&&!h._paused&&!h._gc)h._reversed?h.render((h._dirty?h.totalDuration():h._totalDuration)-(e-h._startTime)*h._timeScale,t,n):h.render((e-h._startTime)*h._timeScale,t,n);h=d}}else{h=this._last;while(h){d=h._prev;if(this._paused&&!c)break;if(h._active||h._startTime<=s&&!h._paused&&!h._gc)h._reversed?h.render((h._dirty?h.totalDuration():h._totalDuration)-(e-h._startTime)*h._timeScale,t,n):h.render((e-h._startTime)*h._timeScale,t,n);h=d}}this._onUpdate&&(t||(a.length&&f(),this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||l))),v&&!this._gc&&(o===this._startTime||u!==this._timeScale)&&(this._time===0||r>=this.totalDuration())&&(p&&(a.length&&f(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!t&&this.vars[v]&&this.vars[v].apply(this.vars[v+"Scope"]||this,this.vars[v+"Params"]||l))},v._hasPausedChild=function(){var e=this._first;while(e){if(e._paused||e instanceof r&&e._hasPausedChild())return!0;e=e._next}return!1},v.getChildren=function(e,t,r,i){i=i||-9999999999;var s=[],o=this._first,u=0;while(o)o._startTime<i||(o instanceof n?t!==!1&&(s[u++]=o):(r!==!1&&(s[u++]=o),e!==!1&&(s=s.concat(o.getChildren(!0,t,r)),u=s.length))),o=o._next;return s},v.getTweensOf=function(e,t){var r=this._gc,i=[],s=0,o,u;r&&this._enabled(!0,!0),o=n.getTweensOf(e),u=o.length;while(--u>-1)if(o[u].timeline===this||t&&this._contains(o[u]))i[s++]=o[u];return r&&this._enabled(!1,!0),i},v.recent=function(){return this._recent},v._contains=function(e){var t=e.timeline;while(t){if(t===this)return!0;t=t.timeline}return!1},v.shiftChildren=function(e,t,n){n=n||0;var r=this._first,i=this._labels,s;while(r)r._startTime>=n&&(r._startTime+=e),r=r._next;if(t)for(s in i)i[s]>=n&&(i[s]+=e);return this._uncache(!0)},v._kill=function(e,t){if(!e&&!t)return this._enabled(!1,!1);var n=t?this.getTweensOf(t):this.getChildren(!0,!0,!1),r=n.length,i=!1;while(--r>-1)n[r]._kill(e,t)&&(i=!0);return i},v.clear=function(e){var t=this.getChildren(!1,!0,!0),n=t.length;this._time=this._totalTime=0;while(--n>-1)t[n]._enabled(!1,!1);return e!==!1&&(this._labels={}),this._uncache(!0)},v.invalidate=function(){var t=this._first;while(t)t.invalidate(),t=t._next;return e.prototype.invalidate.call(this)},v._enabled=function(e,n){if(e===this._gc){var r=this._first;while(r)r._enabled(e,!0),r=r._next}return t.prototype._enabled.call(this,e,n)},v.totalTime=function(t,n,r){this._forcingPlayhead=!0;var i=e.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,i},v.duration=function(e){return arguments.length?(this.duration()!==0&&e!==0&&this.timeScale(this._duration/e),this):(this._dirty&&this.totalDuration(),this._duration)},v.totalDuration=function(e){if(!arguments.length){if(this._dirty){var t=0,n=this._last,r=999999999999,i,s;while(n)i=n._prev,n._dirty&&n.totalDuration(),n._startTime>r&&this._sortChildren&&!n._paused?this.add(n,n._startTime-n._delay):r=n._startTime,n._startTime<0&&!n._paused&&(t-=n._startTime,this._timeline.smoothChildTiming&&(this._startTime+=n._startTime/this._timeScale),this.shiftChildren(-n._startTime,!1,-9999999999),r=0),s=n._startTime+n._totalDuration/n._timeScale,s>t&&(t=s),n=i;this._duration=this._totalDuration=t,this._dirty=!1}return this._totalDuration}return this.totalDuration()!==0&&e!==0&&this.timeScale(this._totalDuration/e),this},v.usesFrames=function(){var t=this._timeline;while(t._timeline)t=t._timeline;return t===e._rootFramesTimeline},v.rawTime=function(){return this._paused?this._totalTime:(this._timeline.rawTime()-this._startTime)*this._timeScale},r},!0),_gsScope._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(e,t,n){var r=function(t){e.call(this,t),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=this.vars.yoyo===!0,this._dirty=!0},i=1e-10,s=[],o=t._internals,u=o.lazyTweens,a=o.lazyRender,f=new n(null,null,1,0),l=r.prototype=new e;return l.constructor=r,l.kill()._gc=!1,r.version="1.14.2",l.invalidate=function(){return this._yoyo=this.vars.yoyo===!0,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),e.prototype.invalidate.call(this)},l.addCallback=function(e,n,r,i){return this.add(t.delayedCall(0,e,r,i),n)},l.removeCallback=function(e,t){if(e)if(t==null)this._kill(null,e);else{var n=this.getTweensOf(e,!1),r=n.length,i=this._parseTimeOrLabel(t);while(--r>-1)n[r]._startTime===i&&n[r]._enabled(!1,!1)}return this},l.tweenTo=function(e,n){n=n||{};var r={ease:f,overwrite:n.delay?2:1,useFrames:this.usesFrames(),immediateRender:!1},i,o,u;for(o in n)r[o]=n[o];return r.time=this._parseTimeOrLabel(e),i=Math.abs(Number(r.time)-this._time)/this._timeScale||.001,u=new t(this,i,r),r.onStart=function(){u.target.paused(!0),u.vars.time!==u.target.time()&&i===u.duration()&&u.duration(Math.abs(u.vars.time-u.target.time())/u.target._timeScale),n.onStart&&n.onStart.apply(n.onStartScope||u,n.onStartParams||s)},u},l.tweenFromTo=function(e,t,n){n=n||{},e=this._parseTimeOrLabel(e),n.startAt={onComplete:this.seek,onCompleteParams:[e],onCompleteScope:this},n.immediateRender=n.immediateRender!==!1;var r=this.tweenTo(t,n);return r.duration(Math.abs(r.vars.time-e)/this._timeScale||.001)},l.render=function(e,t,n){this._gc&&this._enabled(!0,!1);var r=this._dirty?this.totalDuration():this._totalDuration,o=this._duration,f=this._time,l=this._totalTime,c=this._startTime,h=this._timeScale,p=this._rawPrevTime,d=this._paused,v=this._cycle,m,g,y,b,w,E;if(e>=r)this._locked||(this._totalTime=r,this._cycle=this._repeat),this._reversed||this._hasPausedChild()||(g=!0,b="onComplete",this._duration===0&&(e===0||p<0||p===i)&&p!==e&&this._first&&(w=!0,p>i&&(b="onReverseComplete"))),this._rawPrevTime=this._duration||!t||e||this._rawPrevTime===e?e:i,this._yoyo&&(this._cycle&1)!==0?this._time=e=0:(this._time=o,e=o+1e-4);else if(e<1e-7){this._locked||(this._totalTime=this._cycle=0),this._time=0;if(f!==0||o===0&&p!==i&&(p>0||e<0&&p>=0)&&!this._locked)b="onReverseComplete",g=this._reversed;e<0?(this._active=!1,p>=0&&this._first&&(w=!0),this._rawPrevTime=e):(this._rawPrevTime=o||!t||e||this._rawPrevTime===e?e:i,e=0,this._initted||(w=!0))}else o===0&&p<0&&(w=!0),this._time=this._rawPrevTime=e,this._locked||(this._totalTime=e,this._repeat!==0&&(E=o+this._repeatDelay,this._cycle=this._totalTime/E>>0,this._cycle!==0&&this._cycle===this._totalTime/E&&this._cycle--,this._time=this._totalTime-this._cycle*E,this._yoyo&&(this._cycle&1)!==0&&(this._time=o-this._time),this._time>o?(this._time=o,e=o+1e-4):this._time<0?this._time=e=0:e=this._time));if(this._cycle!==v&&!this._locked){var S=this._yoyo&&(v&1)!==0,x=S===(this._yoyo&&(this._cycle&1)!==0),T=this._totalTime,N=this._cycle,C=this._rawPrevTime,k=this._time;this._totalTime=v*o,this._cycle<v?S=!S:this._totalTime+=o,this._time=f,this._rawPrevTime=o===0?p-1e-4:p,this._cycle=v,this._locked=!0,f=S?0:o,this.render(f,t,o===0),t||this._gc||this.vars.onRepeat&&this.vars.onRepeat.apply(this.vars.onRepeatScope||this,this.vars.onRepeatParams||s),x&&(f=S?o+1e-4:-0.0001,this.render(f,!0,!1)),this._locked=!1;if(this._paused&&!d)return;this._time=k,this._totalTime=T,this._cycle=N,this._rawPrevTime=C}if((this._time===f||!this._first)&&!n&&!w){l!==this._totalTime&&this._onUpdate&&(t||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||s));return}this._initted||(this._initted=!0),this._active||!this._paused&&this._totalTime!==l&&e>0&&(this._active=!0),l===0&&this.vars.onStart&&this._totalTime!==0&&(t||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||s));if(this._time>=f){m=this._first;while(m){y=m._next;if(this._paused&&!d)break;if(m._active||m._startTime<=this._time&&!m._paused&&!m._gc)m._reversed?m.render((m._dirty?m.totalDuration():m._totalDuration)-(e-m._startTime)*m._timeScale,t,n):m.render((e-m._startTime)*m._timeScale,t,n);m=y}}else{m=this._last;while(m){y=m._prev;if(this._paused&&!d)break;if(m._active||m._startTime<=f&&!m._paused&&!m._gc)m._reversed?m.render((m._dirty?m.totalDuration():m._totalDuration)-(e-m._startTime)*m._timeScale,t,n):m.render((e-m._startTime)*m._timeScale,t,n);m=y}}this._onUpdate&&(t||(u.length&&a(),this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||s))),b&&(this._locked||!this._gc&&(c===this._startTime||h!==this._timeScale)&&(this._time===0||r>=this.totalDuration())&&(g&&(u.length&&a(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!t&&this.vars[b]&&this.vars[b].apply(this.vars[b+"Scope"]||this,this.vars[b+"Params"]||s)))},l.getActive=function(e,t,n){e==null&&(e=!0),t==null&&(t=!0),n==null&&(n=!1);var r=[],i=this.getChildren(e,t,n),s=0,o=i.length,u,a;for(u=0;u<o;u++)a=i[u],a.isActive()&&(r[s++]=a);return r},l.getLabelAfter=function(e){e||e!==0&&(e=this._time);var t=this.getLabelsArray(),n=t.length,r;for(r=0;r<n;r++)if(t[r].time>e)return t[r].name;return null},l.getLabelBefore=function(e){e==null&&(e=this._time);var t=this.getLabelsArray(),n=t.length;while(--n>-1)if(t[n].time<e)return t[n].name;return null},l.getLabelsArray=function(){var e=[],t=0,n;for(n in this._labels)e[t++]={time:this._labels[n],name:n};return e.sort(function(e,t){return e.time-t.time}),e},l.progress=function(e,t){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&(this._cycle&1)!==0?1-e:e)+this._cycle*(this._duration+this._repeatDelay),t):this._time/this.duration()},l.totalProgress=function(e,t){return arguments.length?this.totalTime(this.totalDuration()*e,t):this._totalTime/this.totalDuration()},l.totalDuration=function(t){return arguments.length?this._repeat===-1?this:this.duration((t-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(e.prototype.totalDuration.call(this),this._totalDuration=this._repeat===-1?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat),this._totalDuration)},l.time=function(e,t){return arguments.length?(this._dirty&&this.totalDuration(),e>this._duration&&(e=this._duration),this._yoyo&&(this._cycle&1)!==0?e=this._duration-e+this._cycle*(this._duration+this._repeatDelay):this._repeat!==0&&(e+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(e,t)):this._time},l.repeat=function(e){return arguments.length?(this._repeat=e,this._uncache(!0)):this._repeat},l.repeatDelay=function(e){return arguments.length?(this._repeatDelay=e,this._uncache(!0)):this._repeatDelay},l.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},l.currentLabel=function(e){return arguments.length?this.seek(e,!0):this.getLabelBefore(this._time+1e-8)},r},!0),function(){var e=180/Math.PI,t=[],n=[],r=[],i={},s=function(e,t,n,r){this.a=e,this.b=t,this.c=n,this.d=r,this.da=r-e,this.ca=n-e,this.ba=t-e},o=",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,",u=function(e,t,n,r){var i={a:e},s={},o={},u={c:r},a=(e+t)/2,f=(t+n)/2,l=(n+r)/2,c=(a+f)/2,h=(f+l)/2,p=(h-c)/8;return i.b=a+(e-a)/4,s.b=c+p,i.c=s.a=(i.b+s.b)/2,s.c=o.a=(c+h)/2,o.b=h-p,u.b=l+(r-l)/4,o.c=u.a=(o.b+u.b)/2,[i,s,o,u]},a=function(e,i,s,o,a){var f=e.length-1,l=0,c=e[0].a,h,p,d,v,m,g,y,b,w,E,S,x,T;for(h=0;h<f;h++)m=e[l],p=m.a,d=m.d,v=e[l+1].d,a?(S=t[h],x=n[h],T=(x+S)*i*.25/(o?.5:r[h]||.5),g=d-(d-p)*(o?i*.5:S!==0?T/S:0),y=d+(v-d)*(o?i*.5:x!==0?T/x:0),b=d-(g+((y-g)*(S*3/(S+x)+.5)/4||0))):(g=d-(d-p)*i*.5,y=d+(v-d)*i*.5,b=d-(g+y)/2),g+=b,y+=b,m.c=w=g,h!==0?m.b=c:m.b=c=m.a+(m.c-m.a)*.6,m.da=d-p,m.ca=w-p,m.ba=c-p,s?(E=u(p,c,w,d),e.splice(l,1,E[0],E[1],E[2],E[3]),l+=4):l++,c=y;m=e[l],m.b=c,m.c=c+(m.d-c)*.4,m.da=m.d-m.a,m.ca=m.c-m.a,m.ba=c-m.a,s&&(E=u(m.a,c,m.c,m.d),e.splice(l,1,E[0],E[1],E[2],E[3]))},f=function(e,r,i,o){var u=[],a,f,l,c,h,p;if(o){e=[o].concat(e),f=e.length;while(--f>-1)typeof (p=e[f][r])=="string"&&p.charAt(1)==="="&&(e[f][r]=o[r]+Number(p.charAt(0)+p.substr(2)))}a=e.length-2;if(a<0)return u[0]=new s(e[0][r],0,0,e[a<-1?0:1][r]),u;for(f=0;f<a;f++)l=e[f][r],c=e[f+1][r],u[f]=new s(l,0,0,c),i&&(h=e[f+2][r],t[f]=(t[f]||0)+(c-l)*(c-l),n[f]=(n[f]||0)+(h-c)*(h-c));return u[f]=new s(e[f][r],0,0,e[f+1][r]),u},l=function(e,s,u,l,c,h){var p={},d=[],v=h||e[0],m,g,y,b,w,E,S,x;c=typeof c=="string"?","+c+",":o,s==null&&(s=1);for(g in e[0])d.push(g);if(e.length>1){x=e[e.length-1],S=!0,m=d.length;while(--m>-1){g=d[m];if(Math.abs(v[g]-x[g])>.05){S=!1;break}}S&&(e=e.concat(),h&&e.unshift(h),e.push(e[1]),h=e[e.length-3])}t.length=n.length=r.length=0,m=d.length;while(--m>-1)g=d[m],i[g]=c.indexOf(","+g+",")!==-1,p[g]=f(e,g,i[g],h);m=t.length;while(--m>-1)t[m]=Math.sqrt(t[m]),n[m]=Math.sqrt(n[m]);if(!l){m=d.length;while(--m>-1)if(i[g]){y=p[d[m]],E=y.length-1;for(b=0;b<E;b++)w=y[b+1].da/n[b]+y[b].da/t[b],r[b]=(r[b]||0)+w*w}m=r.length;while(--m>-1)r[m]=Math.sqrt(r[m])}m=d.length,b=u?4:1;while(--m>-1)g=d[m],y=p[g],a(y,s,u,l,i[g]),S&&(y.splice(0,b),y.splice(y.length-b,b));return p},c=function(e,t,n){t=t||"soft";var r={},i=t==="cubic"?3:2,o=t==="soft",u=[],a,f,l,c,h,p,d,v,m,g,y;o&&n&&(e=[n].concat(e));if(e==null||e.length<i+1)throw"invalid Bezier data";for(m in e[0])u.push(m);p=u.length;while(--p>-1){m=u[p],r[m]=h=[],g=0,v=e.length;for(d=0;d<v;d++)a=n==null?e[d][m]:typeof (y=e[d][m])=="string"&&y.charAt(1)==="="?n[m]+Number(y.charAt(0)+y.substr(2)):Number(y),o&&d>1&&d<v-1&&(h[g++]=(a+h[g-2])/2),h[g++]=a;v=g-i+1,g=0;for(d=0;d<v;d+=i)a=h[d],f=h[d+1],l=h[d+2],c=i===2?0:h[d+3],h[g++]=y=i===3?new s(a,f,l,c):new s(a,(2*f+a)/3,(2*f+l)/3,l);h.length=g}return r},h=function(e,t,n){var r=1/n,i=e.length,s,o,u,a,f,l,c,h,p,d,v;while(--i>-1){d=e[i],u=d.a,a=d.d-u,f=d.c-u,l=d.b-u,s=o=0;for(h=1;h<=n;h++)c=r*h,p=1-c,s=o-(o=(c*c*a+3*p*(c*f+p*l))*c),v=i*n+h-1,t[v]=(t[v]||0)+s*s}},p=function(e,t){t=t>>0||6;var n=[],r=[],i=0,s=0,o=t-1,u=[],a=[],f,l,c,p;for(f in e)h(e[f],n,t);c=n.length;for(l=0;l<c;l++)i+=Math.sqrt(n[l]),p=l%t,a[p]=i,p===o&&(s+=i,p=l/t>>0,u[p]=a,r[p]=s,i=0,a=[]);return{length:s,lengths:r,segments:u}},d=_gsScope._gsDefine.plugin({propName:"bezier",priority:-1,version:"1.3.3",API:2,global:!0,init:function(e,t,n){this._target=e,t instanceof Array&&(t={values:t}),this._func={},this._round={},this._props=[],this._timeRes=t.timeResolution==null?6:parseInt(t.timeResolution,10);var r=t.values||[],i={},s=r[0],o=t.autoRotate||n.vars.orientToBezier,u,a,f,h,d;this._autoRotate=o?o instanceof Array?o:[["x","y","rotation",o===!0?0:Number(o)||0]]:null;for(u in s)this._props.push(u);f=this._props.length;while(--f>-1)u=this._props[f],this._overwriteProps.push(u),a=this._func[u]=typeof e[u]=="function",i[u]=a?e[u.indexOf("set")||typeof e["get"+u.substr(3)]!="function"?u:"get"+u.substr(3)]():parseFloat(e[u]),d||i[u]!==r[0][u]&&(d=i);this._beziers=t.type!=="cubic"&&t.type!=="quadratic"&&t.type!=="soft"?l(r,isNaN(t.curviness)?1:t.curviness,!1,t.type==="thruBasic",t.correlate,d):c(r,t.type,i),this._segCount=this._beziers[u].length;if(this._timeRes){var v=p(this._beziers,this._timeRes);this._length=v.length,this._lengths=v.lengths,this._segments=v.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(o=this._autoRotate){this._initialRotations=[],o[0]instanceof Array||(this._autoRotate=o=[o]),f=o.length;while(--f>-1){for(h=0;h<3;h++)u=o[f][h],this._func[u]=typeof e[u]=="function"?e[u.indexOf("set")||typeof e["get"+u.substr(3)]!="function"?u:"get"+u.substr(3)]:!1;u=o[f][2],this._initialRotations[f]=this._func[u]?this._func[u].call(this._target):this._target[u]}}return this._startRatio=n.vars.runBackwards?1:0,!0},set:function(t){var n=this._segCount,r=this._func,i=this._target,s=t!==this._startRatio,o,u,a,f,l,c,h,p,d,v;if(!this._timeRes)o=t<0?0:t>=1?n-1:n*t>>0,c=(t-o*(1/n))*n;else{d=this._lengths,v=this._curSeg,t*=this._length,a=this._li;if(t>this._l2&&a<n-1){p=n-1;while(a<p&&(this._l2=d[++a])<=t);this._l1=d[a-1],this._li=a,this._curSeg=v=this._segments[a],this._s2=v[this._s1=this._si=0]}else if(t<this._l1&&a>0){while(a>0&&(this._l1=d[--a])>=t);a===0&&t<this._l1?this._l1=0:a++,this._l2=d[a],this._li=a,this._curSeg=v=this._segments[a],this._s1=v[(this._si=v.length-1)-1]||0,this._s2=v[this._si]}o=a,t-=this._l1,a=this._si;if(t>this._s2&&a<v.length-1){p=v.length-1;while(a<p&&(this._s2=v[++a])<=t);this._s1=v[a-1],this._si=a}else if(t<this._s1&&a>0){while(a>0&&(this._s1=v[--a])>=t);a===0&&t<this._s1?this._s1=0:a++,this._s2=v[a],this._si=a}c=(a+(t-this._s1)/(this._s2-this._s1))*this._prec}u=1-c,a=this._props.length;while(--a>-1)f=this._props[a],l=this._beziers[f][o],h=(c*c*l.da+3*u*(c*l.ca+u*l.ba))*c+l.a,this._round[f]&&(h=Math.round(h)),r[f]?i[f](h):i[f]=h;if(this._autoRotate){var m=this._autoRotate,g,y,b,w,E,S,x;a=m.length;while(--a>-1)f=m[a][2],S=m[a][3]||0,x=m[a][4]===!0?1:e,l=this._beziers[m[a][0]],g=this._beziers[m[a][1]],l&&g&&(l=l[o],g=g[o],y=l.a+(l.b-l.a)*c,w=l.b+(l.c-l.b)*c,y+=(w-y)*c,w+=(l.c+(l.d-l.c)*c-w)*c,b=g.a+(g.b-g.a)*c,E=g.b+(g.c-g.b)*c,b+=(E-b)*c,E+=(g.c+(g.d-g.c)*c-E)*c,h=s?Math.atan2(E-b,w-y)*x+S:this._initialRotations[a],r[f]?i[f](h):i[f]=h)}}}),v=d.prototype;d.bezierThrough=l,d.cubicToQuadratic=u,d._autoCSS=!0,d.quadraticToCubic=function(e,t,n){return new s(e,(2*t+e)/3,(2*t+n)/3,n)},d._cssRegister=function(){var e=_gsScope._gsDefine.globals.CSSPlugin;if(!e)return;var t=e._internals,n=t._parseToProxy,r=t._setPluginRatio,i=t.CSSPropTween;t._registerComplexSpecialProp("bezier",{parser:function(e,t,s,o,u,a){t instanceof Array&&(t={values:t}),a=new d;var f=t.values,l=f.length-1,c=[],h={},p,v,m;if(l<0)return u;for(p=0;p<=l;p++)m=n(e,f[p],o,u,a,l!==p),c[p]=m.end;for(v in t)h[v]=t[v];return h.values=c,u=new i(e,"bezier",0,0,m.pt,2),u.data=m,u.plugin=a,u.setRatio=r,h.autoRotate===0&&(h.autoRotate=!0),h.autoRotate&&!(h.autoRotate instanceof Array)&&(p=h.autoRotate===!0?0:Number(h.autoRotate),h.autoRotate=m.end.left!=null?[["left","top","rotation",p,!1]]:m.end.x!=null?[["x","y","rotation",p,!1]]:!1),h.autoRotate&&(o._transform||o._enableTransforms(!1),m.autoRotate=o._target._gsTransform),a._onInitTween(m.proxy,h,o._tween),u}})},v._roundProps=function(e,t){var n=this._overwriteProps,r=n.length;while(--r>-1)if(e[n[r]]||e.bezier||e.bezierThrough)this._round[n[r]]=t},v._kill=function(e){var t=this._props,n,r;for(n in this._beziers)if(n in e){delete this._beziers[n],delete this._func[n],r=t.length;while(--r>-1)t[r]===n&&t.splice(r,1)}return this._super._kill.call(this,e)}}(),_gsScope._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(e,t){var n=function(){e.call(this,"css"),this._overwriteProps.length=0,this.setRatio=n.prototype.setRatio},r,i,s,o,u={},a=n.prototype=new e("css");a.constructor=n,n.version="1.14.2",n.API=2,n.defaultTransformPerspective=0,n.defaultSkewType="compensated",a="px",n.suffixMap={top:a,right:a,bottom:a,left:a,width:a,height:a,fontSize:a,padding:a,margin:a,perspective:a,lineHeight:""};var f=/(?:\d|\-\d|\.\d|\-\.\d)+/g,l=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,c=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,h=/(?![+-]?\d*\.?\d+|e[+-]\d+)[^0-9]/g,p=/(?:\d|\-|\+|=|#|\.)*/g,d=/opacity *= *([^)]*)/i,v=/opacity:([^;]*)/i,m=/alpha\(opacity *=.+?\)/i,g=/^(rgb|hsl)/,y=/([A-Z])/g,b=/-([a-z])/gi,w=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,E=function(e,t){return t.toUpperCase()},S=/(?:Left|Right|Width)/i,x=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,T=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,N=/,(?=[^\)]*(?:\(|$))/gi,C=Math.PI/180,k=180/Math.PI,L={},A=document,O=A.createElement("div"),M=A.createElement("img"),_=n._internals={_specialProps:u},D=navigator.userAgent,P,H,B,j,F,I,q=function(){var e=D.indexOf("Android"),t=A.createElement("div"),n;B=D.indexOf("Safari")!==-1&&D.indexOf("Chrome")===-1&&(e===-1||Number(D.substr(e+8,1))>3),F=B&&Number(D.substr(D.indexOf("Version/")+8,1))<6,j=D.indexOf("Firefox")!==-1;if(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(D)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(D))I=parseFloat(RegExp.$1);return t.innerHTML="<a style='top:1px;opacity:.55;'>a</a>",n=t.getElementsByTagName("a")[0],n?/^0.55/.test(n.style.opacity):!1}(),R=function(e){return d.test(typeof e=="string"?e:(e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?parseFloat(RegExp.$1)/100:1},U=function(e){window.console&&console.log(e)},z="",W="",X=function(e,t){t=t||O;var n=t.style,r,i;if(n[e]!==undefined)return e;e=e.charAt(0).toUpperCase()+e.substr(1),r=["O","Moz","ms","Ms","Webkit"],i=5;while(--i>-1&&n[r[i]+e]===undefined);return i>=0?(W=i===3?"ms":r[i],z="-"+W.toLowerCase()+"-",W+e):null},V=A.defaultView?A.defaultView.getComputedStyle:function(){},$=n.getStyle=function(e,t,n,r,i){var s;return!q&&t==="opacity"?R(e):(!r&&e.style[t]?s=e.style[t]:(n=n||V(e))?s=n[t]||n.getPropertyValue(t)||n.getPropertyValue(t.replace(y,"-$1").toLowerCase()):e.currentStyle&&(s=e.currentStyle[t]),i==null||!!s&&s!=="none"&&s!=="auto"&&s!=="auto auto"?s:i)},J=_.convertToPixels=function(e,r,i,s,o){if(s==="px"||!s)return i;if(s==="auto"||!i)return 0;var u=S.test(r),a=e,f=O.style,l=i<0,c,h,p;l&&(i=-i);if(s==="%"&&r.indexOf("border")!==-1)c=i/100*(u?e.clientWidth:e.clientHeight);else{f.cssText="border:0 solid red;position:"+$(e,"position")+";line-height:0;";if(s==="%"||!a.appendChild){a=e.parentNode||A.body,h=a._gsCache,p=t.ticker.frame;if(h&&u&&h.time===p)return h.width*i/100;f[u?"width":"height"]=i+s}else f[u?"borderLeftWidth":"borderTopWidth"]=i+s;a.appendChild(O),c=parseFloat(O[u?"offsetWidth":"offsetHeight"]),a.removeChild(O),u&&s==="%"&&n.cacheWidths!==!1&&(h=a._gsCache=a._gsCache||{},h.time=p,h.width=c/i*100),c===0&&!o&&(c=J(e,r,i,s,!0))}return l?-c:c},K=_.calculateOffset=function(e,t,n){if($(e,"position",n)!=="absolute")return 0;var r=t==="left"?"Left":"Top",i=$(e,"margin"+r,n);return e["offset"+r]-(J(e,t,parseFloat(i),i.replace(p,""))||0)},Q=function(e,t){var n={},r,i;if(t=t||V(e,null))if(r=t.length)while(--r>-1)n[t[r].replace(b,E)]=t.getPropertyValue(t[r]);else for(r in t)n[r]=t[r];else if(t=e.currentStyle||e.style)for(r in t)typeof r=="string"&&n[r]===undefined&&(n[r.replace(b,E)]=t[r]);return q||(n.opacity=R(e)),i=_t(e,t,!1),n.rotation=i.rotation,n.skewX=i.skewX,n.scaleX=i.scaleX,n.scaleY=i.scaleY,n.x=i.x,n.y=i.y,Tt&&(n.z=i.z,n.rotationX=i.rotationX,n.rotationY=i.rotationY,n.scaleZ=i.scaleZ),n.filters&&delete n.filters,n},G=function(e,t,n,r,i){var s={},o=e.style,u,a,f;for(a in n)a!=="cssText"&&a!=="length"&&isNaN(a)&&(t[a]!==(u=n[a])||i&&i[a])&&a.indexOf("Origin")===-1&&(typeof u=="number"||typeof u=="string")&&(s[a]=u!=="auto"||a!=="left"&&a!=="top"?u!==""&&u!=="auto"&&u!=="none"||typeof t[a]!="string"||t[a].replace(h,"")===""?u:0:K(e,a),o[a]!==undefined&&(f=new ht(o,a,o[a],f)));if(r)for(a in r)a!=="className"&&(s[a]=r[a]);return{difs:s,firstMPT:f}},Y={width:["Left","Right"],height:["Top","Bottom"]},Z=["marginLeft","marginRight","marginTop","marginBottom"],et=function(e,t,n){var r=parseFloat(t==="width"?e.offsetWidth:e.offsetHeight),i=Y[t],s=i.length;n=n||V(e,null);while(--s>-1)r-=parseFloat($(e,"padding"+i[s],n,!0))||0,r-=parseFloat($(e,"border"+i[s]+"Width",n,!0))||0;return r},tt=function(e,t){if(e==null||e===""||e==="auto"||e==="auto auto")e="0 0";var n=e.split(" "),r=e.indexOf("left")!==-1?"0%":e.indexOf("right")!==-1?"100%":n[0],i=e.indexOf("top")!==-1?"0%":e.indexOf("bottom")!==-1?"100%":n[1];i==null?i="0":i==="center"&&(i="50%");if(r==="center"||isNaN(parseFloat(r))&&(r+"").indexOf("=")===-1)r="50%";return t&&(t.oxp=r.indexOf("%")!==-1,t.oyp=i.indexOf("%")!==-1,t.oxr=r.charAt(1)==="=",t.oyr=i.charAt(1)==="=",t.ox=parseFloat(r.replace(h,"")),t.oy=parseFloat(i.replace(h,""))),r+" "+i+(n.length>2?" "+n[2]:"")},nt=function(e,t){return typeof e=="string"&&e.charAt(1)==="="?parseInt(e.charAt(0)+"1",10)*parseFloat(e.substr(2)):parseFloat(e)-parseFloat(t)},rt=function(e,t){return e==null?t:typeof e=="string"&&e.charAt(1)==="="?parseInt(e.charAt(0)+"1",10)*parseFloat(e.substr(2))+t:parseFloat(e)},it=function(e,t,n,r){var i=1e-6,s,o,u,a;return e==null?a=t:typeof e=="number"?a=e:(s=360,o=e.split("_"),u=Number(o[0].replace(h,""))*(e.indexOf("rad")===-1?1:k)-(e.charAt(1)==="="?0:t),o.length&&(r&&(r[n]=t+u),e.indexOf("short")!==-1&&(u%=s,u!==u%(s/2)&&(u=u<0?u+s:u-s)),e.indexOf("_cw")!==-1&&u<0?u=(u+s*9999999999)%s-(u/s|0)*s:e.indexOf("ccw")!==-1&&u>0&&(u=(u-s*9999999999)%s-(u/s|0)*s)),a=t+u),a<i&&a>-i&&(a=0),a},st={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},ot=function(e,t,n){return e=e<0?e+1:e>1?e-1:e,(e*6<1?t+(n-t)*e*6:e<.5?n:e*3<2?t+(n-t)*(2/3-e)*6:t)*255+.5|0},ut=n.parseColor=function(e){var t,n,r,i,s,o;return!e||e===""?st.black:typeof e=="number"?[e>>16,e>>8&255,e&255]:(e.charAt(e.length-1)===","&&(e=e.substr(0,e.length-1)),st[e]?st[e]:e.charAt(0)==="#"?(e.length===4&&(t=e.charAt(1),n=e.charAt(2),r=e.charAt(3),e="#"+t+t+n+n+r+r),e=parseInt(e.substr(1),16),[e>>16,e>>8&255,e&255]):e.substr(0,3)==="hsl"?(e=e.match(f),i=Number(e[0])%360/360,s=Number(e[1])/100,o=Number(e[2])/100,n=o<=.5?o*(s+1):o+s-o*s,t=o*2-n,e.length>3&&(e[3]=Number(e[3])),e[0]=ot(i+1/3,t,n),e[1]=ot(i,t,n),e[2]=ot(i-1/3,t,n),e):(e=e.match(f)||st.transparent,e[0]=Number(e[0]),e[1]=Number(e[1]),e[2]=Number(e[2]),e.length>3&&(e[3]=Number(e[3])),e))},at="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#.+?\\b";for(a in st)at+="|"+a+"\\b";at=new RegExp(at+")","gi");var ft=function(e,t,n,r){if(e==null)return function(e){return e};var i=t?(e.match(at)||[""])[0]:"",s=e.split(i).join("").match(c)||[],o=e.substr(0,e.indexOf(s[0])),u=e.charAt(e.length-1)===")"?")":"",a=e.indexOf(" ")!==-1?" ":",",l=s.length,h=l>0?s[0].replace(f,""):"",p;return l?t?(p=function(e){var t,f,d,v;if(typeof e=="number")e+=h;else if(r&&N.test(e)){v=e.replace(N,"|").split("|");for(d=0;d<v.length;d++)v[d]=p(v[d]);return v.join(",")}t=(e.match(at)||[i])[0],f=e.split(t).join("").match(c)||[],d=f.length;if(l>d--)while(++d<l)f[d]=n?f[(d-1)/2|0]:s[d];return o+f.join(a)+a+t+u+(e.indexOf("inset")!==-1?" inset":"")},p):(p=function(e){var t,i,f;if(typeof e=="number")e+=h;else if(r&&N.test(e)){i=e.replace(N,"|").split("|");for(f=0;f<i.length;f++)i[f]=p(i[f]);return i.join(",")}t=e.match(c)||[],f=t.length;if(l>f--)while(++f<l)t[f]=n?t[(f-1)/2|0]:s[f];return o+t.join(a)+u},p):function(e){return e}},lt=function(e){return e=e.split(","),function(t,n,r,i,s,o,u){var a=(n+"").split(" "),f;u={};for(f=0;f<4;f++)u[e[f]]=a[f]=a[f]||a[(f-1)/2>>0];return i.parse(t,u,s,o)}},ct=_._setPluginRatio=function(e){this.plugin.setRatio(e);var t=this.data,n=t.proxy,r=t.firstMPT,i=1e-6,s,o,u,a;while(r)s=n[r.v],r.r?s=Math.round(s):s<i&&s>-i&&(s=0),r.t[r.p]=s,r=r._next;t.autoRotate&&(t.autoRotate.rotation=n.rotation);if(e===1){r=t.firstMPT;while(r){o=r.t;if(!o.type)o.e=o.s+o.xs0;else if(o.type===1){a=o.xs0+o.s+o.xs1;for(u=1;u<o.l;u++)a+=o["xn"+u]+o["xs"+(u+1)];o.e=a}r=r._next}}},ht=function(e,t,n,r,i){this.t=e,this.p=t,this.v=n,this.r=i,r&&(r._prev=this,this._next=r)},pt=_._parseToProxy=function(e,t,n,r,i,s){var o=r,u={},a={},f=n._transform,l=L,c,h,p,d,v;n._transform=null,L=t,r=v=n.parse(e,t,r,i),L=l,s&&(n._transform=f,o&&(o._prev=null,o._prev&&(o._prev._next=null)));while(r&&r!==o){if(r.type<=1){h=r.p,a[h]=r.s+r.c,u[h]=r.s,s||(d=new ht(r,"s",h,d,r.r),r.c=0);if(r.type===1){c=r.l;while(--c>0)p="xn"+c,h=r.p+"_"+p,a[h]=r.data[p],u[h]=r[p],s||(d=new ht(r,p,h,d,r.rxp[p]))}}r=r._next}return{proxy:u,end:a,firstMPT:d,pt:v}},dt=_.CSSPropTween=function(e,t,n,i,s,u,a,f,l,c,h){this.t=e,this.p=t,this.s=n,this.c=i,this.n=a||t,e instanceof dt||o.push(this.n),this.r=f,this.type=u||0,l&&(this.pr=l,r=!0),this.b=c===undefined?n:c,this.e=h===undefined?n+i:h,s&&(this._next=s,s._prev=this)},vt=n.parseComplex=function(e,t,n,r,i,s,o,u,a,c){n=n||s||"",o=new dt(e,t,0,0,o,c?2:1,null,!1,u,n,r),r+="";var h=n.split(", ").join(",").split(" "),p=r.split(", ").join(",").split(" "),d=h.length,v=P!==!1,m,y,b,w,E,S,x,T,C,k,L,A;if(r.indexOf(",")!==-1||n.indexOf(",")!==-1)h=h.join(" ").replace(N,", ").split(" "),p=p.join(" ").replace(N,", ").split(" "),d=h.length;d!==p.length&&(h=(s||"").split(" "),d=h.length),o.plugin=a,o.setRatio=c;for(m=0;m<d;m++){w=h[m],E=p[m],T=parseFloat(w);if(T||T===0)o.appendXtra("",T,nt(E,T),E.replace(l,""),v&&E.indexOf("px")!==-1,!0);else if(i&&(w.charAt(0)==="#"||st[w]||g.test(w)))A=E.charAt(E.length-1)===","?"),":")",w=ut(w),E=ut(E),C=w.length+E.length>6,C&&!q&&E[3]===0?(o["xs"+o.l]+=o.l?" transparent":"transparent",o.e=o.e.split(p[m]).join("transparent")):(q||(C=!1),o.appendXtra(C?"rgba(":"rgb(",w[0],E[0]-w[0],",",!0,!0).appendXtra("",w[1],E[1]-w[1],",",!0).appendXtra("",w[2],E[2]-w[2],C?",":A,!0),C&&(w=w.length<4?1:w[3],o.appendXtra("",w,(E.length<4?1:E[3])-w,A,!1)));else{S=w.match(f);if(!S)o["xs"+o.l]+=o.l?" "+w:w;else{x=E.match(l);if(!x||x.length!==S.length)return o;b=0;for(y=0;y<S.length;y++)L=S[y],k=w.indexOf(L,b),o.appendXtra(w.substr(b,k-b),Number(L),nt(x[y],L),"",v&&w.substr(k+L.length,2)==="px",y===0),b=k+L.length;o["xs"+o.l]+=w.substr(b)}}}if(r.indexOf("=")!==-1&&o.data){A=o.xs0+o.data.s;for(m=1;m<o.l;m++)A+=o["xs"+m]+o.data["xn"+m];o.e=A+o["xs"+m]}return o.l||(o.type=-1,o.xs0=o.e),o.xfirst||o},mt=9;a=dt.prototype,a.l=a.pr=0;while(--mt>0)a["xn"+mt]=0,a["xs"+mt]="";a.xs0="",a._next=a._prev=a.xfirst=a.data=a.plugin=a.setRatio=a.rxp=null,a.appendXtra=function(e,t,n,r,i,s){var o=this,u=o.l;return o["xs"+u]+=s&&u?" "+e:e||"",!n&&u!==0&&!o.plugin?(o["xs"+u]+=t+(r||""),o):(o.l++,o.type=o.setRatio?2:1,o["xs"+o.l]=r||"",u>0?(o.data["xn"+u]=t+n,o.rxp["xn"+u]=i,o["xn"+u]=t,o.plugin||(o.xfirst=new dt(o,"xn"+u,t,n,o.xfirst||o,0,o.n,i,o.pr),o.xfirst.xs0=0),o):(o.data={s:t+n},o.rxp={},o.s=t,o.c=n,o.r=i,o))};var gt=function(e,t){t=t||{},this.p=t.prefix?X(e)||e:e,u[e]=u[this.p]=this,this.format=t.formatter||ft(t.defaultValue,t.color,t.collapsible,t.multi),t.parser&&(this.parse=t.parser),this.clrs=t.color,this.multi=t.multi,this.keyword=t.keyword,this.dflt=t.defaultValue,this.pr=t.priority||0},yt=_._registerComplexSpecialProp=function(e,t,n){typeof t!="object"&&(t={parser:n});var r=e.split(","),i=t.defaultValue,s,o;n=n||[i];for(s=0;s<r.length;s++)t.prefix=s===0&&t.prefix,t.defaultValue=n[s]||i,o=new gt(r[s],t)},bt=function(e){if(!u[e]){var t=e.charAt(0).toUpperCase()+e.substr(1)+"Plugin";yt(e,{parser:function(e,n,r,i,s,o,a){var f=(_gsScope.GreenSockGlobals||_gsScope).com.greensock.plugins[t];return f?(f._cssRegister(),u[r].parse(e,n,r,i,s,o,a)):(U("Error: "+t+" js file not loaded."),s)}})}};a=gt.prototype,a.parseComplex=function(e,t,n,r,i,s){var o=this.keyword,u,a,f,l,c,h;this.multi&&(N.test(n)||N.test(t)?(a=t.replace(N,"|").split("|"),f=n.replace(N,"|").split("|")):o&&(a=[t],f=[n]));if(f){l=f.length>a.length?f.length:a.length;for(u=0;u<l;u++)t=a[u]=a[u]||this.dflt,n=f[u]=f[u]||this.dflt,o&&(c=t.indexOf(o),h=n.indexOf(o),c!==h&&(n=h===-1?f:a,n[u]+=" "+o));t=a.join(", "),n=f.join(", ")}return vt(e,this.p,t,n,this.clrs,this.dflt,r,this.pr,i,s)},a.parse=function(e,t,n,r,i,o,u){return this.parseComplex(e.style,this.format($(e,this.p,s,!1,this.dflt)),this.format(t),i,o)},n.registerSpecialProp=function(e,t,n){yt(e,{parser:function(e,r,i,s,o,u,a){var f=new dt(e,i,0,0,o,2,i,!1,n);return f.plugin=u,f.setRatio=t(e,r,s._tween,i),f},priority:n})};var wt="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),Et=X("transform"),St=z+"transform",xt=X("transformOrigin"),Tt=X("perspective")!==null,Nt=_.Transform=function(){this.skewY=0},Ct=window.SVGElement,kt,Lt=function(e,t,n){var r=A.createElementNS("http://www.w3.org/2000/svg",e),i=/([a-z])([A-Z])/g,s;for(s in n)r.setAttributeNS(null,s.replace(i,"$1-$2").toLowerCase(),n[s]);return t.appendChild(r),r},At=document.documentElement,Ot=function(){var e=I||/Android/i.test(D)&&!window.chrome,t,n,r;return A.createElementNS&&!e&&(t=Lt("svg",At),n=Lt("rect",t,{width:100,height:50,x:100}),r=n.getBoundingClientRect().left,n.style[xt]="50% 50%",n.style[Et]="scale(0.5,0.5)",e=r===n.getBoundingClientRect().left,At.removeChild(t)),e}(),Mt=function(e,t,n){var r=e.getBBox();t=tt(t).split(" "),n.xOrigin=(t[0].indexOf("%")!==-1?parseFloat(t[0])/100*r.width:parseFloat(t[0]))+r.x,n.yOrigin=(t[1].indexOf("%")!==-1?parseFloat(t[1])/100*r.height:parseFloat(t[1]))+r.y},_t=_.getTransform=function(e,t,r,i){if(e._gsTransform&&r&&!i)return e._gsTransform;var o=r?e._gsTransform||new Nt:new Nt,u=o.scaleX<0,a=2e-5,f=1e5,l=179.99,c=l*C,h=Tt?parseFloat($(e,xt,t,!1,"0 0 0").split(" ")[2])||o.zOrigin||0:0,p=parseFloat(n.defaultTransformPerspective)||0,d,v,m,g,y,b,w,E,S,T,N,L,A;Et?d=$(e,St,t,!0):e.currentStyle&&(d=e.currentStyle.filter.match(x),d=d&&d.length===4?[d[0].substr(4),Number(d[2].substr(4)),Number(d[1].substr(4)),d[3].substr(4),o.x||0,o.y||0].join(","):"");if(!d||d==="none"||d==="matrix(1, 0, 0, 1, 0, 0)")o={x:0,y:0,z:0,scaleX:1,scaleY:1,scaleZ:1,skewX:0,skewY:0,perspective:p,rotation:0,rotationX:0,rotationY:0,zOrigin:0};else{v=(d||"").match(/(?:\-|\b)[\d\-\.e]+\b/gi)||[],m=v.length;while(--m>-1)g=Number(v[m]),v[m]=(y=g-(g|=0))?(y*f+(y<0?-0.5:.5)|0)/f+g:g;if(v.length===16){var O=v[8],M=v[9],_=v[10],D=v[12],P=v[13],H=v[14];o.zOrigin&&(H=-o.zOrigin,D=O*H-v[12],P=M*H-v[13],H=_*H+o.zOrigin-v[14]);if(!r||i||o.rotationX==null){var B=v[0],j=v[1],F=v[2],I=v[3],q=v[4],R=v[5],U=v[6],z=v[7],W=v[11],X=Math.atan2(U,_),V=X<-c||X>c,J,K,Q,G,Y,Z,et;o.rotationX=X*k,X&&(G=Math.cos(-X),Y=Math.sin(-X),J=q*G+O*Y,K=R*G+M*Y,Q=U*G+_*Y,O=q*-Y+O*G,M=R*-Y+M*G,_=U*-Y+_*G,W=z*-Y+W*G,q=J,R=K,U=Q),X=Math.atan2(O,B),o.rotationY=X*k,X&&(Z=X<-c||X>c,G=Math.cos(-X),Y=Math.sin(-X),J=B*G-O*Y,K=j*G-M*Y,Q=F*G-_*Y,M=j*Y+M*G,_=F*Y+_*G,W=I*Y+W*G,B=J,j=K,F=Q),X=Math.atan2(j,R),o.rotation=X*k,X&&(et=X<-c||X>c,G=Math.cos(-X),Y=Math.sin(-X),B=B*G+q*Y,K=j*G+R*Y,R=j*-Y+R*G,U=F*-Y+U*G,j=K),et&&V?o.rotation=o.rotationX=0:et&&Z?o.rotation=o.rotationY=0:Z&&V&&(o.rotationY=o.rotationX=0),o.scaleX=(Math.sqrt(B*B+j*j)*f+.5|0)/f,o.scaleY=(Math.sqrt(R*R+M*M)*f+.5|0)/f,o.scaleZ=(Math.sqrt(U*U+_*_)*f+.5|0)/f,o.skewX=0,o.perspective=W?1/(W<0?-W:W):0,o.x=D,o.y=P,o.z=H}}else if((!Tt||i||!v.length||o.x!==v[4]||o.y!==v[5]||!o.rotationX&&!o.rotationY)&&(o.x===undefined||$(e,"display",t)!=="none")){var tt=v.length>=6,nt=tt?v[0]:1,rt=v[1]||0,it=v[2]||0,st=tt?v[3]:1;o.x=v[4]||0,o.y=v[5]||0,b=Math.sqrt(nt*nt+rt*rt),w=Math.sqrt(st*st+it*it),E=nt||rt?Math.atan2(rt,nt)*k:o.rotation||0,S=it||st?Math.atan2(it,st)*k+E:o.skewX||0,T=b-Math.abs(o.scaleX||0),N=w-Math.abs(o.scaleY||0),Math.abs(S)>90&&Math.abs(S)<270&&(u?(b*=-1,S+=E<=0?180:-180,E+=E<=0?180:-180):(w*=-1,S+=S<=0?180:-180)),L=(E-o.rotation)%180,A=(S-o.skewX)%180;if(o.skewX===undefined||T>a||T<-a||N>a||N<-a||L>-l&&L<l&&L*f|!1||A>-l&&A<l&&A*f|!1)o.scaleX=b,o.scaleY=w,o.rotation=E,o.skewX=S;Tt&&(o.rotationX=o.rotationY=o.z=0,o.perspective=p,o.scaleZ=1)}o.zOrigin=h;for(m in o)o[m]<a&&o[m]>-a&&(o[m]=0)}return r&&(e._gsTransform=o),o.svg=Ct&&e instanceof Ct&&e.parentNode instanceof Ct,o.svg&&(Mt(e,$(e,xt,s,!1,"50% 50%")+"",o),kt=n.useSVGTransformAttr||Ot),o.xPercent=o.yPercent=0,o},Dt=function(e){var t=this.data,n=-t.rotation*C,r=n+t.skewX*C,i=1e5,s=(Math.cos(n)*t.scaleX*i|0)/i,o=(Math.sin(n)*t.scaleX*i|0)/i,u=(Math.sin(r)*-t.scaleY*i|0)/i,a=(Math.cos(r)*t.scaleY*i|0)/i,f=this.t.style,l=this.t.currentStyle,c,h;if(!l)return;h=o,o=-u,u=-h,c=l.filter,f.filter="";var v=this.t.offsetWidth,m=this.t.offsetHeight,g=l.position!=="absolute",y="progid:DXImageTransform.Microsoft.Matrix(M11="+s+", M12="+o+", M21="+u+", M22="+a,b=t.x+v*t.xPercent/100,w=t.y+m*t.yPercent/100,E,S;t.ox!=null&&(E=(t.oxp?v*t.ox*.01:t.ox)-v/2,S=(t.oyp?m*t.oy*.01:t.oy)-m/2,b+=E-(E*s+S*o),w+=S-(E*u+S*a)),g?(E=v/2,S=m/2,y+=", Dx="+(E-(E*s+S*o)+b)+", Dy="+(S-(E*u+S*a)+w)+")"):y+=", sizingMethod='auto expand')",c.indexOf("DXImageTransform.Microsoft.Matrix(")!==-1?f.filter=c.replace(T,y):f.filter=y+" "+c,(e===0||e===1)&&s===1&&o===0&&u===0&&a===1&&(!g||y.indexOf("Dx=0, Dy=0")!==-1)&&(!d.test(c)||parseFloat(RegExp.$1)===100)&&c.indexOf(c.indexOf("Alpha"))===-1&&f.removeAttribute("filter");if(!g){var x=I<8?1:-1,N,k,L;E=t.ieOffsetX||0,S=t.ieOffsetY||0,t.ieOffsetX=Math.round((v-((s<0?-s:s)*v+(o<0?-o:o)*m))/2+b),t.ieOffsetY=Math.round((m-((a<0?-a:a)*m+(u<0?-u:u)*v))/2+w);for(mt=0;mt<4;mt++)k=Z[mt],N=l[k],h=N.indexOf("px")!==-1?parseFloat(N):J(this.t,k,parseFloat(N),N.replace(p,""))||0,h!==t[k]?L=mt<2?-t.ieOffsetX:-t.ieOffsetY:L=mt<2?E-t.ieOffsetX:S-t.ieOffsetY,f[k]=(t[k]=Math.round(h-L*(mt===0||mt===2?1:x)))+"px"}},Pt=_.set3DTransformRatio=function(e){var t=this.data,n=this.t.style,r=t.rotation*C,i=t.scaleX,s=t.scaleY,o=t.scaleZ,u=t.x,a=t.y,f=t.z,l=t.perspective,c,h,p,d,v,m,g,y,b,w,E,S,x,T,N,k,L,A,O,M,_,D,P;if(e===1||e===0)if(t.force3D==="auto"&&!t.rotationY&&!t.rotationX&&o===1&&!l&&!f){Ht.call(this,e);return}if(j){var H=1e-4;i<H&&i>-H&&(i=o=2e-5),s<H&&s>-H&&(s=o=2e-5),l&&!t.z&&!t.rotationX&&!t.rotationY&&(l=0)}if(r||t.skewX)A=Math.cos(r),O=Math.sin(r),c=A,v=O,t.skewX&&(r-=t.skewX*C,A=Math.cos(r),O=Math.sin(r),t.skewType==="simple"&&(M=Math.tan(t.skewX*C),M=Math.sqrt(1+M*M),A*=M,O*=M)),h=-O,m=A;else{if(!t.rotationY&&!t.rotationX&&o===1&&!l&&!t.svg){n[Et]=(t.xPercent||t.yPercent?"translate("+t.xPercent+"%,"+t.yPercent+"%) translate3d(":"translate3d(")+u+"px,"+a+"px,"+f+"px)"+(i!==1||s!==1?" scale("+i+","+s+")":"");return}c=m=1,h=v=0}E=1,p=d=g=y=b=w=S=x=T=0,N=l?-1/l:0,k=t.zOrigin,L=1e5,r=t.rotationY*C,r&&(A=Math.cos(r),O=Math.sin(r),b=E*-O,x=N*-O,p=c*O,g=v*O,E*=A,N*=A,c*=A,v*=A),r=t.rotationX*C,r&&(A=Math.cos(r),O=Math.sin(r),M=h*A+p*O,_=m*A+g*O,D=w*A+E*O,P=T*A+N*O,p=h*-O+p*A,g=m*-O+g*A,E=w*-O+E*A,N=T*-O+N*A,h=M,m=_,w=D,T=P),o!==1&&(p*=o,g*=o,E*=o,N*=o),s!==1&&(h*=s,m*=s,w*=s,T*=s),i!==1&&(c*=i,v*=i,b*=i,x*=i),k&&(S-=k,d=p*S,y=g*S,S=E*S+k),t.svg&&(d+=t.xOrigin-(t.xOrigin*c+t.yOrigin*h),y+=t.yOrigin-(t.xOrigin*v+t.yOrigin*m)),d=(M=(d+=u)-(d|=0))?(M*L+(M<0?-0.5:.5)|0)/L+d:d,y=(M=(y+=a)-(y|=0))?(M*L+(M<0?-0.5:.5)|0)/L+y:y,S=(M=(S+=f)-(S|=0))?(M*L+(M<0?-0.5:.5)|0)/L+S:S,n[Et]=(t.xPercent||t.yPercent?"translate("+t.xPercent+"%,"+t.yPercent+"%) matrix3d(":"matrix3d(")+[(c*L|0)/L,(v*L|0)/L,(b*L|0)/L,(x*L|0)/L,(h*L|0)/L,(m*L|0)/L,(w*L|0)/L,(T*L|0)/L,(p*L|0)/L,(g*L|0)/L,(E*L|0)/L,(N*L|0)/L,d,y,S,l?1+ -S/l:1].join(",")+")"},Ht=_.set2DTransformRatio=function(e){var t=this.data,n=this.t,r=n.style,i=t.x,s=t.y,o,u,a,f,l,c,h,p,d,v,m;if((t.rotationX||t.rotationY||t.z||t.force3D===!0||t.force3D==="auto"&&e!==1&&e!==0)&&(!t.svg||!kt)&&Tt){this.setRatio=Pt,Pt.call(this,e);return}f=t.scaleX,l=t.scaleY,t.rotation||t.skewX||t.svg?(o=t.rotation*C,u=o-t.skewX*C,a=1e5,c=Math.cos(o)*f,h=Math.sin(o)*f,p=Math.sin(u)*-l,d=Math.cos(u)*l,t.svg&&(i+=t.xOrigin-(t.xOrigin*c+t.yOrigin*p),s+=t.yOrigin-(t.xOrigin*h+t.yOrigin*d),m=1e-6,i<m&&i>-m&&(i=0),s<m&&s>-m&&(s=0)),v=(c*a|0)/a+","+(h*a|0)/a+","+(p*a|0)/a+","+(d*a|0)/a+","+i+","+s+")",t.svg&&kt?n.setAttribute("transform","matrix("+v):r[Et]=(t.xPercent||t.yPercent?"translate("+t.xPercent+"%,"+t.yPercent+"%) matrix(":"matrix(")+v):r[Et]=(t.xPercent||t.yPercent?"translate("+t.xPercent+"%,"+t.yPercent+"%) matrix(":"matrix(")+f+",0,0,"+l+","+i+","+s+")"};yt("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent",{parser:function(e,t,r,i,o,u,a){if(i._transform)return o;var f=i._transform=_t(e,s,!0,a.parseTransform),l=e.style,c=1e-6,h=wt.length,p=a,d={},v,m,g,y,b,w,E;if(typeof p.transform=="string"&&Et)g=O.style,g[Et]=p.transform,g.display="block",g.position="absolute",A.body.appendChild(O),v=_t(O,null,!1),A.body.removeChild(O);else if(typeof p=="object"){v={scaleX:rt(p.scaleX!=null?p.scaleX:p.scale,f.scaleX),scaleY:rt(p.scaleY!=null?p.scaleY:p.scale,f.scaleY),scaleZ:rt(p.scaleZ,f.scaleZ),x:rt(p.x,f.x),y:rt(p.y,f.y),z:rt(p.z,f.z),xPercent:rt(p.xPercent,f.xPercent),yPercent:rt(p.yPercent,f.yPercent),perspective:rt(p.transformPerspective,f.perspective)},E=p.directionalRotation;if(E!=null)if(typeof E=="object")for(g in E)p[g]=E[g];else p.rotation=E;typeof p.x=="string"&&p.x.indexOf("%")!==-1&&(v.x=0,v.xPercent=rt(p.x,f.xPercent)),typeof p.y=="string"&&p.y.indexOf("%")!==-1&&(v.y=0,v.yPercent=rt(p.y,f.yPercent)),v.rotation=it("rotation"in p?p.rotation:"shortRotation"in p?p.shortRotation+"_short":"rotationZ"in p?p.rotationZ:f.rotation,f.rotation,"rotation",d),Tt&&(v.rotationX=it("rotationX"in p?p.rotationX:"shortRotationX"in p?p.shortRotationX+"_short":f.rotationX||0,f.rotationX,"rotationX",d),v.rotationY=it("rotationY"in p?p.rotationY:"shortRotationY"in p?p.shortRotationY+"_short":f.rotationY||0,f.rotationY,"rotationY",d)),v.skewX=p.skewX==null?f.skewX:it(p.skewX,f.skewX),v.skewY=p.skewY==null?f.skewY:it(p.skewY,f.skewY);if(m=v.skewY-f.skewY)v.skewX+=m,v.rotation+=m}Tt&&p.force3D!=null&&(f.force3D=p.force3D,w=!0),f.skewType=p.skewType||f.skewType||n.defaultSkewType,b=f.force3D||f.z||f.rotationX||f.rotationY||v.z||v.rotationX||v.rotationY||v.perspective,!b&&p.scale!=null&&(v.scaleZ=1);while(--h>-1){r=wt[h],y=v[r]-f[r];if(y>c||y<-c||p[r]!=null||L[r]!=null)w=!0,o=new dt(f,r,f[r],y,o),r in d&&(o.e=d[r]),o.xs0=0,o.plugin=u,i._overwriteProps.push(o.n)}y=p.transformOrigin,y&&f.svg&&(Mt(e,y,v),o=new dt(f,"xOrigin",f.xOrigin,v.xOrigin-f.xOrigin,o,-1,"transformOrigin"),o.b=f.xOrigin,o.e=o.xs0=v.xOrigin,o=new dt(f,"yOrigin",f.yOrigin,v.yOrigin-f.yOrigin,o,-1,"transformOrigin"),o.b=f.yOrigin,o.e=o.xs0=v.yOrigin,y="0px 0px");if(y||Tt&&b&&f.zOrigin)Et?(w=!0,r=xt,y=(y||$(e,r,s,!1,"50% 50%"))+"",o=new dt(l,r,0,0,o,-1,"transformOrigin"),o.b=l[r],o.plugin=u,Tt?(g=f.zOrigin,y=y.split(" "),f.zOrigin=(y.length>2&&(g===0||y[2]!=="0px")?parseFloat(y[2]):g)||0,o.xs0=o.e=y[0]+" "+(y[1]||"50%")+" 0px",o=new dt(f,"zOrigin",0,0,o,-1,o.n),o.b=g,o.xs0=o.e=f.zOrigin):o.xs0=o.e=y):tt(y+"",f);return w&&(i._transformType=!!f.svg&&!!kt||!b&&this._transformType!==3?2:3),o},prefix:!0}),yt("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),yt("borderRadius",{defaultValue:"0px",parser:function(e,t,n,r,o,u){t=this.format(t);var a=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],f=e.style,l,c,h,p,d,v,m,g,y,b,w,E,S,x,T,N;y=parseFloat(e.offsetWidth),b=parseFloat(e.offsetHeight),l=t.split(" ");for(c=0;c<a.length;c++)this.p.indexOf("border")&&(a[c]=X(a[c])),d=p=$(e,a[c],s,!1,"0px"),d.indexOf(" ")!==-1&&(p=d.split(" "),d=p[0],p=p[1]),v=h=l[c],m=parseFloat(d),E=d.substr((m+"").length),S=v.charAt(1)==="=",S?(g=parseInt(v.charAt(0)+"1",10),v=v.substr(2),g*=parseFloat(v),w=v.substr((g+"").length-(g<0?1:0))||""):(g=parseFloat(v),w=v.substr((g+"").length)),w===""&&(w=i[n]||E),w!==E&&(x=J(e,"borderLeft",m,E),T=J(e,"borderTop",m,E),w==="%"?(d=x/y*100+"%",p=T/b*100+"%"):w==="em"?(N=J(e,"borderLeft",1,"em"),d=x/N+"em",p=T/N+"em"):(d=x+"px",p=T+"px"),S&&(v=parseFloat(d)+g+w,h=parseFloat(p)+g+w)),o=vt(f,a[c],d+" "+p,v+" "+h,!1,"0px",o);return o},prefix:!0,formatter:ft("0px 0px 0px 0px",!1,!0)}),yt("backgroundPosition",{defaultValue:"0 0",parser:function(e,t,n,r,i,o){var u="background-position",a=s||V(e,null),f=this.format((a?I?a.getPropertyValue(u+"-x")+" "+a.getPropertyValue(u+"-y"):a.getPropertyValue(u):e.currentStyle.backgroundPositionX+" "+e.currentStyle.backgroundPositionY)||"0 0"),l=this.format(t),c,h,p,d,v,m;if(f.indexOf("%")!==-1!=(l.indexOf("%")!==-1)){m=$(e,"backgroundImage").replace(w,"");if(m&&m!=="none"){c=f.split(" "),h=l.split(" "),M.setAttribute("src",m),p=2;while(--p>-1)f=c[p],d=f.indexOf("%")!==-1,d!==(h[p].indexOf("%")!==-1)&&(v=p===0?e.offsetWidth-M.width:e.offsetHeight-M.height,c[p]=d?parseFloat(f)/100*v+"px":parseFloat(f)/v*100+"%");f=c.join(" ")}}return this.parseComplex(e.style,f,l,i,o)},formatter:tt}),yt("backgroundSize",{defaultValue:"0 0",formatter:tt}),yt("perspective",{defaultValue:"0px",prefix:!0}),yt("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),yt("transformStyle",{prefix:!0}),yt("backfaceVisibility",{prefix:!0}),yt("userSelect",{prefix:!0}),yt("margin",{parser:lt("marginTop,marginRight,marginBottom,marginLeft")}),yt("padding",{parser:lt("paddingTop,paddingRight,paddingBottom,paddingLeft")}),yt("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(e,t,n,r,i,o){var u,a,f;return I<9?(a=e.currentStyle,f=I<8?" ":",",u="rect("+a.clipTop+f+a.clipRight+f+a.clipBottom+f+a.clipLeft+")",t=this.format(t).split(",").join(f)):(u=this.format($(e,this.p,s,!1,this.dflt)),t=this.format(t)),this.parseComplex(e.style,u,t,i,o)}}),yt("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),yt("autoRound,strictUnits",{parser:function(e,t,n,r,i){return i}}),yt("border",{defaultValue:"0px solid #000",parser:function(e,t,n,r,i,o){return this.parseComplex(e.style,this.format($(e,"borderTopWidth",s,!1,"0px")+" "+$(e,"borderTopStyle",s,!1,"solid")+" "+$(e,"borderTopColor",s,!1,"#000")),this.format(t),i,o)},color:!0,formatter:function(e){var t=e.split(" ");return t[0]+" "+(t[1]||"solid")+" "+(e.match(at)||["#000"])[0]}}),yt("borderWidth",{parser:lt("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),yt("float,cssFloat,styleFloat",{parser:function(e,t,n,r,i,s){var o=e.style,u="cssFloat"in o?"cssFloat":"styleFloat";return new dt(o,u,0,0,i,-1,n,!1,0,o[u],t)}});var Bt=function(e){var t=this.t,n=t.filter||$(this.data,"filter")||"",r=this.s+this.c*e|0,i;r===100&&(n.indexOf("atrix(")===-1&&n.indexOf("radient(")===-1&&n.indexOf("oader(")===-1?(t.removeAttribute("filter"),i=!$(this.data,"filter")):(t.filter=n.replace(m,""),i=!0));if(!i){this.xn1&&(t.filter=n=n||"alpha(opacity="+r+")");if(n.indexOf("pacity")===-1){if(r!==0||!this.xn1)t.filter=n+" alpha(opacity="+r+")"}else t.filter=n.replace(d,"opacity="+r)}};yt("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(e,t,n,r,i,o){var u=parseFloat($(e,"opacity",s,!1,"1")),a=e.style,f=n==="autoAlpha";return typeof t=="string"&&t.charAt(1)==="="&&(t=(t.charAt(0)==="-"?-1:1)*parseFloat(t.substr(2))+u),f&&u===1&&$(e,"visibility",s)==="hidden"&&t!==0&&(u=0),q?i=new dt(a,"opacity",u,t-u,i):(i=new dt(a,"opacity",u*100,(t-u)*100,i),i.xn1=f?1:0,a.zoom=1,i.type=2,i.b="alpha(opacity="+i.s+")",i.e="alpha(opacity="+(i.s+i.c)+")",i.data=e,i.plugin=o,i.setRatio=Bt),f&&(i=new dt(a,"visibility",0,0,i,-1,null,!1,0,u!==0?"inherit":"hidden",t===0?"hidden":"inherit"),i.xs0="inherit",r._overwriteProps.push(i.n),r._overwriteProps.push(n)),i}});var jt=function(e,t){t&&(e.removeProperty?(t.substr(0,2)==="ms"&&(t="M"+t.substr(1)),e.removeProperty(t.replace(y,"-$1").toLowerCase())):e.removeAttribute(t))},Ft=function(e){this.t._gsClassPT=this;if(e===1||e===0){this.t.setAttribute("class",e===0?this.b:this.e);var t=this.data,n=this.t.style;while(t)t.v?n[t.p]=t.v:jt(n,t.p),t=t._next;e===1&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};yt("className",{parser:function(e,t,n,i,o,u,a){var f=e.getAttribute("class")||"",l=e.style.cssText,c,h,p,d,v;o=i._classNamePT=new dt(e,n,0,0,o,2),o.setRatio=Ft,o.pr=-11,r=!0,o.b=f,h=Q(e,s),p=e._gsClassPT;if(p){d={},v=p.data;while(v)d[v.p]=1,v=v._next;p.setRatio(1)}return e._gsClassPT=o,o.e=t.charAt(1)!=="="?t:f.replace(new RegExp("\\s*\\b"+t.substr(2)+"\\b"),"")+(t.charAt(0)==="+"?" "+t.substr(2):""),i._tween._duration&&(e.setAttribute("class",o.e),c=G(e,h,Q(e),a,d),e.setAttribute("class",f),o.data=c.firstMPT,e.style.cssText=l,o=o.xfirst=i.parse(e,c.difs,o,u)),o}});var It=function(e){if(e===1||e===0)if(this.data._totalTime===this.data._totalDuration&&this.data.data!=="isFromStart"){var t=this.t.style,n=u.transform.parse,r,i,s,o;if(this.e==="all")t.cssText="",o=!0;else{r=this.e.split(" ").join("").split(","),s=r.length;while(--s>-1)i=r[s],u[i]&&(u[i].parse===n?o=!0:i=i==="transformOrigin"?xt:u[i].p),jt(t,i)}o&&(jt(t,Et),this.t._gsTransform&&delete this.t._gsTransform)}};yt("clearProps",{parser:function(e,t,n,i,s){return s=new dt(e,n,0,0,s,2),s.setRatio=It,s.e=t,s.pr=-10,s.data=i._tween,r=!0,s}}),a="bezier,throwProps,physicsProps,physics2D".split(","),mt=a.length;while(mt--)bt(a[mt]);a=n.prototype,a._firstPT=null,a._onInitTween=function(e,t,u){if(!e.nodeType)return!1;this._target=e,this._tween=u,this._vars=t,P=t.autoRound,r=!1,i=t.suffixMap||n.suffixMap,s=V(e,""),o=this._overwriteProps;var a=e.style,f,l,c,h,p,d,m,g,y;H&&a.zIndex===""&&(f=$(e,"zIndex",s),(f==="auto"||f==="")&&this._addLazySet(a,"zIndex",0)),typeof t=="string"&&(h=a.cssText,f=Q(e,s),a.cssText=h+";"+t,f=G(e,f,Q(e)).difs,!q&&v.test(t)&&(f.opacity=parseFloat(RegExp.$1)),t=f,a.cssText=h),this._firstPT=l=this.parse(e,t,null);if(this._transformType){y=this._transformType===3,Et?B&&(H=!0,a.zIndex===""&&(m=$(e,"zIndex",s),(m==="auto"||m==="")&&this._addLazySet(a,"zIndex",0)),F&&this._addLazySet(a,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(y?"visible":"hidden"))):a.zoom=1,c=l;while(c&&c._next)c=c._next;g=new dt(e,"transform",0,0,null,2),this._linkCSSP(g,null,c),g.setRatio=y&&Tt?Pt:Et?Ht:Dt,g.data=this._transform||_t(e,s,!0),o.pop()}if(r){while(l){d=l._next,c=h;while(c&&c.pr>l.pr)c=c._next;(l._prev=c?c._prev:p)?l._prev._next=l:h=l,(l._next=c)?c._prev=l:p=l,l=d}this._firstPT=h}return!0},a.parse=function(e,t,n,r){var o=e.style,a,f,l,c,h,d,v,m,y,b;for(a in t){d=t[a],f=u[a];if(f)n=f.parse(e,d,a,this,n,r,t);else{h=$(e,a,s)+"",y=typeof d=="string";if(a==="color"||a==="fill"||a==="stroke"||a.indexOf("Color")!==-1||y&&g.test(d))y||(d=ut(d),d=(d.length>3?"rgba(":"rgb(")+d.join(",")+")"),n=vt(o,a,h,d,!0,"transparent",n,0,r);else if(!y||d.indexOf(" ")===-1&&d.indexOf(",")===-1){l=parseFloat(h),v=l||l===0?h.substr((l+"").length):"";if(h===""||h==="auto")a==="width"||a==="height"?(l=et(e,a,s),v="px"):a==="left"||a==="top"?(l=K(e,a,s),v="px"):(l=a!=="opacity"?0:1,v="");b=y&&d.charAt(1)==="=",b?(c=parseInt(d.charAt(0)+"1",10),d=d.substr(2),c*=parseFloat(d),m=d.replace(p,"")):(c=parseFloat(d),m=y?d.substr((c+"").length)||"":""),m===""&&(m=a in i?i[a]:v),d=c||c===0?(b?c+l:c)+m:t[a],v!==m&&m!==""&&(c||c===0)&&l&&(l=J(e,a,l,v),m==="%"?(l/=J(e,a,100,"%")/100,t.strictUnits!==!0&&(h=l+"%")):m==="em"?l/=J(e,a,1,"em"):m!=="px"&&(c=J(e,a,c,m),m="px"),b&&(c||c===0)&&(d=c+l+m)),b&&(c+=l),!l&&l!==0||!c&&c!==0?o[a]===undefined||!d&&(d+""=="NaN"||d==null)?U("invalid "+a+" tween value: "+t[a]):(n=new dt(o,a,c||l||0,0,n,-1,a,!1,0,h,d),n.xs0=d!=="none"||a!=="display"&&a.indexOf("Style")===-1?d:h):(n=new dt(o,a,l,c-l,n,0,a,P!==!1&&(m==="px"||a==="zIndex"),0,h,d),n.xs0=m)}else n=vt(o,a,h,d,!0,null,n,0,r)}r&&n&&!n.plugin&&(n.plugin=r)}return n},a.setRatio=function(e){var t=this._firstPT,n=1e-6,r,i,s;if(e!==1||this._tween._time!==this._tween._duration&&this._tween._time!==0)if(e||this._tween._time!==this._tween._duration&&this._tween._time!==0||this._tween._rawPrevTime===-0.000001)while(t){r=t.c*e+t.s,t.r?r=Math.round(r):r<n&&r>-n&&(r=0);if(!t.type)t.t[t.p]=r+t.xs0;else if(t.type===1){s=t.l;if(s===2)t.t[t.p]=t.xs0+r+t.xs1+t.xn1+t.xs2;else if(s===3)t.t[t.p]=t.xs0+r+t.xs1+t.xn1+t.xs2+t.xn2+t.xs3;else if(s===4)t.t[t.p]=t.xs0+r+t.xs1+t.xn1+t.xs2+t.xn2+t.xs3+t.xn3+t.xs4;else if(s===5)t.t[t.p]=t.xs0+r+t.xs1+t.xn1+t.xs2+t.xn2+t.xs3+t.xn3+t.xs4+t.xn4+t.xs5;else{i=t.xs0+r+t.xs1;for(s=1;s<t.l;s++)i+=t["xn"+s]+t["xs"+(s+1)];t.t[t.p]=i}}else t.type===-1?t.t[t.p]=t.xs0:t.setRatio&&t.setRatio(e);t=t._next}else while(t)t.type!==2?t.t[t.p]=t.b:t.setRatio(e),t=t._next;else while(t)t.type!==2?t.t[t.p]=t.e:t.setRatio(e),t=t._next},a._enableTransforms=function(e){this._transform=this._transform||_t(this._target,s,!0),this._transformType=!!this._transform.svg&&!!kt||!e&&this._transformType!==3?2:3};var qt=function(e){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)};a._addLazySet=function(e,t,n){var r=this._firstPT=new dt(e,t,0,0,this._firstPT,2);r.e=n,r.setRatio=qt,r.data=this},a._linkCSSP=function(e,t,n,r){return e&&(t&&(t._prev=e),e._next&&(e._next._prev=e._prev),e._prev?e._prev._next=e._next:this._firstPT===e&&(this._firstPT=e._next,r=!0),n?n._next=e:!r&&this._firstPT===null&&(this._firstPT=e),e._next=t,e._prev=n),e},a._kill=function(t){var n=t,r,i,s;if(t.autoAlpha||t.alpha){n={};for(i in t)n[i]=t[i];n.opacity=1,n.autoAlpha&&(n.visibility=1)}return t.className&&(r=this._classNamePT)&&(s=r.xfirst,s&&s._prev?this._linkCSSP(s._prev,r._next,s._prev._prev):s===this._firstPT&&(this._firstPT=r._next),r._next&&this._linkCSSP(r._next,r._next._next,s._prev),this._classNamePT=null),e.prototype._kill.call(this,n)};var Rt=function(e,t,n){var r,i,s,o;if(e.slice){i=e.length;while(--i>-1)Rt(e[i],t,n);return}r=e.childNodes,i=r.length;while(--i>-1)s=r[i],o=s.type,s.style&&(t.push(Q(s)),n&&n.push(s)),(o===1||o===9||o===11)&&s.childNodes.length&&Rt(s,t,n)};return n.cascadeTo=function(e,n,r){var i=t.to(e,n,r),s=[i],o=[],u=[],a=[],f=t._internals.reservedProps,l,c,h;e=i._targets||i.target,Rt(e,o,a),i.render(n,!0),Rt(e,u),i.render(0,!0),i._enabled(!0),l=a.length;while(--l>-1){c=G(a[l],o[l],u[l]);if(c.firstMPT){c=c.difs;for(h in r)f[h]&&(c[h]=r[h]);s.push(t.to(a[l],n,c))}}return s},e.activate([n]),n},!0),function(){var e=_gsScope._gsDefine.plugin({propName:"roundProps",priority:-1,API:2,init:function(e,t,n){return this._tween=n,!0}}),t=e.prototype;t._onInitAllProps=function(){var e=this._tween,t=e.vars.roundProps instanceof Array?e.vars.roundProps:e.vars.roundProps.split(","),n=t.length,r={},i=e._propLookup.roundProps,s,o,u;while(--n>-1)r[t[n]]=1;n=t.length;while(--n>-1){s=t[n],o=e._firstPT;while(o)u=o._next,o.pg?o.t._roundProps(r,!0):o.n===s&&(this._add(o.t,s,o.s,o.c),u&&(u._prev=o._prev),o._prev?o._prev._next=u:e._firstPT===o&&(e._firstPT=u),o._next=o._prev=null,e._propLookup[s]=i),o=u}return!1},t._add=function(e,t,n,r){this._addTween(e,t,n,n+r,t,!0),this._overwriteProps.push(t)}}(),_gsScope._gsDefine.plugin({propName:"attr",API:2,version:"0.3.3",init:function(e,t,n){var r,i,s;if(typeof e.setAttribute!="function")return!1;this._target=e,this._proxy={},this._start={},this._end={};for(r in t)this._start[r]=this._proxy[r]=i=e.getAttribute(r),s=this._addTween(this._proxy,r,parseFloat(i),t[r],r),this._end[r]=s?s.s+s.c:t[r],this._overwriteProps.push(r);return!0},set:function(e){this._super.setRatio.call(this,e);var t=this._overwriteProps,n=t.length,r=e===1?this._end:e?this._proxy:this._start,i;while(--n>-1)i=t[n],this._target.setAttribute(i,r[i]+"")}}),_gsScope._gsDefine.plugin({propName:"directionalRotation",version:"0.2.1",API:2,init:function(e,t,n){typeof t!="object"&&(t={rotation:t}),this.finals={};var r=t.useRadians===!0?Math.PI*2:360,i=1e-6,s,o,u,a,f,l;for(s in t)if(s!=="useRadians"){l=(t[s]+"").split("_"),o=l[0],u=parseFloat(typeof e[s]!="function"?e[s]:e[s.indexOf("set")||typeof e["get"+s.substr(3)]!="function"?s:"get"+s.substr(3)]()),a=this.finals[s]=typeof o=="string"&&o.charAt(1)==="="?u+parseInt(o.charAt(0)+"1",10)*Number(o.substr(2)):Number(o)||0,f=a-u,l.length&&(o=l.join("_"),o.indexOf("short")!==-1&&(f%=r,f!==f%(r/2)&&(f=f<0?f+r:f-r)),o.indexOf("_cw")!==-1&&f<0?f=(f+r*9999999999)%r-(f/r|0)*r:o.indexOf("ccw")!==-1&&f>0&&(f=(f-r*9999999999)%r-(f/r|0)*r));if(f>i||f<-i)this._addTween(e,s,u,u+f,s),this._overwriteProps.push(s)}return!0},set:function(e){var t;if(e!==1)this._super.setRatio.call(this,e);else{t=this._firstPT;while(t)t.f?t.t[t.p](this.finals[t.p]):t.t[t.p]=this.finals[t.p],t=t._next}}})._autoCSS=!0,_gsScope._gsDefine("easing.Back",["easing.Ease"],function(e){var t=_gsScope.GreenSockGlobals||_gsScope,n=t.com.greensock,r=Math.PI*2,i=Math.PI/2,s=n._class,o=function(t,n){var r=s("easing."+t,function(){},!0),i=r.prototype=new e;return i.constructor=r,i.getRatio=n,r},u=e.register||function(){},a=function(e,t,n,r,i){var o=s("easing."+e,{easeOut:new t,easeIn:new n,easeInOut:new r},!0);return u(o,e),o},f=function(e,t,n){this.t=e,this.v=t,n&&(this.next=n,n.prev=this,this.c=n.v-t,this.gap=n.t-e)},l=function(t,n){var r=s("easing."+t,function(e){this._p1=e||e===0?e:1.70158,this._p2=this._p1*1.525},!0),i=r.prototype=new e;return i.constructor=r,i.getRatio=n,i.config=function(e){return new r(e)},r},c=a("Back",l("BackOut",function(e){return(e-=1)*e*((this._p1+1)*e+this._p1)+1}),l("BackIn",function(e){return e*e*((this._p1+1)*e-this._p1)}),l("BackInOut",function(e){return(e*=2)<1?.5*e*e*((this._p2+1)*e-this._p2):.5*((e-=2)*e*((this._p2+1)*e+this._p2)+2)})),h=s("easing.SlowMo",function(e,t,n){t=t||t===0?t:.7,e==null?e=.7:e>1&&(e=1),this._p=e!==1?t:0,this._p1=(1-e)/2,this._p2=e,this._p3=this._p1+this._p2,this._calcEnd=n===!0},!0),p=h.prototype=new e,d,v,m;return p.constructor=h,p.getRatio=function(e){var t=e+(.5-e)*this._p;return e<this._p1?this._calcEnd?1-(e=1-e/this._p1)*e:t-(e=1-e/this._p1)*e*e*e*t:e>this._p3?this._calcEnd?1-(e=(e-this._p3)/this._p1)*e:t+(e-t)*(e=(e-this._p3)/this._p1)*e*e*e:this._calcEnd?1:t},h.ease=new h(.7,.7),p.config=h.config=function(e,t,n){return new h(e,t,n)},d=s("easing.SteppedEase",function(e){e=e||1,this._p1=1/e,this._p2=e+1},!0),p=d.prototype=new e,p.constructor=d,p.getRatio=function(e){return e<0?e=0:e>=1&&(e=.999999999),(this._p2*e>>0)*this._p1},p.config=d.config=function(e){return new d(e)},v=s("easing.RoughEase",function(t){t=t||{};var n=t.taper||"none",r=[],i=0,s=(t.points||20)|0,o=s,u=t.randomize!==!1,a=t.clamp===!0,l=t.template instanceof e?t.template:null,c=typeof t.strength=="number"?t.strength*.4:.4,h,p,d,v,m,g;while(--o>-1)h=u?Math.random():1/s*o,p=l?l.getRatio(h):h,n==="none"?d=c:n==="out"?(v=1-h,d=v*v*c):n==="in"?d=h*h*c:h<.5?(v=h*2,d=v*v*.5*c):(v=(1-h)*2,d=v*v*.5*c),u?p+=Math.random()*d-d*.5:o%2?p+=d*.5:p-=d*.5,a&&(p>1?p=1:p<0&&(p=0)),r[i++]={x:h,y:p};r.sort(function(e,t){return e.x-t.x}),g=new f(1,1,null),o=s;while(--o>-1)m=r[o],g=new f(m.x,m.y,g);this._prev=new f(0,0,g.t!==0?g:g.next)},!0),p=v.prototype=new e,p.constructor=v,p.getRatio=function(e){var t=this._prev;if(e>t.t){while(t.next&&e>=t.t)t=t.next;t=t.prev}else while(t.prev&&e<=t.t)t=t.prev;return this._prev=t,t.v+(e-t.t)/t.gap*t.c},p.config=function(e){return new v(e)},v.ease=new v,a("Bounce",o("BounceOut",function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375}),o("BounceIn",function(e){return(e=1-e)<1/2.75?1-7.5625*e*e:e<2/2.75?1-(7.5625*(e-=1.5/2.75)*e+.75):e<2.5/2.75?1-(7.5625*(e-=2.25/2.75)*e+.9375):1-(7.5625*(e-=2.625/2.75)*e+.984375)}),o("BounceInOut",function(e){var t=e<.5;return t?e=1-e*2:e=e*2-1,e<1/2.75?e=7.5625*e*e:e<2/2.75?e=7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?e=7.5625*(e-=2.25/2.75)*e+.9375:e=7.5625*(e-=2.625/2.75)*e+.984375,t?(1-e)*.5:e*.5+.5})),a("Circ",o("CircOut",function(e){return Math.sqrt(1-(e-=1)*e)}),o("CircIn",function(e){return-(Math.sqrt(1-e*e)-1)}),o("CircInOut",function(e){return(e*=2)<1?-0.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)})),m=function(t,n,i){var o=s("easing."+t,function(e,t){this._p1=e||1,this._p2=t||i,this._p3=this._p2/r*(Math.asin(1/this._p1)||0)},!0),u=o.prototype=new e;return u.constructor=o,u.getRatio=n,u.config=function(e,t){return new o(e,t)},o},a("Elastic",m("ElasticOut",function(e){return this._p1*Math.pow(2,-10*e)*Math.sin((e-this._p3)*r/this._p2)+1},.3),m("ElasticIn",function(e){return-(this._p1*Math.pow(2,10*(e-=1))*Math.sin((e-this._p3)*r/this._p2))},.3),m("ElasticInOut",function(e){return(e*=2)<1?-0.5*this._p1*Math.pow(2,10*(e-=1))*Math.sin((e-this._p3)*r/this._p2):this._p1*Math.pow(2,-10*(e-=1))*Math.sin((e-this._p3)*r/this._p2)*.5+1},.45)),a("Expo",o("ExpoOut",function(e){return 1-Math.pow(2,-10*e)}),o("ExpoIn",function(e){return Math.pow(2,10*(e-1))-.001}),o("ExpoInOut",function(e){return(e*=2)<1?.5*Math.pow(2,10*(e-1)):.5*(2-Math.pow(2,-10*(e-1)))})),a("Sine",o("SineOut",function(e){return Math.sin(e*i)}),o("SineIn",function(e){return-Math.cos(e*i)+1}),o("SineInOut",function(e){return-0.5*(Math.cos(Math.PI*e)-1)})),s("easing.EaseLookup",{find:function(t){return e.map[t]}},!0),u(t.SlowMo,"SlowMo","ease,"),u(v,"RoughEase","ease,"),u(d,"SteppedEase","ease,"),c},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(e,t){var n=e.GreenSockGlobals=e.GreenSockGlobals||e;if(n.TweenLite)return;var r=function(e){var t=e.split("."),r=n,i;for(i=0;i<t.length;i++)r[t[i]]=r=r[t[i]]||{};return r},i=r("com.greensock"),s=1e-10,o=function(e){var t=[],n=e.length,r;for(r=0;r!==n;t.push(e[r++]));return t},u=function(){},a=function(){var e=Object.prototype.toString,t=e.call([]);return function(n){return n!=null&&(n instanceof Array||typeof n=="object"&&!!n.push&&e.call(n)===t)}}(),f,l,c,h,p,d={},v=function(i,s,o,u){this.sc=d[i]?d[i].sc:[],d[i]=this,this.gsClass=null,this.func=o;var a=[];this.check=function(f){var l=s.length,c=l,h,p,m,g;while(--l>-1)(h=d[s[l]]||new v(s[l],[])).gsClass?(a[l]=h.gsClass,c--):f&&h.sc.push(this);if(c===0&&o){p=("com.greensock."+i).split("."),m=p.pop(),g=r(p.join("."))[m]=this.gsClass=o.apply(o,a),u&&(n[m]=g,typeof define=="function"&&define.amd?define((e.GreenSockAMDPath?e.GreenSockAMDPath+"/":"")+i.split(".").pop(),[],function(){return g}):i===t&&typeof module!="undefined"&&module.exports&&(module.exports=g));for(l=0;l<this.sc.length;l++)this.sc[l].check()}},this.check(!0)},m=e._gsDefine=function(e,t,n,r){return new v(e,t,n,r)},g=i._class=function(e,t,n){return t=t||function(){},m(e,[],function(){return t},n),t};m.globals=n;var y=[0,0,1,1],b=[],w=g("easing.Ease",function(e,t,n,r){this._func=e,this._type=n||0,this._power=r||0,this._params=t?y.concat(t):y},!0),E=w.map={},S=w.register=function(e,t,n,r){var s=t.split(","),o=s.length,u=(n||"easeIn,easeOut,easeInOut").split(","),a,f,l,c;while(--o>-1){f=s[o],a=r?g("easing."+f,null,!0):i.easing[f]||{},l=u.length;while(--l>-1)c=u[l],E[f+"."+c]=E[c+f]=a[c]=e.getRatio?e:e[c]||new e}};c=w.prototype,c._calcEnd=!1,c.getRatio=function(e){if(this._func)return this._params[0]=e,this._func.apply(null,this._params);var t=this._type,n=this._power,r=t===1?1-e:t===2?e:e<.5?e*2:(1-e)*2;return n===1?r*=r:n===2?r*=r*r:n===3?r*=r*r*r:n===4&&(r*=r*r*r*r),t===1?1-r:t===2?r:e<.5?r/2:1-r/2},f=["Linear","Quad","Cubic","Quart","Quint,Strong"],l=f.length;while(--l>-1)c=f[l]+",Power"+l,S(new w(null,null,1,l),c,"easeOut",!0),S(new w(null,null,2,l),c,"easeIn"+(l===0?",easeNone":"")),S(new w(null,null,3,l),c,"easeInOut");E.linear=i.easing.Linear.easeIn,E.swing=i.easing.Quad.easeInOut;var x=g("events.EventDispatcher",function(e){this._listeners={},this._eventTarget=e||this});c=x.prototype,c.addEventListener=function(e,t,n,r,i){i=i||0;var s=this._listeners[e],o=0,u,a;s==null&&(this._listeners[e]=s=[]),a=s.length;while(--a>-1)u=s[a],u.c===t&&u.s===n?s.splice(a,1):o===0&&u.pr<i&&(o=a+1);s.splice(o,0,{c:t,s:n,up:r,pr:i}),this===h&&!p&&h.wake()},c.removeEventListener=function(e,t){var n=this._listeners[e],r;if(n){r=n.length;while(--r>-1)if(n[r].c===t){n.splice(r,1);return}}},c.dispatchEvent=function(e){var t=this._listeners[e],n,r,i;if(t){n=t.length,r=this._eventTarget;while(--n>-1)i=t[n],i&&(i.up?i.c.call(i.s||r,{type:e,target:r}):i.c.call(i.s||r))}};var T=e.requestAnimationFrame,N=e.cancelAnimationFrame,C=Date.now||function(){return(new Date).getTime()},k=C();f=["ms","moz","webkit","o"],l=f.length;while(--l>-1&&!T)T=e[f[l]+"RequestAnimationFrame"],N=e[f[l]+"CancelAnimationFrame"]||e[f[l]+"CancelRequestAnimationFrame"];g("Ticker",function(e,t){var n=this,r=C(),i=t!==!1&&T,o=500,a=33,f,l,c,d,v,m=function(e){var t=C()-k,i,s;t>o&&(r+=t-a),k+=t,n.time=(k-r)/1e3,i=n.time-v;if(!f||i>0||e===!0)n.frame++,v+=i+(i>=d?.004:d-i),s=!0;e!==!0&&(c=l(m)),s&&n.dispatchEvent("tick")};x.call(n),n.time=n.frame=0,n.tick=function(){m(!0)},n.lagSmoothing=function(e,t){o=e||1/s,a=Math.min(t,o,0)},n.sleep=function(){if(c==null)return;!i||!N?clearTimeout(c):N(c),l=u,c=null,n===h&&(p=!1)},n.wake=function(){c!==null?n.sleep():n.frame>10&&(k=C()-o+5),l=f===0?u:!i||!T?function(e){return setTimeout(e,(v-n.time)*1e3+1|0)}:T,n===h&&(p=!0),m(2)},n.fps=function(e){if(!arguments.length)return f;f=e,d=1/(f||60),v=this.time+d,n.wake()},n.useRAF=function(e){if(!arguments.length)return i;n.sleep(),i=e,n.fps(f)},n.fps(e),setTimeout(function(){i&&(!c||n.frame<5)&&n.useRAF(!1)},1500)}),c=i.Ticker.prototype=new i.events.EventDispatcher,c.constructor=i.Ticker;var L=g("core.Animation",function(e,t){this.vars=t=t||{},this._duration=this._totalDuration=e||0,this._delay=Number(t.delay)||0,this._timeScale=1,this._active=t.immediateRender===!0,this.data=t.data,this._reversed=t.reversed===!0;if(!z)return;p||h.wake();var n=this.vars.useFrames?U:z;n.add(this,n._time),this.vars.paused&&this.paused(!0)});h=L.ticker=new i.Ticker,c=L.prototype,c._dirty=c._gc=c._initted=c._paused=!1,c._totalTime=c._time=0,c._rawPrevTime=-1,c._next=c._last=c._onUpdate=c._timeline=c.timeline=null,c._paused=!1;var A=function(){p&&C()-k>2e3&&h.wake(),setTimeout(A,2e3)};A(),c.play=function(e,t){return e!=null&&this.seek(e,t),this.reversed(!1).paused(!1)},c.pause=function(e,t){return e!=null&&this.seek(e,t),this.paused(!0)},c.resume=function(e,t){return e!=null&&this.seek(e,t),this.paused(!1)},c.seek=function(e,t){return this.totalTime(Number(e),t!==!1)},c.restart=function(e,t){return this.reversed(!1).paused(!1).totalTime(e?-this._delay:0,t!==!1,!0)},c.reverse=function(e,t){return e!=null&&this.seek(e||this.totalDuration(),t),this.reversed(!0).paused(!1)},c.render=function(e,t,n){},c.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,(this._gc||!this.timeline)&&this._enabled(!0),this},c.isActive=function(){var e=this._timeline,t=this._startTime,n;return!e||!this._gc&&!this._paused&&e.isActive()&&(n=e.rawTime())>=t&&n<t+this.totalDuration()/this._timeScale},c._enabled=function(e,t){return p||h.wake(),this._gc=!e,this._active=this.isActive(),t!==!0&&(e&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!e&&this.timeline&&this._timeline._remove(this,!0)),!1},c._kill=function(e,t){return this._enabled(!1,!1)},c.kill=function(e,t){return this._kill(e,t),this},c._uncache=function(e){var t=e?this:this.timeline;while(t)t._dirty=!0,t=t.timeline;return this},c._swapSelfInParams=function(e){var t=e.length,n=e.concat();while(--t>-1)e[t]==="{self}"&&(n[t]=this);return n},c.eventCallback=function(e,t,n,r){if((e||"").substr(0,2)==="on"){var i=this.vars;if(arguments.length===1)return i[e];t==null?delete i[e]:(i[e]=t,i[e+"Params"]=a(n)&&n.join("").indexOf("{self}")!==-1?this._swapSelfInParams(n):n,i[e+"Scope"]=r),e==="onUpdate"&&(this._onUpdate=t)}return this},c.delay=function(e){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+e-this._delay),this._delay=e,this):this._delay},c.duration=function(e){return arguments.length?(this._duration=this._totalDuration=e,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._time<this._duration&&e!==0&&this.totalTime(this._totalTime*(e/this._duration),!0),this):(this._dirty=!1,this._duration)},c.totalDuration=function(e){return this._dirty=!1,arguments.length?this.duration(e):this._totalDuration},c.time=function(e,t){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(e>this._duration?this._duration:e,t)):this._time},c.totalTime=function(e,t,n){p||h.wake();if(!arguments.length)return this._totalTime;if(this._timeline){e<0&&!n&&(e+=this.totalDuration());if(this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var r=this._totalDuration,i=this._timeline;e>r&&!n&&(e=r),this._startTime=(this._paused?this._pauseTime:i._time)-(this._reversed?r-e:e)/this._timeScale,i._dirty||this._uncache(!1);if(i._timeline)while(i._timeline)i._timeline._time!==(i._startTime+i._totalTime)/i._timeScale&&i.totalTime(i._totalTime,!0),i=i._timeline}this._gc&&this._enabled(!0,!1);if(this._totalTime!==e||this._duration===0)this.render(e,t,!1),P.length&&W()}return this},c.progress=c.totalProgress=function(e,t){return arguments.length?this.totalTime(this.duration()*e,t):this._time/this.duration()},c.startTime=function(e){return arguments.length?(e!==this._startTime&&(this._startTime=e,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,e-this._delay)),this):this._startTime},c.endTime=function(e){return this._startTime+(e!=0?this.totalDuration():this.duration())/this._timeScale},c.timeScale=function(e){if(!arguments.length)return this._timeScale;e=e||s;if(this._timeline&&this._timeline.smoothChildTiming){var t=this._pauseTime,n=t||t===0?t:this._timeline.totalTime();this._startTime=n-(n-this._startTime)*this._timeScale/e}return this._timeScale=e,this._uncache(!1)},c.reversed=function(e){return arguments.length?(e!=this._reversed&&(this._reversed=e,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},c.paused=function(e){if(!arguments.length)return this._paused;if(e!=this._paused&&this._timeline){!p&&!e&&h.wake();var t=this._timeline,n=t.rawTime(),r=n-this._pauseTime;!e&&t.smoothChildTiming&&(this._startTime+=r,this._uncache(!1)),this._pauseTime=e?n:null,this._paused=e,this._active=this.isActive(),!e&&r!==0&&this._initted&&this.duration()&&this.render(t.smoothChildTiming?this._totalTime:(n-this._startTime)/this._timeScale,!0,!0)}return this._gc&&!e&&this._enabled(!0,!1),this};var O=g("core.SimpleTimeline",function(e){L.call(this,0,e),this.autoRemoveChildren=this.smoothChildTiming=!0});c=O.prototype=new L,c.constructor=O,c.kill()._gc=!1,c._first=c._last=c._recent=null,c._sortChildren=!1,c.add=c.insert=function(e,t,n,r){var i,s;e._startTime=Number(t||0)+e._delay,e._paused&&this!==e._timeline&&(e._pauseTime=e._startTime+(this.rawTime()-e._startTime)/e._timeScale),e.timeline&&e.timeline._remove(e,!0),e.timeline=e._timeline=this,e._gc&&e._enabled(!0,!0),i=this._last;if(this._sortChildren){s=e._startTime;while(i&&i._startTime>s)i=i._prev}return i?(e._next=i._next,i._next=e):(e._next=this._first,this._first=e),e._next?e._next._prev=e:this._last=e,e._prev=i,this._recent=e,this._timeline&&this._uncache(!0),this},c._remove=function(e,t){return e.timeline===this&&(t||e._enabled(!1,!0),e._prev?e._prev._next=e._next:this._first===e&&(this._first=e._next),e._next?e._next._prev=e._prev:this._last===e&&(this._last=e._prev),e._next=e._prev=e.timeline=null,e===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},c.render=function(e,t,n){var r=this._first,i;this._totalTime=this._time=this._rawPrevTime=e;while(r){i=r._next;if(r._active||e>=r._startTime&&!r._paused)r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(e-r._startTime)*r._timeScale,t,n):r.render((e-r._startTime)*r._timeScale,t,n);r=i}},c.rawTime=function(){return p||h.wake(),this._totalTime};var M=g("TweenLite",function(t,n,r){L.call(this,n,r),this.render=M.prototype.render;if(t==null)throw"Cannot tween a null target.";this.target=t=typeof t!="string"?t:M.selector(t)||t;var i=t.jquery||t.length&&t!==e&&t[0]&&(t[0]===e||t[0].nodeType&&t[0].style&&!t.nodeType),u=this.vars.overwrite,f,l,c;this._overwrite=u=u==null?R[M.defaultOverwrite]:typeof u=="number"?u>>0:R[u];if((i||t instanceof Array||t.push&&a(t))&&typeof t[0]!="number"){this._targets=c=o(t),this._propLookup=[],this._siblings=[];for(f=0;f<c.length;f++){l=c[f];if(!l){c.splice(f--,1);continue}if(typeof l=="string"){l=c[f--]=M.selector(l),typeof l=="string"&&c.splice(f+1,1);continue}if(l.length&&l!==e&&l[0]&&(l[0]===e||l[0].nodeType&&l[0].style&&!l.nodeType)){c.splice(f--,1),this._targets=c=c.concat(o(l));continue}this._siblings[f]=X(l,this,!1),u===1&&this._siblings[f].length>1&&$(l,this,null,1,this._siblings[f])}}else this._propLookup={},this._siblings=X(t,this,!1),u===1&&this._siblings.length>1&&$(t,this,null,1,this._siblings);if(this.vars.immediateRender||n===0&&this._delay===0&&this.vars.immediateRender!==!1)this._time=-s,this.render(-this._delay)},!0),_=function(t){return t&&t.length&&t!==e&&t[0]&&(t[0]===e||t[0].nodeType&&t[0].style&&!t.nodeType)},D=function(e,t){var n={},r;for(r in e)!q[r]&&(!(r in t)||r==="transform"||r==="x"||r==="y"||r==="width"||r==="height"||r==="className"||r==="border")&&(!j[r]||j[r]&&j[r]._autoCSS)&&(n[r]=e[r],delete e[r]);e.css=n};c=M.prototype=new L,c.constructor=M,c.kill()._gc=!1,c.ratio=0,c._firstPT=c._targets=c._overwrittenProps=c._startAt=null,c._notifyPluginsOfEnabled=c._lazy=!1,M.version="1.14.2",M.defaultEase=c._ease=new w(null,null,1,1),M.defaultOverwrite="auto",M.ticker=h,M.autoSleep=!0,M.lagSmoothing=function(e,t){h.lagSmoothing(e,t)},M.selector=e.$||e.jQuery||function(t){var n=e.$||e.jQuery;return n?(M.selector=n,n(t)):typeof document=="undefined"?t:document.querySelectorAll?document.querySelectorAll(t):document.getElementById(t.charAt(0)==="#"?t.substr(1):t)};var P=[],H={},B=M._internals={isArray:a,isSelector:_,lazyTweens:P},j=M._plugins={},F=B.tweenLookup={},I=0,q=B.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1,onOverwrite:1},R={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,"true":1,"false":0},U=L._rootFramesTimeline=new O,z=L._rootTimeline=new O,W=B.lazyRender=function(){var e=P.length,t;H={};while(--e>-1)t=P[e],t&&t._lazy!==!1&&(t.render(t._lazy[0],t._lazy[1],!0),t._lazy=!1);P.length=0};z._startTime=h.time,U._startTime=h.frame,z._active=U._active=!0,setTimeout(W,1),L._updateRoot=M.render=function(){var e,t,n;P.length&&W(),z.render((h.time-z._startTime)*z._timeScale,!1,!1),U.render((h.frame-U._startTime)*U._timeScale,!1,!1),P.length&&W();if(!(h.frame%120)){for(n in F){t=F[n].tweens,e=t.length;while(--e>-1)t[e]._gc&&t.splice(e,1);t.length===0&&delete F[n]}n=z._first;if(!n||n._paused)if(M.autoSleep&&!U._first&&h._listeners.tick.length===1){while(n&&n._paused)n=n._next;n||h.sleep()}}},h.addEventListener("tick",L._updateRoot);var X=function(e,t,n){var r=e._gsTweenID,i,s;F[r||(e._gsTweenID=r="t"+I++)]||(F[r]={target:e,tweens:[]});if(t){i=F[r].tweens,i[s=i.length]=t;if(n)while(--s>-1)i[s]===t&&i.splice(s,1)}return F[r].tweens},V=function(e,t,n,r){var i=e.vars.onOverwrite,s,o;return i&&(s=i(e,t,n,r)),i=M.onOverwrite,i&&(o=i(e,t,n,r)),s!==!1&&o!==!1},$=function(e,t,n,r,i){var o,u,a,f;if(r===1||r>=4){f=i.length;for(o=0;o<f;o++)if((a=i[o])!==t)a._gc||V(a,t)&&a._enabled(!1,!1)&&(u=!0);else if(r===5)break;return u}var l=t._startTime+s,c=[],h=0,p=t._duration===0,d;o=i.length;while(--o>-1)(a=i[o])!==t&&!a._gc&&!a._paused&&(a._timeline!==t._timeline?(d=d||J(t,0,p),J(a,d,p)===0&&(c[h++]=a)):a._startTime<=l&&a._startTime+a.totalDuration()/a._timeScale>l&&((p||!a._initted)&&l-a._startTime<=2e-10||(c[h++]=a)));o=h;while(--o>-1){a=c[o],r===2&&a._kill(n,e,t)&&(u=!0);if(r!==2||!a._firstPT&&a._initted){if(r!==2&&!V(a,t))continue;a._enabled(!1,!1)&&(u=!0)}}return u},J=function(e,t,n){var r=e._timeline,i=r._timeScale,o=e._startTime;while(r._timeline){o+=r._startTime,i*=r._timeScale;if(r._paused)return-100;r=r._timeline}return o/=i,o>t?o-t:n&&o===t||!e._initted&&o-t<2*s?s:(o+=e.totalDuration()/e._timeScale/i)>t+s?0:o-t-s};c._init=function(){var e=this.vars,t=this._overwrittenProps,n=this._duration,r=!!e.immediateRender,i=e.ease,s,o,u,a,f;if(e.startAt){this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),f={};for(a in e.startAt)f[a]=e.startAt[a];f.overwrite=!1,f.immediateRender=!0,f.lazy=r&&e.lazy!==!1,f.startAt=f.delay=null,this._startAt=M.to(this.target,0,f);if(r)if(this._time>0)this._startAt=null;else if(n!==0)return}else if(e.runBackwards&&n!==0)if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill(),this._startAt=null;else{this._time!==0&&(r=!1),u={};for(a in e)if(!q[a]||a==="autoCSS")u[a]=e[a];u.overwrite=0,u.data="isFromStart",u.lazy=r&&e.lazy!==!1,u.immediateRender=r,this._startAt=M.to(this.target,0,u);if(!r)this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null);else if(this._time===0)return}this._ease=i=i?i instanceof w?i:typeof i=="function"?new w(i,e.easeParams):E[i]||M.defaultEase:M.defaultEase,e.easeParams instanceof Array&&i.config&&(this._ease=i.config.apply(i,e.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null;if(this._targets){s=this._targets.length;while(--s>-1)this._initProps(this._targets[s],this._propLookup[s]={},this._siblings[s],t?t[s]:null)&&(o=!0)}else o=this._initProps(this.target,this._propLookup,this._siblings,t);o&&M._onPluginEvent("_onInitAllProps",this),t&&(this._firstPT||typeof this.target!="function"&&this._enabled(!1,!1));if(e.runBackwards){u=this._firstPT;while(u)u.s+=u.c,u.c=-u.c,u=u._next}this._onUpdate=e.onUpdate,this._initted=!0},c._initProps=function(t,n,r,i){var s,o,u,f,l,c;if(t==null)return!1;H[t._gsTweenID]&&W(),this.vars.css||t.style&&t!==e&&t.nodeType&&j.css&&this.vars.autoCSS!==!1&&D(this.vars,t);for(s in this.vars){c=this.vars[s];if(q[s])c&&(c instanceof Array||c.push&&a(c))&&c.join("").indexOf("{self}")!==-1&&(this.vars[s]=c=this._swapSelfInParams(c,this));else if(j[s]&&(f=new j[s])._onInitTween(t,this.vars[s],this)){this._firstPT=l={_next:this._firstPT,t:f,p:"setRatio",s:0,c:1,f:!0,n:s,pg:!0,pr:f._priority},o=f._overwriteProps.length;while(--o>-1)n[f._overwriteProps[o]]=this._firstPT;if(f._priority||f._onInitAllProps)u=!0;if(f._onDisable||f._onEnable)this._notifyPluginsOfEnabled=!0}else this._firstPT=n[s]=l={_next:this._firstPT,t:t,p:s,f:typeof t[s]=="function",n:s,pg:!1,pr:0},l.s=l.f?t[s.indexOf("set")||typeof t["get"+s.substr(3)]!="function"?s:"get"+s.substr(3)]():parseFloat(t[s]),l.c=typeof c=="string"&&c.charAt(1)==="="?parseInt(c.charAt(0)+"1",10)*Number(c.substr(2)):Number(c)-l.s||0;l&&l._next&&(l._next._prev=l)}return i&&this._kill(i,t)?this._initProps(t,n,r,i):this._overwrite>1&&this._firstPT&&r.length>1&&$(t,this,n,this._overwrite,r)?(this._kill(n,t),this._initProps(t,n,r,i)):(this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration)&&(H[t._gsTweenID]=!0),u)},c.render=function(e,t,n){var r=this._time,i=this._duration,o=this._rawPrevTime,u,a,f,l;if(e>=i)this._totalTime=this._time=i,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(u=!0,a="onComplete"),i===0&&(this._initted||!this.vars.lazy||n)&&(this._startTime===this._timeline._duration&&(e=0),(e===0||o<0||o===s)&&o!==e&&(n=!0,o>s&&(a="onReverseComplete")),this._rawPrevTime=l=!t||e||o===e?e:s);else if(e<1e-7){this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0;if(r!==0||i===0&&o>0&&o!==s)a="onReverseComplete",u=this._reversed;e<0&&(this._active=!1,i===0&&(this._initted||!this.vars.lazy||n)&&(o>=0&&(n=!0),this._rawPrevTime=l=!t||e||o===e?e:s)),this._initted||(n=!0)}else{this._totalTime=this._time=e;if(this._easeType){var c=e/i,h=this._easeType,p=this._easePower;if(h===1||h===3&&c>=.5)c=1-c;h===3&&(c*=2),p===1?c*=c:p===2?c*=c*c:p===3?c*=c*c*c:p===4&&(c*=c*c*c*c),h===1?this.ratio=1-c:h===2?this.ratio=c:e/i<.5?this.ratio=c/2:this.ratio=1-c/2}else this.ratio=this._ease.getRatio(e/i)}if(this._time===r&&!n)return;if(!this._initted){this._init();if(!this._initted||this._gc)return;if(!n&&this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration)){this._time=this._totalTime=r,this._rawPrevTime=o,P.push(this),this._lazy=[e,t];return}this._time&&!u?this.ratio=this._ease.getRatio(this._time/i):u&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(this._time===0?0:1))}this._lazy!==!1&&(this._lazy=!1),this._active||!this._paused&&this._time!==r&&e>=0&&(this._active=!0),r===0&&(this._startAt&&(e>=0?this._startAt.render(e,t,n):a||(a="_dummyGS")),this.vars.onStart&&(this._time!==0||i===0)&&(t||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||b))),f=this._firstPT;while(f)f.f?f.t[f.p](f.c*this.ratio+f.s):f.t[f.p]=f.c*this.ratio+f.s,f=f._next;this._onUpdate&&(e<0&&this._startAt&&e!==-0.0001&&this._startAt.render(e,t,n),t||(this._time!==r||u)&&this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||b)),a&&(!this._gc||n)&&(e<0&&this._startAt&&!this._onUpdate&&e!==-0.0001&&this._startAt.render(e,t,n),u&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!t&&this.vars[a]&&this.vars[a].apply(this.vars[a+"Scope"]||this,this.vars[a+"Params"]||b),i===0&&this._rawPrevTime===s&&l!==s&&(this._rawPrevTime=0))},c._kill=function(e,t,n){e==="all"&&(e=null);if(e==null)if(t==null||t===this.target)return this._lazy=!1,this._enabled(!1,!1);t=typeof t!="string"?t||this._targets||this.target:M.selector(t)||t;var r,i,s,o,u,f,l,c,h;if((a(t)||_(t))&&typeof t[0]!="number"){r=t.length;while(--r>-1)this._kill(e,t[r])&&(f=!0)}else{if(this._targets){r=this._targets.length;while(--r>-1)if(t===this._targets[r]){u=this._propLookup[r]||{},this._overwrittenProps=this._overwrittenProps||[],i=this._overwrittenProps[r]=e?this._overwrittenProps[r]||{}:"all";break}}else{if(t!==this.target)return!1;u=this._propLookup,i=this._overwrittenProps=e?this._overwrittenProps||{}:"all"}if(u){l=e||u,c=e!==i&&i!=="all"&&e!==u&&(typeof e!="object"||!e._tempKill);if(n&&(M.onOverwrite||this.vars.onOverwrite)){for(s in l)u[s]&&(h||(h=[]),h.push(s));if(!V(this,n,t,h))return!1}for(s in l){if(o=u[s]){o.pg&&o.t._kill(l)&&(f=!0);if(!o.pg||o.t._overwriteProps.length===0)o._prev?o._prev._next=o._next:o===this._firstPT&&(this._firstPT=o._next),o._next&&(o._next._prev=o._prev),o._next=o._prev=null;delete u[s]}c&&(i[s]=1)}!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return f},c.invalidate=function(){return this._notifyPluginsOfEnabled&&M._onPluginEvent("_onDisable",this),this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],L.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-s,this.render(-this._delay)),this},c._enabled=function(e,t){p||h.wake();if(e&&this._gc){var n=this._targets,r;if(n){r=n.length;while(--r>-1)this._siblings[r]=X(n[r],this,!0)}else this._siblings=X(this.target,this,!0)}return L.prototype._enabled.call(this,e,t),this._notifyPluginsOfEnabled&&this._firstPT?M._onPluginEvent(e?"_onEnable":"_onDisable",this):!1},M.to=function(e,t,n){return new M(e,t,n)},M.from=function(e,t,n){return n.runBackwards=!0,n.immediateRender=n.immediateRender!=0,new M(e,t,n)},M.fromTo=function(e,t,n,r){return r.startAt=n,r.immediateRender=r.immediateRender!=0&&n.immediateRender!=0,new M(e,t,r)},M.delayedCall=function(e,t,n,r,i){return new M(t,0,{delay:e,onComplete:t,onCompleteParams:n,onCompleteScope:r,onReverseComplete:t,onReverseCompleteParams:n,onReverseCompleteScope:r,immediateRender:!1,useFrames:i,overwrite:0})},M.set=function(e,t){return new M(e,0,t)},M.getTweensOf=function(e,t){if(e==null)return[];e=typeof e!="string"?e:M.selector(e)||e;var n,r,i,s;if((a(e)||_(e))&&typeof e[0]!="number"){n=e.length,r=[];while(--n>-1)r=r.concat(M.getTweensOf(e[n],t));n=r.length;while(--n>-1){s=r[n],i=n;while(--i>-1)s===r[i]&&r.splice(n,1)}}else{r=X(e).concat(),n=r.length;while(--n>-1)(r[n]._gc||t&&!r[n].isActive())&&r.splice(n,1)}return r},M.killTweensOf=M.killDelayedCallsTo=function(e,t,n){typeof t=="object"&&(n=t,t=!1);var r=M.getTweensOf(e,t),i=r.length;while(--i>-1)r[i]._kill(n,e)};var K=g("plugins.TweenPlugin",function(e,t){this._overwriteProps=(e||"").split(","),this._propName=this._overwriteProps[0],this._priority=t||0,this._super=K.prototype},!0);c=K.prototype,K.version="1.10.1",K.API=2,c._firstPT=null,c._addTween=function(e,t,n,r,i,s){var o,u;if(r!=null&&(o=typeof r=="number"||r.charAt(1)!=="="?Number(r)-n:parseInt(r.charAt(0)+"1",10)*Number(r.substr(2))))return this._firstPT=u={_next:this._firstPT,t:e,p:t,s:n,c:o,f:typeof e[t]=="function",n:i||t,r:s},u._next&&(u._next._prev=u),u},c.setRatio=function(e){var t=this._firstPT,n=1e-6,r;while(t)r=t.c*e+t.s,t.r?r=Math.round(r):r<n&&r>-n&&(r=0),t.f?t.t[t.p](r):t.t[t.p]=r,t=t._next},c._kill=function(e){var t=this._overwriteProps,n=this._firstPT,r;if(e[this._propName]!=null)this._overwriteProps=[];else{r=t.length;while(--r>-1)e[t[r]]!=null&&t.splice(r,1)}while(n)e[n.n]!=null&&(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},c._roundProps=function(e,t){var n=this._firstPT;while(n){if(e[this._propName]||n.n!=null&&e[n.n.split(this._propName+"_").join("")])n.r=t;n=n._next}},M._onPluginEvent=function(e,t){var n=t._firstPT,r,i,s,o,u;if(e==="_onInitAllProps"){while(n){u=n._next,i=s;while(i&&i.pr>n.pr)i=i._next;(n._prev=i?i._prev:o)?n._prev._next=n:s=n,(n._next=i)?i._prev=n:o=n,n=u}n=t._firstPT=s}while(n)n.pg&&typeof n.t[e]=="function"&&n.t[e]()&&(r=!0),n=n._next;return r},K.activate=function(e){var t=e.length;while(--t>-1)e[t].API===K.API&&(j[(new e[t])._propName]=e[t]);return!0},m.plugin=function(e){if(!e||!e.propName||!e.init||!e.API)throw"illegal plugin definition.";var t=e.propName,n=e.priority||0,r=e.overwriteProps,i={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_roundProps",initAll:"_onInitAllProps"},s=g("plugins."+t.charAt(0).toUpperCase()+t.substr(1)+"Plugin",function(){K.call(this,t,n),this._overwriteProps=r||[]},e.global===!0),o=s.prototype=new K(t),u;o.constructor=s,s.API=e.API;for(u in i)typeof e[u]=="function"&&(o[i[u]]=e[u]);return s.version=e.version,K.activate([s]),s},f=e._gsQueue;if(f){for(l=0;l<f.length;l++)f[l]();for(c in d)d[c].func||e.console.log("GSAP encountered missing dependency: com.greensock."+c)}p=!1}(typeof module!="undefined"&&module.exports&&typeof global!="undefined"?global:this||window,"TweenMax"),define("TweenMax",function(){}),FastClick.prototype.deviceIsAndroid=navigator.userAgent.indexOf("Android")>0,FastClick.prototype.deviceIsIOS=/iP(ad|hone|od)/.test(navigator.userAgent),FastClick.prototype.deviceIsIOS4=FastClick.prototype.deviceIsIOS&&/OS 4_\d(_\d)?/.test(navigator.userAgent),FastClick.prototype.deviceIsIOSWithBadTarget=FastClick.prototype.deviceIsIOS&&/OS ([6-9]|\d{2})_\d/.test(navigator.userAgent),FastClick.prototype.needsClick=function(e){switch(e.nodeName.toLowerCase()){case"button":case"select":case"textarea":if(e.disabled)return!0;break;case"input":if(this.deviceIsIOS&&e.type==="file"||e.disabled)return!0;break;case"label":case"video":return!0}return/\bneedsclick\b/.test(e.className)},FastClick.prototype.needsFocus=function(e){switch(e.nodeName.toLowerCase()){case"textarea":return!0;case"select":return!this.deviceIsAndroid;case"input":switch(e.type){case"button":case"checkbox":case"file":case"image":case"radio":case"submit":return!1}return!e.disabled&&!e.readOnly;default:return/\bneedsfocus\b/.test(e.className)}},FastClick.prototype.sendClick=function(e,t){var n,r;document.activeElement&&document.activeElement!==e&&document.activeElement.blur(),r=t.changedTouches[0],n=document.createEvent("MouseEvents"),n.initMouseEvent(this.determineEventType(e),!0,!0,window,1,r.screenX,r.screenY,r.clientX,r.clientY,!1,!1,!1,!1,0,null),n.forwardedTouchEvent=!0,e.dispatchEvent(n)},FastClick.prototype.determineEventType=function(e){return this.deviceIsAndroid&&e.tagName.toLowerCase()==="select"?"mousedown":"click"},FastClick.prototype.focus=function(e){var t;this.deviceIsIOS&&e.setSelectionRange&&e.type.indexOf("date")!==0&&e.type!=="time"?(t=e.value.length,e.setSelectionRange(t,t)):e.focus()},FastClick.prototype.updateScrollParent=function(e){var t,n;t=e.fastClickScrollParent;if(!t||!t.contains(e)){n=e;do{if(n.scrollHeight>n.offsetHeight){t=n,e.fastClickScrollParent=n;break}n=n.parentElement}while(n)}t&&(t.fastClickLastScrollTop=t.scrollTop)},FastClick.prototype.getTargetElementFromEventTarget=function(e){return e.nodeType===Node.TEXT_NODE?e.parentNode:e},FastClick.prototype.onTouchStart=function(e){var t,n,r;if(e.targetTouches.length>1)return!0;t=this.getTargetElementFromEventTarget(e.target),n=e.targetTouches[0];if(this.deviceIsIOS){r=window.getSelection();if(r.rangeCount&&!r.isCollapsed)return!0;if(!this.deviceIsIOS4){if(n.identifier===this.lastTouchIdentifier)return e.preventDefault(),!1;this.lastTouchIdentifier=n.identifier,this.updateScrollParent(t)}}return this.trackingClick=!0,this.trackingClickStart=e.timeStamp,this.targetElement=t,this.touchStartX=n.pageX,this.touchStartY=n.pageY,e.timeStamp-this.lastClickTime<200&&e.preventDefault(),!0},FastClick.prototype.touchHasMoved=function(e){var t=e.changedTouches[0],n=this.touchBoundary;return Math.abs(t.pageX-this.touchStartX)>n||Math.abs(t.pageY-this.touchStartY)>n?!0:!1},FastClick.prototype.onTouchMove=function(e){if(!this.trackingClick)return!0;if(this.targetElement!==this.getTargetElementFromEventTarget(e.target)||this.touchHasMoved(e))this.trackingClick=!1,this.targetElement=null;return!0},FastClick.prototype.findControl=function(e){return e.control!==undefined?e.control:e.htmlFor?document.getElementById(e.htmlFor):e.querySelector("button, input:not([type=hidden]), keygen, meter, output, progress, select, textarea")},FastClick.prototype.onTouchEnd=function(e){var t,n,r,i,s,o=this.targetElement;if(!this.trackingClick)return!0;if(e.timeStamp-this.lastClickTime<200)return this.cancelNextClick=!0,!0;this.cancelNextClick=!1,this.lastClickTime=e.timeStamp,n=this.trackingClickStart,this.trackingClick=!1,this.trackingClickStart=0,this.deviceIsIOSWithBadTarget&&(s=e.changedTouches[0],o=document.elementFromPoint(s.pageX-window.pageXOffset,s.pageY-window.pageYOffset)||o,o.fastClickScrollParent=this.targetElement.fastClickScrollParent),r=o.tagName.toLowerCase();if(r==="label"){t=this.findControl(o);if(t){this.focus(o);if(this.deviceIsAndroid)return!1;o=t}}else if(this.needsFocus(o)){if(e.timeStamp-n>100||this.deviceIsIOS&&window.top!==window&&r==="input")return this.targetElement=null,!1;this.focus(o);if(!this.deviceIsIOS4||r!=="select")this.targetElement=null,e.preventDefault();return!1}if(this.deviceIsIOS&&!this.deviceIsIOS4){i=o.fastClickScrollParent;if(i&&i.fastClickLastScrollTop!==i.scrollTop)return!0}return this.needsClick(o)||(e.preventDefault(),this.sendClick(o,e)),!1},FastClick.prototype.onTouchCancel=function(){this.trackingClick=!1,this.targetElement=null},FastClick.prototype.onMouse=function(e){return this.targetElement?e.forwardedTouchEvent?!0:e.cancelable?!this.needsClick(this.targetElement)||this.cancelNextClick?(e.stopImmediatePropagation?e.stopImmediatePropagation():e.propagationStopped=!0,e.stopPropagation(),e.preventDefault(),!1):!0:!0:!0},FastClick.prototype.onClick=function(e){var t;return this.trackingClick?(this.targetElement=null,this.trackingClick=!1,!0):e.target.type==="submit"&&e.detail===0?!0:(t=this.onMouse(e),t||(this.targetElement=null),t)},FastClick.prototype.destroy=function(){var e=this.layer;this.deviceIsAndroid&&(e.removeEventListener("mouseover",this.onMouse,!0),e.removeEventListener("mousedown",this.onMouse,!0),e.removeEventListener("mouseup",this.onMouse,!0)),e.removeEventListener("click",this.onClick,!0),e.removeEventListener("touchstart",this.onTouchStart,!1),e.removeEventListener("touchmove",this.onTouchMove,!1),e.removeEventListener("touchend",this.onTouchEnd,!1),e.removeEventListener("touchcancel",this.onTouchCancel,!1)},FastClick.notNeeded=function(e){var t,n;if(typeof window.ontouchstart=="undefined")return!0;n=+(/Chrome\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1];if(n){if(!FastClick.prototype.deviceIsAndroid)return!0;t=document.querySelector("meta[name=viewport]");if(t){if(t.content.indexOf("user-scalable=no")!==-1)return!0;if(n>31&&window.innerWidth<=window.screen.width)return!0}}return e.style.msTouchAction==="none"?!0:!1},FastClick.attach=function(e){return new FastClick(e)},typeof define!="undefined"&&define.amd?define("fastclick",[],function(){return FastClick}):typeof module!="undefined"&&module.exports?(module.exports=FastClick.attach,module.exports.FastClick=FastClick):window.FastClick=FastClick,function(e,t){typeof define=="function"&&define.amd?define("fbutil",t):e.FBUtil=t()}(this,function(){var e={};e.app_id="",e.root_location="",e.firstname="",e.lastname="",e.fullname="",e.expires="",e.uid="",e.loginStatus="",e.access_token="",e.hasSession=!1,e.hasUserData=!1,e.permissions=[],e.userObj={},e.session=null,e.clean=function(){e.firstname="",e.lastname="",e.fullname="",e.expires="",e.uid="",e.loginStatus="",e.access_token="",e.hasSession=!1,e.hasUserData=!1,e.permissions=[],e.userObj={},e.session=null},e.init=function(t){FB.init({appId:e.app_id,status:!0,cookie:!0,xfbml:!0,channelUrl:e.root_location+"fb_channel.php"}),window.setTimeout(function(){FB.Canvas.setAutoGrow()},250),e.getLoginStatus(null,function(){if(typeof theSwf=="undefined"){n(t);return}try{theSwf.handleFirstGetStatus(null,arguments)}catch(e){console.log("error with theSwf.handleGetStatus: "+e.message)}n(t)})},e.initUser=function(t){e.loginStatus=t.status,t.status==="connected"?(e.uid=t.authResponse.userID,e.access_token=t.authResponse.accessToken,e.expires=t.authResponse.expiresIn,e.hasSession=!0):e.clean()},e.addUserData=function(t){e.firstname=t.first_name,e.lastname=t.last_name,e.fullname=t.name,e.uid=t.id,e.userObj=t,e.hasUserData=!0},e.addPermissions=function(t){if(t&&t.length)for(var n=0;n<t.length;n++)e.permissions.indexOf(t[n])===-1&&e.permissions.push(t[n])},e.hasPermission=function(t){return e.permissions.indexOf(t)!==-1},e.hasAllPermissions=function(t){for(var n=0;n<t.length;n++)if(!e.hasPermission(t[n]))return!1;return!0},e.getSession=function(t){n(t,[e.session])},e.requestLogin=function(t,r){t||(t={}),r||(r=""),FB.login(function(t){e.initUser(t),t.authResponse?(e.session=t.authResponse,FB.api("/me/permissions",function(t){var i=[];for(var s in t.data[0])i.push(s);e.addPermissions(i),n(r,[e.session,i.sort().join(",")])})):n(r)},t)},e.requestLogout=function(e){e||(e=""),FB.logout(function(t){n(e,t)})},e.getLoginStatus=function(t,r){t||(t={}),r||(r=""),FB.getLoginStatus(function(t){e.initUser(t),t.status==="connected"?FB.api("me",function(i){i.error||(e.addUserData(i),FB.api("/me/permissions",function(s){if(!s.error){var o=[];for(var u in s.data[0])o.push(u);e.addPermissions(o),n(r,[t,o])}else n(r,[i])}))}):n(r)})},e.dialog=function(e,t){t||(t=""),FB.ui(e,function(e){e?n(t,[e]):n(t)})},e.callApi=function(e,t,r,i,s){t||(t={}),r||(r="get"),i||(i=""),s||(s=""),FB.api(e,r,t,function(e){e?n(i,[e,s]):n(i,[s])})},e.callRestApi=function(e,t,r){t||(t=""),r||(r=""),FB.api(e,function(e){e?n(t,[r,e]):n(t,[r])})};var t={swfHandleLogin:function(e,t){e?theSwf.handleFacebookLogin(e,t):theSwf.handleFacebookLoginCancel()},swfHandleLogout:function(){theSwf.handleFacebookLogout()},swfHandleUIComplete:function(){if(arguments.length>0){var e=arguments[0];theSwf.handleUIComplete(e)}else theSwf.handleUIComplete()},swfHandleGetSession:function(t){t?theSwf.handleGetSession(t,e.permissions.join(",")):theSwf.handleGetSession({})},swfHandleAPIComplete:function(){if(arguments.length===2){var e=arguments[0];e.callbackID=arguments[1],theSwf.handleApiComplete(e)}else arguments.length===1?typeof arguments[0]=="object"?theSwf.handleApiComplete(arguments[0]):theSwf.handleApiComplete({callbackID:arguments[0]}):theSwf.handleApiComplete({})}},n=function(e){if(!e||e==="")return;var n=[];arguments.length>1&&(n=arguments[1]);var r;typeof e=="function"?r=e:typeof e=="string"&&(t[e]?r=t[e]:r=window[e]);try{r.apply(null,n)}catch(i){console.log("error calling "+e+": "),console.log(i.message)}};return e}),function(e,t){typeof define=="function"&&define.amd?define("poputil",t):e.PopUtil=t()}(this,function(){function e(){}return e.popups={},e.popWin=function(e,t,n,r,i,s,o){var u,a,f;u=Math.round(screen.width/2-n/2),u<2&&(u=2),a=Math.round(screen.height/2-r/2),a<2&&(a=2),i=i?i:"auto",s=s?s:"yes",o=o?o:!1,o?f="width="+n+",height="+r+",screenX="+u+",screenY="+a+",left="+u+",top="+a+",dependent=1,directories=1,location=1,menubar=1,resizable="+s+",scrollbars="+i+",toolbar=1":f="width="+n+",height="+r+",screenX="+u+",screenY="+a+",left="+u+",top="+a+",dependent=1,directories=0,location=0,menubar=0,resizable="+s+",scrollbars="+i+",toolbar=0",top[t]=window.open(e,t,f),top[t].focus()},e.launchPopUp=function(t,n){var r=e.popups[t],i="tpwebsite",s;if(n){s="?";for(var o in n)s+=o+"="+n[o]+"&"}else s="";e.popWin(r.url+s,i+r.name,r.width,r.height,r.scroll,r.resizable)},e.newPopUp=function(t){var n={};n.name=t.name,n.url=t.url,n.width=t.width,n.height=t.height,n.scroll=t.scroll,n.resizable=t.resizable,n.menus=t.menus,e.popups[n.name]=n},e}),function(e,t){typeof define=="function"&&define.amd?define("sharer",["poputil"],t):e.Sharer=t(e.PopUtil)}(this,function(e){function t(){}function n(e,n){var r=t.bugs[n],i=t.shareGroups[e];if(!i){console.log("error, shareGroup "+e+" does not exist.");return}var s=i.twitter,o=i.google,u=i.facebook,a=i.url;return u=u.split("{*url*}").join(a),s=s.split("{*url*}").join(a),o=o.split("{*url*}").join(a),r=r.split("{*url*}").join(encodeURIComponent(a)),r=r.split("{*title*}").join(encodeURIComponent(i.title)),r=r.split("{*twitter*}").join(encodeURIComponent(s)),r=r.split("{*facebook*}").join(encodeURIComponent(u)),r=r.split("{*googleplus*}").join(encodeURIComponent(o)),r}return t.bugs={facebook:"http://www.facebook.com/share.php?t={*title*}&u={*url*}",twitter:"https://twitter.com/intent/tweet?text={*twitter*}",google:"https://plus.google.com/share?url={*url*}"},t.shareGroups={},t.addShareGroup=function(e,n){typeof e=="object"&&(t.shareGroups[n]=e)},t.shareGoogle=function(t){var r=n(t,"google");e?e.popWin(r,"googleplus_share",600,600,"yes","yes","no"):window.open(r,"","menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600")},t.shareTwitter=function(t){var r=n(t,"twitter");e?e.popWin(r,"twitter_share",550,450,"yes","yes","no"):window.open(r,"","menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=450,width=550")},t.shareFacebook=function(t){var r=n(t,"facebook");e?e.popWin(r,"facebook_share",550,450,"yes","yes","no"):window.open(r,"","menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=450,width=550")},t.sharePinterest=function(){var e=document.createElement("script");e.setAttribute("type","text/javascript"),e.setAttribute("charset","UTF-8"),e.setAttribute("src","http://assets.pinterest.com/js/pinmarklet.js?r="+Math.random()*99999999),document.body.appendChild(e)},t}),function(e,t){typeof define=="function"&&define.amd?define("tracking",[],function(){return e.Tracking=t()}):e.Tracking=t()}(this,function(){var e=function(){};return e.prototype.initGoogle=function(e){console.log("[Tracking].initGoogle("+e+")"),window._gaq=window._gaq||[],window._gaq.push(["_setAccount",e]),window._gaq.push(["_trackPageview"]),function(){var e=document.createElement("script");e.type="text/javascript",e.async=!0,e.src=("https:"===document.location.protocol?"https://ssl":"http://www")+".google-analytics.com/ga.js";var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)}()},e.prototype.gPageview=function(){var e=Array.prototype.slice.call(arguments),t="/"+e.join("/");console.log("PAGEVIEW: "+t),window._gaq.push(["_trackPageview",t])},e.prototype.gEvent=function(){var e=Array.prototype.slice.call(arguments);console.log("EVENT: "+e.join(", ")),e.unshift("_trackEvent"),window._gaq.push(e)},e.prototype.gSocial=function(){var e=Array.prototype.slice.call(arguments);console.log("SOCIAL: "+e.join(", ")),e.unshift("_trackSocial"),window._gaq.push(e)},e.prototype.initFloodLight=function(e){window._flsrc=e,window._fldiv=document.body.appendChild(document.createElement("div"))},e.prototype.trackFloodlight=function(e,t){var n=Math.random()+"",r=n*1e16;window._fldiv.setAttribute("id","DCLK_FLDiv"+r),window._fldiv.style.position="absolute",window._fldiv.style.top="0",window._fldiv.style.left="0",window._fldiv.style.width="1px",window._fldiv.style.height="1px",window._fldiv.style.display="none",window._fldiv.innerHTML='<iframe id="DCLK_FLIframe'+r+'" src="http://'+window._flsrc+".fls.doubleclick.net/activityi;src="+window._flsrc+";type="+e+";cat="+t+";ord="+r+'?" width="1" height="1" frameborder="0"></iframe>'},e.prototype.oPageview=function(e){if(s){s.events="",s.eVar23="";switch(e){case"intro":s.pageName="intro";break;case"landing":s.pageName="landing"}s.t()}},e.prototype.oEvent=function(e,t){if(s){s.events="",s.eVar23="";switch(e){case"shareFacebook":s.events="event8";break;case"shareTwitter":s.events="event9"}console.log("TRACK EVENT: ",e,t),s.t()}},new e}),function(e){var t=function(e,n,r){return arguments.length===1?t.get(e):t.set(e,n,r)};t._document=document,t._navigator=navigator,t.defaults={path:"/"},t.get=function(e){return t._cachedDocumentCookie!==t._document.cookie&&t._renewCache(),t._cache[e]},t.set=function(n,r,i){return i=t._getExtendedOptions(i),i.expires=t._getExpiresDate(r===e?-1:i.expires),t._document.cookie=t._generateCookieString(n,r,i),t},t.expire=function(n,r){return t.set(n,e,r)},t._getExtendedOptions=function(n){return{path:n&&n.path||t.defaults.path,domain:n&&n.domain||t.defaults.domain,expires:n&&n.expires||t.defaults.expires,secure:n&&n.secure!==e?n.secure:t.defaults.secure}},t._isValidDate=function(e){return Object.prototype.toString.call(e)==="[object Date]"&&!isNaN(e.getTime())},t._getExpiresDate=function(e,n){n=n||new Date;switch(typeof e){case"number":e=new Date(n.getTime()+e*1e3);break;case"string":e=new Date(e)}if(e&&!t._isValidDate(e))throw new Error("`expires` parameter cannot be converted to a valid Date instance");return e},t._generateCookieString=function(e,t,n){e=encodeURIComponent(e),t=(t+"").replace(/[^!#$&-+\--:<-\[\]-~]/g,encodeURIComponent),n=n||{};var r=e+"="+t;return r+=n.path?";path="+n.path:"",r+=n.domain?";domain="+n.domain:"",r+=n.expires?";expires="+n.expires.toUTCString():"",r+=n.secure?";secure":"",r},t._getCookieObjectFromString=function(n){var r={},i=n?n.split("; "):[];for(var s=0;s<i.length;s++){var o=t._getKeyValuePairFromCookieString(i[s]);r[o.key]===e&&(r[o.key]=o.value)}return r},t._getKeyValuePairFromCookieString=function(e){var t=e.indexOf("=");return t=t<0?e.length:t,{key:decodeURIComponent(e.substr(0,t)),value:decodeURIComponent(e.substr(t+1))}},t._renewCache=function(){t._cache=t._getCookieObjectFromString(t._document.cookie),t._cachedDocumentCookie=t._document.cookie},t._areEnabled=function(){return t.set("cookies.js",1).get("cookies.js")==="1"},t.enabled=t._areEnabled(),typeof define=="function"&&define.amd?define("cookies",[],function(){return t}):typeof exports!="undefined"?(typeof module!="undefined"&&module.exports&&(exports=module.exports=t),exports.Cookies=t):window.Cookies=t}(),function(e,t){typeof define=="function"&&define.amd?define("projectutil",[],t):e.ProjectUtil=t()}(this,function(){function e(){}return e.preloadedJSON=null,e.minHeightHasInit=!1,e.minHeightOffsetY=82,e.minHeightVerticalPadding=40,e.hasRunStellar=!1,e.hasRunSnapToScrollBoundaries=!1,e.snapThreshold=60,e.snapBoundaries=[],e.getJSONNode=function(e,t){var n=t.toString();for(var r=0;r<e.length;r++)if(e[r].id.toString()===n)return e[r]},e.firstBy=function(){function e(e){return e.thenBy=t,e}function t(t,n){return n=this,e(function(e,r){return n(e,r)||t(e,r)})}return e}(),e.minHeight=function(){e.minHeightHasInit||($("body").hasClass("mobile")?$(window).on("orientationchange",function(){e.minHeight()}):$(window).on("resize orientationchange",function(){e.minHeight()}),e.minHeightHasInit=!0);var t=$(window).height(),n=0,r;$(".min-full").each(function(){r=$(this),r.height("auto"),n=r.height()+e.minHeightVerticalPadding*2,n+e.minHeightOffsetY<=t?r.height(t-e.minHeightOffsetY+"px"):r.height(n+"px")}),$("body").hasClass("mobile")===!1&&window.scrollTo(0,0)},e.runStellar=function(){e.hasRunStellar!==!0?$.stellar({horizontalScrolling:!1,verticalScrolling:!0,verticalOffset:e.minHeightOffsetY,responsive:!0}):$.stellar("refresh"),window.scrollTo(0,0),e.hasRunStellar=!0},e.smoothScroll=function(){var e=$(window),t=1.2,n=170;e.on("mousewheel DOMMouseScroll",function(r){r.preventDefault();var i=r.originalEvent.wheelDelta/120||-r.originalEvent.detail/3,s=e.scrollTop(),o=s-parseInt(i*n);TweenMax.to(e,t,{scrollTo:{y:o,autoKill:!0},ease:Power1.easeOut,autoKill:!0,overwrite:5})})},e.snapToScrollBoundaries=function(t){var n=$(window),r=0,i=0,s=0,o=0;if($("body").hasClass("mobile"))return;if(e.hasRunSnapToScrollBoundaries)while(e.snapBoundaries.length)e.snapBoundaries.pop();else $(window).on("resize orientationchange",function(){e.snapToScrollBoundaries(t)});$(t).each(function(){var t=$(this),n=0;n=t.offset().top-e.minHeightOffsetY,console.log("---push:"+n),e.snapBoundaries.push({el:t,boundary:n})}),e.hasRunSnapToScrollBoundaries!==!0&&(n.scroll(function(){i=n.scrollTop(),s++;if(i>o){r=e.snapBoundaries.length;for(var t=0;t<r;t++)i>e.snapBoundaries[t].boundary-e.snapThreshold&&i<e.snapBoundaries[t].boundary&&s>3&&(console.log("--WITHIN SNAP THRESHOLD!"),TweenMax.to($(window),.4,{scrollTo:{y:e.snapBoundaries[t].boundary,autoKill:!0},ease:Power1.easeOut,autoKill:!0,overwrite:5}),s=0)}o=i}),e.hasRunSnapToScrollBoundaries=!0)},e}),define("app/models/example",["jquery","backbone","underscore"],function(e,t,n){var r=t.Model.extend({idAttribute:"key",initialize:function(){n.bindAll(this,"increment_count")},increment_count:function(){var e=parseInt(this.get("count"),10)||0;this.set({count:e+1})},decrement_count:function(){var e=parseInt(this.get("count"),10)||0;e-1>=0&&this.set({count:e-1})}});return r}),define("app/collections/example",["jquery","backbone","underscore","app/models/example"],function(e,t,n,r){var i=t.Collection.extend({model:r,initialize:function(){n.bindAll(this,"get_track","set_current_track","get_next_track","get_previous_track")},get_track:function(){return this.current_track},set_current_track:function(e){console.log("change current track",e),this.current_track=e},get_next_track:function(){return this.set_current_track(this.at(this.indexOf(this.get_track())+1)),this},get_previous_track:function(){return this.set_current_track(this.at(this.indexOf(this.get_track())-1)),this}});return i}),+function(e){function i(r){if(r&&r.which===3)return;e(t).remove(),e(n).each(function(){var t=e(this),n=s(t),i={relatedTarget:this};if(!n.hasClass("open"))return;n.trigger(r=e.Event("hide.bs.dropdown",i));if(r.isDefaultPrevented())return;t.attr("aria-expanded","false"),n.removeClass("open").trigger("hidden.bs.dropdown",i)})}function s(t){var n=t.attr("data-target");n||(n=t.attr("href"),n=n&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var r=n&&e(n);return r&&r.length?r:t.parent()}function o(t){return this.each(function(){var n=e(this),i=n.data("bs.dropdown");i||n.data("bs.dropdown",i=new r(this)),typeof t=="string"&&i[t].call(n)})}var t=".dropdown-backdrop",n='[data-toggle="dropdown"]',r=function(t){e(t).on("click.bs.dropdown",this.toggle)};r.VERSION="3.3.4",r.prototype.toggle=function(t){var n=e(this);if(n.is(".disabled, :disabled"))return;var r=s(n),o=r.hasClass("open");i();if(!o){"ontouchstart"in document.documentElement&&!r.closest(".navbar-nav").length&&e('<div class="dropdown-backdrop"/>').insertAfter(e(this)).on("click",i);var u={relatedTarget:this};r.trigger(t=e.Event("show.bs.dropdown",u));if(t.isDefaultPrevented())return;n.trigger("focus").attr("aria-expanded","true"),r.toggleClass("open").trigger("shown.bs.dropdown",u)}return!1},r.prototype.keydown=function(t){if(!/(38|40|27|32)/.test(t.which)||/input|textarea/i.test(t.target.tagName))return;var r=e(this);t.preventDefault(),t.stopPropagation();if(r.is(".disabled, :disabled"))return;var i=s(r),o=i.hasClass("open");if(!o&&t.which!=27||o&&t.which==27)return t.which==27&&i.find(n).trigger("focus"),r.trigger("click");var u=" li:not(.disabled):visible a",a=i.find('[role="menu"]'+u+', [role="listbox"]'+u);if(!a.length)return;var f=a.index(t.target);t.which==38&&f>0&&f--,t.which==40&&f<a.length-1&&f++,~f||(f=0),a.eq(f).trigger("focus")};var u=e.fn.dropdown;e.fn.dropdown=o,e.fn.dropdown.Constructor=r,e.fn.dropdown.noConflict=function(){return e.fn.dropdown=u,this},e(document).on("click.bs.dropdown.data-api",i).on("click.bs.dropdown.data-api",".dropdown form",function(e){e.stopPropagation()}).on("click.bs.dropdown.data-api",n,r.prototype.toggle).on("keydown.bs.dropdown.data-api",n,r.prototype.keydown).on("keydown.bs.dropdown.data-api",'[role="menu"]',r.prototype.keydown).on("keydown.bs.dropdown.data-api",'[role="listbox"]',r.prototype.keydown)}(jQuery),define("bootstrap-dropdown",function(){}),define("app/views/nav",["jquery","backbone","underscore","bootstrap-dropdown","TweenMax"],function(e,t,n,r,i){var s=t.BaseView.extend({el:"#main-header",events:{"click #toggle-btn":"handleToggleBtnClick"},postInitialize:function(){},bindings:function(){},listeners:function(){this.listenTo(this.pubSub,"pageChange",this.handlePageChange,this)},render:function(){var t=this;return this.$toggleBtn=e("#toggle-btn",this.$el),this.$navWrap=e("#navs",this.$el),this.$navDropCover=e("#nav-drop-cover",this.$el),this.$buttonListItems=e("#main-nav>li a",this.$el),this.$buttonListItems.each(function(){e(this).data("href",e(this).attr("href").replace(/^\//,"").replace("#!/","").replace("#",""))}),this.$activeButtonListItems=e("#main-nav>li a.active",this.$el),e(".dropdown-toggle",this.$el).dropdown(),t},handlePageChange:function(t){this.$activeButtonListItems.each(function(){e(this).removeClass("active")}),this.$buttonListItems.each(function(){t.page===e(this).data("href")&&e(this).addClass("active")}),this.$activeButtonListItems=e("#main-nav>li a.active",this.$el),this.closeToggleBtn()},handleToggleBtnClick:function(){this.$el.toggleClass("show"),this.$el.hasClass("show")?i.to(this.$navDropCover,.4,{autoAlpha:1,ease:Quint.easeInOut}):i.to(this.$navDropCover,.4,{autoAlpha:0,ease:Quint.easeInOut})},closeToggleBtn:function(){this.$el.removeClass("show"),i.to(this.$navDropCover,.4,{autoAlpha:0,ease:Quint.easeInOut})},cleanup:function(){}});return s}),define("text",["module"],function(e){var t,n,r,i,s,o=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],u=/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,a=/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im,f=typeof location!="undefined"&&location.href,l=f&&location.protocol&&location.protocol.replace(/\:/,""),c=f&&location.hostname,h=f&&(location.port||undefined),p={},d=e.config&&e.config()||{};t={version:"2.0.10",strip:function(e){if(e){e=e.replace(u,"");var t=e.match(a);t&&(e=t[1])}else e="";return e},jsEscape:function(e){return e.replace(/(['\\])/g,"\\$1").replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r").replace(/[\u2028]/g,"\\u2028").replace(/[\u2029]/g,"\\u2029")},createXhr:d.createXhr||function(){var e,t,n;if(typeof XMLHttpRequest!="undefined")return new XMLHttpRequest;if(typeof ActiveXObject!="undefined")for(t=0;t<3;t+=1){n=o[t];try{e=new ActiveXObject(n)}catch(r){}if(e){o=[n];break}}return e},parseName:function(e){var t,n,r,i=!1,s=e.indexOf("."),o=e.indexOf("./")===0||e.indexOf("../")===0;return s!==-1&&(!o||s>1)?(t=e.substring(0,s),n=e.substring(s+1,e.length)):t=e,r=n||t,s=r.indexOf("!"),s!==-1&&(i=r.substring(s+1)==="strip",r=r.substring(0,s),n?n=r:t=r),{moduleName:t,ext:n,strip:i}},xdRegExp:/^((\w+)\:)?\/\/([^\/\\]+)/,useXhr:function(e,n,r,i){var s,o,u,a=t.xdRegExp.exec(e);return a?(s=a[2],o=a[3],o=o.split(":"),u=o[1],o=o[0],(!s||s===n)&&(!o||o.toLowerCase()===r.toLowerCase())&&(!u&&!o||u===i)):!0},finishLoad:function(e,n,r,i){r=n?t.strip(r):r,d.isBuild&&(p[e]=r),i(r)},load:function(e,n,r,i){if(i.isBuild&&!i.inlineText){r();return}d.isBuild=i.isBuild;var s=t.parseName(e),o=s.moduleName+(s.ext?"."+s.ext:""),u=n.toUrl(o),a=d.useXhr||t.useXhr;if(u.indexOf("empty:")===0){r();return}!f||a(u,l,c,h)?t.get(u,function(n){t.finishLoad(e,s.strip,n,r)},function(e){r.error&&r.error(e)}):n([o],function(e){t.finishLoad(s.moduleName+"."+s.ext,s.strip,e,r)})},write:function(e,n,r,i){if(p.hasOwnProperty(n)){var s=t.jsEscape(p[n]);r.asModule(e+"!"+n,"define(function () { return '"+s+"';});\n")}},writeFile:function(e,n,r,i,s){var o=t.parseName(n),u=o.ext?"."+o.ext:"",a=o.moduleName+u,f=r.toUrl(o.moduleName+u)+".js";t.load(a,r,function(n){var r=function(e){return i(f,e)};r.asModule=function(e,t){return i.asModule(e,f,t)},t.write(e,a,r,s)},s)}};if(d.env==="node"||!d.env&&typeof process!="undefined"&&process.versions&&!!process.versions.node&&!process.versions["node-webkit"])n=require.nodeRequire("fs"),t.get=function(e,t,r){try{var i=n.readFileSync(e,"utf8");i.indexOf("")===0&&(i=i.substring(1)),t(i)}catch(s){r(s)}};else if(d.env==="xhr"||!d.env&&t.createXhr())t.get=function(e,n,r,i){var s=t.createXhr(),o;s.open("GET",e,!0);if(i)for(o in i)i.hasOwnProperty(o)&&s.setRequestHeader(o.toLowerCase(),i[o]);d.onXhr&&d.onXhr(s,e),s.onreadystatechange=function(t){var i,o;s.readyState===4&&(i=s.status,i>399&&i<600?(o=new Error(e+" HTTP status: "+i),o.xhr=s,r(o)):n(s.responseText),d.onXhrComplete&&d.onXhrComplete(s,e))},s.send(null)};else if(d.env==="rhino"||!d.env&&typeof Packages!="undefined"&&typeof java!="undefined")t.get=function(e,t){var n,r,i="utf-8",s=new java.io.File(e),o=java.lang.System.getProperty("line.separator"),u=new java.io.BufferedReader(new java.io.InputStreamReader(new java.io.FileInputStream(s),i)),a="";try{n=new java.lang.StringBuffer,r=u.readLine(),r&&r.length()&&r.charAt(0)===65279&&(r=r.substring(1)),r!==null&&n.append(r);while((r=u.readLine())!==null)n.append(o),n.append(r);a=String(n.toString())}finally{u.close()}t(a)};else if(d.env==="xpconnect"||!d.env&&typeof Components!="undefined"&&Components.classes&&Components.interfaces)r=Components.classes,i=Components.interfaces,Components.utils["import"]("resource://gre/modules/FileUtils.jsm"),s="@mozilla.org/windows-registry-key;1"in r,t.get=function(e,t){var n,o,u,a={};s&&(e=e.replace(/\//g,"\\")),u=new FileUtils.File(e);try{n=r["@mozilla.org/network/file-input-stream;1"].createInstance(i.nsIFileInputStream),n.init(u,1,0,!1),o=r["@mozilla.org/intl/converter-input-stream;1"].createInstance(i.nsIConverterInputStream),o.init(n,"utf-8",n.available(),i.nsIConverterInputStream.DEFAULT_REPLACEMENT_CHARACTER),o.readString(n.available(),a),o.close(),n.close(),t(a.value)}catch(f){throw new Error((u&&u.path||"")+": "+f)}};return t}),define("hbs",["text","Handlebars"],function(e,t){var n={},r="define('{pluginName}!{moduleName}', ['Handlebars'], function (Handlebars) { return Handlebars.template({content}); });\n";return{version:"0.0.2",load:function(r,i,s,o){if(n[r])s(n[r]);else{var u=o.hbars&&o.hbars.extension||".html",a=o.hbars&&o.hbars.path||"",f=o.hbars&&o.hbars.compileOptions||{};e.load(a+r+u,i,function(e){o.isBuild?(n[r]=t.precompile(e,f),s()):(n[r]=t.compile(e),s(n[r]))},o)}},write:function(e,t,i,s){var o=n[t];o&&i.asModule(e+"!"+t,r.replace("{pluginName}",e).replace("{moduleName}",t).replace("{content}",o))}}}),define("hbs!app/templates/outdatedbrowser",["Handlebars"],function(e){return e.template(function(e,t,n,r,i){return this.compilerInfo=[2,">= 1.0.0-rc.3"],n=n||e.helpers,i=i||{},"<a href='http://outdatedbrowser.com/'>Your browser is outdated! Get a better browser <span>here<span>.</a>\n<button class=\"close-btn\">X</button>"})}),define("app/views/outdatedbrowser",["jquery","backbone","underscore","hbs!app/templates/outdatedbrowser"],function(e,t,n,r){var i=t.BaseView.extend({el:"#outdated",events:{"click .close-btn":"handleCloseClick"},postInitialize:function(){},bindings:function(){},listeners:function(){},render:function(){if(this.isOutdated())return this.$el.html(r()).addClass("active"),this;this.destroy()},isOutdated:function(){return e("html").hasClass("oldie")},handleCloseClick:function(){var e=this;this.$el.animate({height:0},600,function(){e.destroy()})},cleanup:function(){this.$el.remove()}});return i}),define("app/views/footer",["jquery","backbone","underscore","TweenMax","tracking"],function(e,t,n,r,i){var s=t.BaseView.extend({el:"footer",postInitialize:function(){},bindings:function(){},listeners:function(){},render:function(){var t=this;return this.$copyright=e("#copyright",this.$el),r.set(this.$copyright,{opacity:0}),r.to(this.$copyright,.5,{delay:.15,autoAlpha:1,ease:Quad.easeOut}),t},cleanup:function(){console.log(i)}});return s}),define("app/utils/video",["jquery"],function(e){function t(){}return t.prototype.get_size=function(e,t,n,r,i){var s=i/r;return r=t,i=t*s,e&&i<n&&(i=n,r=i/s),{width:Math.ceil(r),height:Math.ceil(i)}},t.prototype.resize=function(t,n){if(!t)return;var r=Math.round(e(window).height()),i=Math.round(e(window).width()),s=t.height(),o=t.width();r=r<760?760:r,i=i<960?960:i;var u=this.get_size(n,i,r,o,s);t.width(u.width).height(u.height),n?(t.css("margin-top",null),i<u.width?t.css("margin-left",Math.floor(i-u.width)/2+"px"):t.css("margin-left","0")):t.css("margin-top",Math.floor(r-u.height)/2+"px")},new t}),define("hbs!app/templates/intro",["Handlebars"],function(e){return e.template(function(e,t,n,r,i){this.compilerInfo=[2,">= 1.0.0-rc.3"],n=n||e.helpers,i=i||{};var s="",o,u="function";s+='<section id="container-intro">\n <a href="/landing" class="btn-skip-intro">\n <div class="skip-label">',(o=n.skip_cta)?o=o.call(t,{hash:{},data:i}):(o=t.skip_cta,o=typeof o===u?o.apply(t):o);if(o||o===0)s+=o;return s+='</div>\n <div class="skip-icon"></div>\n </a>\n <div id="debug"></div>\n</section>\n',s})}),define("app/views/intro",["jquery","backbone","underscore","app/utils/video","hbs!app/templates/intro"],function(e,t,n,r,i){var s=t.BaseView.extend({el:"#container-main",events:{"mouseenter .btn-skip-intro":"skipRoll","mouseleave .btn-skip-intro":"skipRoll"},postInitialize:function(){this.template=i},bindings:function(){n.bindAll(this,"render","destroy")},listeners:function(){},postRender:function(t){var n=this,i=t&&t.intro?t.intro:undefined,s;return i&&(this.reachedThirteen=!1,i.id="video-intro",this.$el.find("#container-intro").prepend(i),this.$introVideo=e("#video-intro",this.$el),setTimeout(function(){n.startVideo(i)},100),r.resize(n.$introVideo),e(window).resize(function(){s&&clearTimeout(s),s=setTimeout(function(){},200)}),n.$introVideo.on("ended",function(){clearInterval(n.vidInterval),n.pubSub.trigger("pageChangeRequest","landing")}),n.vidInterval=setInterval(function(){n.onInterval()},200)),n},startVideo:function(e){try{e.currentTime=0,e.muted=!0,e.play()}catch(t){console.log("video error: "+t.message);var n=this;setTimeout(function(){n.startVideo(e)},100)}},onInterval:function(){this.$introVideo[0].currentTime>=13&&(clearInterval(this.vidInterval),this.pubSub.trigger("pageChangeRequest","landing"))},skipRoll:function(t){var n=e(t.currentTarget);switch(t.type){case"mouseenter":n.animate({opacity:.6},{queue:!1});break;case"mouseleave":n.animate({opacity:.3},{queue:!1})}},cleanup:function(){}});return s}),function(e,t){typeof define=="function"&&define.amd?define("imageloader",["jquery"],t):e.ImageLoader=t(e.jquery)}(this,function(e){function t(t,n,r){var i=this;i.$container=t,r=r?" "+r:"",i.$container.append('<div class="loader"></div><img data-src="'+n+'" class="img-load'+r+'">').addClass("loading"),console.log(i.$container),console.log(e("img",i.$container)),i.$img=e("img",i.$container),i.$img.on("load",function(){i.$container.removeClass("loading"),i.$img.removeClass("img-load")}).on("abort",function(){i.$container.removeClass("loading")}).on("error",function(){i.$container.removeClass("loading")}).attr("src",i.$img.data("src"))}return t}),function(e){function G(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1}}function Y(e,t){return function(n){return ot(e.call(this,n),t)}}function Z(e,t){return function(n){return this.lang().ordinal(e.call(this,n),t)}}function et(){}function tt(e){bt(e),rt(this,e)}function nt(e){var t=ht(e),n=t.year||0,r=t.month||0,i=t.week||0,s=t.day||0,o=t.hour||0,u=t.minute||0,a=t.second||0,f=t.millisecond||0;this._milliseconds=+f+a*1e3+u*6e4+o*36e5,this._days=+s+i*7,this._months=+r+n*12,this._data={},this._bubble()}function rt(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return t.hasOwnProperty("toString")&&(e.toString=t.toString),t.hasOwnProperty("valueOf")&&(e.valueOf=t.valueOf),e}function it(e){var t={},n;for(n in e)e.hasOwnProperty(n)&&d.hasOwnProperty(n)&&(t[n]=e[n]);return t}function st(e){return e<0?Math.ceil(e):Math.floor(e)}function ot(e,t,n){var r=""+Math.abs(e),i=e>=0;while(r.length<t)r="0"+r;return(i?n?"+":"":"-")+r}function ut(e,n,r,i){var s=n._milliseconds,o=n._days,u=n._months;i=i==null?!0:i,s&&e._d.setTime(+e._d+s*r),o&&Zt(e,"Date",Yt(e,"Date")+o*r),u&&Gt(e,Yt(e,"Month")+u*r),i&&t.updateOffset(e,o||u)}function at(e){return Object.prototype.toString.call(e)==="[object Array]"}function ft(e){return Object.prototype.toString.call(e)==="[object Date]"||e instanceof Date}function lt(e,t,n){var r=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),s=0,o;for(o=0;o<r;o++)(n&&e[o]!==t[o]||!n&&dt(e[o])!==dt(t[o]))&&s++;return s+i}function ct(e){if(e){var t=e.toLowerCase().replace(/(.)s$/,"$1");e=W[e]||X[t]||t}return e}function ht(e){var t={},n,r;for(r in e)e.hasOwnProperty(r)&&(n=ct(r),n&&(t[n]=e[r]));return t}function pt(n){var r,i;if(n.indexOf("week")===0)r=7,i="day";else{if(n.indexOf("month")!==0)return;r=12,i="month"}t[n]=function(s,o){var u,a,f=t.fn._lang[n],l=[];typeof s=="number"&&(o=s,s=e),a=function(e){var n=t().utc().set(i,e);return f.call(t.fn._lang,n,s||"")};if(o!=null)return a(o);for(u=0;u<r;u++)l.push(a(u));return l}}function dt(e){var t=+e,n=0;return t!==0&&isFinite(t)&&(t>=0?n=Math.floor(t):n=Math.ceil(t)),n}function vt(e,t){return(new Date(Date.UTC(e,t+1,0))).getUTCDate()}function mt(e,n,r){return $t(t([e,11,31+n-r]),n,r).week}function gt(e){return yt(e)?366:365}function yt(e){return e%4===0&&e%100!==0||e%400===0}function bt(e){var t;e._a&&e._pf.overflow===-2&&(t=e._a[u]<0||e._a[u]>11?u:e._a[a]<1||e._a[a]>vt(e._a[o],e._a[u])?a:e._a[f]<0||e._a[f]>23?f:e._a[l]<0||e._a[l]>59?l:e._a[c]<0||e._a[c]>59?c:e._a[h]<0||e._a[h]>999?h:-1,e._pf._overflowDayOfYear&&(t<o||t>a)&&(t=a),e._pf.overflow=t)}function wt(e){return e._isValid==null&&(e._isValid=!isNaN(e._d.getTime())&&e._pf.overflow<0&&!e._pf.empty&&!e._pf.invalidMonth&&!e._pf.nullInput&&!e._pf.invalidFormat&&!e._pf.userInvalidated,e._strict&&(e._isValid=e._isValid&&e._pf.charsLeftOver===0&&e._pf.unusedTokens.length===0)),e._isValid}function Et(e){return e?e.toLowerCase().replace("_","-"):e}function St(e,n){return n._isUTC?t(e).zone(n._offset||0):t(e).local()}function xt(e,t){return t.abbr=e,p[e]||(p[e]=new et),p[e].set(t),p[e]}function Tt(e){delete p[e]}function Nt(e){var n=0,r,i,s,o,u=function(e){if(!p[e]&&v)try{require("./lang/"+e)}catch(t){}return p[e]};if(!e)return t.fn._lang;if(!at(e)){i=u(e);if(i)return i;e=[e]}while(n<e.length){o=Et(e[n]).split("-"),r=o.length,s=Et(e[n+1]),s=s?s.split("-"):null;while(r>0){i=u(o.slice(0,r).join("-"));if(i)return i;if(s&&s.length>=r&<(o,s,!0)>=r-1)break;r--}n++}return t.fn._lang}function Ct(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function kt(e){var t=e.match(b),n,r;for(n=0,r=t.length;n<r;n++)K[t[n]]?t[n]=K[t[n]]:t[n]=Ct(t[n]);return function(i){var s="";for(n=0;n<r;n++)s+=t[n]instanceof Function?t[n].call(i,e):t[n];return s}}function Lt(e,t){return e.isValid()?(t=At(t,e.lang()),V[t]||(V[t]=kt(t)),V[t](e)):e.lang().invalidDate()}function At(e,t){function r(e){return t.longDateFormat(e)||e}var n=5;w.lastIndex=0;while(n>=0&&w.test(e))e=e.replace(w,r),w.lastIndex=0,n-=1;return e}function Ot(e,t){var n,r=t._strict;switch(e){case"DDDD":return D;case"YYYY":case"GGGG":case"gggg":return r?P:x;case"Y":case"G":case"g":return B;case"YYYYYY":case"YYYYY":case"GGGGG":case"ggggg":return r?H:T;case"S":if(r)return M;case"SS":if(r)return _;case"SSS":if(r)return D;case"DDD":return S;case"MMM":case"MMMM":case"dd":case"ddd":case"dddd":return C;case"a":case"A":return Nt(t._l)._meridiemParse;case"X":return A;case"Z":case"ZZ":return k;case"T":return L;case"SSSS":return N;case"MM":case"DD":case"YY":case"GG":case"gg":case"HH":case"hh":case"mm":case"ss":case"ww":case"WW":return r?_:E;case"M":case"D":case"d":case"H":case"h":case"m":case"s":case"w":case"W":case"e":case"E":return E;case"Do":return O;default:return n=new RegExp(Ft(jt(e.replace("\\","")),"i")),n}}function Mt(e){e=e||"";var t=e.match(k)||[],n=t[t.length-1]||[],r=(n+"").match(R)||["-",0,0],i=+(r[1]*60)+dt(r[2]);return r[0]==="+"?-i:i}function _t(e,n,r){var i,s=r._a;switch(e){case"M":case"MM":n!=null&&(s[u]=dt(n)-1);break;case"MMM":case"MMMM":i=Nt(r._l).monthsParse(n),i!=null?s[u]=i:r._pf.invalidMonth=n;break;case"D":case"DD":n!=null&&(s[a]=dt(n));break;case"Do":n!=null&&(s[a]=dt(parseInt(n,10)));break;case"DDD":case"DDDD":n!=null&&(r._dayOfYear=dt(n));break;case"YY":s[o]=t.parseTwoDigitYear(n);break;case"YYYY":case"YYYYY":case"YYYYYY":s[o]=dt(n);break;case"a":case"A":r._isPm=Nt(r._l).isPM(n);break;case"H":case"HH":case"h":case"hh":s[f]=dt(n);break;case"m":case"mm":s[l]=dt(n);break;case"s":case"ss":s[c]=dt(n);break;case"S":case"SS":case"SSS":case"SSSS":s[h]=dt(("0."+n)*1e3);break;case"X":r._d=new Date(parseFloat(n)*1e3);break;case"Z":case"ZZ":r._useUTC=!0,r._tzm=Mt(n);break;case"w":case"ww":case"W":case"WW":case"d":case"dd":case"ddd":case"dddd":case"e":case"E":e=e.substr(0,1);case"gg":case"gggg":case"GG":case"GGGG":case"GGGGG":e=e.substr(0,2),n&&(r._w=r._w||{},r._w[e]=n)}}function Dt(e){var n,r,i=[],s,c,h,p,d,v,m,g;if(e._d)return;s=Ht(e),e._w&&e._a[a]==null&&e._a[u]==null&&(h=function(n){var r=parseInt(n,10);return n?n.length<3?r>68?1900+r:2e3+r:r:e._a[o]==null?t().weekYear():e._a[o]},p=e._w,p.GG!=null||p.W!=null||p.E!=null?d=Jt(h(p.GG),p.W||1,p.E,4,1):(v=Nt(e._l),m=p.d!=null?Wt(p.d,v):p.e!=null?parseInt(p.e,10)+v._week.dow:0,g=parseInt(p.w,10)||1,p.d!=null&&m<v._week.dow&&g++,d=Jt(h(p.gg),g,m,v._week.doy,v._week.dow)),e._a[o]=d.year,e._dayOfYear=d.dayOfYear),e._dayOfYear&&(c=e._a[o]==null?s[o]:e._a[o],e._dayOfYear>gt(c)&&(e._pf._overflowDayOfYear=!0),r=zt(c,0,e._dayOfYear),e._a[u]=r.getUTCMonth(),e._a[a]=r.getUTCDate());for(n=0;n<3&&e._a[n]==null;++n)e._a[n]=i[n]=s[n];for(;n<7;n++)e._a[n]=i[n]=e._a[n]==null?n===2?1:0:e._a[n];i[f]+=dt((e._tzm||0)/60),i[l]+=dt((e._tzm||0)%60),e._d=(e._useUTC?zt:Ut).apply(null,i)}function Pt(e){var t;if(e._d)return;t=ht(e._i),e._a=[t.year,t.month,t.day,t.hour,t.minute,t.second,t.millisecond],Dt(e)}function Ht(e){var t=new Date;return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Bt(e){e._a=[],e._pf.empty=!0;var t=Nt(e._l),n=""+e._i,r,i,s,o,u,a=n.length,l=0;s=At(e._f,t).match(b)||[];for(r=0;r<s.length;r++)o=s[r],i=(n.match(Ot(o,e))||[])[0],i&&(u=n.substr(0,n.indexOf(i)),u.length>0&&e._pf.unusedInput.push(u),n=n.slice(n.indexOf(i)+i.length),l+=i.length),K[o]?(i?e._pf.empty=!1:e._pf.unusedTokens.push(o),_t(o,i,e)):e._strict&&!i&&e._pf.unusedTokens.push(o);e._pf.charsLeftOver=a-l,n.length>0&&e._pf.unusedInput.push(n),e._isPm&&e._a[f]<12&&(e._a[f]+=12),e._isPm===!1&&e._a[f]===12&&(e._a[f]=0),Dt(e),bt(e)}function jt(e){return e.replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i})}function Ft(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function It(e){var t,n,r,i,s;if(e._f.length===0){e._pf.invalidFormat=!0,e._d=new Date(NaN);return}for(i=0;i<e._f.length;i++){s=0,t=rt({},e),t._pf=G(),t._f=e._f[i],Bt(t);if(!wt(t))continue;s+=t._pf.charsLeftOver,s+=t._pf.unusedTokens.length*10,t._pf.score=s;if(r==null||s<r)r=s,n=t}rt(e,n||t)}function qt(e){var t,n,r=e._i,i=j.exec(r);if(i){e._pf.iso=!0;for(t=0,n=I.length;t<n;t++)if(I[t][1].exec(r)){e._f=I[t][0]+(i[6]||" ");break}for(t=0,n=q.length;t<n;t++)if(q[t][1].exec(r)){e._f+=q[t][0];break}r.match(k)&&(e._f+="Z"),Bt(e)}else e._d=new Date(r)}function Rt(n){var r=n._i,i=m.exec(r);r===e?n._d=new Date:i?n._d=new Date(+i[1]):typeof r=="string"?qt(n):at(r)?(n._a=r.slice(0),Dt(n)):ft(r)?n._d=new Date(+r):typeof r=="object"?Pt(n):typeof r=="number"?n._d=new Date(r):t.createFromInputFallback(n)}function Ut(e,t,n,r,i,s,o){var u=new Date(e,t,n,r,i,s,o);return e<1970&&u.setFullYear(e),u}function zt(e){var t=new Date(Date.UTC.apply(null,arguments));return e<1970&&t.setUTCFullYear(e),t}function Wt(e,t){if(typeof e=="string")if(!isNaN(e))e=parseInt(e,10);else{e=t.weekdaysParse(e);if(typeof e!="number")return null}return e}function Xt(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function Vt(e,t,n){var r=i(Math.abs(e)/1e3),s=i(r/60),o=i(s/60),u=i(o/24),a=i(u/365),f=r<45&&["s",r]||s===1&&["m"]||s<45&&["mm",s]||o===1&&["h"]||o<22&&["hh",o]||u===1&&["d"]||u<=25&&["dd",u]||u<=45&&["M"]||u<345&&["MM",i(u/30)]||a===1&&["y"]||["yy",a];return f[2]=t,f[3]=e>0,f[4]=n,Xt.apply({},f)}function $t(e,n,r){var i=r-n,s=r-e.day(),o;return s>i&&(s-=7),s<i-7&&(s+=7),o=t(e).add("d",s),{week:Math.ceil(o.dayOfYear()/7),year:o.year()}}function Jt(e,t,n,r,i){var s=zt(e,0,1).getUTCDay(),o,u;return n=n!=null?n:i,o=i-s+(s>r?7:0)-(s<i?7:0),u=7*(t-1)+(n-i)+o+1,{year:u>0?e:e-1,dayOfYear:u>0?u:gt(e-1)+u}}function Kt(e){var n=e._i,r=e._f;return n===null?t.invalid({nullInput:!0}):(typeof n=="string"&&(e._i=n=Nt().preparse(n)),t.isMoment(n)?(e=it(n),e._d=new Date(+n._d)):r?at(r)?It(e):Bt(e):Rt(e),new tt(e))}function Qt(e,t){function r(){typeof console!="undefined"&&console.warn&&console.warn("Deprecation warning: "+e)}var n=!0;return rt(function(){return n&&(r(),n=!1),t.apply(this,arguments)},t)}function Gt(e,t){var n;if(typeof t=="string"){t=e.lang().monthsParse(t);if(typeof t!="number")return e}return n=Math.min(e.date(),vt(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Yt(e,t){return e._d["get"+(e._isUTC?"UTC":"")+t]()}function Zt(e,t,n){return t==="Month"?Gt(e,n):e._d["set"+(e._isUTC?"UTC":"")+t](n)}function en(e,n){return function(r){return r!=null?(Zt(this,e,r),t.updateOffset(this,n),this):Yt(this,e)}}function tn(e){t.duration.fn[e]=function(){return this._data[e]}}function nn(e,n){t.duration.fn["as"+e]=function(){return+this/n}}function rn(e){if(typeof ender!="undefined")return;e?r.moment=Qt("Accessing Moment through the global scope is deprecated, and will be removed in an upcoming release.",t):r.moment=t}var t,n="2.5.1",r=typeof global!="undefined"?global:this,i=Math.round,s,o=0,u=1,a=2,f=3,l=4,c=5,h=6,p={},d={_isAMomentObject:null,_i:null,_f:null,_l:null,_strict:null,_isUTC:null,_offset:null,_pf:null,_lang:null},v=typeof module!="undefined"&&module.exports&&typeof require!="undefined",m=/^\/?Date\((\-?\d+)/i,g=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,y=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/,b=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,4}|X|zz?|ZZ?|.)/g,w=/(\[[^\[]*\])|(\\)?(LT|LL?L?L?|l{1,4})/g,E=/\d\d?/,S=/\d{1,3}/,x=/\d{1,4}/,T=/[+\-]?\d{1,6}/,N=/\d+/,C=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,k=/Z|[\+\-]\d\d:?\d\d/gi,L=/T/i,A=/[\+\-]?\d+(\.\d{1,3})?/,O=/\d{1,2}/,M=/\d/,_=/\d\d/,D=/\d{3}/,P=/\d{4}/,H=/[+-]?\d{6}/,B=/[+-]?\d+/,j=/^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,F="YYYY-MM-DDTHH:mm:ssZ",I=[["YYYYYY-MM-DD",/[+-]\d{6}-\d{2}-\d{2}/],["YYYY-MM-DD",/\d{4}-\d{2}-\d{2}/],["GGGG-[W]WW-E",/\d{4}-W\d{2}-\d/],["GGGG-[W]WW",/\d{4}-W\d{2}/],["YYYY-DDD",/\d{4}-\d{3}/]],q=[["HH:mm:ss.SSSS",/(T| )\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss",/(T| )\d\d:\d\d:\d\d/],["HH:mm",/(T| )\d\d:\d\d/],["HH",/(T| )\d\d/]],R=/([\+\-]|\d\d)/gi,U="Date|Hours|Minutes|Seconds|Milliseconds".split("|"),z={Milliseconds:1,Seconds:1e3,Minutes:6e4,Hours:36e5,Days:864e5,Months:2592e6,Years:31536e6},W={ms:"millisecond",s:"second",m:"minute",h:"hour",d:"day",D:"date",w:"week",W:"isoWeek",M:"month",y:"year",DDD:"dayOfYear",e:"weekday",E:"isoWeekday",gg:"weekYear",GG:"isoWeekYear"},X={dayofyear:"dayOfYear",isoweekday:"isoWeekday",isoweek:"isoWeek",weekyear:"weekYear",isoweekyear:"isoWeekYear"},V={},$="DDD w W M D d".split(" "),J="M D H h m s w W".split(" "),K={M:function(){return this.month()+1},MMM:function(e){return this.lang().monthsShort(this,e)},MMMM:function(e){return this.lang().months(this,e)},D:function(){return this.date()},DDD:function(){return this.dayOfYear()},d:function(){return this.day()},dd:function(e){return this.lang().weekdaysMin(this,e)},ddd:function(e){return this.lang().weekdaysShort(this,e)},dddd:function(e){return this.lang().weekdays(this,e)},w:function(){return this.week()},W:function(){return this.isoWeek()},YY:function(){return ot(this.year()%100,2)},YYYY:function(){return ot(this.year(),4)},YYYYY:function(){return ot(this.year(),5)},YYYYYY:function(){var e=this.year(),t=e>=0?"+":"-";return t+ot(Math.abs(e),6)},gg:function(){return ot(this.weekYear()%100,2)},gggg:function(){return ot(this.weekYear(),4)},ggggg:function(){return ot(this.weekYear(),5)},GG:function(){return ot(this.isoWeekYear()%100,2)},GGGG:function(){return ot(this.isoWeekYear(),4)},GGGGG:function(){return ot(this.isoWeekYear(),5)},e:function(){return this.weekday()},E:function(){return this.isoWeekday()},a:function(){return this.lang().meridiem(this.hours(),this.minutes(),!0)},A:function(){return this.lang().meridiem(this.hours(),this.minutes(),!1)},H:function(){return this.hours()},h:function(){return this.hours()%12||12},m:function(){return this.minutes()},s:function(){return this.seconds()},S:function(){return dt(this.milliseconds()/100)},SS:function(){return ot(dt(this.milliseconds()/10),2)},SSS:function(){return ot(this.milliseconds(),3)},SSSS:function(){return ot(this.milliseconds(),3)},Z:function(){var e=-this.zone(),t="+";return e<0&&(e=-e,t="-"),t+ot(dt(e/60),2)+":"+ot(dt(e)%60,2)},ZZ:function(){var e=-this.zone(),t="+";return e<0&&(e=-e,t="-"),t+ot(dt(e/60),2)+ot(dt(e)%60,2)},z:function(){return this.zoneAbbr()},zz:function(){return this.zoneName()},X:function(){return this.unix()},Q:function(){return this.quarter()}},Q=["months","monthsShort","weekdays","weekdaysShort","weekdaysMin"];while($.length)s=$.pop(),K[s+"o"]=Z(K[s],s);while(J.length)s=J.pop(),K[s+s]=Y(K[s],2);K.DDDD=Y(K.DDD,3),rt(et.prototype,{set:function(e){var t,n;for(n in e)t=e[n],typeof t=="function"?this[n]=t:this["_"+n]=t},_months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),months:function(e){return this._months[e.month()]},_monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),monthsShort:function(e){return this._monthsShort[e.month()]},monthsParse:function(e){var n,r,i;this._monthsParse||(this._monthsParse=[]);for(n=0;n<12;n++){this._monthsParse[n]||(r=t.utc([2e3,n]),i="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[n]=new RegExp(i.replace(".",""),"i"));if(this._monthsParse[n].test(e))return n}},_weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdays:function(e){return this._weekdays[e.day()]},_weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysShort:function(e){return this._weekdaysShort[e.day()]},_weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),weekdaysMin:function(e){return this._weekdaysMin[e.day()]},weekdaysParse:function(e){var n,r,i;this._weekdaysParse||(this._weekdaysParse=[]);for(n=0;n<7;n++){this._weekdaysParse[n]||(r=t([2e3,1]).day(n),i="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[n]=new RegExp(i.replace(".",""),"i"));if(this._weekdaysParse[n].test(e))return n}},_longDateFormat:{LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D YYYY",LLL:"MMMM D YYYY LT",LLLL:"dddd, MMMM D YYYY LT"},longDateFormat:function(e){var t=this._longDateFormat[e];return!t&&this._longDateFormat[e.toUpperCase()]&&(t=this._longDateFormat[e.toUpperCase()].replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e]=t),t},isPM:function(e){return(e+"").toLowerCase().charAt(0)==="p"},_meridiemParse:/[ap]\.?m?\.?/i,meridiem:function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},_calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},calendar:function(e,t){var n=this._calendar[e];return typeof n=="function"?n.apply(t):n},_relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},relativeTime:function(e,t,n,r){var i=this._relativeTime[n];return typeof i=="function"?i(e,t,n,r):i.replace(/%d/i,e)},pastFuture:function(e,t){var n=this._relativeTime[e>0?"future":"past"];return typeof n=="function"?n(t):n.replace(/%s/i,t)},ordinal:function(e){return this._ordinal.replace("%d",e)},_ordinal:"%d",preparse:function(e){return e},postformat:function(e){return e},week:function(e){return $t(e,this._week.dow,this._week.doy).week},_week:{dow:0,doy:6},_invalidDate:"Invalid date",invalidDate:function(){return this._invalidDate}}),t=function(t,n,r,i){var s;return typeof r=="boolean"&&(i=r,r=e),s={},s._isAMomentObject=!0,s._i=t,s._f=n,s._l=r,s._strict=i,s._isUTC=!1,s._pf=G(),Kt(s)},t.createFromInputFallback=function(e){e._d=new Date(e._i)},t.utc=function(t,n,r,i){var s;return typeof r=="boolean"&&(i=r,r=e),s={},s._isAMomentObject=!0,s._useUTC=!0,s._isUTC=!0,s._l=r,s._i=t,s._f=n,s._strict=i,s._pf=G(),Kt(s).utc()},t.unix=function(e){return t(e*1e3)},t.duration=function(e,n){var r=e,i=null,s,o,u;return t.isDuration(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:typeof e=="number"?(r={},n?r[n]=e:r.milliseconds=e):(i=g.exec(e))?(s=i[1]==="-"?-1:1,r={y:0,d:dt(i[a])*s,h:dt(i[f])*s,m:dt(i[l])*s,s:dt(i[c])*s,ms:dt(i[h])*s}):!(i=y.exec(e))||(s=i[1]==="-"?-1:1,u=function(e){var t=e&&parseFloat(e.replace(",","."));return(isNaN(t)?0:t)*s},r={y:u(i[2]),M:u(i[3]),d:u(i[4]),h:u(i[5]),m:u(i[6]),s:u(i[7]),w:u(i[8])}),o=new nt(r),t.isDuration(e)&&e.hasOwnProperty("_lang")&&(o._lang=e._lang),o},t.version=n,t.defaultFormat=F,t.momentProperties=d,t.updateOffset=function(){},t.lang=function(e,n){var r;return e?(n?xt(Et(e),n):n===null?(Tt(e),e="en"):p[e]||Nt(e),r=t.duration.fn._lang=t.fn._lang=Nt(e),r._abbr):t.fn._lang._abbr},t.langData=function(e){return e&&e._lang&&e._lang._abbr&&(e=e._lang._abbr),Nt(e)},t.isMoment=function(e){return e instanceof tt||e!=null&&e.hasOwnProperty("_isAMomentObject")},t.isDuration=function(e){return e instanceof nt};for(s=Q.length-1;s>=0;--s)pt(Q[s]);t.normalizeUnits=function(e){return ct(e)},t.invalid=function(e){var n=t.utc(NaN);return e!=null?rt(n._pf,e):n._pf.userInvalidated=!0,n},t.parseZone=function(){return t.apply(null,arguments).parseZone()},t.parseTwoDigitYear=function(e){return dt(e)+(dt(e)>68?1900:2e3)},rt(t.fn=tt.prototype,{clone:function(){return t(this)},valueOf:function(){return+this._d+(this._offset||0)*6e4},unix:function(){return Math.floor(+this/1e3)},toString:function(){return this.clone().lang("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},toDate:function(){return this._offset?new Date(+this):this._d},toISOString:function(){var e=t(this).utc();return 0<e.year()&&e.year()<=9999?Lt(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):Lt(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")},toArray:function(){var e=this;return[e.year(),e.month(),e.date(),e.hours(),e.minutes(),e.seconds(),e.milliseconds()]},isValid:function(){return wt(this)},isDSTShifted:function(){return this._a?this.isValid()&<(this._a,(this._isUTC?t.utc(this._a):t(this._a)).toArray())>0:!1},parsingFlags:function(){return rt({},this._pf)},invalidAt:function(){return this._pf.overflow},utc:function(){return this.zone(0)},local:function(){return this.zone(0),this._isUTC=!1,this},format:function(e){var n=Lt(this,e||t.defaultFormat);return this.lang().postformat(n)},add:function(e,n){var r;return typeof e=="string"?r=t.duration(+n,e):r=t.duration(e,n),ut(this,r,1),this},subtract:function(e,n){var r;return typeof e=="string"?r=t.duration(+n,e):r=t.duration(e,n),ut(this,r,-1),this},diff:function(e,n,r){var i=St(e,this),s=(this.zone()-i.zone())*6e4,o,u;return n=ct(n),n==="year"||n==="month"?(o=(this.daysInMonth()+i.daysInMonth())*432e5,u=(this.year()-i.year())*12+(this.month()-i.month()),u+=(this-t(this).startOf("month")-(i-t(i).startOf("month")))/o,u-=(this.zone()-t(this).startOf("month").zone()-(i.zone()-t(i).startOf("month").zone()))*6e4/o,n==="year"&&(u/=12)):(o=this-i,u=n==="second"?o/1e3:n==="minute"?o/6e4:n==="hour"?o/36e5:n==="day"?(o-s)/864e5:n==="week"?(o-s)/6048e5:o),r?u:st(u)},from:function(e,n){return t.duration(this.diff(e)).lang(this.lang()._abbr).humanize(!n)},fromNow:function(e){return this.from(t(),e)},calendar:function(){var e=St(t(),this).startOf("day"),n=this.diff(e,"days",!0),r=n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse";return this.format(this.lang().calendar(r,this))},isLeapYear:function(){return yt(this.year())},isDST:function(){return this.zone()<this.clone().month(0).zone()||this.zone()<this.clone().month(5).zone()},day:function(e){var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return e!=null?(e=Wt(e,this.lang()),this.add({d:e-t})):t},month:en("Month",!0),startOf:function(e){e=ct(e);switch(e){case"year":this.month(0);case"month":this.date(1);case"week":case"isoWeek":case"day":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return e==="week"?this.weekday(0):e==="isoWeek"&&this.isoWeekday(1),this},endOf:function(e){return e=ct(e),this.startOf(e).add(e==="isoWeek"?"week":e,1).subtract("ms",1)},isAfter:function(e,n){return n=typeof n!="undefined"?n:"millisecond",+this.clone().startOf(n)>+t(e).startOf(n)},isBefore:function(e,n){return n=typeof n!="undefined"?n:"millisecond",+this.clone().startOf(n)<+t(e).startOf(n)},isSame:function(e,t){return t=t||"ms",+this.clone().startOf(t)===+St(e,this).startOf(t)},min:function(e){return e=t.apply(null,arguments),e<this?this:e},max:function(e){return e=t.apply(null,arguments),e>this?this:e},zone:function(e,n){var r=this._offset||0;return e==null?this._isUTC?r:this._d.getTimezoneOffset():(typeof e=="string"&&(e=Mt(e)),Math.abs(e)<16&&(e*=60),this._offset=e,this._isUTC=!0,r!==e&&(!n||this._change_in_progress?ut(this,t.duration(r-e,"m"),1,!1):this._change_in_progress||(this._change_in_progress=!0,t.updateOffset(this,!0),this._change_in_progress=null)),this)},zoneAbbr:function(){return this._isUTC?"UTC":""},zoneName:function(){return this._isUTC?"Coordinated Universal Time":""},parseZone:function(){return this._tzm?this.zone(this._tzm):typeof this._i=="string"&&this.zone(this._i),this},hasAlignedHourOffset:function(e){return e?e=t(e).zone():e=0,(this.zone()-e)%60===0},daysInMonth:function(){return vt(this.year(),this.month())},dayOfYear:function(e){var n=i((t(this).startOf("day")-t(this).startOf("year"))/864e5)+1;return e==null?n:this.add("d",e-n)},quarter:function(){return Math.ceil((this.month()+1)/3)},weekYear:function(e){var t=$t(this,this.lang()._week.dow,this.lang()._week.doy).year;return e==null?t:this.add("y",e-t)},isoWeekYear:function(e){var t=$t(this,1,4).year;return e==null?t:this.add("y",e-t)},week:function(e){var t=this.lang().week(this);return e==null?t:this.add("d",(e-t)*7)},isoWeek:function(e){var t=$t(this,1,4).week;return e==null?t:this.add("d",(e-t)*7)},weekday:function(e){var t=(this.day()+7-this.lang()._week.dow)%7;return e==null?t:this.add("d",e-t)},isoWeekday:function(e){return e==null?this.day()||7:this.day(this.day()%7?e:e-7)},isoWeeksInYear:function(){return mt(this.year(),1,4)},weeksInYear:function(){var e=this._lang._week;return mt(this.year(),e.dow,e.doy)},get:function(e){return e=ct(e),this[e]()},set:function(e,t){return e=ct(e),typeof this[e]=="function"&&this[e](t),this},lang:function(t){return t===e?this._lang:(this._lang=Nt(t),this)}}),t.fn.millisecond=t.fn.milliseconds=en("Milliseconds",!1),t.fn.second=t.fn.seconds=en("Seconds",!1),t.fn.minute=t.fn.minutes=en("Minutes",!1),t.fn.hour=t.fn.hours=en("Hours",!0),t.fn.date=en("Date",!0),t.fn.dates=Qt("dates accessor is deprecated. Use date instead.",en("Date",!0)),t.fn.year=en("FullYear",!0),t.fn.years=Qt("years accessor is deprecated. Use year instead.",en("FullYear",!0)),t.fn.days=t.fn.day,t.fn.months=t.fn.month,t.fn.weeks=t.fn.week,t.fn.isoWeeks=t.fn.isoWeek,t.fn.toJSON=t.fn.toISOString,rt(t.duration.fn=nt.prototype,{_bubble:function(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data,i,s,o,u;r.milliseconds=e%1e3,i=st(e/1e3),r.seconds=i%60,s=st(i/60),r.minutes=s%60,o=st(s/60),r.hours=o%24,t+=st(o/24),r.days=t%30,n+=st(t/30),r.months=n%12,u=st(n/12),r.years=u},weeks:function(){return st(this.days()/7)},valueOf:function(){return this._milliseconds+this._days*864e5+this._months%12*2592e6+dt(this._months/12)*31536e6},humanize:function(e){var t=+this,n=Vt(t,!e,this.lang());return e&&(n=this.lang().pastFuture(t,n)),this.lang().postformat(n)},add:function(e,n){var r=t.duration(e,n);return this._milliseconds+=r._milliseconds,this._days+=r._days,this._months+=r._months,this._bubble(),this},subtract:function(e,n){var r=t.duration(e,n);return this._milliseconds-=r._milliseconds,this._days-=r._days,this._months-=r._months,this._bubble(),this},get:function(e){return e=ct(e),this[e.toLowerCase()+"s"]()},as:function(e){return e=ct(e),this["as"+e.charAt(0).toUpperCase()+e.slice(1)+"s"]()},lang:t.fn.lang,toIsoString:function(){var e=Math.abs(this.years()),t=Math.abs(this.months()),n=Math.abs(this.days()),r=Math.abs(this.hours()),i=Math.abs(this.minutes()),s=Math.abs(this.seconds()+this.milliseconds()/1e3);return this.asSeconds()?(this.asSeconds()<0?"-":"")+"P"+(e?e+"Y":"")+(t?t+"M":"")+(n?n+"D":"")+(r||i||s?"T":"")+(r?r+"H":"")+(i?i+"M":"")+(s?s+"S":""):"P0D"}});for(s in z)z.hasOwnProperty(s)&&(nn(s,z[s]),tn(s.toLowerCase()));nn("Weeks",6048e5),t.duration.fn.asMonths=function(){return(+this-this.years()*31536e6)/2592e6+this.years()*12},t.lang("en",{ordinal:function(e){var t=e%10,n=dt(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+n}}),v?(module.exports=t,rn(!0)):typeof define=="function"&&define.amd?define("moment",["require","exports","module"],function(n,r,i){return i.config&&i.config()&&i.config().noGlobal!==!0&&rn(i.config().noGlobal===e),t}):rn()}.call(this),define("hbs!app/templates/landing",["Handlebars"],function(e){return e.template(function(e,t,n,r,i){return this.compilerInfo=[2,">= 1.0.0-rc.3"],n=n||e.helpers,i=i||{},"<section id=\"landing\">\n <div class='page min-full'>\n <!--div style='z-index:999;position:absolute;height:50%;width:20px;background-color:blue;'></div-->\n <div class='vert-content'>\n <div class='title'>Jesse Owens</div>\n <div class='subtitle'>A PORTRAIT OF THE LEGEND & HIS ENDURING LEGACY</div>\n </div>\n </div> \n <div id='clip-landing' class='min-full clip-bg'></div> \n</section>\n"})}),define("app/views/landing",["jquery","backbone","underscore","TweenMax","imageloader","moment","projectutil","hbs!app/templates/landing"],function(e,t,n,r,i,s,o,u){var a=t.BaseView.extend({el:"#container-main",events:{},postInitialize:function(){this.template=u},bindings:function(){},listeners:function(){},postRender:function(){var t=this;return o.minHeight(),r.set(e("#landing"),{opacity:0}),r.set(e("#clip-landing"),{opacity:0,y:"+=150"}),r.set(e(".vert-content .title"),{opacity:0,y:"+=120"}),r.set(e(".vert-content .subtitle"),{opacity:0,y:"+=120"}),r.to(e("#landing"),1.2,{delay:.7,autoAlpha:1,ease:Power1.easeOut}),e("<img/>")[0].src="assets/img/bg-scholarship-landing.jpg",e("<img/>")[0].src="assets/img/bg-contribute-landing.jpg",e("<img/>")[0].src="assets/img/bg-contact-landing.jpg",r.to(e("#clip-landing"),1.6,{delay:1,autoAlpha:1,y:0,ease:Quad.easeOut}),r.to(e(".vert-content .title"),1,{delay:2,autoAlpha:1,y:0,ease:Quad.easeOut}),r.to(e(".vert-content .subtitle"),1,{delay:2.2,autoAlpha:1,y:0,ease:Quad.easeOut}),t},cleanup:function(){}});return a}),!function(e,t,n,r){function i(t,n){this.element=t,this.options=e.extend({},o,n),this._defaults=o,this._name=s,this.init()}var s="stellar",o={scrollProperty:"scroll",positionProperty:"position",horizontalScrolling:!0,verticalScrolling:!0,horizontalOffset:0,verticalOffset:0,responsive:!1,parallaxBackgrounds:!0,parallaxElements:!0,hideDistantElements:!0,hideElement:function(e){e.hide()},showElement:function(e){e.show()}},u={scroll:{getLeft:function(e){return e.scrollLeft()},setLeft:function(e,t){e.scrollLeft(t)},getTop:function(e){return e.scrollTop()},setTop:function(e,t){e.scrollTop(t)}},position:{getLeft:function(e){return-1*parseInt(e.css("left"),10)},getTop:function(e){return-1*parseInt(e.css("top"),10)}},margin:{getLeft:function(e){return-1*parseInt(e.css("margin-left"),10)},getTop:function(e){return-1*parseInt(e.css("margin-top"),10)}},transform:{getLeft:function(e){var t=getComputedStyle(e[0])[l];return"none"!==t?-1*parseInt(t.match(/(-?[0-9]+)/g)[4],10):0},getTop:function(e){var t=getComputedStyle(e[0])[l];return"none"!==t?-1*parseInt(t.match(/(-?[0-9]+)/g)[5],10):0}}},a={position:{setLeft:function(e,t){e.css("left",t)},setTop:function(e,t){e.css("top",t)}},transform:{setPosition:function(e,t,n,r,i){e[0].style[l]="translate3d("+(t-n)+"px, "+(r-i)+"px, 0)"}}},f=function(){var t,n=/^(Moz|Webkit|Khtml|O|ms|Icab)(?=[A-Z])/,r=e("script")[0].style,i="";for(t in r)if(n.test(t)){i=t.match(n)[0];break}return"WebkitOpacity"in r&&(i="Webkit"),"KhtmlOpacity"in r&&(i="Khtml"),function(e){return i+(i.length>0?e.charAt(0).toUpperCase()+e.slice(1):e)}}(),l=f("transform"),c=e("<div />",{style:"background:#fff"}).css("background-position-x")!==r,h=c?function(e,t,n){e.css({"background-position-x":t,"background-position-y":n})}:function(e,t,n){e.css("background-position",t+" "+n)},p=c?function(e){return[e.css("background-position-x"),e.css("background-position-y")]}:function(e){return e.css("background-position").split(" ")},d=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||t.msRequestAnimationFrame||function(e){setTimeout(e,1e3/60)};i.prototype={init:function(){this.options.name=s+"_"+Math.floor(1e9*Math.random()),this._defineElements(),this._defineGetters(),this._defineSetters(),this._handleWindowLoadAndResize(),this._detectViewport(),this.refresh({firstLoad:!0}),"scroll"===this.options.scrollProperty?this._handleScrollEvent():this._startAnimationLoop()},_defineElements:function(){this.element===n.body&&(this.element=t),this.$scrollElement=e(this.element),this.$element=this.element===t?e("body"):this.$scrollElement,this.$viewportElement=this.options.viewportElement!==r?e(this.options.viewportElement):this.$scrollElement[0]===t||"scroll"===this.options.scrollProperty?this.$scrollElement:this.$scrollElement.parent()},_defineGetters:function(){var e=this,t=u[e.options.scrollProperty];this._getScrollLeft=function(){return t.getLeft(e.$scrollElement)},this._getScrollTop=function(){return t.getTop(e.$scrollElement)}},_defineSetters:function(){var t=this,n=u[t.options.scrollProperty],r=a[t.options.positionProperty],i=n.setLeft,s=n.setTop;this._setScrollLeft="function"==typeof i?function(e){i(t.$scrollElement,e)}:e.noop,this._setScrollTop="function"==typeof s?function(e){s(t.$scrollElement,e)}:e.noop,this._setPosition=r.setPosition||function(e,n,i,s,o){t.options.horizontalScrolling&&r.setLeft(e,n,i),t.options.verticalScrolling&&r.setTop(e,s,o)}},_handleWindowLoadAndResize:function(){var n=this,r=e(t);n.options.responsive&&r.bind("load."+this.name,function(){n.refresh()}),r.bind("resize."+this.name,function(){n._detectViewport(),n.options.responsive&&n.refresh()})},refresh:function(n){var r=this,i=r._getScrollLeft(),s=r._getScrollTop();n&&n.firstLoad||this._reset(),this._setScrollLeft(0),this._setScrollTop(0),this._setOffsets(),this._findParticles(),this._findBackgrounds(),n&&n.firstLoad&&/WebKit/.test(navigator.userAgent)&&e(t).load(function(){var e=r._getScrollLeft(),t=r._getScrollTop();r._setScrollLeft(e+1),r._setScrollTop(t+1),r._setScrollLeft(e),r._setScrollTop(t)}),this._setScrollLeft(i),this._setScrollTop(s)},_detectViewport:function(){var e=this.$viewportElement.offset(),t=null!==e&&e!==r;this.viewportWidth=this.$viewportElement.width(),this.viewportHeight=this.$viewportElement.height(),this.viewportOffsetTop=t?e.top:0,this.viewportOffsetLeft=t?e.left:0},_findParticles:function(){var t=this;this._getScrollLeft(),this._getScrollTop();if(this.particles!==r)for(var n=this.particles.length-1;n>=0;n--)this.particles[n].$element.data("stellar-elementIsActive",r);this.particles=[],this.options.parallaxElements&&this.$element.find("[data-stellar-ratio]").each(function(){var n,i,s,o,u,a,f,l,c,h=e(this),p=0,d=0,v=0,m=0;if(h.data("stellar-elementIsActive")){if(h.data("stellar-elementIsActive")!==this)return}else h.data("stellar-elementIsActive",this);t.options.showElement(h),h.data("stellar-startingLeft")?(h.css("left",h.data("stellar-startingLeft")),h.css("top",h.data("stellar-startingTop"))):(h.data("stellar-startingLeft",h.css("left")),h.data("stellar-startingTop",h.css("top"))),s=h.position().left,o=h.position().top,u="auto"===h.css("margin-left")?0:parseInt(h.css("margin-left"),10),a="auto"===h.css("margin-top")?0:parseInt(h.css("margin-top"),10),l=h.offset().left-u,c=h.offset().top-a,h.parents().each(function(){var t=e(this);return t.data("stellar-offset-parent")===!0?(p=v,d=m,f=t,!1):(v+=t.position().left,void (m+=t.position().top))}),n=h.data("stellar-horizontal-offset")!==r?h.data("stellar-horizontal-offset"):f!==r&&f.data("stellar-horizontal-offset")!==r?f.data("stellar-horizontal-offset"):t.horizontalOffset,i=h.data("stellar-vertical-offset")!==r?h.data("stellar-vertical-offset"):f!==r&&f.data("stellar-vertical-offset")!==r?f.data("stellar-vertical-offset"):t.verticalOffset,t.particles.push({$element:h,$offsetParent:f,isFixed:"fixed"===h.css("position"),horizontalOffset:n,verticalOffset:i,startingPositionLeft:s,startingPositionTop:o,startingOffsetLeft:l,startingOffsetTop:c,parentOffsetLeft:p,parentOffsetTop:d,stellarRatio:h.data("stellar-ratio")!==r?h.data("stellar-ratio"):1,width:h.outerWidth(!0),height:h.outerHeight(!0),isHidden:!1})})},_findBackgrounds:function(){var t,n=this,i=this._getScrollLeft(),s=this._getScrollTop();this.backgrounds=[],this.options.parallaxBackgrounds&&(t=this.$element.find("[data-stellar-background-ratio]"),this.$element.data("stellar-background-ratio")&&(t=t.add(this.$element)),t.each(function(){var t,o,u,a,f,l,c,d=e(this),v=p(d),g=0,y=0,b=0,w=0;if(d.data("stellar-backgroundIsActive")){if(d.data("stellar-backgroundIsActive")!==this)return}else d.data("stellar-backgroundIsActive",this);d.data("stellar-backgroundStartingLeft")?h(d,d.data("stellar-backgroundStartingLeft"),d.data("stellar-backgroundStartingTop")):(d.data("stellar-backgroundStartingLeft",v[0]),d.data("stellar-backgroundStartingTop",v[1])),u="auto"===d.css("margin-left")?0:parseInt(d.css("margin-left"),10),a="auto"===d.css("margin-top")?0:parseInt(d.css("margin-top"),10),f=d.offset().left-u-i,l=d.offset().top-a-s,d.parents().each(function(){var t=e(this);return t.data("stellar-offset-parent")===!0?(g=b,y=w,c=t,!1):(b+=t.position().left,void (w+=t.position().top))}),t=d.data("stellar-horizontal-offset")!==r?d.data("stellar-horizontal-offset"):c!==r&&c.data("stellar-horizontal-offset")!==r?c.data("stellar-horizontal-offset"):n.horizontalOffset,o=d.data("stellar-vertical-offset")!==r?d.data("stellar-vertical-offset"):c!==r&&c.data("stellar-vertical-offset")!==r?c.data("stellar-vertical-offset"):n.verticalOffset,n.backgrounds.push({$element:d,$offsetParent:c,isFixed:"fixed"===d.css("background-attachment"),horizontalOffset:t,verticalOffset:o,startingValueLeft:v[0],startingValueTop:v[1],startingBackgroundPositionLeft:isNaN(parseInt(v[0],10))?0:parseInt(v[0],10),startingBackgroundPositionTop:isNaN(parseInt(v[1],10))?0:parseInt(v[1],10),startingPositionLeft:d.position().left,startingPositionTop:d.position().top,startingOffsetLeft:f,startingOffsetTop:l,parentOffsetLeft:g,parentOffsetTop:y,stellarRatio:d.data("stellar-background-ratio")===r?1:d.data("stellar-background-ratio")})}))},_reset:function(){var e,t,n,r,i;for(i=this.particles.length-1;i>=0;i--)e=this.particles[i],t=e.$element.data("stellar-startingLeft"),n=e.$element.data("stellar-startingTop"),this._setPosition(e.$element,t,t,n,n),this.options.showElement(e.$element),e.$element.data("stellar-startingLeft",null).data("stellar-elementIsActive",null).data("stellar-backgroundIsActive",null);for(i=this.backgrounds.length-1;i>=0;i--)r=this.backgrounds[i],r.$element.data("stellar-backgroundStartingLeft",null).data("stellar-backgroundStartingTop",null),h(r.$element,r.startingValueLeft,r.startingValueTop)},destroy:function(){this._reset(),this.$scrollElement.unbind("resize."+this.name).unbind("scroll."+this.name),this._animationLoop=e.noop,e(t).unbind("load."+this.name).unbind("resize."+this.name)},_setOffsets:function(){var n=this,r=e(t);r.unbind("resize.horizontal-"+this.name).unbind("resize.vertical-"+this.name),"function"==typeof this.options.horizontalOffset?(this.horizontalOffset=this.options.horizontalOffset(),r.bind("resize.horizontal-"+this.name,function(){n.horizontalOffset=n.options.horizontalOffset()})):this.horizontalOffset=this.options.horizontalOffset,"function"==typeof this.options.verticalOffset?(this.verticalOffset=this.options.verticalOffset(),r.bind("resize.vertical-"+this.name,function(){n.verticalOffset=n.options.verticalOffset()})):this.verticalOffset=this.options.verticalOffset},_repositionElements:function(){var e,t,n,r,i,s,o,u,a,f,l=this._getScrollLeft(),c=this._getScrollTop(),p=!0,d=!0;if(this.currentScrollLeft!==l||this.currentScrollTop!==c||this.currentWidth!==this.viewportWidth||this.currentHeight!==this.viewportHeight){for(this.currentScrollLeft=l,this.currentScrollTop=c,this.currentWidth=this.viewportWidth,this.currentHeight=this.viewportHeight,f=this.particles.length-1;f>=0;f--)e=this.particles[f],t=e.isFixed?1:0,this.options.horizontalScrolling?(s=(l+e.horizontalOffset+this.viewportOffsetLeft+e.startingPositionLeft-e.startingOffsetLeft+e.parentOffsetLeft)*-(e.stellarRatio+t-1)+e.startingPositionLeft,u=s-e.startingPositionLeft+e.startingOffsetLeft):(s=e.startingPositionLeft,u=e.startingOffsetLeft),this.options.verticalScrolling?(o=(c+e.verticalOffset+this.viewportOffsetTop+e.startingPositionTop-e.startingOffsetTop+e.parentOffsetTop)*-(e.stellarRatio+t-1)+e.startingPositionTop,a=o-e.startingPositionTop+e.startingOffsetTop):(o=e.startingPositionTop,a=e.startingOffsetTop),this.options.hideDistantElements&&(d=!this.options.horizontalScrolling||u+e.width>(e.isFixed?0:l)&&u<(e.isFixed?0:l)+this.viewportWidth+this.viewportOffsetLeft,p=!this.options.verticalScrolling||a+e.height>(e.isFixed?0:c)&&a<(e.isFixed?0:c)+this.viewportHeight+this.viewportOffsetTop),d&&p?(e.isHidden&&(this.options.showElement(e.$element),e.isHidden=!1),this._setPosition(e.$element,s,e.startingPositionLeft,o,e.startingPositionTop)):e.isHidden||(this.options.hideElement(e.$element),e.isHidden=!0);for(f=this.backgrounds.length-1;f>=0;f--)n=this.backgrounds[f],t=n.isFixed?0:1,r=this.options.horizontalScrolling?(l+n.horizontalOffset-this.viewportOffsetLeft-n.startingOffsetLeft+n.parentOffsetLeft-n.startingBackgroundPositionLeft)*(t-n.stellarRatio)+"px":n.startingValueLeft,i=this.options.verticalScrolling?(c+n.verticalOffset-this.viewportOffsetTop-n.startingOffsetTop+n.parentOffsetTop-n.startingBackgroundPositionTop)*(t-n.stellarRatio)+"px":n.startingValueTop,h(n.$element,r,i)}},_handleScrollEvent:function(){var e=this,t=!1,n=function(){e._repositionElements(),t=!1},r=function(){t||(d(n),t=!0)};this.$scrollElement.bind("scroll."+this.name,r),r()},_startAnimationLoop:function(){var e=this;this._animationLoop=function(){d(e._animationLoop),e._repositionElements()},this._animationLoop()}},e.fn[s]=function(t){var n=arguments;return t===r||"object"==typeof t?this.each(function(){e.data(this,"plugin_"+s)||e.data(this,"plugin_"+s,new i(this,t))}):"string"==typeof t&&"_"!==t[0]&&"init"!==t?this.each(function(){var r=e.data(this,"plugin_"+s);r instanceof i&&"function"==typeof r[t]&&r[t].apply(r,Array.prototype.slice.call(n,1)),"destroy"===t&&e.data(this,"plugin_"+s,null)}):void 0},e[s]=function(){var n=e(t);return n.stellar.apply(n,Array.prototype.slice.call(arguments,0))},e[s].scrollProperty=u,e[s].positionProperty=a,t.Stellar=i}(jQuery,this,document),define("stellar",function(){});var _gsScope=typeof module!="undefined"&&module.exports&&typeof global!="undefined"?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){var e=document.documentElement,t=window,n=function(n,r){var i=r==="x"?"Width":"Height",s="scroll"+i,o="client"+i,u=document.body;return n===t||n===e||n===u?Math.max(e[s],u[s])-(t["inner"+i]||Math.max(e[o],u[o])):n[s]-n["offset"+i]},r=_gsScope._gsDefine.plugin({propName:"scrollTo",API:2,version:"1.7.4",init:function(e,r,i){return this._wdw=e===t,this._target=e,this._tween=i,typeof r!="object"&&(r={y:r}),this.vars=r,this._autoKill=r.autoKill!==!1,this.x=this.xPrev=this.getX(),this.y=this.yPrev=this.getY(),r.x!=null?(this._addTween(this,"x",this.x,r.x==="max"?n(e,"x"):r.x,"scrollTo_x",!0),this._overwriteProps.push("scrollTo_x")):this.skipX=!0,r.y!=null?(this._addTween(this,"y",this.y,r.y==="max"?n(e,"y"):r.y,"scrollTo_y",!0),this._overwriteProps.push("scrollTo_y")):this.skipY=!0,!0},set:function(e){this._super.setRatio.call(this,e);var r=this._wdw||!this.skipX?this.getX():this.xPrev,i=this._wdw||!this.skipY?this.getY():this.yPrev,s=i-this.yPrev,o=r-this.xPrev;this._autoKill&&(!this.skipX&&(o>7||o<-7)&&r<n(this._target,"x")&&(this.skipX=!0),!this.skipY&&(s>7||s<-7)&&i<n(this._target,"y")&&(this.skipY=!0),this.skipX&&this.skipY&&(this._tween.kill(),this.vars.onAutoKill&&this.vars.onAutoKill.apply(this.vars.onAutoKillScope||this._tween,this.vars.onAutoKillParams||[]))),this._wdw?t.scrollTo(this.skipX?r:this.x,this.skipY?i:this.y):(this.skipY||(this._target.scrollTop=this.y),this.skipX||(this._target.scrollLeft=this.x)),this.xPrev=this.x,this.yPrev=this.y}}),i=r.prototype;r.max=n,i.getX=function(){return this._wdw?t.pageXOffset!=null?t.pageXOffset:e.scrollLeft!=null?e.scrollLeft:document.body.scrollLeft:this._target.scrollLeft},i.getY=function(){return this._wdw?t.pageYOffset!=null?t.pageYOffset:e.scrollTop!=null?e.scrollTop:document.body.scrollTop:this._target.scrollTop},i._kill=function(e){return e.scrollTo_x&&(this.skipX=!0),e.scrollTo_y&&(this.skipY=!0),this._super._kill.call(this,e)}}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),define("ScrollToPlugin",function(){}),define("hbs!app/templates/foundation",["Handlebars"],function(e){return e.template(function(e,t,n,r,i){return this.compilerInfo=[2,">= 1.0.0-rc.3"],n=n||e.helpers,i=i||{},"<section id=\"foundation\">\n\n <div id='foundation-landing' class='page min-full' data-stellar-background-ratio=\"0.5\">\n <div class='vert-content page-content'>\n <div class='content-center'>\n <div class='title'>The Foundation</div>\n <div class='desc'><p>The Jesse Owens Foundation is a non-profit organization whose goal is to promote the development of youth to their fullest potential.</p></div>\n <div class='photo'></div>\n <div class='buttons-holder'>\n <button id='contribute-btn' class='outline'>CONTRIBUTE</button>\n <button class='arrow scroll-btn' data-scrollto=\"foundation-mission\">OUR MISSION <span class=\"icon-down-dir\"></span></button>\n </div>\n </div>\n </div>\n <div id='arrow-down-holder'><div class='content-center'><div id='arrow-down' class='scroll-btn' data-scrollto=\"foundation-mission\"></div></div></div> \n </div>\n\n\n <div id=\"foundation-mission\" class='page min-full'>\n <div class='vert-content page-content column-content'>\n <div class='content-center'>\n <div class='title'>Our Mission</div>\n <div class='desc'><p>The Jesse Owens Foundation seeks to perpetuate the spirit and beliefs of Jesse Owens through its support of The Ruth and Jesse Owens Scholars Program at The Ohio State University as well as through serving as a resource for information on the life and legend of Jesse Owens. It is particularly interested in helping individuals with the ambition, dedication and courage to achieve success against significant personal odds.</p></div>\n <div id=\"mission-image-wrap\">\n <div id=\"mission-image\" class=\"img-container\"></div>\n </div>\n <div class='buttons-holder'>\n <button id='contribute-btn' class='outline'>CONTRIBUTE</button>\n <button class='arrow scroll-btn' data-scrollto=\"foundation-about\">ABOUT THE FOUNDATION <span class=\"icon-down-dir\"></span></button>\n </div>\n </div>\n </div>\n <div id='arrow-down-holder'><div class='content-center'><div id='arrow-down' class='scroll-btn' data-scrollto=\"foundation-about\"></div></div></div> \n <div id='bg-foundation-mission' class='column-bg' data-stellar-background-ratio=\"0.5\"><div id='clip-foundation-mission' class='min-full clip-bg' data-stellar-background-ratio=\"0.75\"></div></div> \n </div>\n \n \n <div id=\"foundation-about\" class='page min-full'>\n <div class='vert-content page-content column-content'>\n <div class='content-center'>\n <div class='title'>About the Foundation</div>\n <div class='desc'><p>Established in 1980 by friends and family after the untimely death of Jesse Owens, the foundation perpetuates the ideals and life's work of this Olympic champion and humanitarian.</p></div>\n <ul class='text-bullets'>\n <li><span class='label'>ACTIVITIES:</span><span class='details'>The Jesse Owens Foundation provides information, materials, and direction for research on the life and legend of Jesse Owens. In addition, the Foundation established The Ruth and Jesse Owens Scholars Program at The Ohio State University to provide services to graduating high school seniors with untapped potential to develop their talents, broaden their horizons, and become better citizens.</span></li>\n <li><span class='label'>POLICIES:</span><span class='details'>The Jesse Owens Foundation provides its services on a competitive basis without regard for race, creed, color, national origin, or sex.</span></li>\n <li><span class='label'>FUNDING:</span><span class='details'>The Foundation is supported by special events and contributions from the community-at-large.</span></li>\n <li><span class='label'>SCOPE:</span><span class='details'>Since 1983, the Foundation has provided more than 600 young people, throughout the country, with support for their college education. Effective 01/01/03, The Ruth and Jesse Owens Scholars Program at The Ohio State University will continue to extend scholarship support to young people throughout the nation to attend\n The Ohio State University.</span></li>\n <li><span class='label'>TAX STATUS:</span><span class='details'>The Jesse Owens Foundation is exempt from federal and state income taxation under section 501(c) (3).</span></li>\n </ul>\n <div class='buttons-holder'>\n <button id='contribute-btn' class='outline'>CONTRIBUTE</button>\n <button class='arrow scroll-btn' data-scrollto=\"foundation-board\">THE GOVERNING BOARD <span class=\"icon-down-dir\"></span></button>\n </div> \n </div> \n </div>\n <div id='arrow-down-holder'><div class='content-center'><div id='arrow-down' class='scroll-btn' data-scrollto=\"foundation-board\"></div></div></div> \n <div id='bg-foundation-about' class='column-bg' data-stellar-background-ratio=\"0.5\"><div id='clip-foundation-about' class='min-full clip-bg'></div></div> \n </div>\n \n \n <div id=\"foundation-board\" class='page min-full'>\n <div class='vert-content page-content column-content'>\n <div class='content-center'>\n <div class='title'>The Governing Board</div>\n <div class='desc'><p>The work of the Foundation is governed by a Board of Directors with oversight provided by a Managing Director and has policy making and fiduciary responsibility for carrying out the Mission of the Jesse Owens Foundation.</p></div>\n <ul class='text-bullets'>\n <li><div class='label'>MARLENE OWENS RANKIN</div><span class='details'>Managing Director</span></li>\n <li><div class='label'>GLORIA OWENS HEMPHILL</div><span class='details'>Secretary</span></li>\n <li><div class='label'>BEVERLY OWENS PRATHER</div><span class='details'>Treasurer</span></li>\n </ul>\n <div class='buttons-holder'>\n <button id='contribute-btn' class='outline'>CONTRIBUTE</button>\n <button class='arrow scroll-btn' data-scrollto=\"foundation-landing\">BACK TO TOP <span class=\"icon-up-dir\"></span></button>\n </div> \n </div> \n </div>\n <div id='bg-foundation-board' class='column-bg' data-stellar-background-ratio=\"0.5\"></div> \n </div> \n \n</section>"})}),define("app/views/foundation",["jquery","backbone","underscore","TweenMax","imageloader","moment","projectutil","stellar","ScrollToPlugin","hbs!app/templates/foundation"],function(e,t,n,r,i,s,o,u,a,f){var l=t.BaseView.extend({el:"#container-main",events:{"click #contribute-btn":"handleContributeClick","click .scroll-btn":"handleScrollClick"},postInitialize:function(){this.template=f},bindings:function(){},listeners:function(){},postRender:function(){var t=this;return window.setTimeout(function(){o.minHeight(!0),o.runStellar(),o.snapToScrollBoundaries(".page")},100),r.set(e("section"),{opacity:0}),r.delayedCall(.2,function(){r.set(e("section"),{opacity:1})}),r.set(e("#foundation-landing"),{opacity:0}),r.to(e("#foundation-landing"),1.2,{delay:.7,autoAlpha:1,ease:Power1.easeOut}),new i(e("#mission-image"),"assets/img/foundation-mission.jpg",""),t},handleContributeClick:function(){this.pubSub.trigger("pageChangeRequest","contribute")},handleScrollClick:function(t){var n=e(t.currentTarget).attr("data-scrollto"),i=e("#"+n).offset().top-o.minHeightOffsetY;r.to(e(window),1.2,{scrollTo:{y:i,autoKill:!0},ease:Quart.easeInOut,autoKill:!0,overwrite:5})},cleanup:function(){}});return l}),define("hbs!app/templates/jesseowens",["Handlebars"],function(e){return e.template(function(e,t,n,r,i){return this.compilerInfo=[2,">= 1.0.0-rc.3"],n=n||e.helpers,i=i||{},"<section id=\"jesseowens\">\n\n <div id=\"jesseowens-landing\" class='page min-full'>\n <div id='bg-jesseowens-landing' class='column-bg' data-stellar-background-ratio=\"0.5\"><div id='clip-jesseowens-landing' class='min-full clip-bg' data-stellar-background-ratio=\"0.8\"></div></div> \n <div class='vert-content page-content column-content'>\n <div class='content-center'>\n <div class='title'>Jesse Owens</div>\n <div class='desc'><p>A champion on the playground in the poorest neighborhoods as he was on the oval of the Olympic games, Jesse Owens was a true legend in his own time.</p></div>\n <button class='arrow scroll-btn' data-scrollto=\"jesseowens-early\">EARLY LIFE <span class=\"icon-down-dir\"></span></button>\n </div>\n </div> \n <div id='arrow-down-holder'><div class='content-center'><div id='arrow-down' class='scroll-btn' data-scrollto=\"jesseowens-early\"></div></div></div> \n </div>\n \n \n <div id=\"jesseowens-early\" class='page min-full'>\n <div id='bg-jesseowens-early' class='column-bg' data-stellar-background-ratio=\"0.5\"></div> \n <div class='vert-content page-content column-content'>\n <div class='content-center'>\n <div class='title'>Early Life</div>\n <div class='desc'>\n <div id=\"early-house-image-wrap\">\n <div id=\"early-house-image\" class=\"img-container\"></div>\n </div> \n <p>The ninth child of Henry and Emma Alexander Owens was named James Cleveland when\nhe was born in Alabama in 1913. \"J.C.\", as he was called, was nine when the family moved to Cleveland, Ohio, where his new schoolteacher gave him the name that was to become known around the world. The teacher was told \"J.C.\" when she asked his name to enter in her roll book, but she thought he said \"Jesse\". And Jesse Owens was the name he used for the rest of his life.</p>\n <p>Owens had a sensational high school track career and was being sought by dozens of colleges by the time he reached his senior year.</p>\n <p>His athletic career began in 1928 in Cleveland, Ohio where he set new world records for Junior High Schools by jumping 6.0 feet in the high jump, and 22 feet 11 3/4 inches in the broad jump. During his high school days, he won all of the major track events, including the state championship for three consecutive years. At the National Interscholastic meet in Chicago, during his senior year, he set a new world record for high schools by running the 100 yard dash in 9.4 seconds\nto tie the accepted world record, and he created a new high school world record in the 220 yard dash by running the\ndistance in 20.7 seconds. A week earlier he had set a new world record in the broad jump by jumping 24 feet 11 3/4 inches.</p> \n </div>\n <div id=\"early-image-wrap\">\n <div id=\"early-image\" class=\"img-container\"></div>\n </div> \n <div class='buttons-holder'>\n <button class='arrow scroll-btn' data-scrollto=\"jesseowens-osu\">THE OSU YEARS <span class=\"icon-down-dir\"></span></button>\n </div>\n </div>\n </div> \n <div id='arrow-down-holder'><div class='content-center'><div id='arrow-down' class='scroll-btn' data-scrollto=\"jesseowens-osu\"></div></div></div> \n </div>\n \n <div id=\"jesseowens-osu\" class='page min-full'>\n <div id='bg-jesseowens-osu' class='column-bg' data-stellar-background-ratio=\"0.5\"></div> \n <div class='vert-content page-content column-content'>\n <div class='content-center'>\n <div class='title'>The OSU Years</div>\n <div class='desc'><p>Owens chose the Ohio State University over all of the colleges pursuing him, even though OSU had no track scholarships to offer at the time. He supported himself and his young wife, Ruth, with a variety of jobs - as a night elevator operator and a waiter, by pumping gas and working in the library stacks, and through a stint as a page in the Ohio Statehouse, all of this in between practice and record setting on the field in intercollegiate competition.</p></div>\n <div id=\"osu-image-wrap\">\n <div id=\"osu-image\" class=\"img-container\"></div>\n </div> \n <div class='buttons-holder'>\n <button class='arrow scroll-btn' data-scrollto=\"jesseowens-olympics\">THE OLYMPICS <span class=\"icon-down-dir\"></span></button>\n </div>\n </div>\n </div> \n <div id='arrow-down-holder'><div class='content-center'><div id='arrow-down' class='scroll-btn' data-scrollto=\"jesseowens-olympics\"></div></div></div> \n </div>\n \n <div id=\"jesseowens-olympics\" class='page min-full'>\n <div id='bg-jesseowens-olympics' class='column-bg' data-stellar-background-ratio=\"0.5\"><div id='clip-jesseowens-olympics' class='min-full clip-bg' data-stellar-background-ratio=\"0.8\"></div></div> \n <div class='vert-content page-content column-content'>\n <div class='content-center'>\n <div class='title'>The Olympics</div>\n <div class='desc'><p>In 1936 Jesse Owens stood on the center tier of the awards platform of the Berlin Games to accept his fourth Olympic gold medal. Names and faces of great athletes flash on and then off the sports panorama, but though others have broken Jesse Owens' records and accumulated gold medals, he is the best remembered of all the Olympic athletes. Why? Because he, son of a sharecropper and grandson of a slave, achieved what no Olympian before him had accomplished; he not only discredited a heinous dictator, Adolph Hitler, but he affirmed that individual excellence, rather than race or national origin, distinguishes one man from another.</p>\n <p>Jesse Owens proved in Berlin and thereafter that he was a dreamer who could make the dreams of others come true, a speaker who could make the world listen and a man who held out hope to millions of young people.</p></div>\n <div id=\"olympics-image-wrap\">\n <div id=\"olympics-image\" class=\"img-container\"></div>\n </div> \n <div class='buttons-holder'>\n <button class='arrow scroll-btn' data-scrollto=\"jesseowens-ambassador\">GLOBAL AMBASSADOR <span class=\"icon-down-dir\"></span></button>\n </div>\n </div>\n </div> \n <div id='arrow-down-holder'><div class='content-center'><div id='arrow-down' class='scroll-btn' data-scrollto=\"jesseowens-ambassador\"></div></div></div> \n </div>\n \n <div id=\"jesseowens-ambassador\" class='page min-full'>\n <div id='bg-jesseowens-ambassador' class='column-bg' data-stellar-background-ratio=\"0.5\"></div> \n <div class='vert-content page-content column-content'>\n <div class='content-center'>\n <div class='title'>Global Ambassador</div>\n <div class='desc'><p>Athletes didn't return from the Olympics to lucrative advertising and product endorsement campaigns in those days, and Owens supported his young family with a variety of jobs. One was of special significance - playground director in Cleveland. It was his first step into a lifetime of working with underprivileged youth, which he said gave him his greatest satisfaction. After relocating to Chicago, he devoted much of his time to underprivileged youth as a board member and former director of the Chicago Boys' Club, an organization that served over 1500 youngsters.</p>\n <p>He was, for five and a half years, the Sports Specialist of the State of Illinois Youth Commission. In the 1950's, Owens accepted commissions from the State Department and the President on two occasions. In 1955, named by the State Department as America's Ambassador of Sports, he spent two months touring India, Singapore, Malaysia and the Phillipines, meeting with government and sports officials and, as always, talking to underprivileged children. In 1956, he was named the personal representative of President Eisenhower to the Olympic Games in Australia. His itinerary also included visits to schools and youth clubs.</p>\n <div id=\"ambassador-image-wrap\">\n <div id=\"ambassador-image\" class=\"img-container\"></div>\n </div> \n <p>Owens traveled widely in his post-Olympic days. He was an inspiring speaker and was sought after to address youth groups, professional organizations, civic meetings, sports banquets, PTAs, church organizations, brotherhood and black history programs, as well as high school and college commencements and ceremonies. He was also a public relations representative and consultant to many corporations, including Atlantic Richfield, which until 1994, sponsored the annual ARCO/Jesse Owens Games. Owens spearheaded the founding of the games in 1964, and over a million boys and girls aged 8-15 were reached and participated each year. </p>\n </div> \n <div class='buttons-holder'>\n <button class='arrow scroll-btn' data-scrollto=\"jesseowens-legacy\">LEGACY <span class=\"icon-down-dir\"></span></button>\n </div>\n </div>\n </div> \n <div id='arrow-down-holder'><div class='content-center'><div id='arrow-down' class='scroll-btn' data-scrollto=\"jesseowens-legacy\"></div></div></div> \n </div>\n \n <div id=\"jesseowens-legacy\" class='page min-full'>\n <div id='bg-jesseowens-legacy' class='column-bg' data-stellar-background-ratio=\"0.5\"></div> \n <div class='vert-content page-content column-content'>\n <div class='content-center'>\n <div class='title'>Legacy</div>\n <div class='desc'><p>A complete list of the many awards and honors presented to Jesse Owens by groups around the world would fill dozens of pages. An example of his international popularity comes from Africa, where the government of the Ivory Coast named the street on which the U.S. embassy is located \"Rue Jesse Owens\". He attended the dedication ceremony in 1971. While there, he also conferred with the Minister of Youth and Sports and met with the nation's top athletes, who considered Owens their greatest hero. In Berlin, Germany a street leading to the Olympic stadium is named Jesse Owens Allee. The Owens family attended the dedication ceremony as guests of the German government in 1982.</p>\n <p>His own nation awarded him its highest civilian honor, the Medal of Freedom, in ceremonies at the White House in 1976. President Ford presented the medal, with the 250 member U.S. Montreal Olympic team in attendance. In February, 1979, he returned to the White House, where President Carter presented him with the Living Legend Award. On that occasion, the President said, \"A young man who possibly didn't even realize the superb nature of his own capabilities went to the Olympics and performed in a way that I don't believe has ever been equalled since...and since this superb achievement, he has continuted in his own dedicated but modest way to inspire others to reach for greatness\". In 1990, President Bush honored Jesse Owens with the Congressional Gold Medal presented to his widow, Ruth S. Owens.</p>\n <div id=\"legacy-image-wrap\">\n <div id=\"legacy-image\" class=\"img-container\"></div>\n </div> \n <p>Jesse Owens died on March 31, 1980 and President Carter added his voice to the tributes that poured in from around the world. \"Perhaps no athlete better symbolized the human struggle against tyranny, poverty and racial bigotry. His personal triumphs as a world-class athlete and record holder were the prelude to a career devoted to helping others. His work with young athletes, as an unofficial ambassador overseas, and a spokesman for freedom are a rich legacy to his fellow Americans\".</p>\n </div>\n <div class='buttons-holder'>\n <button class='arrow scroll-btn' data-scrollto=\"jesseowens-landing\">BACK TO TOP <span class=\"icon-up-dir\"></span></button>\n </div> \n </div>\n </div> \n </div> \n\n</section>"})}),define("app/views/jesseowens",["jquery","backbone","underscore","TweenMax","imageloader","moment","projectutil","hbs!app/templates/jesseowens"],function(e,t,n,r,i,s,o,u){var a=t.BaseView.extend({el:"#container-main",events:{"click .scroll-btn":"handleScrollClick"},postInitialize:function(){this.template=u},bindings:function(){},listeners:function(){},postRender:function(){var t=this;return window.setTimeout(function(){o.minHeight(!0),o.runStellar(),o.snapToScrollBoundaries(".page")},100),r.set(e("section"),{opacity:0}),r.delayedCall(.2,function(){r.set(e("section"),{opacity:1})}),r.set(e("#jesseowens-landing"),{opacity:0}),r.to(e("#jesseowens-landing"),1.2,{delay:.7,autoAlpha:1,ease:Power1.easeOut}),new i(e("#early-image"),"assets/img/jesseowens-early.jpg",""),new i(e("#early-house-image"),"assets/img/jesseowens-early-house.jpg",""),new i(e("#osu-image"),"assets/img/jesseowens-osu.png",""),new i(e("#olympics-image"),"assets/img/jesseowens-olympics.jpg",""),new i(e("#ambassador-image"),"assets/img/jesseowens-ambassador.jpg",""),new i(e("#legacy-image"),"assets/img/jesseowens-legacy.jpg",""),t},handleScrollClick:function(t){var n=e(t.currentTarget).attr("data-scrollto"),i=e("#"+n).offset().top-o.minHeightOffsetY;r.to(e(window),1.2,{scrollTo:{y:i,autoKill:!0},ease:Quart.easeInOut,autoKill:!0,overwrite:5})},cleanup:function(){}});return a}),define("hbs!app/templates/scholarship",["Handlebars"],function(e){return e.template(function(e,t,n,r,i){return this.compilerInfo=[2,">= 1.0.0-rc.3"],n=n||e.helpers,i=i||{},"<section id=\"scholarship\">\n\n <div id=\"scholarship-landing\" class='page min-full'> \n <div class='vert-content page-content column-content'>\n <div class='content-center'>\n <div class='title'>Ruth & Jesse\nScholarship Program</div>\n <div class='desc'><p>Helping students realize their leadership potential.</p></div>\n <button class='arrow scroll-btn' data-scrollto=\"scholarship-values\">LEARN MORE <span class=\"icon-down-dir\"></span></button>\n </div>\n </div> \n <div id='bg-scholarship-landing' class='column-bg' data-stellar-background-ratio=\"0.5\"></div> \n <div id='arrow-down-holder'><div class='content-center'><div id='arrow-down' class='scroll-btn' data-scrollto=\"scholarship-values\"></div></div></div> \n </div>\n \n \n <div id=\"scholarship-values\" class='page min-full'> \n <div class='vert-content page-content column-content'>\n <div class='content-center'>\n <div class='title'>Core Values</div>\n <div class='desc'><p>The Foundation has chosen educational programs via scholarships as the major vehicles for creating a living memorial to Ruth and Jesse Owens, in part because of Jesse's own reliance on financial aid as a student, but also because the need for scholarships and educational assistance for underprivileged young people will never be satisfied.</p>\n <p>Few, if any, scholarship funds seek out students specifically because they have succeeded in spite of obstacles they have faced, and whose success shows clear promise of future leadership and excellence. These students may be outstanding athletes in the minor sports (as Jesse was) or not athletes at all. Although an individual may meet all the criteria for acceptance, scholarships will be awarded on a competitive basis.</p></div>\n <div class='buttons-holder'>\n <button class='arrow scroll-btn' data-scrollto=\"scholarship-applications\">APPLICATIONS <span class=\"icon-down-dir\"></span></button>\n </div>\n </div>\n </div> \n <div id='bg-scholarship-values' class='column-bg' data-stellar-background-ratio=\"0.5\"></div> \n <div id='arrow-down-holder'><div class='content-center'><div id='arrow-down' class='scroll-btn' data-scrollto=\"scholarship-applications\"></div></div></div> \n </div>\n \n <div id=\"scholarship-applications\" class='page min-full'> \n <div class='vert-content page-content column-content'>\n <div class='content-center'>\n <div class='title'>Applications</div>\n <div class='desc'>\n <p>The Ruth & Jesse Owens Scholars Program will award a scholarship for a one-year period to you at The Ohio State University. Should you elect to discontinue your education at any time, your scholarship award may be forfeited. You may apply for renewal of your scholarship upon demonstrated successful completion of the first post-secondary school year, and for up to three consecutive years thereafter.</p>\n <p>Once you have been accepted to the Ohio State University, please send a letter of recommendation for the Ruth & Jesse Owens Scholarship to the office of Scholarship and Student Support, along with:</p>\n </div>\n <ul class='bullets'>\n <li>SCHOLARSHIP APPLICATION,</li>\n <li>HIGH SCHOOL TRANSCRIPT</li>\n <li>The results of either the Financial Aid Form (FAF) or the Family Financial Statement (FFS)</li>\n </ul> \n <!--\n <div class='desc'><p>Should you become the choice of the Scholarship Selection Committee, the following conditions will exist:</p></div>\n <ul class='text-bullets'>\n <li>The Ruth & Jesse Owens Scholars Program will award a scholarship up to $2,000 for a one-year period to you at The Ohio State University. Should you elect to discontinue your education at any time, your scholarship award may be forfeited. You may apply for renewal of your scholarship upon demonstrated successful completion of the first post-secondary school year, and for up to three consecutive years thereafter.</li>\n <li>Academic progress will be monitored by the University via a copy of courses and grades each quarter.</li>\n <li>The Ruth & Jesse Owens scholarship will be awarded to graduating seniors who have:\n <ul class='bullets'>\n <li>Attained at least a 2.5 average of academic achievement and pursued a solid core of academic courses.</li>\n <li>Shown sound character and life purpose as evidenced by participation in extracurricular and/or community-serving activities.</li>\n <li>Been accepted to The Ohio State University.</li>\n <li>Accept and participate in support programs offered by the Ruth & Jesse Owens Scholars Program.</li>\n </ul>\n </li>\n <li>Documents to be filed for scholarship consideration are:\n <ul class='bullets'>\n <li>Scholarship Application</li>\n <li>High School Transcript</li>\n <li>Letter of Recommendation</li>\n <li>The results of either the Financial Aid Form (FAF) or the Family Financial Statement (FFS)</li>\n </ul> \n </li>\n </ul>\n <div class='fine-print'>\nApplicants will have demonstrated-through academic achievement, athletics, community service, or in other ways-that they have the courage to overcome personal, family or social circumstances, and that the scholarship assistance provided by the Ruth & Jesse Owens Scholars Program will enable them to realize their leadership potential in the future. Although the Program recognizes that leadership takes many forms, the promise of leadership the Program is seeking should be consistent with the example set by Ruth & Jesse Owens throughout their lives. \n </div>\n -->\n <div class='buttons-holder'>\n <button class='arrow scroll-btn' data-scrollto=\"scholarship-landing\">BACK TO TOP <span class=\"icon-up-dir\"></span></button>\n </div> \n </div>\n \n </div> \n <div id='bg-scholarship-applications' class='column-bg' data-stellar-background-ratio=\"0.5\"></div> \n </div> \n\n</section>"})}),define("app/views/scholarship",["jquery","backbone","underscore","TweenMax","imageloader","moment","projectutil","hbs!app/templates/scholarship"],function(e,t,n,r,i,s,o,u){var a=t.BaseView.extend({el:"#container-main",events:{"click .scroll-btn":"handleScrollClick"},postInitialize:function(){this.template=u},bindings:function(){},listeners:function(){},postRender:function(){var t=this;return window.setTimeout(function(){o.minHeight(!0),o.runStellar(),o.snapToScrollBoundaries(".page")},100),r.set(e("section"),{opacity:0}),r.delayedCall(.2,function(){r.set(e("section"),{opacity:1})}),r.set(e("#scholarship-landing"),{opacity:0}),r.to(e("#scholarship-landing"),1.2,{delay:.7,autoAlpha:1,ease:Power1.easeOut}),t},handleScrollClick:function(t){var n=e(t.currentTarget).attr("data-scrollto"),i=e("#"+n).offset().top-o.minHeightOffsetY;r.to(e(window),1.2,{scrollTo:{y:i,autoKill:!0},ease:Quart.easeInOut,autoKill:!0,overwrite:5})},cleanup:function(){}});return a}),define("hbs!app/templates/contribute",["Handlebars"],function(e){return e.template(function(e,t,n,r,i){return this.compilerInfo=[2,">= 1.0.0-rc.3"],n=n||e.helpers,i=i||{},"<section id=\"contribute\">\n <div id=\"contribute-landing\" class='page min-full'>\n <div id='bg-contribute-landing' class='column-bg' data-stellar-background-ratio=\"0.5\"></div> \n <div class='vert-content page-content column-content'>\n <div class='content-center'>\n <div class='title'>Contribute</div>\n <div class='desc'><p>There are many ways to participate in helping us help gifted and determined young people discover and use their potential to the fullest. Contributions to The Jesse Owens Foundation may be made in the following ways:</p></div>\n <ul class='bullets'>\n <li>Individual personal gifts via check to:\n <div class='address-line'>The Jesse Owens Foundation</div>\n <div class='address-line'>4800 Chicago Beach Drive #2203N</div>\n <div class='address-line'>Chicago, Illinois 60615</div>\n </li>\n <li>Bequests</li>\n <li>Individual gifts with matching employer funds</li>\n <li>Listing JOF as beneficiary of life insurance policies</li>\n <li>Donate to the Ruth and Jesse Owens Scholarship program at The Ohio State University</li>\n </ul>\n <div class='fine-print'>For audit information, please write to the address listed above.</div> \n </div>\n </div> \n </div>\n</section>"})}),define("app/views/contribute",["jquery","backbone","underscore","TweenMax","imageloader","moment","projectutil","hbs!app/templates/contribute"],function(e,t,n,r,i,s,o,u){var a=t.BaseView.extend({el:"#container-main",events:{},postInitialize:function(){this.template=u},bindings:function(){},listeners:function(){},postRender:function(){var t=this;return o.minHeight(),o.runStellar(),r.set(e("#contribute-landing"),{opacity:0}),r.to(e("#contribute-landing"),1.2,{delay:.7,autoAlpha:1,ease:Power1.easeOut}),t},cleanup:function(){}});return a}),define("hbs!app/templates/contact",["Handlebars"],function(e){return e.template(function(e,t,n,r,i){return this.compilerInfo=[2,">= 1.0.0-rc.3"],n=n||e.helpers,i=i||{},"<section id=\"contact\">\n\n <div id=\"contact-landing\" class='page min-full'> \n <div class='vert-content page-content column-content'>\n <div class='content-center'>\n <div class='title'>Contact</div>\n <div class='desc'><p>There are many ways to participate in helping us help gifted and determined young people discover and use their potential to the fullest. Contributions to The Jesse Owens Foundation may be made in the following ways:</p></div>\n\n <ul class='text-bullets'>\n <li><span class='label-column'>ADDRESS</span>\n <span class='details-column'>The Jesse Owens Foundation<br>\n4800 Chicago Beach Drive #2203N<br>\nChicago,Illinois 60615</span></li>\n <li><span class='label-column'>FAX</span>\n <span class='details-column'>(773) 538-4560</span></li>\n <li><span class='label-column'>EMAIL</span>\n <span class='details-column'><a href='mailto:[email protected]'>[email protected]</a></span></li>\n <li><span class='label-column'>JESSE OWENS MUSEUM PARK</span>\n <span class='details-column'><a href='http://www.JesseOwensMuseum.org' target='_blank'>www.JesseOwensMuseum.org</a></span></li>\n <li><span class='label-column'>LUMINARY GROUP</span>\n <span class='details-column'><a href='http://www.luminarygroup.com' target='_blank'>www.luminarygroup.com</a><div class='link-desc'>Exclusive licenser of the Jesse Owens name and likeness</div></span></li>\n <li><span class='label-column'>SCHOLARSHIP PROGRAM</span>\n <span class='details-column'><a href='http://www.giveto.osu.edu' target='_blank'>www.giveto.osu.edu</a><!--div class='link-desc'>The Ruth and Jesse Owens Scholars Program at The Ohio State University</div--></span></li>\n \n </ul> \n </div> \n </div> \n <div id='bg-contact-landing' class='column-bg' data-stellar-background-ratio=\"0.5\"></div> \n </div>\n \n</section>"})}),define("app/views/contact",["jquery","backbone","underscore","TweenMax","imageloader","moment","projectutil","hbs!app/templates/contact"],function(e,t,n,r,i,s,o,u){var a=t.BaseView.extend({el:"#container-main",events:{},postInitialize:function(){this.template=u},bindings:function(){},listeners:function(){},postRender:function(){var t=this;return o.minHeight(),o.runStellar(),r.set(e("#contact-landing"),{opacity:0}),r.to(e("#contact-landing"),1.2,{delay:.7,autoAlpha:1,ease:Power1.easeOut}),t},cleanup:function(){}});return a}),define("app/router",["jquery","backbone","underscore","pubsub","projectutil","dateswitcher","app/models/example","app/collections/example","app/views/nav","app/views/outdatedbrowser","app/views/footer","app/views/intro","app/views/landing","app/views/foundation","app/views/jesseowens","app/views/scholarship","app/views/contribute","app/views/contact","tracking"],function(e,t,n,r,i,s,o,u,a,f,l,c,h,p,d,v,m,g,y){var b=t.Router.extend({views:{},collections:{},routes:{"":"index",intro:"intro",landing:"landing",foundation:"foundation",jesseowens:"jesseowens",scholarship:"scholarship",contribute:"contribute",contact:"contact","share/*path":"landing","*path":"default"},initialize:function(){this.activePage=null,this.pubSub=r,this.requestedPageID=null,this.requestedContentAr=[],this.blockIntro=!1,this.listenTo(this.pubSub,"pageChangeRequest",this.handlePageChangeRequest,this),this.listenTo(this.pubSub,"viewHideComplete",this.handleViewHidden,this)},ready:function(){i.smoothScroll(),i.preloadedJSON=this.preloadedJSON,this.buildNav(),this.buildFooter(),(new f).render()},handlePageChangeRequest:function(e){this.navigate(e,{trigger:!0})},hidePage:function(e,t){return this.activePage?(this.requestedPageID=e,this.requestedContentAr=t,this.activePage.hide(),!0):!1},handleViewHidden:function(e){var t;this.requestedPageID&&(t=this.requestedPageID.split("/")[0]),e===this.activePage&&(this.destroyActivePage(),this[t].apply(this,this.requestedContentAr))},createModel:function(n,r){return n&&r?new t.Model(e.extend({},n,r)):new t.Model(n)},getView:function(e,t,n){var r={model:n},i=new t(r);return i},buildNav:function(){var e=this.getView("nav",a);e.render()},buildFooter:function(){var e=this.getView("footer",l);e.render()},destroyActivePage:function(){this.activePage&&(this.activePage.destroy(),this.activePage=null)},index:function(){this.navigate("landing",{trigger:!0})},intro:function(){if(!this.hidePage("intro")){if(this.blockIntro)return this.navigate("landing",{trigger:!0}),!1;var e=this.preloadedJSON&&this.preloadedJSON.intro?this.preloadedJSON.intro:null,t=this.createModel(e),n=this.getView("intro",c,t),r=this.preloadedVideos?this.preloadedVideos:null;n.render(r),this.activePage=n,this.pubSub.trigger("pageChange",{page:"intro"}),y.gPageview("intro")}},landing:function(){if(!this.hidePage("landing")){this.blockIntro=!0;var e=this.preloadedJSON&&this.preloadedJSON.landing?this.preloadedJSON.landing:null,t=this.createModel(e,{releaseDate:s.text}),n=this.getView("landing",h,t);n.render(),this.activePage=n,this.pubSub.trigger("pageChange",{page:"landing"})}},foundation:function(){if(!this.hidePage("foundation")){this.blockIntro=!0;var e=this.preloadedJSON&&this.preloadedJSON.landing?this.preloadedJSON.landing:null,t=this.createModel(e,{releaseDate:s.text}),n=this.getView("foundation",p,t);n.render(),this.activePage=n,this.pubSub.trigger("pageChange",{page:"foundation"})}},jesseowens:function(){if(!this.hidePage("jesseowens")){this.blockIntro=!0;var e=this.preloadedJSON&&this.preloadedJSON.landing?this.preloadedJSON.landing:null,t=this.createModel(e,{releaseDate:s.text}),n=this.getView("jesseowens",d,t);n.render(),this.activePage=n,this.pubSub.trigger("pageChange",{page:"jesseowens"})}},scholarship:function(){if(!this.hidePage("scholarship")){this.blockIntro=!0;var e=this.preloadedJSON&&this.preloadedJSON.landing?this.preloadedJSON.landing:null,t=this.createModel(e,{releaseDate:s.text}),n=this.getView("scholarship",v,t);n.render(),this.activePage=n,this.pubSub.trigger("pageChange",{page:"scholarship"})}},contribute:function(){if(!this.hidePage("contribute")){this.blockIntro=!0;var e=this.preloadedJSON&&this.preloadedJSON.landing?this.preloadedJSON.landing:null,t=this.createModel(e,{releaseDate:s.text}),n=this.getView("contribute",m,t);n.render(),this.activePage=n,this.pubSub.trigger("pageChange",{page:"contribute"})}},contact:function(){if(!this.hidePage("contact")){this.blockIntro=!0;var e=this.preloadedJSON&&this.preloadedJSON.landing?this.preloadedJSON.landing:null,t=this.createModel(e,{releaseDate:s.text}),n=this.getView("contact",g,t);n.render(),this.activePage=n,this.pubSub.trigger("pageChange",{page:"contact"})}},"default":function(e){console.log("[Router].default()"),console.log("default",e)}});return{initialize:function(n,r,i){var s=new b;s.preloadedVideos=n,s.preloadedJSON=r,s.cmsJSON=i,s.ready(),e("body").on("click","a",function(){e(this).blur()}),e("body").on("click",'a:not([href^="http://"], [href^="https://"], [href^="tel:"], [href^="mailto:"], .out)',function(n){var r=e(this),i=r.attr("href"),o=i.replace(/^\//,"").replace("#!/","");return r.hasClass("disabled")||r.hasClass("ignore-click")||o===t.history.fragment||i==="#"?(n.preventDefault(),!1):(!n.altKey&&!n.ctrlKey&&!n.metaKey&&!n.shiftKey&&n.preventDefault(),s.navigate(o,{trigger:!0}),n.preventDefault(),!1)}),t.history.start({pushState:!1})}}}),PxLoader.prototype.addImage=function(e,t,n){var r=new PxLoaderImage(e,t,n);return this.add(r),r.img},typeof define=="function"&&define.amd&&define("PxLoaderImage",[],function(){return PxLoaderImage}),PxLoader.prototype.addVideo=function(e,t,n){var r=new PxLoaderVideo(e,t,n);return this.add(r),r.vid},typeof define=="function"&&define.amd&&define("PxLoaderVideo",[],function(){return PxLoaderVideo}),PxLoader.prototype.addJSON=function(e,t,n){var r=new PxLoaderJSON(e,t,n);return this.add(r),r},typeof define=="function"&&define.amd&&define("PxLoaderJSON",[],function(){return PxLoaderJSON}),require.config({paths:{jst:"libs/requirejs/jst",text:"libs/requirejs/text",hbs:"libs/hbars/hbars",backbone:"libs/backbone/backbone",cookies:"libs/cookies/cookies",drag:"libs/drag/jquery.event.drag.min",facebook:"//connect.facebook.net/en_US/all",fastclick:"libs/fastclick/fastclick",Handlebars:"libs/handlebars/Handlebars",jquery:"libs/jquery/jquery-1.10.2",stellar:"libs/stellar/jquery.stellar.min",modal:"libs/modal/jquery.simplemodal",moment:"libs/time/moment","moment-twitter":"libs/time/moment-twitter",PxLoader:"libs/pxloader/PxLoader",PxLoaderImage:"libs/pxloader/PxLoaderImage",PxLoaderSound:"libs/pxloader/PxLoaderSound",PxLoaderVideo:"libs/pxloader/PxLoaderVideo",PxLoaderJSON:"libs/pxloader/PxLoaderJSON",soundManager2:"libs/sound/soundmanager2-jsmin",swfobject:"libs/swfobject/swfobject",swiper:"libs/swiper/idangerous.swiper",TimelineLite:"libs/greensock/TimelineLite",TimelineMax:"libs/greensock/TimelineMax",TweenLite:"libs/greensock/TweenLite",TweenMax:"libs/greensock/TweenMax",underscore:"libs/lodash/lodash.underscore",validate:"libs/forms/validate","bootstrap-affix":"libs/bootstrap/affix","bootstrap-alert":"libs/bootstrap/alert","bootstrap-button":"libs/bootstrap/button","bootstrap-carousel":"libs/bootstrap/carousel","bootstrap-collapse":"libs/bootstrap/collapse","bootstrap-dropdown":"libs/bootstrap/dropdown","bootstrap-modal":"libs/bootstrap/modal","bootstrap-popover":"libs/bootstrap/popover","bootstrap-scrollspy":"libs/bootstrap/scrollspy","bootstrap-tab":"libs/bootstrap/tab","bootstrap-tooltip":"libs/bootstrap/tooltip","bootstrap-transition":"libs/bootstrap/transition",easeljs:"libs/createjs/easeljs-0.7.1.min",preloadjs:"libs/createjs/preloadjs-0.4.1.min",soundjs:"libs/createjs/soundjs-0.5.2.min",tweenjs:"libs/createjs/tweenjs-0.5.1.min",AttrPlugin:"libs/greensock/plugins/AttrPlugin",BezierPlugin:"libs/greensock/plugins/BezierPlugin",ColorPropsPlugin:"libs/greensock/plugins/ColorPropsPlugin",CSSPlugin:"libs/greensock/plugins/CSSPlugin",CSSRulePlugin:"libs/greensock/plugins/CSSRulePlugin",DirectionalRotationPlugin:"libs/greensock/plugins/DirectionalRotationPlugin",EaselPlugin:"libs/greensock/plugins/EaselPlugin",KineticPlugin:"libs/greensock/plugins/KineticPlugin",RaphaelPlugin:"libs/greensock/plugins/RaphaelPlugin",RoundPropsPlugin:"libs/greensock/plugins/RoundPropsPlugin",ScrollToPlugin:"libs/greensock/plugins/ScrollToPlugin",TextPlugin:"libs/greensock/plugins/TextPlugin",countdown:"app/utils/countdown",dateswitcher:"app/utils/dateswitcher",fbutil:"app/utils/fbutil",handlebarshelpers:"app/utils/handlebarshelpers",imageloader:"app/utils/imageloader",mathutil:"app/utils/mathutil",pubsub:"app/events/pubsub",poputil:"app/utils/poputil",projectutil:"app/utils/projectutil",sharer:"app/utils/sharer",tracking:"app/utils/tracking",utils:"app/utils/utils",ytplayer:"app/video/ytplayer"},hbars:{extension:".hbs"},shim:{utils:{"export":"utils"},modal:{deps:["jquery"]},drag:{deps:["jquery"]},placeholder:{deps:["jquery"]},easeljs:{"export":"createjs"},preloadjs:{"export":"preloadjs"},soundjs:{"export":"soundjs"},tweenjs:{deps:["easeljs"],"export":"Tween"},facebook:{"export":"FB"},bootstrap:{deps:["jquery"]}}}),require(["jquery","backbone","app/views/baseview","utils","dateswitcher","handlebarshelpers","mathutil","PxLoader","TweenMax","fastclick","fbutil","facebook","sharer","tracking","cookies","app/router","PxLoaderImage","PxLoaderVideo","PxLoaderJSON"],function(e,t,n,r,i,s,o,u,a,f,l,c,h,p,d,v){l.app_id=GlobalsObj.FB_APP_ID,l.root_location=GlobalsObj.ROOT_LOCATION,l.init(),h.addShareGroup({title:"",url:GlobalsObj.ROOT_LOCATION,facebook:"Example project Facebook share copy",twitter:"Example project Twitter share copy",google:"Example project Google+ share copy"},"main"),e(document).ready(function(){p.initGoogle(GlobalsObj.GOOGLE_ANALYTICS_ID),d.get("language")===undefined&&d.set("language","en",{expires:31536e3}),new f(document.body);var t=e("body"),n=new u,r={},s={},l=(new Date).getTime(),c=document.createElement("video"),h="5",m=[{type:"image",url:"assets/img/sprites.png?v="+h},{type:"image",url:"assets/img/sprites2x.png?v="+h},{type:"image",url:"assets/img/loading.gif"},{type:"image",url:"assets/img/bg.jpg"},{type:"image",url:"assets/img/bg-foundation-landing.jpg"},{type:"image",url:"assets/img/bg-jesseowens-landing.jpg?v=2"},{type:"image",url:"assets/img/clip-jesseowens-landing.png"},{type:"image",url:"assets/img/bg-landing.jpg?v=2"},{type:"image",url:"assets/img/clip-landing.png"},{type:"json",name:"data",url:"assets/json/data.json?v="+l},{type:"json",name:"cms",url:GlobalsObj.ROOT_LOCATION+"server_scripts/api.php?a=getAll&language="+d.get("language")+"&v="+l}];c.canPlayType("video/mp4")||!!c.canPlayType("video/webm"),m.forEach(function(e){switch(e.type){case"image":n.addImage(e.url);break;case"video":r[e.name]=n.addVideo(e.url);break;case"json":s[e.name]=n.addJSON(e.url)}}),n.addCompletionListener(function(){var t=s&&s.data?s.data.getData():{data:{}},n=s&&s.cms?s.cms.getData():{cms:{}};i.init(t.data.releaseDate),a.to(e("#container-preloader"),.5,{autoAlpha:0,display:"none",ease:Linear.easeNone}),v.initialize(r,t.data,n.data)}),n.start(),e(window).on("resize orientationchange",function(){var e=window.getViewport().width;t.addClass("notransition"),e>991?t.css({"font-size":o.mapRange(e,992,1200,7.4,10)+"px"}):e>767?t.css({"font-size":o.mapRange(e,769,992,5.7,7.4)+"px"}):e>479?t.css({"font-size":o.mapRange(e,480,769,4,5.7)+"px"}):t.css({"font-size":o.mapRange(e,320,480,8,10)+"px"}),t.css({"font-size":o.mapRange(e,320,1200,2.42,10)+"px"}),t[0].offsetHeight,t.removeClass("notransition")}).resize(),e("body").on("click",".ga-track",function(){var t=e(this),n=this.target?this.target:"_top";t.data("ga-event")?p.gEvent.apply(null,t.data("ga-event").split(", ")):t.data("ga-social")&&p.gSocial.apply(null,t.data("ga-social").split(", "));if(this.tagName.toLowerCase()==="a")return this.href[0]==="#"?!0:n==="_self"||n==="_top"?(setTimeout("top.location='"+this.href+"'",200),!1):!0}).on("click","a, button",function(){e(this).blur()})})}),define("main",function(){});