just-add-juice
Version:
A responsive frontend framework with modular components.
1 lines • 146 kB
JavaScript
"use strict";function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}if(function(t){function s(e){var t=e.length,n=d.type(e);return"function"!==n&&!d.isWindow(e)&&(!(1!==e.nodeType||!t)||"array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}if(!t.jQuery){var d=function e(t,n){return new e.fn.init(t,n)};d.isWindow=function(e){return e&&e===e.window},d.type=function(e){return e?"object"==_typeof(e)||"function"==typeof e?n[a.call(e)]||"object":_typeof(e):e+""},d.isArray=Array.isArray||function(e){return"array"===d.type(e)},d.isPlainObject=function(e){var t;if(!e||"object"!==d.type(e)||e.nodeType||d.isWindow(e))return!1;try{if(e.constructor&&!o.call(e,"constructor")&&!o.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(e){return!1}for(t in e);return void 0===t||o.call(e,t)},d.each=function(e,t,n){var o=0,a=e.length,i=s(e);if(n){if(i)for(;o<a&&!1!==t.apply(e[o],n);o++);else for(o in e)if(e.hasOwnProperty(o)&&!1===t.apply(e[o],n))break}else if(i)for(;o<a&&!1!==t.call(e[o],o,e[o]);o++);else for(o in e)if(e.hasOwnProperty(o)&&!1===t.call(e[o],o,e[o]))break;return e},d.data=function(e,t,n){if(void 0===n){var o=e[d.expando],a=o&&l[o];if(void 0===t)return a;if(a&&t in a)return a[t]}else if(void 0!==t){var i=e[d.expando]||(e[d.expando]=++d.uuid);return l[i]=l[i]||{},l[i][t]=n}},d.removeData=function(e,t){var n=e[d.expando],o=n&&l[n];o&&(t?d.each(t,function(e,t){delete o[t]}):delete l[n])},d.extend=function(){var e,t,n,o,a,i,s=arguments[0]||{},l=1,r=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[l]||{},l++),"object"!=_typeof(s)&&"function"!==d.type(s)&&(s={}),l===r&&(s=this,l--);l<r;l++)if(a=arguments[l])for(o in a)a.hasOwnProperty(o)&&(e=s[o],s!==(n=a[o])&&(c&&n&&(d.isPlainObject(n)||(t=d.isArray(n)))?(i=t?(t=!1,e&&d.isArray(e)?e:[]):e&&d.isPlainObject(e)?e:{},s[o]=d.extend(c,i,n)):void 0!==n&&(s[o]=n)));return s},d.queue=function(e,t,n){if(e){var o=d.data(e,t=(t||"fx")+"queue");return n?(!o||d.isArray(n)?o=d.data(e,t,(i=[],(a=n)&&(s(Object(a))?function(e,t){for(var n=+t.length,o=0,a=e.length;o<n;)e[a++]=t[o++];if(n!=n)for(;void 0!==t[o];)e[a++]=t[o++];e.length=a}(i,"string"==typeof a?[a]:a):[].push.call(i,a)),i)):o.push(n),o):o||[]}var a,i},d.dequeue=function(e,a){d.each(e.nodeType?[e]:e,function(e,t){var n=d.queue(t,a=a||"fx"),o=n.shift();"inprogress"===o&&(o=n.shift()),o&&("fx"===a&&n.unshift("inprogress"),o.call(t,function(){d.dequeue(t,a)}))})},d.fn=d.prototype={init:function(e){if(e.nodeType)return this[0]=e,this;throw new Error("Not a DOM node.")},offset:function(){var e=this[0].getBoundingClientRect?this[0].getBoundingClientRect():{top:0,left:0};return{top:e.top+(t.pageYOffset||document.scrollTop||0)-(document.clientTop||0),left:e.left+(t.pageXOffset||document.scrollLeft||0)-(document.clientLeft||0)}},position:function(){var n=this[0],e=function(e){for(var t=n.offsetParent;t&&"html"!==t.nodeName.toLowerCase()&&t.style&&"static"===t.style.position.toLowerCase();)t=t.offsetParent;return t||document}(),t=this.offset(),o=/^(?:body|html)$/i.test(e.nodeName)?{top:0,left:0}:d(e).offset();return t.top-=parseFloat(n.style.marginTop)||0,t.left-=parseFloat(n.style.marginLeft)||0,e.style&&(o.top+=parseFloat(e.style.borderTopWidth)||0,o.left+=parseFloat(e.style.borderLeftWidth)||0),{top:t.top-o.top,left:t.left-o.left}}};var l={};d.expando="velocity"+(new Date).getTime(),d.uuid=0;for(var n={},o=n.hasOwnProperty,a=n.toString,e="Boolean Number String Function Array Date RegExp Object Error".split(" "),i=0;i<e.length;i++)n["[object "+e[i]+"]"]=e[i].toLowerCase();d.fn.init.prototype=d.fn,t.Velocity={Utilities:d}}}(window),function(e){"object"==("undefined"==typeof module?"undefined":_typeof(module))&&"object"==_typeof(module.exports)?module.exports=e():"function"==typeof define&&define.amd?define(e):e()}(function(){return function(e,q,H,M){function y(e){return X.isWrapped(e)?e=n.call(e):X.isNode(e)&&(e=[e]),e}function F(e){var t=G.data(e,"velocity");return null===t?M:t}function h(e,t){var n=F(e);n&&n.delayTimer&&!n.delayPaused&&(n.delayRemaining=n.delay-t+n.delayBegin,n.delayPaused=!0,clearTimeout(n.delayTimer.setTimeout))}function v(e,t){var n=F(e);n&&n.delayTimer&&n.delayPaused&&(n.delayPaused=!1,n.delayTimer.setTimeout=setTimeout(n.delayTimer.next,n.delayRemaining))}function o(s,t,l,n){function o(e,t){return 1-3*t+3*e}function a(e,t){return 3*t-6*e}function i(e){return 3*e}function r(e,t,n){return((o(t,n)*e+a(t,n))*e+i(t))*e}function c(e,t,n){return 3*o(t,n)*e*e+2*a(t,n)*e+i(t)}function d(e){for(var t=0,n=1,o=g-1;n!==o&&v[n]<=e;++n)t+=y;var a=t+(e-v[--n])/(v[n+1]-v[n])*y,i=c(a,s,l);return.001<=i?function(e,t){for(var n=0;n<u;++n){var o=c(t,s,l);if(0===o)return t;t-=(r(t,s,l)-e)/o}return t}(e,a):0===i?a:function(e,t,n){for(var o,a,i=0;0<(o=r(a=t+(n-t)/2,s,l)-e)?n=a:t=a,Math.abs(o)>m&&++i<p;);return a}(e,t,t+y)}function f(){b=!0,s===t&&l===n||function(){for(var e=0;e<g;++e)v[e]=r(e*y,s,l)}()}var u=4,m=1e-7,p=10,g=11,y=1/(g-1),e="Float32Array"in q;if(4!==arguments.length)return!1;for(var h=0;h<4;++h)if("number"!=typeof arguments[h]||isNaN(arguments[h])||!isFinite(arguments[h]))return!1;s=Math.min(s,1),l=Math.min(l,1),s=Math.max(s,0),l=Math.max(l,0);var v=e?new Float32Array(g):new Array(g),b=!1,k=function(e){return b||f(),s===t&&l===n?e:0===e?0:1===e?1:r(d(e),t,n)};k.getControlPoints=function(){return[{x:s,y:t},{x:l,y:n}]};var A="generateBezier("+[s,t,l,n]+")";return k.toString=function(){return A},k}function W(e,t){var n=e;return X.isString(e)?Y.Easings[e]||(n=!1):n=X.isArray(e)&&1===e.length?function(t){return function(e){return Math.round(e*t)*(1/t)}}.apply(null,e):X.isArray(e)&&2===e.length?l.apply(null,e.concat([t])):!(!X.isArray(e)||4!==e.length)&&o.apply(null,e),!1===n&&(n=Y.Easings[Y.defaults.easing]?Y.defaults.easing:s),n}function $(e){if(e){var t=Y.timestamp&&!0!==e?e:B.now(),n=Y.State.calls.length;1e4<n&&(Y.State.calls=function(e){for(var t=-1,n=e?e.length:0,o=[];++t<n;){var a=e[t];a&&o.push(a)}return o}(Y.State.calls),n=Y.State.calls.length);for(var o=0;o<n;o++)if(Y.State.calls[o]){var a=Y.State.calls[o],i=a[0],s=a[2],l=a[3],r=!l,c=null,d=a[5],f=a[6];if(l||(l=Y.State.calls[o][3]=t-16),d){if(!0!==d.resume)continue;l=a[3]=Math.round(t-f-16),a[5]=null}f=a[6]=t-l;for(var u=Math.min(f/s.duration,1),m=0,p=i.length;m<p;m++){var g=i[m],y=g.element;if(F(y)){var h=!1;if(s.display!==M&&null!==s.display&&"none"!==s.display){if("flex"===s.display){G.each(["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex"],function(e,t){Q.setPropertyValue(y,"display",t)})}Q.setPropertyValue(y,"display",s.display)}for(var v in s.visibility!==M&&"hidden"!==s.visibility&&Q.setPropertyValue(y,"visibility",s.visibility),g)if(g.hasOwnProperty(v)&&"element"!==v){var b,k=g[v],A=X.isString(k.easing)?Y.Easings[k.easing]:k.easing;if(X.isString(k.pattern)){var L=1===u?function(e,t,n){var o=k.endValue[t];return n?Math.round(o):o}:function(e,t,n){var o=k.startValue[t],a=k.endValue[t]-o,i=o+a*A(u,s,a);return n?Math.round(i):i};b=k.pattern.replace(/{(\d+)(!)?}/g,L)}else if(1===u)b=k.endValue;else{var S=k.endValue-k.startValue;b=k.startValue+S*A(u,s,S)}if(!r&&b===k.currentValue)continue;if(k.currentValue=b,"tween"===v)c=b;else{var w;if(Q.Hooks.registered[v]){w=Q.Hooks.getRoot(v);var E=F(y).rootPropertyValueCache[w];E&&(k.rootPropertyValue=E)}var C=Q.setPropertyValue(y,v,k.currentValue+(x<9&&0===parseFloat(b)?"":k.unitType),k.rootPropertyValue,k.scrollData);Q.Hooks.registered[v]&&(Q.Normalizations.registered[w]?F(y).rootPropertyValueCache[w]=Q.Normalizations.registered[w]("extract",null,C[1]):F(y).rootPropertyValueCache[w]=C[1]),"transform"===C[0]&&(h=!0)}}s.mobileHA&&F(y).transformCache.translate3d===M&&(F(y).transformCache.translate3d="(0px, 0px, 0px)",h=!0),h&&Q.flushTransformCache(y)}}s.display!==M&&"none"!==s.display&&(Y.State.calls[o][2].display=!1),s.visibility!==M&&"hidden"!==s.visibility&&(Y.State.calls[o][2].visibility=!1),s.progress&&s.progress.call(a[1],a[1],u,Math.max(0,l+s.duration-t),l,c),1===u&&z(o)}}Y.State.isTicking&&T($)}function z(e,t){if(!Y.State.calls[e])return!1;for(var n=Y.State.calls[e][0],o=Y.State.calls[e][1],a=Y.State.calls[e][2],i=Y.State.calls[e][4],s=!1,l=0,r=n.length;l<r;l++){var c=n[l].element;t||a.loop||("none"===a.display&&Q.setPropertyValue(c,"display",a.display),"hidden"===a.visibility&&Q.setPropertyValue(c,"visibility",a.visibility));var d=F(c);if(!0!==a.loop&&(G.queue(c)[1]===M||!/\.velocityQueueEntryFlag/i.test(G.queue(c)[1]))&&d){d.isAnimating=!1;var f=!(d.rootPropertyValueCache={});G.each(Q.Lists.transforms3D,function(e,t){var n=/^scale/.test(t)?1:0,o=d.transformCache[t];d.transformCache[t]!==M&&new RegExp("^\\("+n+"[^.]").test(o)&&(f=!0,delete d.transformCache[t])}),a.mobileHA&&(f=!0,delete d.transformCache.translate3d),f&&Q.flushTransformCache(c),Q.Values.removeClass(c,"velocity-animating")}if(!t&&a.complete&&!a.loop&&l===r-1)try{a.complete.call(o,o)}catch(e){setTimeout(function(){throw e},1)}i&&!0!==a.loop&&i(o),d&&!0===a.loop&&!t&&(G.each(d.tweensContainer,function(e,t){if(/^rotate/.test(e)&&(parseFloat(t.startValue)-parseFloat(t.endValue))%360==0){var n=t.startValue;t.startValue=t.endValue,t.endValue=n}/^backgroundPosition/.test(e)&&100===parseFloat(t.endValue)&&"%"===t.unitType&&(t.endValue=0,t.startValue=100)}),Y(c,"reverse",{loop:!0,delay:a.delay})),!1!==a.queue&&G.dequeue(c,a.queue)}Y.State.calls[e]=!1;for(var u=0,m=Y.State.calls.length;u<m;u++)if(!1!==Y.State.calls[u]){s=!0;break}!1===s&&(Y.State.isTicking=!1,delete Y.State.calls,Y.State.calls=[])}var G,a,x=function(){if(H.documentMode)return H.documentMode;for(var e=7;4<e;e--){var t=H.createElement("div");if(t.innerHTML="\x3c!--[if IE "+e+"]><span></span><![endif]--\x3e",t.getElementsByTagName("span").length)return t=null,e}return M}(),t=(a=0,q.webkitRequestAnimationFrame||q.mozRequestAnimationFrame||function(e){var t,n=(new Date).getTime();return t=Math.max(0,16-(n-a)),a=n+t,setTimeout(function(){e(n+t)},t)}),B=function(){var e=q.performance||{};if("function"!=typeof e.now){var t=e.timing&&e.timing.navigationStart?e.timing.navigationStart:(new Date).getTime();e.now=function(){return(new Date).getTime()-t}}return e}(),n=function(){var l=Array.prototype.slice;try{return l.call(H.documentElement),l}catch(e){return function(e,t){var n=this.length;if("number"!=typeof e&&(e=0),"number"!=typeof t&&(t=n),this.slice)return l.call(this,e,t);var o,a=[],i=0<=e?e:Math.max(0,n+e),s=(t<0?n+t:Math.min(t,n))-i;if(0<s)if(a=new Array(s),this.charAt)for(o=0;o<s;o++)a[o]=this.charAt(i+o);else for(o=0;o<s;o++)a[o]=this[i+o];return a}}}(),U=function(){return Array.prototype.includes?function(e,t){return e.includes(t)}:Array.prototype.indexOf?function(e,t){return 0<=e.indexOf(t)}:function(e,t){for(var n=0;n<e.length;n++)if(e[n]===t)return!0;return!1}},X={isNumber:function(e){return"number"==typeof e},isString:function(e){return"string"==typeof e},isArray:Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},isFunction:function(e){return"[object Function]"===Object.prototype.toString.call(e)},isNode:function(e){return e&&e.nodeType},isWrapped:function(e){return e&&e!==q&&X.isNumber(e.length)&&!X.isString(e)&&!X.isFunction(e)&&!X.isNode(e)&&(0===e.length||X.isNode(e[0]))},isSVG:function(e){return q.SVGElement&&e instanceof q.SVGElement},isEmptyObject:function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}},i=!1;if(e.fn&&e.fn.jquery?(G=e,i=!0):G=q.Velocity.Utilities,x<=8&&!i)throw new Error("Velocity: IE8 and below require jQuery to be loaded before Velocity.");if(!(x<=7)){var s="swing",Y={State:{isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(q.navigator.userAgent),isAndroid:/Android/i.test(q.navigator.userAgent),isGingerbread:/Android 2\.3\.[3-7]/i.test(q.navigator.userAgent),isChrome:q.chrome,isFirefox:/Firefox/i.test(q.navigator.userAgent),prefixElement:H.createElement("div"),prefixMatches:{},scrollAnchor:null,scrollPropertyLeft:null,scrollPropertyTop:null,isTicking:!1,calls:[],delayedElements:{count:0}},CSS:{},Utilities:G,Redirects:{},Easings:{},Promise:q.Promise,defaults:{queue:"",duration:400,easing:s,begin:M,complete:M,progress:M,display:M,visibility:M,loop:!1,delay:!1,mobileHA:!0,_cacheValues:!0,promiseRejectEmpty:!0},init:function(e){G.data(e,"velocity",{isSVG:X.isSVG(e),isAnimating:!1,computedStyle:null,tweensContainer:null,rootPropertyValueCache:{},transformCache:{}})},hook:null,mock:!1,version:{major:1,minor:5,patch:2},debug:!1,timestamp:!0,pauseAll:function(n){var o=(new Date).getTime();G.each(Y.State.calls,function(e,t){if(t){if(n!==M&&(t[2].queue!==n||!1===t[2].queue))return!0;t[5]={resume:!1}}}),G.each(Y.State.delayedElements,function(e,t){t&&h(t,o)})},resumeAll:function(n){(new Date).getTime();G.each(Y.State.calls,function(e,t){if(t){if(n!==M&&(t[2].queue!==n||!1===t[2].queue))return!0;t[5]&&(t[5].resume=!0)}}),G.each(Y.State.delayedElements,function(e,t){t&&v(t)})}};q.pageYOffset!==M?(Y.State.scrollAnchor=q,Y.State.scrollPropertyLeft="pageXOffset",Y.State.scrollPropertyTop="pageYOffset"):(Y.State.scrollAnchor=H.documentElement||H.body.parentNode||H.body,Y.State.scrollPropertyLeft="scrollLeft",Y.State.scrollPropertyTop="scrollTop");var l=function(){function v(e){return-e.tension*e.x-e.friction*e.v}function b(e,t,n){var o={x:e.x+n.dx*t,v:e.v+n.dv*t,tension:e.tension,friction:e.friction};return{dx:o.v,dv:v(o)}}return function e(t,n,o){var a,i,s,l,r,c,d,f,u,m,p,g={x:-1,v:0,tension:null,friction:null},y=[0],h=0;for(t=parseFloat(t)||500,n=parseFloat(n)||20,o=o||null,g.tension=t,g.friction=n,i=(a=null!==o)?(h=e(t,n))/o*.016:.016;r=i,void 0,c={dx:(l=s||g).v,dv:v(l)},d=b(l,.5*r,c),f=b(l,.5*r,d),u=b(l,r,f),m=1/6*(c.dx+2*(d.dx+f.dx)+u.dx),p=1/6*(c.dv+2*(d.dv+f.dv)+u.dv),l.x=l.x+m*r,l.v=l.v+p*r,s=l,y.push(1+s.x),h+=16,1e-4<Math.abs(s.x)&&1e-4<Math.abs(s.v););return a?function(e){return y[e*(y.length-1)|0]}:h}}();Y.Easings={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},spring:function(e){return 1-Math.cos(4.5*e*Math.PI)*Math.exp(6*-e)}},G.each([["ease",[.25,.1,.25,1]],["ease-in",[.42,0,1,1]],["ease-out",[0,0,.58,1]],["ease-in-out",[.42,0,.58,1]],["easeInSine",[.47,0,.745,.715]],["easeOutSine",[.39,.575,.565,1]],["easeInOutSine",[.445,.05,.55,.95]],["easeInQuad",[.55,.085,.68,.53]],["easeOutQuad",[.25,.46,.45,.94]],["easeInOutQuad",[.455,.03,.515,.955]],["easeInCubic",[.55,.055,.675,.19]],["easeOutCubic",[.215,.61,.355,1]],["easeInOutCubic",[.645,.045,.355,1]],["easeInQuart",[.895,.03,.685,.22]],["easeOutQuart",[.165,.84,.44,1]],["easeInOutQuart",[.77,0,.175,1]],["easeInQuint",[.755,.05,.855,.06]],["easeOutQuint",[.23,1,.32,1]],["easeInOutQuint",[.86,0,.07,1]],["easeInExpo",[.95,.05,.795,.035]],["easeOutExpo",[.19,1,.22,1]],["easeInOutExpo",[1,0,0,1]],["easeInCirc",[.6,.04,.98,.335]],["easeOutCirc",[.075,.82,.165,1]],["easeInOutCirc",[.785,.135,.15,.86]]],function(e,t){Y.Easings[t[0]]=o.apply(null,t[1])});var Q=Y.CSS={RegEx:{isHex:/^#([A-f\d]{3}){1,2}$/i,valueUnwrap:/^[A-z]+\((.*)\)$/i,wrappedValueAlreadyExtracted:/[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/,valueSplit:/([A-z]+\(.+\))|(([A-z0-9#-.]+?)(?=\s|$))/gi},Lists:{colors:["fill","stroke","stopColor","color","backgroundColor","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","outlineColor"],transformsBase:["translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ"],transforms3D:["transformPerspective","translateZ","scaleZ","rotateX","rotateY"],units:["%","em","ex","ch","rem","vw","vh","vmin","vmax","cm","mm","Q","in","pc","pt","px","deg","grad","rad","turn","s","ms"],colorNames:{aliceblue:"240,248,255",antiquewhite:"250,235,215",aquamarine:"127,255,212",aqua:"0,255,255",azure:"240,255,255",beige:"245,245,220",bisque:"255,228,196",black:"0,0,0",blanchedalmond:"255,235,205",blueviolet:"138,43,226",blue:"0,0,255",brown:"165,42,42",burlywood:"222,184,135",cadetblue:"95,158,160",chartreuse:"127,255,0",chocolate:"210,105,30",coral:"255,127,80",cornflowerblue:"100,149,237",cornsilk:"255,248,220",crimson:"220,20,60",cyan:"0,255,255",darkblue:"0,0,139",darkcyan:"0,139,139",darkgoldenrod:"184,134,11",darkgray:"169,169,169",darkgrey:"169,169,169",darkgreen:"0,100,0",darkkhaki:"189,183,107",darkmagenta:"139,0,139",darkolivegreen:"85,107,47",darkorange:"255,140,0",darkorchid:"153,50,204",darkred:"139,0,0",darksalmon:"233,150,122",darkseagreen:"143,188,143",darkslateblue:"72,61,139",darkslategray:"47,79,79",darkturquoise:"0,206,209",darkviolet:"148,0,211",deeppink:"255,20,147",deepskyblue:"0,191,255",dimgray:"105,105,105",dimgrey:"105,105,105",dodgerblue:"30,144,255",firebrick:"178,34,34",floralwhite:"255,250,240",forestgreen:"34,139,34",fuchsia:"255,0,255",gainsboro:"220,220,220",ghostwhite:"248,248,255",gold:"255,215,0",goldenrod:"218,165,32",gray:"128,128,128",grey:"128,128,128",greenyellow:"173,255,47",green:"0,128,0",honeydew:"240,255,240",hotpink:"255,105,180",indianred:"205,92,92",indigo:"75,0,130",ivory:"255,255,240",khaki:"240,230,140",lavenderblush:"255,240,245",lavender:"230,230,250",lawngreen:"124,252,0",lemonchiffon:"255,250,205",lightblue:"173,216,230",lightcoral:"240,128,128",lightcyan:"224,255,255",lightgoldenrodyellow:"250,250,210",lightgray:"211,211,211",lightgrey:"211,211,211",lightgreen:"144,238,144",lightpink:"255,182,193",lightsalmon:"255,160,122",lightseagreen:"32,178,170",lightskyblue:"135,206,250",lightslategray:"119,136,153",lightsteelblue:"176,196,222",lightyellow:"255,255,224",limegreen:"50,205,50",lime:"0,255,0",linen:"250,240,230",magenta:"255,0,255",maroon:"128,0,0",mediumaquamarine:"102,205,170",mediumblue:"0,0,205",mediumorchid:"186,85,211",mediumpurple:"147,112,219",mediumseagreen:"60,179,113",mediumslateblue:"123,104,238",mediumspringgreen:"0,250,154",mediumturquoise:"72,209,204",mediumvioletred:"199,21,133",midnightblue:"25,25,112",mintcream:"245,255,250",mistyrose:"255,228,225",moccasin:"255,228,181",navajowhite:"255,222,173",navy:"0,0,128",oldlace:"253,245,230",olivedrab:"107,142,35",olive:"128,128,0",orangered:"255,69,0",orange:"255,165,0",orchid:"218,112,214",palegoldenrod:"238,232,170",palegreen:"152,251,152",paleturquoise:"175,238,238",palevioletred:"219,112,147",papayawhip:"255,239,213",peachpuff:"255,218,185",peru:"205,133,63",pink:"255,192,203",plum:"221,160,221",powderblue:"176,224,230",purple:"128,0,128",red:"255,0,0",rosybrown:"188,143,143",royalblue:"65,105,225",saddlebrown:"139,69,19",salmon:"250,128,114",sandybrown:"244,164,96",seagreen:"46,139,87",seashell:"255,245,238",sienna:"160,82,45",silver:"192,192,192",skyblue:"135,206,235",slateblue:"106,90,205",slategray:"112,128,144",snow:"255,250,250",springgreen:"0,255,127",steelblue:"70,130,180",tan:"210,180,140",teal:"0,128,128",thistle:"216,191,216",tomato:"255,99,71",turquoise:"64,224,208",violet:"238,130,238",wheat:"245,222,179",whitesmoke:"245,245,245",white:"255,255,255",yellowgreen:"154,205,50",yellow:"255,255,0"}},Hooks:{templates:{textShadow:["Color X Y Blur","black 0px 0px 0px"],boxShadow:["Color X Y Blur Spread","black 0px 0px 0px 0px"],clip:["Top Right Bottom Left","0px 0px 0px 0px"],backgroundPosition:["X Y","0% 0%"],transformOrigin:["X Y Z","50% 50% 0px"],perspectiveOrigin:["X Y","50% 50%"]},registered:{},register:function(){for(var e=0;e<Q.Lists.colors.length;e++){var t="color"===Q.Lists.colors[e]?"0 0 0 1":"255 255 255 1";Q.Hooks.templates[Q.Lists.colors[e]]=["Red Green Blue Alpha",t]}var n,o,a;if(x)for(n in Q.Hooks.templates)if(Q.Hooks.templates.hasOwnProperty(n)){a=(o=Q.Hooks.templates[n])[0].split(" ");var i=o[1].match(Q.RegEx.valueSplit);"Color"===a[0]&&(a.push(a.shift()),i.push(i.shift()),Q.Hooks.templates[n]=[a.join(" "),i.join(" ")])}for(n in Q.Hooks.templates)if(Q.Hooks.templates.hasOwnProperty(n))for(var s in a=(o=Q.Hooks.templates[n])[0].split(" "))if(a.hasOwnProperty(s)){var l=n+a[s],r=s;Q.Hooks.registered[l]=[n,r]}},getRoot:function(e){var t=Q.Hooks.registered[e];return t?t[0]:e},getUnit:function(e,t){var n=(e.substr(t||0,5).match(/^[a-z%]+/)||[])[0]||"";return n&&U(Q.Lists.units)?n:""},fixColors:function(e){return e.replace(/(rgba?\(\s*)?(\b[a-z]+\b)/g,function(e,t,n){return Q.Lists.colorNames.hasOwnProperty(n)?(t||"rgba(")+Q.Lists.colorNames[n]+(t?"":",1)"):t+n})},cleanRootPropertyValue:function(e,t){return Q.RegEx.valueUnwrap.test(t)&&(t=t.match(Q.RegEx.valueUnwrap)[1]),Q.Values.isCSSNullValue(t)&&(t=Q.Hooks.templates[e][1]),t},extractValue:function(e,t){var n=Q.Hooks.registered[e];if(n){var o=n[0],a=n[1];return(t=Q.Hooks.cleanRootPropertyValue(o,t)).toString().match(Q.RegEx.valueSplit)[a]}return t},injectValue:function(e,t,n){var o=Q.Hooks.registered[e];if(o){var a,i=o[0],s=o[1];return(a=(n=Q.Hooks.cleanRootPropertyValue(i,n)).toString().match(Q.RegEx.valueSplit))[s]=t,a.join(" ")}return n}},Normalizations:{registered:{clip:function(e,t,n){switch(e){case"name":return"clip";case"extract":var o;return o=Q.RegEx.wrappedValueAlreadyExtracted.test(n)?n:(o=n.toString().match(Q.RegEx.valueUnwrap))?o[1].replace(/,(\s+)?/g," "):n;case"inject":return"rect("+n+")"}},blur:function(e,t,n){switch(e){case"name":return Y.State.isFirefox?"filter":"-webkit-filter";case"extract":var o=parseFloat(n);if(!o&&0!==o){var a=n.toString().match(/blur\(([0-9]+[A-z]+)\)/i);o=a?a[1]:0}return o;case"inject":return parseFloat(n)?"blur("+n+")":"none"}},opacity:function(e,t,n){if(x<=8)switch(e){case"name":return"filter";case"extract":var o=n.toString().match(/alpha\(opacity=(.*)\)/i);return o?o[1]/100:1;case"inject":return(t.style.zoom=1)<=parseFloat(n)?"":"alpha(opacity="+parseInt(100*parseFloat(n),10)+")"}else switch(e){case"name":return"opacity";case"extract":case"inject":return n}}},register:function(){function i(e,t,n){if("border-box"===Q.getPropertyValue(t,"boxSizing").toString().toLowerCase()!==(n||!1))return 0;var o,a,i=0,s="width"===e?["Left","Right"]:["Top","Bottom"],l=["padding"+s[0],"padding"+s[1],"border"+s[0]+"Width","border"+s[1]+"Width"];for(o=0;o<l.length;o++)a=parseFloat(Q.getPropertyValue(t,l[o])),isNaN(a)||(i+=a);return n?-i:i}function e(o,a){return function(e,t,n){switch(e){case"name":return o;case"extract":return parseFloat(n)+i(o,t,a);case"inject":return parseFloat(n)-i(o,t,a)+"px"}}}x&&!(9<x)||Y.State.isGingerbread||(Q.Lists.transformsBase=Q.Lists.transformsBase.concat(Q.Lists.transforms3D));for(var t=0;t<Q.Lists.transformsBase.length;t++)!function(){var a=Q.Lists.transformsBase[t];Q.Normalizations.registered[a]=function(e,t,n){switch(e){case"name":return"transform";case"extract":return F(t)===M||F(t).transformCache[a]===M?/^scale/i.test(a)?1:0:F(t).transformCache[a].replace(/[()]/g,"");case"inject":var o=!1;switch(a.substr(0,a.length-1)){case"translate":o=!/(%|px|em|rem|vw|vh|\d)$/i.test(n);break;case"scal":case"scale":Y.State.isAndroid&&F(t).transformCache[a]===M&&n<1&&(n=1),o=!/(\d)$/i.test(n);break;case"skew":case"rotate":o=!/(deg|\d)$/i.test(n)}return o||(F(t).transformCache[a]="("+n+")"),F(t).transformCache[a]}}}();for(var n=0;n<Q.Lists.colors.length;n++)!function(){var s=Q.Lists.colors[n];Q.Normalizations.registered[s]=function(e,t,n){switch(e){case"name":return s;case"extract":var o;if(Q.RegEx.wrappedValueAlreadyExtracted.test(n))o=n;else{var a,i={black:"rgb(0, 0, 0)",blue:"rgb(0, 0, 255)",gray:"rgb(128, 128, 128)",green:"rgb(0, 128, 0)",red:"rgb(255, 0, 0)",white:"rgb(255, 255, 255)"};/^[A-z]+$/i.test(n)?a=i[n]!==M?i[n]:i.black:Q.RegEx.isHex.test(n)?a="rgb("+Q.Values.hexToRgb(n).join(" ")+")":/^rgba?\(/i.test(n)||(a=i.black),o=(a||n).toString().match(Q.RegEx.valueUnwrap)[1].replace(/,(\s+)?/g," ")}return(!x||8<x)&&3===o.split(" ").length&&(o+=" 1"),o;case"inject":return/^rgb/.test(n)?n:(x<=8?4===n.split(" ").length&&(n=n.split(/\s+/).slice(0,3).join(" ")):3===n.split(" ").length&&(n+=" 1"),(x<=8?"rgb":"rgba")+"("+n.replace(/\s+/g,",").replace(/\.(\d)+(?=,)/g,"")+")")}}}();Q.Normalizations.registered.innerWidth=e("width",!0),Q.Normalizations.registered.innerHeight=e("height",!0),Q.Normalizations.registered.outerWidth=e("width"),Q.Normalizations.registered.outerHeight=e("height")}},Names:{camelCase:function(e){return e.replace(/-(\w)/g,function(e,t){return t.toUpperCase()})},SVGAttribute:function(e){var t="width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2";return(x||Y.State.isAndroid&&!Y.State.isChrome)&&(t+="|transform"),new RegExp("^("+t+")$","i").test(e)},prefixCheck:function(e){if(Y.State.prefixMatches[e])return[Y.State.prefixMatches[e],!0];for(var t=["","Webkit","Moz","ms","O"],n=0,o=t.length;n<o;n++){var a;if(a=0===n?e:t[n]+e.replace(/^\w/,function(e){return e.toUpperCase()}),X.isString(Y.State.prefixElement.style[a]))return[Y.State.prefixMatches[e]=a,!0]}return[e,!1]}},Values:{hexToRgb:function(e){var t;return e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(e,t,n,o){return t+t+n+n+o+o}),(t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e))?[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]:[0,0,0]},isCSSNullValue:function(e){return!e||/^(none|auto|transparent|(rgba\(0, ?0, ?0, ?0\)))$/i.test(e)},getUnitType:function(e){return/^(rotate|skew)/i.test(e)?"deg":/(^(scale|scaleX|scaleY|scaleZ|alpha|flexGrow|flexHeight|zIndex|fontWeight)$)|((opacity|red|green|blue|alpha)$)/i.test(e)?"":"px"},getDisplayType:function(e){var t=e&&e.tagName.toString().toLowerCase();return/^(b|big|i|small|tt|abbr|acronym|cite|code|dfn|em|kbd|strong|samp|var|a|bdo|br|img|map|object|q|script|span|sub|sup|button|input|label|select|textarea)$/i.test(t)?"inline":/^(li)$/i.test(t)?"list-item":/^(tr)$/i.test(t)?"table-row":/^(table)$/i.test(t)?"table":/^(tbody)$/i.test(t)?"table-row-group":"block"},addClass:function(e,t){if(e)if(e.classList)e.classList.add(t);else if(X.isString(e.className))e.className+=(e.className.length?" ":"")+t;else{var n=e.getAttribute(x<=7?"className":"class")||"";e.setAttribute("class",n+(n?" ":"")+t)}},removeClass:function(e,t){if(e)if(e.classList)e.classList.remove(t);else if(X.isString(e.className))e.className=e.className.toString().replace(new RegExp("(^|\\s)"+t.split(" ").join("|")+"(\\s|$)","gi")," ");else{var n=e.getAttribute(x<=7?"className":"class")||"";e.setAttribute("class",n.replace(new RegExp("(^|s)"+t.split(" ").join("|")+"(s|$)","gi")," "))}}},getPropertyValue:function(e,t,n,c){function d(e,t){var n=0;if(x<=8)n=G.css(e,t);else{var o=!1;/^(width|height)$/.test(t)&&0===Q.getPropertyValue(e,"display")&&(o=!0,Q.setPropertyValue(e,"display",Q.Values.getDisplayType(e)));var a,i=function(){o&&Q.setPropertyValue(e,"display","none")};if(!c){if("height"===t&&"border-box"!==Q.getPropertyValue(e,"boxSizing").toString().toLowerCase()){var s=e.offsetHeight-(parseFloat(Q.getPropertyValue(e,"borderTopWidth"))||0)-(parseFloat(Q.getPropertyValue(e,"borderBottomWidth"))||0)-(parseFloat(Q.getPropertyValue(e,"paddingTop"))||0)-(parseFloat(Q.getPropertyValue(e,"paddingBottom"))||0);return i(),s}if("width"===t&&"border-box"!==Q.getPropertyValue(e,"boxSizing").toString().toLowerCase()){var l=e.offsetWidth-(parseFloat(Q.getPropertyValue(e,"borderLeftWidth"))||0)-(parseFloat(Q.getPropertyValue(e,"borderRightWidth"))||0)-(parseFloat(Q.getPropertyValue(e,"paddingLeft"))||0)-(parseFloat(Q.getPropertyValue(e,"paddingRight"))||0);return i(),l}}a=F(e)===M?q.getComputedStyle(e,null):F(e).computedStyle?F(e).computedStyle:F(e).computedStyle=q.getComputedStyle(e,null),"borderColor"===t&&(t="borderTopColor"),""!==(n=9===x&&"filter"===t?a.getPropertyValue(t):a[t])&&null!==n||(n=e.style[t]),i()}if("auto"===n&&/^(top|right|bottom|left)$/i.test(t)){var r=d(e,"position");("fixed"===r||"absolute"===r&&/top|left/i.test(t))&&(n=G(e).position()[t]+"px")}return n}var o;if(Q.Hooks.registered[t]){var a=t,i=Q.Hooks.getRoot(a);n===M&&(n=Q.getPropertyValue(e,Q.Names.prefixCheck(i)[0])),Q.Normalizations.registered[i]&&(n=Q.Normalizations.registered[i]("extract",e,n)),o=Q.Hooks.extractValue(a,n)}else if(Q.Normalizations.registered[t]){var s,l;"transform"!==(s=Q.Normalizations.registered[t]("name",e))&&(l=d(e,Q.Names.prefixCheck(s)[0]),Q.Values.isCSSNullValue(l)&&Q.Hooks.templates[t]&&(l=Q.Hooks.templates[t][1])),o=Q.Normalizations.registered[t]("extract",e,l)}if(!/^[\d-]/.test(o)){var r=F(e);if(r&&r.isSVG&&Q.Names.SVGAttribute(t))if(/^(height|width)$/i.test(t))try{o=e.getBBox()[t]}catch(e){o=0}else o=e.getAttribute(t);else o=d(e,Q.Names.prefixCheck(t)[0])}return Q.Values.isCSSNullValue(o)&&(o=0),2<=Y.debug&&console.log("Get "+t+": "+o),o},setPropertyValue:function(e,t,n,o,a){var i=t;if("scroll"===t)a.container?a.container["scroll"+a.direction]=n:"Left"===a.direction?q.scrollTo(n,a.alternateValue):q.scrollTo(a.alternateValue,n);else if(Q.Normalizations.registered[t]&&"transform"===Q.Normalizations.registered[t]("name",e))Q.Normalizations.registered[t]("inject",e,n),i="transform",n=F(e).transformCache[t];else{if(Q.Hooks.registered[t]){var s=t,l=Q.Hooks.getRoot(t);o=o||Q.getPropertyValue(e,l),n=Q.Hooks.injectValue(s,n,o),t=l}if(Q.Normalizations.registered[t]&&(n=Q.Normalizations.registered[t]("inject",e,n),t=Q.Normalizations.registered[t]("name",e)),i=Q.Names.prefixCheck(t)[0],x<=8)try{e.style[i]=n}catch(e){Y.debug&&console.log("Browser does not support ["+n+"] for ["+i+"]")}else{var r=F(e);r&&r.isSVG&&Q.Names.SVGAttribute(t)?e.setAttribute(t,n):e.style[i]=n}2<=Y.debug&&console.log("Set "+t+" ("+i+"): "+n)}return[i,n]},flushTransformCache:function(t){var n="",e=F(t);if((x||Y.State.isAndroid&&!Y.State.isChrome)&&e&&e.isSVG){var o=function(e){return parseFloat(Q.getPropertyValue(t,e))},a={translate:[o("translateX"),o("translateY")],skewX:[o("skewX")],skewY:[o("skewY")],scale:1!==o("scale")?[o("scale"),o("scale")]:[o("scaleX"),o("scaleY")],rotate:[o("rotateZ"),0,0]};G.each(F(t).transformCache,function(e){/^translate/i.test(e)?e="translate":/^scale/i.test(e)?e="scale":/^rotate/i.test(e)&&(e="rotate"),a[e]&&(n+=e+"("+a[e].join(" ")+") ",delete a[e])})}else{var i,s;G.each(F(t).transformCache,function(e){if(i=F(t).transformCache[e],"transformPerspective"===e)return s=i,!0;9===x&&"rotateZ"===e&&(e="rotate"),n+=e+i+" "}),s&&(n="perspective"+s+" "+n)}Q.setPropertyValue(t,"transform",n)}};Q.Hooks.register(),Q.Normalizations.register(),Y.hook=function(e,o,a){var i;return e=y(e),G.each(e,function(e,t){if(F(t)===M&&Y.init(t),a===M)i===M&&(i=Q.getPropertyValue(t,o));else{var n=Q.setPropertyValue(t,o,a);"transform"===n[0]&&Y.CSS.flushTransformCache(t),i=n}}),i};var r=function e(){function t(){return o?B.promise||null:a}var n,o,a,i,E,C,x,s=arguments[0]&&(arguments[0].p||G.isPlainObject(arguments[0].properties)&&!arguments[0].properties.names||X.isString(arguments[0].properties));X.isWrapped(this)?(o=!1,i=0,a=E=this):(o=!0,i=1,E=s?arguments[0].elements||arguments[0].e:arguments[0]);var B={promise:null,resolver:null,rejecter:null};if(o&&Y.Promise&&(B.promise=new Y.Promise(function(e,t){B.resolver=e,B.rejecter=t})),x=s?(C=arguments[0].properties||arguments[0].p,arguments[0].options||arguments[0].o):(C=arguments[i],arguments[i+1]),E=y(E)){var T,P=E.length,j=0;if(!/^(stop|finish|finishAll|pause|resume)$/i.test(C)&&!G.isPlainObject(x)){x={};for(var l=i+1;l<arguments.length;l++)X.isArray(arguments[l])||!/^(fast|normal|slow)$/i.test(arguments[l])&&!/^\d/.test(arguments[l])?X.isString(arguments[l])||X.isArray(arguments[l])?x.easing=arguments[l]:X.isFunction(arguments[l])&&(x.complete=arguments[l]):x.duration=arguments[l]}switch(C){case"scroll":T="scroll";break;case"reverse":T="reverse";break;case"pause":var r=(new Date).getTime();return G.each(E,function(e,t){h(t,r)}),G.each(Y.State.calls,function(e,o){var a=!1;o&&G.each(o[1],function(e,n){var t=x===M?"":x;return!0!==t&&o[2].queue!==t&&(x!==M||!1!==o[2].queue)||(G.each(E,function(e,t){if(t===n)return o[5]={resume:!1},!(a=!0)}),!a&&void 0)})}),t();case"resume":return G.each(E,function(e,t){v(t)}),G.each(Y.State.calls,function(e,o){var a=!1;o&&G.each(o[1],function(e,n){var t=x===M?"":x;return!0!==t&&o[2].queue!==t&&(x!==M||!1!==o[2].queue)||!o[5]||(G.each(E,function(e,t){if(t===n)return o[5].resume=!0,!(a=!0)}),!a&&void 0)})}),t();case"finish":case"finishAll":case"stop":G.each(E,function(e,t){F(t)&&F(t).delayTimer&&(clearTimeout(F(t).delayTimer.setTimeout),F(t).delayTimer.next&&F(t).delayTimer.next(),delete F(t).delayTimer),"finishAll"!==C||!0!==x&&!X.isString(x)||(G.each(G.queue(t,X.isString(x)?x:""),function(e,t){X.isFunction(t)&&t()}),G.queue(t,X.isString(x)?x:"",[]))});var c=[];return G.each(Y.State.calls,function(i,s){s&&G.each(s[1],function(e,o){var a=x===M?"":x;if(!0!==a&&s[2].queue!==a&&(x!==M||!1!==s[2].queue))return!0;G.each(E,function(e,t){if(t===o)if((!0===x||X.isString(x))&&(G.each(G.queue(t,X.isString(x)?x:""),function(e,t){X.isFunction(t)&&t(null,!0)}),G.queue(t,X.isString(x)?x:"",[])),"stop"===C){var n=F(t);n&&n.tweensContainer&&(!0===a||""===a)&&G.each(n.tweensContainer,function(e,t){t.endValue=t.currentValue}),c.push(i)}else"finish"!==C&&"finishAll"!==C||(s[2].duration=1)})})}),"stop"===C&&(G.each(c,function(e,t){z(t,!0)}),B.promise&&B.resolver(E)),t();default:if(!G.isPlainObject(C)||X.isEmptyObject(C)){if(X.isString(C)&&Y.Redirects[C]){var d=(n=G.extend({},x)).duration,f=n.delay||0;return!0===n.backwards&&(E=G.extend(!0,[],E).reverse()),G.each(E,function(e,t){parseFloat(n.stagger)?n.delay=f+parseFloat(n.stagger)*e:X.isFunction(n.stagger)&&(n.delay=f+n.stagger.call(t,e,P)),n.drag&&(n.duration=parseFloat(d)||(/^(callout|transition)/.test(C)?1e3:400),n.duration=Math.max(n.duration*(n.backwards?1-e/P:(e+1)/P),.75*n.duration,200)),Y.Redirects[C].call(t,t,n||{},e,P,E,B.promise?B:M)}),t()}var u="Velocity: First argument ("+C+") was not a property map, a known action, or a registered redirect. Aborting.";return B.promise?B.rejecter(new Error(u)):q.console&&console.log(u),t()}T="start"}var V={lastParent:null,lastPosition:null,lastFontSize:null,lastPercentToPxWidth:null,lastPercentToPxHeight:null,lastEmToPx:null,remToPx:null,vwToPx:null,vhToPx:null},N=[];G.each(E,function(e,t){X.isNode(t)&&function(R,w){function n(e){var z,D,t,n,o,a;if(I.begin&&0===j)try{I.begin.call(E,E)}catch(e){setTimeout(function(){throw e},1)}if("scroll"===T){var i,s,l,r=/^x$/i.test(I.axis)?"Left":"Top",c=parseFloat(I.offset)||0;I.container?X.isWrapped(I.container)||X.isNode(I.container)?(I.container=I.container[0]||I.container,l=(i=I.container["scroll"+r])+G(R).position()[r.toLowerCase()]+c):I.container=null:(i=Y.State.scrollAnchor[Y.State["scrollProperty"+r]],s=Y.State.scrollAnchor[Y.State["scrollProperty"+("Left"===r?"Top":"Left")]],l=G(R).offset()[r.toLowerCase()]+c),_={scroll:{rootPropertyValue:!1,startValue:i,currentValue:i,endValue:l,unitType:"",easing:I.easing,scrollData:{container:I.container,direction:r,alternateValue:s}},element:R},Y.debug&&console.log("tweensContainer (scroll): ",_.scroll,R)}else if("reverse"===T){if(!(z=F(R)))return;if(!z.tweensContainer)return void G.dequeue(R,I.queue);for(var d in"none"===z.opts.display&&(z.opts.display="auto"),"hidden"===z.opts.visibility&&(z.opts.visibility="visible"),z.opts.loop=!1,z.opts.begin=null,z.opts.complete=null,x.easing||delete I.easing,x.duration||delete I.duration,I=G.extend({},z.opts,I),D=G.extend(!0,{},z?z.tweensContainer:null))if(D.hasOwnProperty(d)&&"element"!==d){var f=D[d].startValue;D[d].startValue=D[d].currentValue=D[d].endValue,D[d].endValue=f,X.isEmptyObject(x)||(D[d].easing=I.easing),Y.debug&&console.log("reverse tweensContainer ("+d+"): "+JSON.stringify(D[d]),R)}_=D}else if("start"===T){(z=F(R))&&z.tweensContainer&&!0===z.isAnimating&&(D=z.tweensContainer);var u=function(e,t){var n,o=Q.Hooks.getRoot(e),a=!1,i=t[0],s=t[1],l=t[2];if(z&&z.isSVG||"tween"===o||!1!==Q.Names.prefixCheck(o)[1]||Q.Normalizations.registered[o]!==M){(I.display!==M&&null!==I.display&&"none"!==I.display||I.visibility!==M&&"hidden"!==I.visibility)&&/opacity|filter/.test(e)&&!l&&0!==i&&(l=0),I._cacheValues&&D&&D[e]?(l===M&&(l=D[e].endValue+D[e].unitType),a=z.rootPropertyValueCache[o]):Q.Hooks.registered[e]?l===M?(a=Q.getPropertyValue(R,o),l=Q.getPropertyValue(R,e,a)):a=Q.Hooks.templates[o][1]:l===M&&(l=Q.getPropertyValue(R,e));var r,c,d,f=!1,u=function(e,t){var n,o;return o=(t||"0").toString().toLowerCase().replace(/[%A-z]+$/,function(e){return n=e,""}),n||(n=Q.Values.getUnitType(e)),[o,n]};if(l!==i&&X.isString(l)&&X.isString(i)){n="";var m=0,p=0,g=[],y=[],h=0,v=0,b=0;for(l=Q.Hooks.fixColors(l),i=Q.Hooks.fixColors(i);m<l.length&&p<i.length;){var k=l[m],A=i[p];if(/[\d\.-]/.test(k)&&/[\d\.-]/.test(A)){for(var L=k,S=A,w=".",E=".";++m<l.length;){if((k=l[m])===w)w="..";else if(!/\d/.test(k))break;L+=k}for(;++p<i.length;){if((A=i[p])===E)E="..";else if(!/\d/.test(A))break;S+=A}var C=Q.Hooks.getUnit(l,m),x=Q.Hooks.getUnit(i,p);if(m+=C.length,p+=x.length,C===x)L===S?n+=L+C:(n+="{"+g.length+(v?"!":"")+"}"+C,g.push(parseFloat(L)),y.push(parseFloat(S)));else{var B=parseFloat(L),T=parseFloat(S);n+=(h<5?"calc":"")+"("+(B?"{"+g.length+(v?"!":"")+"}":"0")+C+" + "+(T?"{"+(g.length+(B?1:0))+(v?"!":"")+"}":"0")+x+")",B&&(g.push(B),y.push(0)),T&&(g.push(0),y.push(T))}}else{if(k!==A){h=0;break}n+=k,m++,p++,0===h&&"c"===k||1===h&&"a"===k||2===h&&"l"===k||3===h&&"c"===k||4<=h&&"("===k?h++:(h&&h<5||4<=h&&")"===k&&--h<5)&&(h=0),0===v&&"r"===k||1===v&&"g"===k||2===v&&"b"===k||3===v&&"a"===k||3<=v&&"("===k?(3===v&&"a"===k&&(b=1),v++):b&&","===k?3<++b&&(v=b=0):(b&&v<(b?5:4)||(b?4:3)<=v&&")"===k&&--v<(b?5:4))&&(v=b=0)}}m===l.length&&p===i.length||(Y.debug&&console.error('Trying to pattern match mis-matched strings ["'+i+'", "'+l+'"]'),n=M),n&&(g.length?(Y.debug&&console.log('Pattern found "'+n+'" -> ',g,y,"["+l+","+i+"]"),l=g,i=y,c=d=""):n=M)}if(n||(l=(r=u(e,l))[0],d=r[1],i=(r=u(e,i))[0].replace(/^([+-\/*])=/,function(e,t){return f=t,""}),c=r[1],l=parseFloat(l)||0,i=parseFloat(i)||0,"%"===c&&(/^(fontSize|lineHeight)$/.test(e)?(i/=100,c="em"):/^scale/.test(e)?(i/=100,c=""):/(Red|Green|Blue)$/i.test(e)&&(i=i/100*255,c=""))),/[\/*]/.test(f))c=d;else if(d!==c&&0!==l)if(0===i)c=d;else{O=O||function(){var e={myParent:R.parentNode||H.body,position:Q.getPropertyValue(R,"position"),fontSize:Q.getPropertyValue(R,"fontSize")},t=e.position===V.lastPosition&&e.myParent===V.lastParent,n=e.fontSize===V.lastFontSize;V.lastParent=e.myParent,V.lastPosition=e.position,V.lastFontSize=e.fontSize;var o={};if(n&&t)o.emToPx=V.lastEmToPx,o.percentToPxWidth=V.lastPercentToPxWidth,o.percentToPxHeight=V.lastPercentToPxHeight;else{var a=z&&z.isSVG?H.createElementNS("http://www.w3.org/2000/svg","rect"):H.createElement("div");Y.init(a),e.myParent.appendChild(a),G.each(["overflow","overflowX","overflowY"],function(e,t){Y.CSS.setPropertyValue(a,t,"hidden")}),Y.CSS.setPropertyValue(a,"position",e.position),Y.CSS.setPropertyValue(a,"fontSize",e.fontSize),Y.CSS.setPropertyValue(a,"boxSizing","content-box"),G.each(["minWidth","maxWidth","width","minHeight","maxHeight","height"],function(e,t){Y.CSS.setPropertyValue(a,t,"100%")}),Y.CSS.setPropertyValue(a,"paddingLeft","100em"),o.percentToPxWidth=V.lastPercentToPxWidth=(parseFloat(Q.getPropertyValue(a,"width",null,!0))||1)/100,o.percentToPxHeight=V.lastPercentToPxHeight=(parseFloat(Q.getPropertyValue(a,"height",null,!0))||1)/100,o.emToPx=V.lastEmToPx=(parseFloat(Q.getPropertyValue(a,"paddingLeft"))||1)/100,e.myParent.removeChild(a)}return null===V.remToPx&&(V.remToPx=parseFloat(Q.getPropertyValue(H.body,"fontSize"))||16),null===V.vwToPx&&(V.vwToPx=parseFloat(q.innerWidth)/100,V.vhToPx=parseFloat(q.innerHeight)/100),o.remToPx=V.remToPx,o.vwToPx=V.vwToPx,o.vhToPx=V.vhToPx,1<=Y.debug&&console.log("Unit ratios: "+JSON.stringify(o),R),o}();var P=/margin|padding|left|right|width|text|word|letter/i.test(e)||/X$/.test(e)||"x"===e?"x":"y";switch(d){case"%":l*="x"===P?O.percentToPxWidth:O.percentToPxHeight;break;case"px":break;default:l*=O[d+"ToPx"]}switch(c){case"%":l*=1/("x"===P?O.percentToPxWidth:O.percentToPxHeight);break;case"px":break;default:l*=1/O[c+"ToPx"]}}switch(f){case"+":i=l+i;break;case"-":i=l-i;break;case"*":i*=l;break;case"/":i=l/i}_[e]={rootPropertyValue:a,startValue:l,currentValue:l,endValue:i,unitType:c,easing:s},n&&(_[e].pattern=n),Y.debug&&console.log("tweensContainer ("+e+"): "+JSON.stringify(_[e]),R)}else Y.debug&&console.log("Skipping ["+o+"] due to a lack of browser support.")};for(var m in C)if(C.hasOwnProperty(m)){var p=Q.Names.camelCase(m),g=(t=C[m],a=o=n=void 0,X.isFunction(t)&&(t=t.call(R,w,P)),X.isArray(t)?(n=t[0],a=!X.isArray(t[1])&&/^[\d-]/.test(t[1])||X.isFunction(t[1])||Q.RegEx.isHex.test(t[1])?t[1]:X.isString(t[1])&&!Q.RegEx.isHex.test(t[1])&&Y.Easings[t[1]]||X.isArray(t[1])?(o=W(t[1],I.duration),t[2]):t[1]||t[2]):n=t,o=o||I.easing,X.isFunction(n)&&(n=n.call(R,w,P)),X.isFunction(a)&&(a=a.call(R,w,P)),[n||0,o,a]);if(U(Q.Lists.colors)){var y=g[0],h=g[1],v=g[2];if(Q.RegEx.isHex.test(y)){for(var b=["Red","Green","Blue"],k=Q.Values.hexToRgb(y),A=v?Q.Values.hexToRgb(v):M,L=0;L<b.length;L++){var S=[k[L]];h&&S.push(h),A!==M&&S.push(A[L]),u(p+b[L],S)}continue}}u(p,g)}_.element=R}_.element&&(Q.Values.addClass(R,"velocity-animating"),N.push(_),(z=F(R))&&(""===I.queue&&(z.tweensContainer=_,z.opts=I),z.isAnimating=!0),j===P-1?(Y.State.calls.push([N,E,I,null,B.resolver,null,0]),!1===Y.State.isTicking&&(Y.State.isTicking=!0,$())):j++)}var O,e,I=G.extend({},Y.defaults,x),_={};switch(F(R)===M&&Y.init(R),parseFloat(I.delay)&&!1!==I.queue&&G.queue(R,I.queue,function(e,t){if(!0===t)return!0;Y.velocityQueueEntryFlag=!0;var n=Y.State.delayedElements.count++;Y.State.delayedElements[n]=R;var o,a=(o=n,function(){Y.State.delayedElements[o]=!1,e()});F(R).delayBegin=(new Date).getTime(),F(R).delay=parseFloat(I.delay),F(R).delayTimer={setTimeout:setTimeout(e,parseFloat(I.delay)),next:a}}),I.duration.toString().toLowerCase()){case"fast":I.duration=200;break;case"normal":I.duration=400;break;case"slow":I.duration=600;break;default:I.duration=parseFloat(I.duration)||1}if(!1!==Y.mock&&(!0===Y.mock?I.duration=I.delay=1:(I.duration*=parseFloat(Y.mock)||1,I.delay*=parseFloat(Y.mock)||1)),I.easing=W(I.easing,I.duration),I.begin&&!X.isFunction(I.begin)&&(I.begin=null),I.progress&&!X.isFunction(I.progress)&&(I.progress=null),I.complete&&!X.isFunction(I.complete)&&(I.complete=null),I.display!==M&&null!==I.display&&(I.display=I.display.toString().toLowerCase(),"auto"===I.display&&(I.display=Y.CSS.Values.getDisplayType(R))),I.visibility!==M&&null!==I.visibility&&(I.visibility=I.visibility.toString().toLowerCase()),I.mobileHA=I.mobileHA&&Y.State.isMobile&&!Y.State.isGingerbread,!1===I.queue)if(I.delay){var t=Y.State.delayedElements.count++;Y.State.delayedElements[t]=R;var o=(e=t,function(){Y.State.delayedElements[e]=!1,n()});F(R).delayBegin=(new Date).getTime(),F(R).delay=parseFloat(I.delay),F(R).delayTimer={setTimeout:setTimeout(n,parseFloat(I.delay)),next:o}}else n();else G.queue(R,I.queue,function(e,t){if(!0===t)return B.promise&&B.resolver(E),!0;Y.velocityQueueEntryFlag=!0,n()});""!==I.queue&&"fx"!==I.queue||"inprogress"===G.queue(R)[0]||G.dequeue(R)}(t,e)}),(n=G.extend({},Y.defaults,x)).loop=parseInt(n.loop,10);var m=2*n.loop-1;if(n.loop)for(var p=0;p<m;p++){var g={delay:n.delay,progress:n.progress};p===m-1&&(g.display=n.display,g.visibility=n.visibility,g.complete=n.complete),e(E,"reverse",g)}return t()}B.promise&&(C&&x&&!1===x.promiseRejectEmpty?B.resolver():B.rejecter())};(Y=G.extend(r,Y)).animate=r;var T=q.requestAnimationFrame||t;if(!Y.State.isMobile&&H.hidden!==M){var c=function(){H.hidden?(T=function(e){return setTimeout(function(){e(!0)},16)},$()):T=q.requestAnimationFrame||t};c(),H.addEventListener("visibilitychange",c)}return e.Velocity=Y,e!==q&&(e.fn.velocity=r,e.fn.velocity.defaults=Y.defaults),G.each(["Down","Up"],function(e,f){Y.Redirects["slide"+f]=function(n,e,o,t,a,i){var s=G.extend({},e),l=s.begin,r=s.complete,c={},d={height:"",marginTop:"",marginBottom:"",paddingTop:"",paddingBottom:""};s.display===M&&(s.display="Down"===f?"inline"===Y.CSS.Values.getDisplayType(n)?"inline-block":"block":"none"),s.begin=function(){for(var e in 0===o&&l&&l.call(a,a),d)if(d.hasOwnProperty(e)){c[e]=n.style[e];var t=Q.getPropertyValue(n,e);d[e]="Down"===f?[t,0]:[0,t]}c.overflow=n.style.overflow,n.style.overflow="hidden"},s.complete=function(){for(var e in c)c.hasOwnProperty(e)&&(n.style[e]=c[e]);o===t-1&&(r&&r.call(a,a),i&&i.resolver(a))},Y(n,d,s)}}),G.each(["In","Out"],function(e,c){Y.Redirects["fade"+c]=function(e,t,n,o,a,i){var s=G.extend({},t),l=s.complete,r={opacity:"In"===c?1:0};0!==n&&(s.begin=null),s.complete=n!==o-1?null:function(){l&&l.call(a,a),i&&i.resolver(a)},s.display===M&&(s.display="In"===c?"auto":"none"),Y(this,r,s)}}),Y}jQuery.fn.velocity=jQuery.fn.animate}(window.jQuery||window.Zepto||window,window,window?window.document:void 0)}),Array.prototype.includes||(console.info("Polyfill: Array.prototype.includes"),Object.defineProperty(Array.prototype,"includes",{value:function(e,t){if(null==this)throw new TypeError('"this" is null or not defined');var n=Object(this),o=n.length>>>0;if(0===o)return!1;for(var a,i,s=0|t,l=Math.max(0<=s?s:o-Math.abs(s),0);l<o;){if((a=n[l])===(i=e)||"number"==typeof a&&"number"==typeof i&&isNaN(a)&&isNaN(i))return!0;l++}return!1}})),[Element.prototype,Document.prototype,DocumentFragment.prototype].forEach(function(e){if(!e.hasOwnProperty("append")){switch(e){case Element.prototype:console.info("Polyfill: Element.prototype.append");break;case Document.prototype:console.info("Polyfill: Document.prototype.append");break;case DocumentFragment.prototype:console.info("Polyfill: DocumentFragment.prototype.append")}Object.defineProperty(e,"append",{configurable:!0,enumerable:!0,writable:!0,value:function(){var e=Array.prototype.slice.call(arguments),n=document.createDocumentFragment();e.forEach(function(e){var t=e instanceof Node;n.appendChild(t?e:document.createTextNode(String(e)))}),this.appendChild(n)}})}}),function(){"document"in window.self&&("classList"in document.createElement("_")&&(!document.createElementNS||"classList"in document.createElementNS("http://www.w3.org/2000/svg","g"))||(console.info("Polyfill: Element.prototype.classList"),function(e){if("Element"in e){var t="classList",n="prototype",o=e.Element[n],a=Object,i=String[n].trim||function(){return this.replace(/^\s+|\s+$/g,"")},s=Array[n].indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(t in this&&this[t]===e)return t;return-1},l=function(e,t){this.name=e,this.code=DOMException[e],this.message=t},r=function(e,t){if(""===t)throw new l("SYNTAX_ERR","An invalid or illegal string was specified");if(/\s/.test(t))throw new l("INVALID_CHARACTER_ERR","String contains an invalid character");return s.call(e,t)},c=function(e){for(var t=i.call(e.getAttribute("class")||""),n=t?t.split(/\s+/):[],o=0,a=n.length;o<a;o++)this.push(n[o]);this._updateClassName=function(){e.setAttribute("class",this.toString())}},d=c[n]=[],f=function(){return new c(this)};if(l[n]=Error[n],d.item=function(e){return this[e]||null},d.contains=function(e){return-1!==r(this,e+="")},d.add=function(){for(var e,t=arguments,n=0,o=t.length,a=!1;e=t[n]+"",-1===r(this,e)&&(this.push(e),a=!0),++n<o;);a&&this._updateClassName()},d.remove=function(){var e,t,n=arguments,o=0,a=n.length,i=!1;do{for(e=n[o]+"",t=r(this,e);-1!==t;)this.splice(t,1),i=!0,t=r(this,e)}while(++o<a);i&&this._updateClassName()},d.toggle=function(e,t){e+="";var n=this.contains(e),o=n?!0!==t&&"remove":!1!==t&&"add";return o&&this[o](e),!0===t||!1===t?t:!n},d.toString=function(){return this.join(" ")},a.defineProperty){var u={get:f,enumerable:!0,configurable:!0};try{a.defineProperty(o,t,u)}catch(e){void 0!==e.number&&-2146823252!==e.number||(u.enumerable=!1,a.defineProperty(o,t,u))}}else a[n].__defineGetter__&&o.__defineGetter__(t,f)}}(window.self)));var e=document.createElement("_");if(e.classList.add("c1","c2"),!e.classList.contains("c2")){console.info("Polyfill: Element.classList.add"),console.info("Polyfill: Element.classList.remove");var t=function(e){var o=DOMTokenList.prototype[e];DOMTokenList.prototype[e]=function(e){var t,n=arguments.length;for(t=0;t<n;t++)e=arguments[t],o.call(this,e)}};t("add"),t("remove")}if(e.classList.toggle("c3",!1),e.classList.contains("c3")){console.info("Polyfill: Element.classList.toggle");var n=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){return 1 in arguments&&!this.contains(e)==!t?t:n.call(this,e)}}e=null}(),Element.prototype.closest||(console.info("Polyfill: Element.prototype.closest"),Element.prototype.closest=function(e){var t=this;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null}),!(document.documentElement.dataset||Object.getOwnPropertyDescriptor(HTMLElement.prototype,"dataset")&&Object.getOwnPropertyDescriptor(HTMLElement.prototype,"dataset").get)){console.info("Polyfill: Element.prototype.dataset");var descriptor={enumerable:!0,get:function(){var e={},t=this.attributes;function n(e){return e.charAt(1).toUpperCase()}function o(){return this.value}function a(e,t){void 0!==t?this.setAttribute(e,t):this.removeAttribute(e)}for(var i=0;i<t.length;i+=1){var s=t[i];if(s&&s.name&&/^data-\w[\w-]*$/.test(s.name)){var l=s.name,r=s.value,c=l.substr(5).replace(/-./g,n);Object.defineProperty(e,c,{enumerable:descriptor.enumerable,get:o.bind({value:r||""}),set:a.bind(this,l)})}}return e}};Object.defineProperty(HTMLElement.prototype,"dataset",descriptor)}function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.itera