-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmin.js
More file actions
1 lines (1 loc) · 220 KB
/
Copy pathmin.js
File metadata and controls
1 lines (1 loc) · 220 KB
1
var jQuery,jQuery,Vel;function resizing(){var e=$(window).width(),t=$(window).height();t<e?($("#mobile-ad").width(e),$("#mobile-ad").height(t),$("#mobile-ad img").width(e),$("#mobile-ad img").height("auto"),$("#cap4").css("margin-top","0px"),$("#cap4").css("margin-bottom","0px"),$("#cap4").css("position","absolute"),$("#cap4").css("top",+t/4+"px")):($("#mobile-ad").height(t),$("#mobile-ad").width("auto"),$("#mobile-ad img").height(t),$("#mobile-ad img").width("auto"),$("#cap4").css("margin-top","0px"),$("#cap4").css("margin-bottom","0px"),$("#cap4").css("position","absolute"),$("#cap4").css("top",.1*+t+"px")),$("#cap4").css("width","100%")}function verMasBtn(){$("#mas-planes-btn").click(function(){$(this).slideUp(),$("#ver-mas-row").slideDown()})}function verOpcionalesBtn(){$("#mas-servicios-btn").click(function(){$(this).slideUp(),$("#mas-servicios").slideDown()})}!function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(e.document)return t(e);throw new Error("jQuery requires a window with a document")}:t(e)}("undefined"!=typeof window?window:this,function(w,M){function H(e,t){return t.toUpperCase()}var e=[],C=w.document,u=e.slice,_=e.concat,F=e.push,o=e.indexOf,$={},z=$.toString,h=$.hasOwnProperty,g={},t="2.2.3",T=function(e,t){return new T.fn.init(e,t)},R=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,W=/^-ms-/,V=/-([\da-z])/gi;function X(e){var t=!!e&&"length"in e&&e.length,n=T.type(e);return"function"!==n&&!T.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}T.fn=T.prototype={jquery:t,constructor:T,selector:"",length:0,toArray:function(){return u.call(this)},get:function(e){return null!=e?e<0?this[e+this.length]:this[e]:u.call(this)},pushStack:function(e){e=T.merge(this.constructor(),e);return e.prevObject=this,e.context=this.context,e},each:function(e){return T.each(this,e)},map:function(n){return this.pushStack(T.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(u.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,e=+e+(e<0?t:0);return this.pushStack(0<=e&&e<t?[this[e]]:[])},end:function(){return this.prevObject||this.constructor()},push:F,sort:e.sort,splice:e.splice},T.extend=T.fn.extend=function(){var e,t,n,i,o,r=arguments[0]||{},a=1,s=arguments.length,l=!1;for("boolean"==typeof r&&(l=r,r=arguments[a]||{},a++),"object"==typeof r||T.isFunction(r)||(r={}),a===s&&(r=this,a--);a<s;a++)if(null!=(e=arguments[a]))for(t in e)o=r[t],n=e[t],r!==n&&(l&&n&&(T.isPlainObject(n)||(i=T.isArray(n)))?(o=i?(i=!1,o&&T.isArray(o)?o:[]):o&&T.isPlainObject(o)?o:{},r[t]=T.extend(l,o,n)):void 0!==n&&(r[t]=n));return r},T.extend({expando:"jQuery"+(t+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===T.type(e)},isArray:Array.isArray,isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){var t=e&&e.toString();return!T.isArray(e)&&0<=t-parseFloat(t)+1},isPlainObject:function(e){if("object"!==T.type(e)||e.nodeType||T.isWindow(e))return!1;if(e.constructor&&!h.call(e,"constructor")&&!h.call(e.constructor.prototype||{},"isPrototypeOf"))return!1;for(var t in e);return void 0===t||h.call(e,t)},isEmptyObject:function(e){for(var t in e)return!1;return!0},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?$[z.call(e)]||"object":typeof e},globalEval:function(e){var t,n=eval;(e=T.trim(e))&&(1===e.indexOf("use strict")?((t=C.createElement("script")).text=e,C.head.appendChild(t).parentNode.removeChild(t)):n(e))},camelCase:function(e){return e.replace(W,"ms-").replace(V,H)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var n,i=0;if(X(e))for(n=e.length;i<n&&!1!==t.call(e[i],i,e[i]);i++);else for(i in e)if(!1===t.call(e[i],i,e[i]))break;return e},trim:function(e){return null==e?"":(e+"").replace(R,"")},makeArray:function(e,t){t=t||[];return null!=e&&(X(Object(e))?T.merge(t,"string"==typeof e?[e]:e):F.call(t,e)),t},inArray:function(e,t,n){return null==t?-1:o.call(t,e,n)},merge:function(e,t){for(var n=+t.length,i=0,o=e.length;i<n;i++)e[o++]=t[i];return e.length=o,e},grep:function(e,t,n){for(var i=[],o=0,r=e.length,a=!n;o<r;o++)!t(e[o],o)!=a&&i.push(e[o]);return i},map:function(e,t,n){var i,o,r=0,a=[];if(X(e))for(i=e.length;r<i;r++)null!=(o=t(e[r],r,n))&&a.push(o);else for(r in e)o=t(e[r],r,n),null!=o&&a.push(o);return _.apply([],a)},guid:1,proxy:function(e,t){var n,i;return"string"==typeof t&&(i=e[t],t=e,e=i),T.isFunction(e)?(n=u.call(arguments,2),(i=function(){return e.apply(t||this,n.concat(u.call(arguments)))}).guid=e.guid=e.guid||T.guid++,i):void 0},now:Date.now,support:g}),"function"==typeof Symbol&&(T.fn[Symbol.iterator]=e[Symbol.iterator]),T.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){$["[object "+t+"]"]=t.toLowerCase()});function i(e,t,n){for(var i=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&T(e).is(n))break;i.push(e)}return i}function Q(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}var t=function(M){function d(e,t,n){var i="0x"+t-65536;return i!=i||n?t:i<0?String.fromCharCode(65536+i):String.fromCharCode(i>>10|55296,1023&i|56320)}function H(){C()}var e,h,x,r,_,g,F,$,w,l,c,C,T,t,k,m,i,o,v,S="sizzle"+ +new Date,y=M.document,E=0,z=0,R=ce(),W=ce(),b=ce(),V=function(e,t){return e===t&&(c=!0),0},X={}.hasOwnProperty,n=[],Q=n.pop,B=n.push,P=n.push,Y=n.slice,A=function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1},U="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",a="[\\x20\\t\\r\\n\\f]",s="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",G="\\["+a+"*("+s+")(?:"+a+"*([*^$|!~]?=)"+a+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+s+"))|)"+a+"*\\]",Z=":("+s+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+G+")*)|.*)\\)|)",J=new RegExp(a+"+","g"),O=new RegExp("^"+a+"+|((?:^|[^\\\\])(?:\\\\.)*)"+a+"+$","g"),K=new RegExp("^"+a+"*,"+a+"*"),ee=new RegExp("^"+a+"*([>+~]|"+a+")"+a+"*"),te=new RegExp("="+a+"*([^\\]'\"]*?)"+a+"*\\]","g"),ne=new RegExp(Z),ie=new RegExp("^"+s+"$"),p={ID:new RegExp("^#("+s+")"),CLASS:new RegExp("^\\.("+s+")"),TAG:new RegExp("^("+s+"|[*])"),ATTR:new RegExp("^"+G),PSEUDO:new RegExp("^"+Z),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+a+"*(even|odd|(([+-]|)(\\d*)n|)"+a+"*(?:([+-]|)"+a+"*(\\d+)|))"+a+"*\\)|)","i"),bool:new RegExp("^(?:"+U+")$","i"),needsContext:new RegExp("^"+a+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+a+"*((?:-\\d)?\\d*)"+a+"*\\)|)(?=[^-]|$)","i")},oe=/^(?:input|select|textarea|button)$/i,re=/^h\d$/i,u=/^[^{]+\{\s*\[native \w/,ae=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,se=/[+~]/,le=/'|\\/g,f=new RegExp("\\\\([\\da-f]{1,6}"+a+"?|("+a+")|.)","ig");try{P.apply(n=Y.call(y.childNodes),y.childNodes),n[y.childNodes.length].nodeType}catch(e){P={apply:n.length?function(e,t){B.apply(e,Y.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}function q(e,t,n,i){var o,r,a,s,l,c,u,d,p=t&&t.ownerDocument,f=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==f&&9!==f&&11!==f)return n;if(!i&&((t?t.ownerDocument||t:y)!==T&&C(t),t=t||T,k)){if(11!==f&&(c=ae.exec(e)))if(o=c[1]){if(9===f){if(!(a=t.getElementById(o)))return n;if(a.id===o)return n.push(a),n}else if(p&&(a=p.getElementById(o))&&v(t,a)&&a.id===o)return n.push(a),n}else{if(c[2])return P.apply(n,t.getElementsByTagName(e)),n;if((o=c[3])&&h.getElementsByClassName&&t.getElementsByClassName)return P.apply(n,t.getElementsByClassName(o)),n}if(h.qsa&&!b[e+" "]&&(!m||!m.test(e))){if(1!==f)p=t,d=e;else if("object"!==t.nodeName.toLowerCase()){for((s=t.getAttribute("id"))?s=s.replace(le,"\\$&"):t.setAttribute("id",s=S),r=(u=g(e)).length,l=ie.test(s)?"#"+s:"[id='"+s+"']";r--;)u[r]=l+" "+I(u[r]);d=u.join(","),p=se.test(e)&&pe(t.parentNode)||t}if(d)try{return P.apply(n,p.querySelectorAll(d)),n}catch(e){}finally{s===S&&t.removeAttribute("id")}}}return $(e.replace(O,"$1"),t,n,i)}function ce(){var n=[];function i(e,t){return n.push(e+" ")>x.cacheLength&&delete i[n.shift()],i[e+" "]=t}return i}function j(e){return e[S]=!0,e}function D(e){var t=T.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t)}}function ue(e,t){for(var n=e.split("|"),i=n.length;i--;)x.attrHandle[n[i]]=t}function de(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||1<<31)-(~e.sourceIndex||1<<31);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function N(a){return j(function(r){return r=+r,j(function(e,t){for(var n,i=a([],e.length,r),o=i.length;o--;)e[n=i[o]]&&(e[n]=!(t[n]=e[n]))})})}function pe(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in h=q.support={},_=q.isXML=function(e){e=e&&(e.ownerDocument||e).documentElement;return!!e&&"HTML"!==e.nodeName},C=q.setDocument=function(e){var e=e?e.ownerDocument||e:y;return e!==T&&9===e.nodeType&&e.documentElement&&(t=(T=e).documentElement,k=!_(T),(e=T.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",H,!1):e.attachEvent&&e.attachEvent("onunload",H)),h.attributes=D(function(e){return e.className="i",!e.getAttribute("className")}),h.getElementsByTagName=D(function(e){return e.appendChild(T.createComment("")),!e.getElementsByTagName("*").length}),h.getElementsByClassName=u.test(T.getElementsByClassName),h.getById=D(function(e){return t.appendChild(e).id=S,!T.getElementsByName||!T.getElementsByName(S).length}),h.getById?(x.find.ID=function(e,t){if(void 0!==t.getElementById&&k)return(t=t.getElementById(e))?[t]:[]},x.filter.ID=function(e){var t=e.replace(f,d);return function(e){return e.getAttribute("id")===t}}):(delete x.find.ID,x.filter.ID=function(e){var t=e.replace(f,d);return function(e){e=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return e&&e.value===t}}),x.find.TAG=h.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):h.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],o=0,r=t.getElementsByTagName(e);if("*"!==e)return r;for(;n=r[o++];)1===n.nodeType&&i.push(n);return i},x.find.CLASS=h.getElementsByClassName&&function(e,t){return void 0!==t.getElementsByClassName&&k?t.getElementsByClassName(e):void 0},i=[],m=[],(h.qsa=u.test(T.querySelectorAll))&&(D(function(e){t.appendChild(e).innerHTML="<a id='"+S+"'></a><select id='"+S+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+a+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+a+"*(?:value|"+U+")"),e.querySelectorAll("[id~="+S+"-]").length||m.push("~="),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||m.push(".#.+[+~]")}),D(function(e){var t=T.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name"+a+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")})),(h.matchesSelector=u.test(o=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.msMatchesSelector))&&D(function(e){h.disconnectedMatch=o.call(e,"div"),o.call(e,"[s!='']:x"),i.push("!=",Z)}),m=m.length&&new RegExp(m.join("|")),i=i.length&&new RegExp(i.join("|")),e=u.test(t.compareDocumentPosition),v=e||u.test(t.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,t=t&&t.parentNode;return e===t||!(!t||1!==t.nodeType||!(n.contains?n.contains(t):e.compareDocumentPosition&&16&e.compareDocumentPosition(t)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},V=e?function(e,t){if(e===t)return c=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!h.sortDetached&&t.compareDocumentPosition(e)===n?e===T||e.ownerDocument===y&&v(y,e)?-1:t===T||t.ownerDocument===y&&v(y,t)?1:l?A(l,e)-A(l,t):0:4&n?-1:1)}:function(e,t){if(e===t)return c=!0,0;var n,i=0,o=e.parentNode,r=t.parentNode,a=[e],s=[t];if(!o||!r)return e===T?-1:t===T?1:o?-1:r?1:l?A(l,e)-A(l,t):0;if(o===r)return de(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[i]===s[i];)i++;return i?de(a[i],s[i]):a[i]===y?-1:s[i]===y?1:0}),T},q.matches=function(e,t){return q(e,null,null,t)},q.matchesSelector=function(e,t){if((e.ownerDocument||e)!==T&&C(e),t=t.replace(te,"='$1']"),h.matchesSelector&&k&&!b[t+" "]&&(!i||!i.test(t))&&(!m||!m.test(t)))try{var n=o.call(e,t);if(n||h.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){}return 0<q(t,T,null,[e]).length},q.contains=function(e,t){return(e.ownerDocument||e)!==T&&C(e),v(e,t)},q.attr=function(e,t){(e.ownerDocument||e)!==T&&C(e);var n=x.attrHandle[t.toLowerCase()],n=n&&X.call(x.attrHandle,t.toLowerCase())?n(e,t,!k):void 0;return void 0!==n?n:h.attributes||!k?e.getAttribute(t):(n=e.getAttributeNode(t))&&n.specified?n.value:null},q.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},q.uniqueSort=function(e){var t,n=[],i=0,o=0;if(c=!h.detectDuplicates,l=!h.sortStable&&e.slice(0),e.sort(V),c){for(;t=e[o++];)t===e[o]&&(i=n.push(o));for(;i--;)e.splice(n[i],1)}return l=null,e},r=q.getText=function(e){var t,n="",i=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=r(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[i++];)n+=r(t);return n},(x=q.selectors={cacheLength:50,createPseudo:j,match:p,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(f,d),e[3]=(e[3]||e[4]||e[5]||"").replace(f,d),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||q.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&q.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return p.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&ne.test(n)&&(t=g(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(f,d).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=R[e+" "];return t||(t=new RegExp("(^|"+a+")"+e+"("+a+"|$)"))&&R(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(t,n,i){return function(e){e=q.attr(e,t);return null==e?"!="===n:!n||(e+="","="===n?e===i:"!="===n?e!==i:"^="===n?i&&0===e.indexOf(i):"*="===n?i&&-1<e.indexOf(i):"$="===n?i&&e.slice(-i.length)===i:"~="===n?-1<(" "+e.replace(J," ")+" ").indexOf(i):"|="===n&&(e===i||e.slice(0,i.length+1)===i+"-"))}},CHILD:function(h,e,t,g,m){var v="nth"!==h.slice(0,3),y="last"!==h.slice(-4),b="of-type"===e;return 1===g&&0===m?function(e){return!!e.parentNode}:function(e,t,n){var i,o,r,a,s,l,c=v!=y?"nextSibling":"previousSibling",u=e.parentNode,d=b&&e.nodeName.toLowerCase(),p=!n&&!b,f=!1;if(u){if(v){for(;c;){for(a=e;a=a[c];)if(b?a.nodeName.toLowerCase()===d:1===a.nodeType)return!1;l=c="only"===h&&!l&&"nextSibling"}return!0}if(l=[y?u.firstChild:u.lastChild],y&&p){for(f=(s=(i=(o=(r=(a=u)[S]||(a[S]={}))[a.uniqueID]||(r[a.uniqueID]={}))[h]||[])[0]===E&&i[1])&&i[2],a=s&&u.childNodes[s];a=++s&&a&&a[c]||(f=s=0)||l.pop();)if(1===a.nodeType&&++f&&a===e){o[h]=[E,s,f];break}}else if(!1===(f=p?s=(i=(o=(r=(a=e)[S]||(a[S]={}))[a.uniqueID]||(r[a.uniqueID]={}))[h]||[])[0]===E&&i[1]:f))for(;(a=++s&&a&&a[c]||(f=s=0)||l.pop())&&((b?a.nodeName.toLowerCase()!==d:1!==a.nodeType)||!++f||(p&&((o=(r=a[S]||(a[S]={}))[a.uniqueID]||(r[a.uniqueID]={}))[h]=[E,f]),a!==e)););return(f-=m)===g||f%g==0&&0<=f/g}}},PSEUDO:function(e,r){var t,a=x.pseudos[e]||x.setFilters[e.toLowerCase()]||q.error("unsupported pseudo: "+e);return a[S]?a(r):1<a.length?(t=[e,e,"",r],x.setFilters.hasOwnProperty(e.toLowerCase())?j(function(e,t){for(var n,i=a(e,r),o=i.length;o--;)e[n=A(e,i[o])]=!(t[n]=i[o])}):function(e){return a(e,0,t)}):a}},pseudos:{not:j(function(e){var i=[],o=[],s=F(e.replace(O,"$1"));return s[S]?j(function(e,t,n,i){for(var o,r=s(e,null,i,[]),a=e.length;a--;)(o=r[a])&&(e[a]=!(t[a]=o))}):function(e,t,n){return i[0]=e,s(i,null,n,o),i[0]=null,!o.pop()}}),has:j(function(t){return function(e){return 0<q(t,e).length}}),contains:j(function(t){return t=t.replace(f,d),function(e){return-1<(e.textContent||e.innerText||r(e)).indexOf(t)}}),lang:j(function(n){return ie.test(n||"")||q.error("unsupported lang: "+n),n=n.replace(f,d).toLowerCase(),function(e){var t;do{if(t=k?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=M.location&&M.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===t},focus:function(e){return e===T.activeElement&&(!T.hasFocus||T.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!x.pseudos.empty(e)},header:function(e){return re.test(e.nodeName)},input:function(e){return oe.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(e=e.getAttribute("type"))||"text"===e.toLowerCase())},first:N(function(){return[0]}),last:N(function(e,t){return[t-1]}),eq:N(function(e,t,n){return[n<0?n+t:n]}),even:N(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:N(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:N(function(e,t,n){for(var i=n<0?n+t:n;0<=--i;)e.push(i);return e}),gt:N(function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e})}}).pseudos.nth=x.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})x.pseudos[e]=function(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}(e);for(e in{submit:!0,reset:!0})x.pseudos[e]=function(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}(e);function fe(){}function I(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function he(a,e,t){var s=e.dir,l=t&&"parentNode"===s,c=z++;return e.first?function(e,t,n){for(;e=e[s];)if(1===e.nodeType||l)return a(e,t,n)}:function(e,t,n){var i,o,r=[E,c];if(n){for(;e=e[s];)if((1===e.nodeType||l)&&a(e,t,n))return!0}else for(;e=e[s];)if(1===e.nodeType||l){if((i=(o=(o=e[S]||(e[S]={}))[e.uniqueID]||(o[e.uniqueID]={}))[s])&&i[0]===E&&i[1]===c)return r[2]=i[2];if((o[s]=r)[2]=a(e,t,n))return!0}}}function ge(o){return 1<o.length?function(e,t,n){for(var i=o.length;i--;)if(!o[i](e,t,n))return!1;return!0}:o[0]}function L(e,t,n,i,o){for(var r,a=[],s=0,l=e.length,c=null!=t;s<l;s++)!(r=e[s])||n&&!n(r,i,o)||(a.push(r),c&&t.push(s));return a}function me(f,h,g,m,v,e){return m&&!m[S]&&(m=me(m)),v&&!v[S]&&(v=me(v,e)),j(function(e,t,n,i){var o,r,a,s=[],l=[],c=t.length,u=e||function(e,t,n){for(var i=0,o=t.length;i<o;i++)q(e,t[i],n);return n}(h||"*",n.nodeType?[n]:n,[]),d=!f||!e&&h?u:L(u,s,f,n,i),p=g?v||(e?f:c||m)?[]:t:d;if(g&&g(d,p,n,i),m)for(o=L(p,l),m(o,[],n,i),r=o.length;r--;)(a=o[r])&&(p[l[r]]=!(d[l[r]]=a));if(e){if(v||f){if(v){for(o=[],r=p.length;r--;)(a=p[r])&&o.push(d[r]=a);v(null,p=[],o,i)}for(r=p.length;r--;)(a=p[r])&&-1<(o=v?A(e,a):s[r])&&(e[o]=!(t[o]=a))}}else p=L(p===t?p.splice(c,p.length):p),v?v(null,t,p,i):P.apply(t,p)})}function ve(m,v){function e(e,t,n,i,o){var r,a,s,l=0,c="0",u=e&&[],d=[],p=w,f=e||b&&x.find.TAG("*",o),h=E+=null==p?1:Math.random()||.1,g=f.length;for(o&&(w=t===T||t||o);c!==g&&null!=(r=f[c]);c++){if(b&&r){for(a=0,t||r.ownerDocument===T||(C(r),n=!k);s=m[a++];)if(s(r,t||T,n)){i.push(r);break}o&&(E=h)}y&&((r=!s&&r)&&l--,e&&u.push(r))}if(l+=c,y&&c!==l){for(a=0;s=v[a++];)s(u,d,t,n);if(e){if(0<l)for(;c--;)u[c]||d[c]||(d[c]=Q.call(i));d=L(d)}P.apply(i,d),o&&!e&&0<d.length&&1<l+v.length&&q.uniqueSort(i)}return o&&(E=h,w=p),u}var y=0<v.length,b=0<m.length;return y?j(e):e}return fe.prototype=x.filters=x.pseudos,x.setFilters=new fe,g=q.tokenize=function(e,t){var n,i,o,r,a,s,l,c=W[e+" "];if(c)return t?0:c.slice(0);for(a=e,s=[],l=x.preFilter;a;){for(r in n&&!(i=K.exec(a))||(i&&(a=a.slice(i[0].length)||a),s.push(o=[])),n=!1,(i=ee.exec(a))&&(n=i.shift(),o.push({value:n,type:i[0].replace(O," ")}),a=a.slice(n.length)),x.filter)!(i=p[r].exec(a))||l[r]&&!(i=l[r](i))||(n=i.shift(),o.push({value:n,type:r,matches:i}),a=a.slice(n.length));if(!n)break}return t?a.length:a?q.error(e):W(e,s).slice(0)},F=q.compile=function(e,t){var n,i=[],o=[],r=b[e+" "];if(!r){for(n=(t=t||g(e)).length;n--;)((r=function e(t){for(var i,n,o,r=t.length,a=x.relative[t[0].type],s=a||x.relative[" "],l=a?1:0,c=he(function(e){return e===i},s,!0),u=he(function(e){return-1<A(i,e)},s,!0),d=[function(e,t,n){return e=!a&&(n||t!==w)||((i=t).nodeType?c:u)(e,t,n),i=null,e}];l<r;l++)if(n=x.relative[t[l].type])d=[he(ge(d),n)];else{if((n=x.filter[t[l].type].apply(null,t[l].matches))[S]){for(o=++l;o<r&&!x.relative[t[o].type];o++);return me(1<l&&ge(d),1<l&&I(t.slice(0,l-1).concat({value:" "===t[l-2].type?"*":""})).replace(O,"$1"),n,l<o&&e(t.slice(l,o)),o<r&&e(t=t.slice(o)),o<r&&I(t))}d.push(n)}return ge(d)}(t[n]))[S]?i:o).push(r);(r=b(e,ve(o,i))).selector=e}return r},$=q.select=function(e,t,n,i){var o,r,a,s,l,c="function"==typeof e&&e,u=!i&&g(e=c.selector||e);if(n=n||[],1===u.length){if(2<(r=u[0]=u[0].slice(0)).length&&"ID"===(a=r[0]).type&&h.getById&&9===t.nodeType&&k&&x.relative[r[1].type]){if(!(t=(x.find.ID(a.matches[0].replace(f,d),t)||[])[0]))return n;c&&(t=t.parentNode),e=e.slice(r.shift().value.length)}for(o=p.needsContext.test(e)?0:r.length;o--&&(a=r[o],!x.relative[s=a.type]);)if((l=x.find[s])&&(i=l(a.matches[0].replace(f,d),se.test(r[0].type)&&pe(t.parentNode)||t))){if(r.splice(o,1),e=i.length&&I(r))break;return P.apply(n,i),n}}return(c||F(e,u))(i,t,!k,n,!t||se.test(e)&&pe(t.parentNode)||t),n},h.sortStable=S.split("").sort(V).join("")===S,h.detectDuplicates=!!c,C(),h.sortDetached=D(function(e){return 1&e.compareDocumentPosition(T.createElement("div"))}),D(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||ue("type|href|height|width",function(e,t,n){return n?void 0:e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),h.attributes&&D(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||ue("value",function(e,t,n){return n||"input"!==e.nodeName.toLowerCase()?void 0:e.defaultValue}),D(function(e){return null==e.getAttribute("disabled")})||ue(U,function(e,t,n){return n?void 0:!0===e[t]?t.toLowerCase():(n=e.getAttributeNode(t))&&n.specified?n.value:null}),q}(w),B=(T.find=t,T.expr=t.selectors,T.expr[":"]=T.expr.pseudos,T.uniqueSort=T.unique=t.uniqueSort,T.text=t.getText,T.isXMLDoc=t.isXML,T.contains=t.contains,T.expr.match.needsContext),Y=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,U=/^.[^:#\[\.,]*$/;function G(e,n,i){if(T.isFunction(n))return T.grep(e,function(e,t){return!!n.call(e,t,e)!==i});if(n.nodeType)return T.grep(e,function(e){return e===n!==i});if("string"==typeof n){if(U.test(n))return T.filter(n,e,i);n=T.filter(n,e)}return T.grep(e,function(e){return-1<o.call(n,e)!==i})}T.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?T.find.matchesSelector(i,e)?[i]:[]:T.find.matches(e,T.grep(t,function(e){return 1===e.nodeType}))},T.fn.extend({find:function(e){var t,n=this.length,i=[],o=this;if("string"!=typeof e)return this.pushStack(T(e).filter(function(){for(t=0;t<n;t++)if(T.contains(o[t],this))return!0}));for(t=0;t<n;t++)T.find(e,o[t],i);return(i=this.pushStack(1<n?T.unique(i):i)).selector=this.selector?this.selector+" "+e:e,i},filter:function(e){return this.pushStack(G(this,e||[],!1))},not:function(e){return this.pushStack(G(this,e||[],!0))},is:function(e){return!!G(this,"string"==typeof e&&B.test(e)?T(e):e||[],!1).length}});var Z,J=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,K=((T.fn.init=function(e,t,n){if(!e)return this;if(n=n||Z,"string"!=typeof e)return e.nodeType?(this.context=this[0]=e,this.length=1,this):T.isFunction(e)?void 0!==n.ready?n.ready(e):e(T):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),T.makeArray(e,this));if(!(i="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:J.exec(e))||!i[1]&&t)return(!t||t.jquery?t||n:this.constructor(t)).find(e);if(i[1]){if(t=t instanceof T?t[0]:t,T.merge(this,T.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),Y.test(i[1])&&T.isPlainObject(t))for(var i in t)T.isFunction(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(n=C.getElementById(i[2]))&&n.parentNode&&(this.length=1,this[0]=n),this.context=C,this.selector=e,this}).prototype=T.fn,Z=T(C),/^(?:parents|prev(?:Until|All))/),ee={children:!0,contents:!0,next:!0,prev:!0};function te(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}T.fn.extend({has:function(e){var t=T(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(T.contains(this,t[e]))return!0})},closest:function(e,t){for(var n,i=0,o=this.length,r=[],a=B.test(e)||"string"!=typeof e?T(e,t||this.context):0;i<o;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&T.find.matchesSelector(n,e))){r.push(n);break}return this.pushStack(1<r.length?T.uniqueSort(r):r)},index:function(e){return e?"string"==typeof e?o.call(T(e),this[0]):o.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(T.uniqueSort(T.merge(this.get(),T(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),T.each({parent:function(e){e=e.parentNode;return e&&11!==e.nodeType?e:null},parents:function(e){return i(e,"parentNode")},parentsUntil:function(e,t,n){return i(e,"parentNode",n)},next:function(e){return te(e,"nextSibling")},prev:function(e){return te(e,"previousSibling")},nextAll:function(e){return i(e,"nextSibling")},prevAll:function(e){return i(e,"previousSibling")},nextUntil:function(e,t,n){return i(e,"nextSibling",n)},prevUntil:function(e,t,n){return i(e,"previousSibling",n)},siblings:function(e){return Q((e.parentNode||{}).firstChild,e)},children:function(e){return Q(e.firstChild)},contents:function(e){return e.contentDocument||T.merge([],e.childNodes)}},function(i,o){T.fn[i]=function(e,t){var n=T.map(this,o,e);return(t="Until"!==i.slice(-5)?e:t)&&"string"==typeof t&&(n=T.filter(t,n)),1<this.length&&(ee[i]||T.uniqueSort(n),K.test(i)&&n.reverse()),this.pushStack(n)}});var ne,k=/\S+/g;function ie(){C.removeEventListener("DOMContentLoaded",ie),w.removeEventListener("load",ie),T.ready()}T.Callbacks=function(i){var e,n;i="string"==typeof i?(e=i,n={},T.each(e.match(k)||[],function(e,t){n[t]=!0}),n):T.extend({},i);function o(){for(s=i.once,a=r=!0;c.length;u=-1)for(t=c.shift();++u<l.length;)!1===l[u].apply(t[0],t[1])&&i.stopOnFalse&&(u=l.length,t=!1);i.memory||(t=!1),r=!1,s&&(l=t?[]:"")}var r,t,a,s,l=[],c=[],u=-1,d={add:function(){return l&&(t&&!r&&(u=l.length-1,c.push(t)),function n(e){T.each(e,function(e,t){T.isFunction(t)?i.unique&&d.has(t)||l.push(t):t&&t.length&&"string"!==T.type(t)&&n(t)})}(arguments),t&&!r&&o()),this},remove:function(){return T.each(arguments,function(e,t){for(var n;-1<(n=T.inArray(t,l,n));)l.splice(n,1),n<=u&&u--}),this},has:function(e){return e?-1<T.inArray(e,l):0<l.length},empty:function(){return l=l&&[],this},disable:function(){return s=c=[],l=t="",this},disabled:function(){return!l},lock:function(){return s=c=[],t||(l=t=""),this},locked:function(){return!!s},fireWith:function(e,t){return s||(t=[e,(t=t||[]).slice?t.slice():t],c.push(t),r||o()),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!a}};return d},T.extend({Deferred:function(e){var r=[["resolve","done",T.Callbacks("once memory"),"resolved"],["reject","fail",T.Callbacks("once memory"),"rejected"],["notify","progress",T.Callbacks("memory")]],o="pending",a={state:function(){return o},always:function(){return s.done(arguments).fail(arguments),this},then:function(){var o=arguments;return T.Deferred(function(i){T.each(r,function(e,t){var n=T.isFunction(o[e])&&o[e];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&T.isFunction(e.promise)?e.promise().progress(i.notify).done(i.resolve).fail(i.reject):i[t[0]+"With"](this===a?i.promise():this,n?[e]:arguments)})}),o=null}).promise()},promise:function(e){return null!=e?T.extend(e,a):a}},s={};return a.pipe=a.then,T.each(r,function(e,t){var n=t[2],i=t[3];a[t[1]]=n.add,i&&n.add(function(){o=i},r[1^e][2].disable,r[2][2].lock),s[t[0]]=function(){return s[t[0]+"With"](this===s?a:this,arguments),this},s[t[0]+"With"]=n.fireWith}),a.promise(s),e&&e.call(s,s),s},when:function(e){function t(t,n,i){return function(e){n[t]=this,i[t]=1<arguments.length?u.call(arguments):e,i===o?c.notifyWith(n,i):--l||c.resolveWith(n,i)}}var o,n,i,r=0,a=u.call(arguments),s=a.length,l=1!==s||e&&T.isFunction(e.promise)?s:0,c=1===l?e:T.Deferred();if(1<s)for(o=new Array(s),n=new Array(s),i=new Array(s);r<s;r++)a[r]&&T.isFunction(a[r].promise)?a[r].promise().progress(t(r,n,o)).done(t(r,i,a)).fail(c.reject):--l;return l||c.resolveWith(i,a),c.promise()}}),T.fn.ready=function(e){return T.ready.promise().done(e),this},T.extend({isReady:!1,readyWait:1,holdReady:function(e){e?T.readyWait++:T.ready(!0)},ready:function(e){(!0===e?--T.readyWait:T.isReady)||((T.isReady=!0)!==e&&0<--T.readyWait||(ne.resolveWith(C,[T]),T.fn.triggerHandler&&(T(C).triggerHandler("ready"),T(C).off("ready"))))}}),T.ready.promise=function(e){return ne||(ne=T.Deferred(),"complete"===C.readyState||"loading"!==C.readyState&&!C.documentElement.doScroll?w.setTimeout(T.ready):(C.addEventListener("DOMContentLoaded",ie),w.addEventListener("load",ie))),ne.promise(e)},T.ready.promise();function d(e,t,n,i,o,r,a){var s=0,l=e.length,c=null==n;if("object"===T.type(n))for(s in o=!0,n)d(e,t,s,n[s],!0,r,a);else if(void 0!==i&&(o=!0,T.isFunction(i)||(a=!0),t=c?a?(t.call(e,i),null):(c=t,function(e,t,n){return c.call(T(e),n)}):t))for(;s<l;s++)t(e[s],n,a?i:i.call(e[s],s,t(e[s],n)));return o?e:c?t.call(e):l?t(e[0],n):r}function m(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType}function n(){this.expando=T.expando+n.uid++}n.uid=1,n.prototype={register:function(e,t){t=t||{};return e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,writable:!0,configurable:!0}),e[this.expando]},cache:function(e){if(!m(e))return{};var t=e[this.expando];return t||(t={},m(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var i,o=this.cache(e);if("string"==typeof t)o[t]=n;else for(i in t)o[i]=t[i];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][t]},access:function(e,t,n){var i;return void 0===t||t&&"string"==typeof t&&void 0===n?void 0!==(i=this.get(e,t))?i:this.get(e,T.camelCase(t)):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,i,o,r=e[this.expando];if(void 0!==r){if(void 0===t)this.register(e);else{n=(i=T.isArray(t)?t.concat(t.map(T.camelCase)):(o=T.camelCase(t),t in r?[t,o]:(i=o)in r?[i]:i.match(k)||[])).length;for(;n--;)delete r[i[n]]}void 0!==t&&!T.isEmptyObject(r)||(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){e=e[this.expando];return void 0!==e&&!T.isEmptyObject(e)}};var v=new n,l=new n,oe=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,re=/[A-Z]/g;function ae(e,t,n){var i;if(void 0===n&&1===e.nodeType)if(i="data-"+t.replace(re,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(i))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:oe.test(n)?T.parseJSON(n):n)}catch(e){}l.set(e,t,n)}else n=void 0;return n}T.extend({hasData:function(e){return l.hasData(e)||v.hasData(e)},data:function(e,t,n){return l.access(e,t,n)},removeData:function(e,t){l.remove(e,t)},_data:function(e,t,n){return v.access(e,t,n)},_removeData:function(e,t){v.remove(e,t)}}),T.fn.extend({data:function(i,e){var t,n,o,r=this[0],a=r&&r.attributes;if(void 0!==i)return"object"==typeof i?this.each(function(){l.set(this,i)}):d(this,function(t){var e,n;if(r&&void 0===t)return void 0!==(e=l.get(r,i)||l.get(r,i.replace(re,"-$&").toLowerCase()))?e:(n=T.camelCase(i),void 0!==(e=l.get(r,n))?e:void 0!==(e=ae(r,n,void 0))?e:void 0);n=T.camelCase(i),this.each(function(){var e=l.get(this,n);l.set(this,n,t),-1<i.indexOf("-")&&void 0!==e&&l.set(this,i,t)})},null,e,1<arguments.length,null,!0);if(this.length&&(o=l.get(r),1===r.nodeType&&!v.get(r,"hasDataAttrs"))){for(t=a.length;t--;)a[t]&&(0===(n=a[t].name).indexOf("data-")&&(n=T.camelCase(n.slice(5)),ae(r,n,o[n])));v.set(r,"hasDataAttrs",!0)}return o},removeData:function(e){return this.each(function(){l.remove(this,e)})}}),T.extend({queue:function(e,t,n){var i;return e?(i=v.get(e,t=(t||"fx")+"queue"),n&&(!i||T.isArray(n)?i=v.access(e,t,T.makeArray(n)):i.push(n)),i||[]):void 0},dequeue:function(e,t){t=t||"fx";var n=T.queue(e,t),i=n.length,o=n.shift(),r=T._queueHooks(e,t);"inprogress"===o&&(o=n.shift(),i--),o&&("fx"===t&&n.unshift("inprogress"),delete r.stop,o.call(e,function(){T.dequeue(e,t)},r)),!i&&r&&r.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return v.get(e,n)||v.access(e,n,{empty:T.Callbacks("once memory").add(function(){v.remove(e,[t+"queue",n])})})}}),T.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?T.queue(this[0],t):void 0===n?this:this.each(function(){var e=T.queue(this,t,n);T._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&T.dequeue(this,t)})},dequeue:function(e){return this.each(function(){T.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){function n(){--o||r.resolveWith(a,[a])}var i,o=1,r=T.Deferred(),a=this,s=this.length;for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";s--;)(i=v.get(a[s],e+"queueHooks"))&&i.empty&&(o++,i.empty.add(n));return n(),r.promise(t)}});function y(e,t){return"none"===T.css(e=t||e,"display")||!T.contains(e.ownerDocument,e)}var e=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,p=new RegExp("^(?:([+-])=|)("+e+")([a-z%]*)$","i"),s=["Top","Right","Bottom","Left"];function se(e,t,n,i){var o,r=1,a=20,s=i?function(){return i.cur()}:function(){return T.css(e,t,"")},l=s(),c=n&&n[3]||(T.cssNumber[t]?"":"px"),u=(T.cssNumber[t]||"px"!==c&&+l)&&p.exec(T.css(e,t));if(u&&u[3]!==c)for(c=c||u[3],n=n||[],u=+l||1;T.style(e,t,(u/=r=r||".5")+c),r!==(r=s()/l)&&1!==r&&--a;);return n&&(u=+u||+l||0,o=n[1]?u+(n[1]+1)*n[2]:+n[2],i&&(i.unit=c,i.start=u,i.end=o)),o}var le=/^(?:checkbox|radio)$/i,ce=/<([\w:-]+)/,ue=/^$|\/(?:java|ecma)script/i,b={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function x(e,t){var n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&T.nodeName(e,t)?T.merge([e],n):n}function de(e,t){for(var n=0,i=e.length;n<i;n++)v.set(e[n],"globalEval",!t||v.get(t[n],"globalEval"))}b.optgroup=b.option,b.tbody=b.tfoot=b.colgroup=b.caption=b.thead,b.th=b.td;var pe=/<|&#?\w+;/;function fe(e,t,n,i,o){for(var r,a,s,l,c,u=t.createDocumentFragment(),d=[],p=0,f=e.length;p<f;p++)if((r=e[p])||0===r)if("object"===T.type(r))T.merge(d,r.nodeType?[r]:r);else if(pe.test(r)){for(a=a||u.appendChild(t.createElement("div")),s=(ce.exec(r)||["",""])[1].toLowerCase(),s=b[s]||b._default,a.innerHTML=s[1]+T.htmlPrefilter(r)+s[2],c=s[0];c--;)a=a.lastChild;T.merge(d,a.childNodes),(a=u.firstChild).textContent=""}else d.push(t.createTextNode(r));for(u.textContent="",p=0;r=d[p++];)if(i&&-1<T.inArray(r,i))o&&o.push(r);else if(l=T.contains(r.ownerDocument,r),a=x(u.appendChild(r),"script"),l&&de(a),n)for(c=0;r=a[c++];)ue.test(r.type||"")&&n.push(r);return u}t=C.createDocumentFragment().appendChild(C.createElement("div")),(q=C.createElement("input")).setAttribute("type","radio"),q.setAttribute("checked","checked"),q.setAttribute("name","t"),t.appendChild(q),g.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue;var he=/^key/,ge=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,me=/^([^.]*)(?:\.(.+)|)/;function ve(){return!0}function c(){return!1}function ye(){try{return C.activeElement}catch(e){}}function be(e,t,n,i,o,r){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(i=i||n,n=void 0),t)be(e,s,n,i,t[s],r);return e}if(null==i&&null==o?(o=n,i=n=void 0):null==o&&("string"==typeof n?(o=i,i=void 0):(o=i,i=n,n=void 0)),!1===o)o=c;else if(!o)return e;return 1===r&&(a=o,(o=function(e){return T().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=T.guid++)),e.each(function(){T.event.add(this,t,o,i,n)})}T.event={global:{},add:function(t,e,n,i,o){var r,a,s,l,c,u,d,p,f,h=v.get(t);if(h)for(n.handler&&(n=(r=n).handler,o=r.selector),n.guid||(n.guid=T.guid++),(s=h.events)||(s=h.events={}),(a=h.handle)||(a=h.handle=function(e){return void 0!==T&&T.event.triggered!==e.type?T.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(k)||[""]).length;l--;)d=f=(p=me.exec(e[l])||[])[1],p=(p[2]||"").split(".").sort(),d&&(c=T.event.special[d]||{},d=(o?c.delegateType:c.bindType)||d,c=T.event.special[d]||{},f=T.extend({type:d,origType:f,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&T.expr.match.needsContext.test(o),namespace:p.join(".")},r),(u=s[d])||((u=s[d]=[]).delegateCount=0,c.setup&&!1!==c.setup.call(t,i,p,a)||t.addEventListener&&t.addEventListener(d,a)),c.add&&(c.add.call(t,f),f.handler.guid||(f.handler.guid=n.guid)),o?u.splice(u.delegateCount++,0,f):u.push(f),T.event.global[d]=!0)},remove:function(e,t,n,i,o){var r,a,s,l,c,u,d,p,f,h,g,m=v.hasData(e)&&v.get(e);if(m&&(l=m.events)){for(c=(t=(t||"").match(k)||[""]).length;c--;)if(f=g=(s=me.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),f){for(d=T.event.special[f]||{},p=l[f=(i?d.delegateType:d.bindType)||f]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=r=p.length;r--;)u=p[r],!o&&g!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(p.splice(r,1),u.selector&&p.delegateCount--,d.remove&&d.remove.call(e,u));a&&!p.length&&(d.teardown&&!1!==d.teardown.call(e,h,m.handle)||T.removeEvent(e,f,m.handle),delete l[f])}else for(f in l)T.event.remove(e,f+t[c],n,i,!0);T.isEmptyObject(l)&&v.remove(e,"handle events")}},dispatch:function(e){e=T.event.fix(e);var t,n,i,o,r,a=u.call(arguments),s=(v.get(this,"events")||{})[e.type]||[],l=T.event.special[e.type]||{};if((a[0]=e).delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,e)){for(r=T.event.handlers.call(this,e,s),t=0;(i=r[t++])&&!e.isPropagationStopped();)for(e.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!e.isImmediatePropagationStopped();)e.rnamespace&&!e.rnamespace.test(o.namespace)||(e.handleObj=o,e.data=o.data,void 0!==(o=((T.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,a))&&!1===(e.result=o)&&(e.preventDefault(),e.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,i,o,r,a=[],s=t.delegateCount,l=e.target;if(s&&l.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==e.type)){for(i=[],n=0;n<s;n++)void 0===i[o=(r=t[n]).selector+" "]&&(i[o]=r.needsContext?-1<T(o,this).index(l):T.find(o,this,null,[l]).length),i[o]&&i.push(r);i.length&&a.push({elem:l,handlers:i})}return s<t.length&&a.push({elem:this,handlers:t.slice(s)}),a},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,i,o=t.button;return null==e.pageX&&null!=t.clientX&&(n=(i=e.target.ownerDocument||C).documentElement,i=i.body,e.pageX=t.clientX+(n&&n.scrollLeft||i&&i.scrollLeft||0)-(n&&n.clientLeft||i&&i.clientLeft||0),e.pageY=t.clientY+(n&&n.scrollTop||i&&i.scrollTop||0)-(n&&n.clientTop||i&&i.clientTop||0)),e.which||void 0===o||(e.which=1&o?1:2&o?3:4&o?2:0),e}},fix:function(e){if(e[T.expando])return e;var t,n,i,o=e.type,r=e,a=this.fixHooks[o];for(a||(this.fixHooks[o]=a=ge.test(o)?this.mouseHooks:he.test(o)?this.keyHooks:{}),i=a.props?this.props.concat(a.props):this.props,e=new T.Event(r),t=i.length;t--;)e[n=i[t]]=r[n];return e.target||(e.target=C),3===e.target.nodeType&&(e.target=e.target.parentNode),a.filter?a.filter(e,r):e},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==ye()&&this.focus?(this.focus(),!1):void 0},delegateType:"focusin"},blur:{trigger:function(){return this===ye()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&T.nodeName(this,"input")?(this.click(),!1):void 0},_default:function(e){return T.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},T.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},T.Event=function(e,t){return this instanceof T.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?ve:c):this.type=e,t&&T.extend(this,t),this.timeStamp=e&&e.timeStamp||T.now(),void(this[T.expando]=!0)):new T.Event(e,t)},T.Event.prototype={constructor:T.Event,isDefaultPrevented:c,isPropagationStopped:c,isImmediatePropagationStopped:c,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=ve,e&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=ve,e&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=ve,e&&e.stopImmediatePropagation(),this.stopPropagation()}},T.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,o){T.event.special[e]={delegateType:o,bindType:o,handle:function(e){var t,n=e.relatedTarget,i=e.handleObj;return n&&(n===this||T.contains(this,n))||(e.type=i.origType,t=i.handler.apply(this,arguments),e.type=o),t}}}),T.fn.extend({on:function(e,t,n,i){return be(this,e,t,n,i)},one:function(e,t,n,i){return be(this,e,t,n,i,1)},off:function(e,t,n){var i,o;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,T(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"!=typeof e)return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=c),this.each(function(){T.event.remove(this,e,n,t)});for(o in e)this.off(o,t,e[o]);return this}});var xe=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,we=/<script|<style|<link/i,Ce=/checked\s*(?:[^=]|=\s*.checked.)/i,Te=/^true\/(.*)/,ke=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Se(e,t){return T.nodeName(e,"table")&&T.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function Ee(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Pe(e){var t=Te.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function Ae(e,t){var n,i,o,r,a,s;if(1===t.nodeType){if(v.hasData(e)&&(r=v.access(e),a=v.set(t,r),s=r.events))for(o in delete a.handle,a.events={},s)for(n=0,i=s[o].length;n<i;n++)T.event.add(t,o,s[o][n]);l.hasData(e)&&(r=l.access(e),a=T.extend({},r),l.set(t,a))}}function S(n,i,o,r){i=_.apply([],i);var e,t,a,s,l,c,u=0,d=n.length,p=d-1,f=i[0],h=T.isFunction(f);if(h||1<d&&"string"==typeof f&&!g.checkClone&&Ce.test(f))return n.each(function(e){var t=n.eq(e);h&&(i[0]=f.call(this,e,t.html())),S(t,i,o,r)});if(d&&(t=(e=fe(i,n[0].ownerDocument,!1,n,r)).firstChild,1===e.childNodes.length&&(e=t),t||r)){for(s=(a=T.map(x(e,"script"),Ee)).length;u<d;u++)l=e,u!==p&&(l=T.clone(l,!0,!0),s&&T.merge(a,x(l,"script"))),o.call(n[u],l,u);if(s)for(c=a[a.length-1].ownerDocument,T.map(a,Pe),u=0;u<s;u++)l=a[u],ue.test(l.type||"")&&!v.access(l,"globalEval")&&T.contains(c,l)&&(l.src?T._evalUrl&&T._evalUrl(l.src):T.globalEval(l.textContent.replace(ke,"")))}return n}function Oe(e,t,n){for(var i,o=t?T.filter(t,e):e,r=0;null!=(i=o[r]);r++)n||1!==i.nodeType||T.cleanData(x(i)),i.parentNode&&(n&&T.contains(i.ownerDocument,i)&&de(x(i,"script")),i.parentNode.removeChild(i));return e}T.extend({htmlPrefilter:function(e){return e.replace(xe,"<$1></$2>")},clone:function(e,t,n){var i,o,r,a,s,l,c,u=e.cloneNode(!0),d=T.contains(e.ownerDocument,e);if(!(g.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||T.isXMLDoc(e)))for(a=x(u),i=0,o=(r=x(e)).length;i<o;i++)s=r[i],l=a[i],c=void 0,"input"===(c=l.nodeName.toLowerCase())&&le.test(s.type)?l.checked=s.checked:"input"!==c&&"textarea"!==c||(l.defaultValue=s.defaultValue);if(t)if(n)for(r=r||x(e),a=a||x(u),i=0,o=r.length;i<o;i++)Ae(r[i],a[i]);else Ae(e,u);return 0<(a=x(u,"script")).length&&de(a,!d&&x(e,"script")),u},cleanData:function(e){for(var t,n,i,o=T.event.special,r=0;void 0!==(n=e[r]);r++)if(m(n)){if(t=n[v.expando]){if(t.events)for(i in t.events)o[i]?T.event.remove(n,i):T.removeEvent(n,i,t.handle);n[v.expando]=void 0}n[l.expando]&&(n[l.expando]=void 0)}}}),T.fn.extend({domManip:S,detach:function(e){return Oe(this,e,!0)},remove:function(e){return Oe(this,e)},text:function(e){return d(this,function(e){return void 0===e?T.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return S(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Se(this,e).appendChild(e)})},prepend:function(){return S(this,arguments,function(e){var t;1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(t=Se(this,e)).insertBefore(e,t.firstChild)})},before:function(){return S(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return S(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(T.cleanData(x(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return T.clone(this,e,t)})},html:function(e){return d(this,function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!we.test(e)&&!b[(ce.exec(e)||["",""])[1].toLowerCase()]){e=T.htmlPrefilter(e);try{for(;n<i;n++)1===(t=this[n]||{}).nodeType&&(T.cleanData(x(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return S(this,arguments,function(e){var t=this.parentNode;T.inArray(this,n)<0&&(T.cleanData(x(this)),t&&t.replaceChild(e,this))},n)}}),T.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){T.fn[e]=function(e){for(var t,n=[],i=T(e),o=i.length-1,r=0;r<=o;r++)t=r===o?this:this.clone(!0),T(i[r])[a](t),F.apply(n,t.get());return this.pushStack(n)}});var qe,je={HTML:"block",BODY:"block"};function De(e,t){e=T(t.createElement(e)).appendTo(t.body),t=T.css(e[0],"display");return e.detach(),t}function Ne(e){var t=C,n=je[e];return n||("none"!==(n=De(e,t))&&n||((t=(qe=(qe||T("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement))[0].contentDocument).write(),t.close(),n=De(e,t),qe.detach()),je[e]=n),n}function Ie(e){var t=e.ownerDocument.defaultView;return(t=t&&t.opener?t:w).getComputedStyle(e)}function Le(e,t,n,i){var o,r={};for(o in t)r[o]=e.style[o],e.style[o]=t[o];for(o in n=n.apply(e,i||[]),t)e.style[o]=r[o];return n}var Me,r,He,_e,a,f,Fe=/^margin/,$e=new RegExp("^("+e+")(?!px)[a-z%]+$","i"),E=C.documentElement;function ze(){f.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",f.innerHTML="",E.appendChild(a);var e=w.getComputedStyle(f);Me="1%"!==e.top,_e="2px"===e.marginLeft,r="4px"===e.width,f.style.marginRight="50%",He="4px"===e.marginRight,E.removeChild(a)}function P(e,t,n){var i,o,r=e.style;return""!==(o=(n=n||Ie(e))?n.getPropertyValue(t)||n[t]:void 0)&&void 0!==o||T.contains(e.ownerDocument,e)||(o=T.style(e,t)),n&&!g.pixelMarginRight()&&$e.test(o)&&Fe.test(t)&&(e=r.width,t=r.minWidth,i=r.maxWidth,r.minWidth=r.maxWidth=r.width=o,o=n.width,r.width=e,r.minWidth=t,r.maxWidth=i),void 0!==o?o+"":o}function Re(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}a=C.createElement("div"),(f=C.createElement("div")).style&&(f.style.backgroundClip="content-box",f.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===f.style.backgroundClip,a.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",a.appendChild(f),T.extend(g,{pixelPosition:function(){return ze(),Me},boxSizingReliable:function(){return null==r&&ze(),r},pixelMarginRight:function(){return null==r&&ze(),He},reliableMarginLeft:function(){return null==r&&ze(),_e},reliableMarginRight:function(){var e,t=f.appendChild(C.createElement("div"));return t.style.cssText=f.style.cssText="-webkit-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",t.style.marginRight=t.style.width="0",f.style.width="1px",E.appendChild(a),e=!parseFloat(w.getComputedStyle(t).marginRight),E.removeChild(a),f.removeChild(t),e}}));var We=/^(none|table(?!-c[ea]).+)/,Ve={position:"absolute",visibility:"hidden",display:"block"},Xe={letterSpacing:"0",fontWeight:"400"},Qe=["Webkit","O","Moz","ms"],Be=C.createElement("div").style;function Ye(e){if(e in Be)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=Qe.length;n--;)if((e=Qe[n]+t)in Be)return e}function Ue(e,t,n){var i=p.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function Ge(e,t,n,i,o){for(var r=n===(i?"border":"content")?4:"width"===t?1:0,a=0;r<4;r+=2)"margin"===n&&(a+=T.css(e,n+s[r],!0,o)),i?("content"===n&&(a-=T.css(e,"padding"+s[r],!0,o)),"margin"!==n&&(a-=T.css(e,"border"+s[r]+"Width",!0,o))):(a+=T.css(e,"padding"+s[r],!0,o),"padding"!==n&&(a+=T.css(e,"border"+s[r]+"Width",!0,o)));return a}function Ze(e,t,n){var i=!0,o="width"===t?e.offsetWidth:e.offsetHeight,r=Ie(e),a="border-box"===T.css(e,"boxSizing",!1,r);if((o=C.msFullscreenElement&&w.top!==w&&e.getClientRects().length?Math.round(100*e.getBoundingClientRect()[t]):o)<=0||null==o){if(((o=P(e,t,r))<0||null==o)&&(o=e.style[t]),$e.test(o))return o;i=a&&(g.boxSizingReliable()||o===e.style[t]),o=parseFloat(o)||0}return o+Ge(e,t,n||(a?"border":"content"),i,r)+"px"}function Je(e,t){for(var n,i,o,r=[],a=0,s=e.length;a<s;a++)(i=e[a]).style&&(r[a]=v.get(i,"olddisplay"),n=i.style.display,t?(r[a]||"none"!==n||(i.style.display=""),""===i.style.display&&y(i)&&(r[a]=v.access(i,"olddisplay",Ne(i.nodeName)))):(o=y(i),"none"===n&&o||v.set(i,"olddisplay",o?n:T.css(i,"display"))));for(a=0;a<s;a++)!(i=e[a]).style||t&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=t?r[a]||"":"none");return e}function A(e,t,n,i,o){return new A.prototype.init(e,t,n,i,o)}T.extend({cssHooks:{opacity:{get:function(e,t){if(t)return""===(t=P(e,"opacity"))?"1":t}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:"cssFloat"},style:function(e,t,n,i){var o,r,a,s,l;if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style)return s=T.camelCase(t),l=e.style,t=T.cssProps[s]||(T.cssProps[s]=Ye(s)||s),a=T.cssHooks[t]||T.cssHooks[s],void 0===n?a&&"get"in a&&void 0!==(o=a.get(e,!1,i))?o:l[t]:("string"===(r=typeof n)&&(o=p.exec(n))&&o[1]&&(n=se(e,t,o),r="number"),void(null!=n&&n==n&&("number"===r&&(n+=o&&o[3]||(T.cssNumber[s]?"":"px")),g.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,i))||(l[t]=n))))},css:function(e,t,n,i){var o,r=T.camelCase(t);return t=T.cssProps[r]||(T.cssProps[r]=Ye(r)||r),"normal"===(o=void 0===(o=(r=T.cssHooks[t]||T.cssHooks[r])&&"get"in r?r.get(e,!0,n):o)?P(e,t,i):o)&&t in Xe&&(o=Xe[t]),""===n||n?(r=parseFloat(o),!0===n||isFinite(r)?r||0:o):o}}),T.each(["height","width"],function(e,o){T.cssHooks[o]={get:function(e,t,n){return t?We.test(T.css(e,"display"))&&0===e.offsetWidth?Le(e,Ve,function(){return Ze(e,o,n)}):Ze(e,o,n):void 0},set:function(e,t,n){var i=n&&Ie(e),n=n&&Ge(e,o,n,"border-box"===T.css(e,"boxSizing",!1,i),i);return n&&(i=p.exec(t))&&"px"!==(i[3]||"px")&&(e.style[o]=t,t=T.css(e,o)),Ue(0,t,n)}}}),T.cssHooks.marginLeft=Re(g.reliableMarginLeft,function(e,t){return t?(parseFloat(P(e,"marginLeft"))||e.getBoundingClientRect().left-Le(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px":void 0}),T.cssHooks.marginRight=Re(g.reliableMarginRight,function(e,t){return t?Le(e,{display:"inline-block"},P,[e,"marginRight"]):void 0}),T.each({margin:"",padding:"",border:"Width"},function(o,r){T.cssHooks[o+r]={expand:function(e){for(var t=0,n={},i="string"==typeof e?e.split(" "):[e];t<4;t++)n[o+s[t]+r]=i[t]||i[t-2]||i[0];return n}},Fe.test(o)||(T.cssHooks[o+r].set=Ue)}),T.fn.extend({css:function(e,t){return d(this,function(e,t,n){var i,o,r={},a=0;if(T.isArray(t)){for(i=Ie(e),o=t.length;a<o;a++)r[t[a]]=T.css(e,t[a],!1,i);return r}return void 0!==n?T.style(e,t,n):T.css(e,t)},e,t,1<arguments.length)},show:function(){return Je(this,!0)},hide:function(){return Je(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){y(this)?T(this).show():T(this).hide()})}}),((T.Tween=A).prototype={constructor:A,init:function(e,t,n,i,o,r){this.elem=e,this.prop=n,this.easing=o||T.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=r||(T.cssNumber[n]?"":"px")},cur:function(){var e=A.propHooks[this.prop];return(e&&e.get?e:A.propHooks._default).get(this)},run:function(e){var t,n=A.propHooks[this.prop];return this.options.duration?this.pos=t=T.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:A.propHooks._default).set(this),this}}).init.prototype=A.prototype,(A.propHooks={_default:{get:function(e){return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(e=T.css(e.elem,e.prop,""))&&"auto"!==e?e:0},set:function(e){T.fx.step[e.prop]?T.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[T.cssProps[e.prop]]&&!T.cssHooks[e.prop]?e.elem[e.prop]=e.now:T.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=A.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},T.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},T.fx=A.prototype.init,T.fx.step={};var O,Ke,q,et=/^(?:toggle|show|hide)$/,tt=/queueHooks$/;function nt(){return w.setTimeout(function(){O=void 0}),O=T.now()}function it(e,t){var n,i=0,o={height:e};for(t=t?1:0;i<4;i+=2-t)o["margin"+(n=s[i])]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function ot(e,t,n){for(var i,o=(j.tweeners[t]||[]).concat(j.tweeners["*"]),r=0,a=o.length;r<a;r++)if(i=o[r].call(n,t,e))return i}function j(o,e,t){var n,r,i,a,s,l,c,u=0,d=j.prefilters.length,p=T.Deferred().always(function(){delete f.elem}),f=function(){if(r)return!1;for(var e=O||nt(),e=Math.max(0,h.startTime+h.duration-e),t=1-(e/h.duration||0),n=0,i=h.tweens.length;n<i;n++)h.tweens[n].run(t);return p.notifyWith(o,[h,t,e]),t<1&&i?e:(p.resolveWith(o,[h]),!1)},h=p.promise({elem:o,props:T.extend({},e),opts:T.extend(!0,{specialEasing:{},easing:T.easing._default},t),originalProperties:e,originalOptions:t,startTime:O||nt(),duration:t.duration,tweens:[],createTween:function(e,t){t=T.Tween(o,h.opts,e,t,h.opts.specialEasing[e]||h.opts.easing);return h.tweens.push(t),t},stop:function(e){var t=0,n=e?h.tweens.length:0;if(r)return this;for(r=!0;t<n;t++)h.tweens[t].run(1);return e?(p.notifyWith(o,[h,1,0]),p.resolveWith(o,[h,e])):p.rejectWith(o,[h,e]),this}}),g=h.props,m=g,v=h.opts.specialEasing;for(i in m)if(a=T.camelCase(i),s=v[a],l=m[i],T.isArray(l)&&(s=l[1],l=m[i]=l[0]),i!==a&&(m[a]=l,delete m[i]),c=T.cssHooks[a],c&&"expand"in c)for(i in l=c.expand(l),delete m[a],l)i in m||(m[i]=l[i],v[i]=s);else v[a]=s;for(;u<d;u++)if(n=j.prefilters[u].call(h,o,g,h.opts))return T.isFunction(n.stop)&&(T._queueHooks(h.elem,h.opts.queue).stop=T.proxy(n.stop,n)),n;return T.map(g,ot,h),T.isFunction(h.opts.start)&&h.opts.start.call(o,h),T.fx.timer(T.extend(f,{elem:o,anim:h,queue:h.opts.queue})),h.progress(h.opts.progress).done(h.opts.done,h.opts.complete).fail(h.opts.fail).always(h.opts.always)}T.Animation=T.extend(j,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return se(n.elem,e,p.exec(t),n),n}]},tweener:function(e,t){for(var n,i=0,o=(e=T.isFunction(e)?(t=e,["*"]):e.match(k)).length;i<o;i++)n=e[i],j.tweeners[n]=j.tweeners[n]||[],j.tweeners[n].unshift(t)},prefilters:[function(t,e,n){var i,o,r,a,s,l,c,u=this,d={},p=t.style,f=t.nodeType&&y(t),h=v.get(t,"fxshow");for(i in n.queue||(null==(s=T._queueHooks(t,"fx")).unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,u.always(function(){u.always(function(){s.unqueued--,T.queue(t,"fx").length||s.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],"inline"===("none"===(c=T.css(t,"display"))?v.get(t,"olddisplay")||Ne(t.nodeName):c)&&"none"===T.css(t,"float")&&(p.display="inline-block")),n.overflow&&(p.overflow="hidden",u.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),e)if(o=e[i],et.exec(o)){if(delete e[i],r=r||"toggle"===o,o===(f?"hide":"show")){if("show"!==o||!h||void 0===h[i])continue;f=!0}d[i]=h&&h[i]||T.style(t,i)}else c=void 0;if(T.isEmptyObject(d))"inline"===("none"===c?Ne(t.nodeName):c)&&(p.display=c);else for(i in h?"hidden"in h&&(f=h.hidden):h=v.access(t,"fxshow",{}),r&&(h.hidden=!f),f?T(t).show():u.done(function(){T(t).hide()}),u.done(function(){for(var e in v.remove(t,"fxshow"),d)T.style(t,e,d[e])}),d)a=ot(f?h[i]:0,i,u),i in h||(h[i]=a.start,f&&(a.end=a.start,a.start="width"===i||"height"===i?1:0))}],prefilter:function(e,t){t?j.prefilters.unshift(e):j.prefilters.push(e)}}),T.speed=function(e,t,n){var i=e&&"object"==typeof e?T.extend({},e):{complete:n||!n&&t||T.isFunction(e)&&e,duration:e,easing:n&&t||t&&!T.isFunction(t)&&t};return i.duration=T.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in T.fx.speeds?T.fx.speeds[i.duration]:T.fx.speeds._default,null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){T.isFunction(i.old)&&i.old.call(this),i.queue&&T.dequeue(this,i.queue)},i},T.fn.extend({fadeTo:function(e,t,n,i){return this.filter(y).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(t,e,n,i){function o(){var e=j(this,T.extend({},t),a);(r||v.get(this,"finish"))&&e.stop(!0)}var r=T.isEmptyObject(t),a=T.speed(e,n,i);return o.finish=o,r||!1===a.queue?this.each(o):this.queue(a.queue,o)},stop:function(o,e,r){function a(e){var t=e.stop;delete e.stop,t(r)}return"string"!=typeof o&&(r=e,e=o,o=void 0),e&&!1!==o&&this.queue(o||"fx",[]),this.each(function(){var e=!0,t=null!=o&&o+"queueHooks",n=T.timers,i=v.get(this);if(t)i[t]&&i[t].stop&&a(i[t]);else for(t in i)i[t]&&i[t].stop&&tt.test(t)&&a(i[t]);for(t=n.length;t--;)n[t].elem!==this||null!=o&&n[t].queue!==o||(n[t].anim.stop(r),e=!1,n.splice(t,1));!e&&r||T.dequeue(this,o)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var e,t=v.get(this),n=t[a+"queue"],i=t[a+"queueHooks"],o=T.timers,r=n?n.length:0;for(t.finish=!0,T.queue(this,a,[]),i&&i.stop&&i.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===a&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;e<r;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),T.each(["toggle","show","hide"],function(e,i){var o=T.fn[i];T.fn[i]=function(e,t,n){return null==e||"boolean"==typeof e?o.apply(this,arguments):this.animate(it(i,!0),e,t,n)}}),T.each({slideDown:it("show"),slideUp:it("hide"),slideToggle:it("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,i){T.fn[e]=function(e,t,n){return this.animate(i,e,t,n)}}),T.timers=[],T.fx.tick=function(){var e,t=0,n=T.timers;for(O=T.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||T.fx.stop(),O=void 0},T.fx.timer=function(e){T.timers.push(e),e()?T.fx.start():T.timers.pop()},T.fx.interval=13,T.fx.start=function(){Ke=Ke||w.setInterval(T.fx.tick,T.fx.interval)},T.fx.stop=function(){w.clearInterval(Ke),Ke=null},T.fx.speeds={slow:600,fast:200,_default:400},T.fn.delay=function(i,e){return i=T.fx&&T.fx.speeds[i]||i,this.queue(e=e||"fx",function(e,t){var n=w.setTimeout(e,i);t.stop=function(){w.clearTimeout(n)}})},q=C.createElement("input"),t=C.createElement("select"),e=t.appendChild(C.createElement("option")),q.type="checkbox",g.checkOn=""!==q.value,g.optSelected=e.selected,t.disabled=!0,g.optDisabled=!e.disabled,(q=C.createElement("input")).value="t",q.type="radio",g.radioValue="t"===q.value;var rt,D=T.expr.attrHandle,at=(T.fn.extend({attr:function(e,t){return d(this,T.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){T.removeAttr(this,e)})}}),T.extend({attr:function(e,t,n){var i,o,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return void 0===e.getAttribute?T.prop(e,t,n):(1===r&&T.isXMLDoc(e)||(t=t.toLowerCase(),o=T.attrHooks[t]||(T.expr.match.bool.test(t)?rt:void 0)),void 0!==n?null===n?void T.removeAttr(e,t):o&&"set"in o&&void 0!==(i=o.set(e,n,t))?i:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(i=o.get(e,t))?i:null==(i=T.find.attr(e,t))?void 0:i)},attrHooks:{type:{set:function(e,t){var n;if(!g.radioValue&&"radio"===t&&T.nodeName(e,"input"))return n=e.value,e.setAttribute("type",t),n&&(e.value=n),t}}},removeAttr:function(e,t){var n,i,o=0,r=t&&t.match(k);if(r&&1===e.nodeType)for(;n=r[o++];)i=T.propFix[n]||n,T.expr.match.bool.test(n)&&(e[i]=!1),e.removeAttribute(n)}}),rt={set:function(e,t,n){return!1===t?T.removeAttr(e,n):e.setAttribute(n,n),n}},T.each(T.expr.match.bool.source.match(/\w+/g),function(e,t){var r=D[t]||T.find.attr;D[t]=function(e,t,n){var i,o;return n||(o=D[t],D[t]=i,i=null!=r(e,t,n)?t.toLowerCase():null,D[t]=o),i}}),/^(?:input|select|textarea|button)$/i),st=/^(?:a|area)$/i,lt=(T.fn.extend({prop:function(e,t){return d(this,T.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[T.propFix[e]||e]})}}),T.extend({prop:function(e,t,n){var i,o,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return 1===r&&T.isXMLDoc(e)||(t=T.propFix[t]||t,o=T.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(i=o.set(e,n,t))?i:e[t]=n:o&&"get"in o&&null!==(i=o.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=T.find.attr(e,"tabindex");return t?parseInt(t,10):at.test(e.nodeName)||st.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(T.propHooks.selected={get:function(e){e=e.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(e){e=e.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),T.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){T.propFix[this.toLowerCase()]=this}),/[\t\r\n\f]/g);function N(e){return e.getAttribute&&e.getAttribute("class")||""}T.fn.extend({addClass:function(t){var e,n,i,o,r,a,s=0;if(T.isFunction(t))return this.each(function(e){T(this).addClass(t.call(this,e,N(this)))});if("string"==typeof t&&t)for(e=t.match(k)||[];n=this[s++];)if(a=N(n),i=1===n.nodeType&&(" "+a+" ").replace(lt," ")){for(r=0;o=e[r++];)i.indexOf(" "+o+" ")<0&&(i+=o+" ");a!==(a=T.trim(i))&&n.setAttribute("class",a)}return this},removeClass:function(t){var e,n,i,o,r,a,s=0;if(T.isFunction(t))return this.each(function(e){T(this).removeClass(t.call(this,e,N(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof t&&t)for(e=t.match(k)||[];n=this[s++];)if(a=N(n),i=1===n.nodeType&&(" "+a+" ").replace(lt," ")){for(r=0;o=e[r++];)for(;-1<i.indexOf(" "+o+" ");)i=i.replace(" "+o+" "," ");a!==(a=T.trim(i))&&n.setAttribute("class",a)}return this},toggleClass:function(o,t){var r=typeof o;return"boolean"==typeof t&&"string"==r?t?this.addClass(o):this.removeClass(o):T.isFunction(o)?this.each(function(e){T(this).toggleClass(o.call(this,e,N(this),t),t)}):this.each(function(){var e,t,n,i;if("string"==r)for(t=0,n=T(this),i=o.match(k)||[];e=i[t++];)n.hasClass(e)?n.removeClass(e):n.addClass(e);else void 0!==o&&"boolean"!=r||((e=N(this))&&v.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",!e&&!1!==o&&v.get(this,"__className__")||""))})},hasClass:function(e){for(var t,n=0,i=" "+e+" ";t=this[n++];)if(1===t.nodeType&&-1<(" "+N(t)+" ").replace(lt," ").indexOf(i))return!0;return!1}});var ct=/\r/g,ut=/[\x20\t\r\n\f]+/g,dt=(T.fn.extend({val:function(t){var n,e,i,o=this[0];return arguments.length?(i=T.isFunction(t),this.each(function(e){1===this.nodeType&&(null==(e=i?t.call(this,e,T(this).val()):t)?e="":"number"==typeof e?e+="":T.isArray(e)&&(e=T.map(e,function(e){return null==e?"":e+""})),(n=T.valHooks[this.type]||T.valHooks[this.nodeName.toLowerCase()])&&"set"in n&&void 0!==n.set(this,e,"value")||(this.value=e))})):o?(n=T.valHooks[o.type]||T.valHooks[o.nodeName.toLowerCase()])&&"get"in n&&void 0!==(e=n.get(o,"value"))?e:"string"==typeof(e=o.value)?e.replace(ct,""):null==e?"":e:void 0}}),T.extend({valHooks:{option:{get:function(e){var t=T.find.attr(e,"value");return null!=t?t:T.trim(T.text(e)).replace(ut," ")}},select:{get:function(e){for(var t,n=e.options,i=e.selectedIndex,o="select-one"===e.type||i<0,r=o?null:[],a=o?i+1:n.length,s=i<0?a:o?i:0;s<a;s++)if(((t=n[s]).selected||s===i)&&(g.optDisabled?!t.disabled:null===t.getAttribute("disabled"))&&(!t.parentNode.disabled||!T.nodeName(t.parentNode,"optgroup"))){if(t=T(t).val(),o)return t;r.push(t)}return r},set:function(e,t){for(var n,i,o=e.options,r=T.makeArray(t),a=o.length;a--;)((i=o[a]).selected=-1<T.inArray(T.valHooks.option.get(i),r))&&(n=!0);return n||(e.selectedIndex=-1),r}}}}),T.each(["radio","checkbox"],function(){T.valHooks[this]={set:function(e,t){return T.isArray(t)?e.checked=-1<T.inArray(T(e).val(),t):void 0}},g.checkOn||(T.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),/^(?:focusinfocus|focusoutblur)$/),I=(T.extend(T.event,{trigger:function(e,t,n,i){var o,r,a,s,l,c,u=[n||C],d=h.call(e,"type")?e.type:e,p=h.call(e,"namespace")?e.namespace.split("."):[],f=r=n=n||C;if(3!==n.nodeType&&8!==n.nodeType&&!dt.test(d+T.event.triggered)&&(-1<d.indexOf(".")&&(d=(p=d.split(".")).shift(),p.sort()),s=d.indexOf(":")<0&&"on"+d,(e=e[T.expando]?e:new T.Event(d,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=p.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:T.makeArray(t,[e]),c=T.event.special[d]||{},i||!c.trigger||!1!==c.trigger.apply(n,t))){if(!i&&!c.noBubble&&!T.isWindow(n)){for(a=c.delegateType||d,dt.test(a+d)||(f=f.parentNode);f;f=f.parentNode)u.push(f),r=f;r===(n.ownerDocument||C)&&u.push(r.defaultView||r.parentWindow||w)}for(o=0;(f=u[o++])&&!e.isPropagationStopped();)e.type=1<o?a:c.bindType||d,(l=(v.get(f,"events")||{})[e.type]&&v.get(f,"handle"))&&l.apply(f,t),(l=s&&f[s])&&l.apply&&m(f)&&(e.result=l.apply(f,t),!1===e.result&&e.preventDefault());return e.type=d,i||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(u.pop(),t)||!m(n)||s&&T.isFunction(n[d])&&!T.isWindow(n)&&((r=n[s])&&(n[s]=null),n[T.event.triggered=d](),T.event.triggered=void 0,r&&(n[s]=r)),e.result}},simulate:function(e,t,n){e=T.extend(new T.Event,n,{type:e,isSimulated:!0});T.event.trigger(e,null,t),e.isDefaultPrevented()&&n.preventDefault()}}),T.fn.extend({trigger:function(e,t){return this.each(function(){T.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];return n?T.event.trigger(e,t,n,!0):void 0}}),T.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,n){T.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}}),T.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),g.focusin="onfocusin"in w,g.focusin||T.each({focus:"focusin",blur:"focusout"},function(n,i){function o(e){T.event.simulate(i,e.target,T.event.fix(e))}T.event.special[i]={setup:function(){var e=this.ownerDocument||this,t=v.access(e,i);t||e.addEventListener(n,o,!0),v.access(e,i,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this,t=v.access(e,i)-1;t?v.access(e,i,t):(e.removeEventListener(n,o,!0),v.remove(e,i))}}}),w.location),pt=T.now(),ft=/\?/,ht=(T.parseJSON=function(e){return JSON.parse(e+"")},T.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new w.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||T.error("Invalid XML: "+e),t},/#.*$/),gt=/([?&])_=[^&]*/,mt=/^(.*?):[ \t]*([^\r\n]*)$/gm,vt=/^(?:GET|HEAD)$/,yt=/^\/\//,bt={},xt={},wt="*/".concat("*"),Ct=C.createElement("a");function Tt(r){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,i=0,o=e.toLowerCase().match(k)||[];if(T.isFunction(t))for(;n=o[i++];)"+"===n[0]?(n=n.slice(1)||"*",(r[n]=r[n]||[]).unshift(t)):(r[n]=r[n]||[]).push(t)}}function kt(t,i,o,r){var a={},s=t===xt;function l(e){var n;return a[e]=!0,T.each(t[e]||[],function(e,t){t=t(i,o,r);return"string"!=typeof t||s||a[t]?s?!(n=t):void 0:(i.dataTypes.unshift(t),l(t),!1)}),n}return l(i.dataTypes[0])||!a["*"]&&l("*")}function St(e,t){var n,i,o=T.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:i=i||{})[n]=t[n]);return i&&T.extend(!0,e,i),e}Ct.href=I.href,T.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:I.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(I.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":wt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":T.parseJSON,"text xml":T.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?St(St(e,T.ajaxSettings),t):St(T.ajaxSettings,e)},ajaxPrefilter:Tt(bt),ajaxTransport:Tt(xt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0);var l,c,u,n,d,p,i,f=T.ajaxSetup({},t=t||{}),h=f.context||f,g=f.context&&(h.nodeType||h.jquery)?T(h):T.event,m=T.Deferred(),v=T.Callbacks("once memory"),y=f.statusCode||{},o={},r={},b=0,a="canceled",x={readyState:0,getResponseHeader:function(e){var t;if(2===b){if(!n)for(n={};t=mt.exec(u);)n[t[1].toLowerCase()]=t[2];t=n[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===b?u:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return b||(e=r[n]=r[n]||e,o[e]=t),this},overrideMimeType:function(e){return b||(f.mimeType=e),this},statusCode:function(e){if(e)if(b<2)for(var t in e)y[t]=[y[t],e[t]];else x.always(e[x.status]);return this},abort:function(e){e=e||a;return l&&l.abort(e),s(0,e),this}};if(m.promise(x).complete=v.add,x.success=x.done,x.error=x.fail,f.url=((e||f.url||I.href)+"").replace(ht,"").replace(yt,I.protocol+"//"),f.type=t.method||t.type||f.method||f.type,f.dataTypes=T.trim(f.dataType||"*").toLowerCase().match(k)||[""],null==f.crossDomain){e=C.createElement("a");try{e.href=f.url,e.href=e.href,f.crossDomain=Ct.protocol+"//"+Ct.host!=e.protocol+"//"+e.host}catch(e){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=T.param(f.data,f.traditional)),kt(bt,f,t,x),2===b)return x;for(i in(p=T.event&&f.global)&&0==T.active++&&T.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!vt.test(f.type),c=f.url,f.hasContent||(f.data&&(c=f.url+=(ft.test(c)?"&":"?")+f.data,delete f.data),!1===f.cache&&(f.url=gt.test(c)?c.replace(gt,"$1_="+pt++):c+(ft.test(c)?"&":"?")+"_="+pt++)),f.ifModified&&(T.lastModified[c]&&x.setRequestHeader("If-Modified-Since",T.lastModified[c]),T.etag[c]&&x.setRequestHeader("If-None-Match",T.etag[c])),(f.data&&f.hasContent&&!1!==f.contentType||t.contentType)&&x.setRequestHeader("Content-Type",f.contentType),x.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+wt+"; q=0.01":""):f.accepts["*"]),f.headers)x.setRequestHeader(i,f.headers[i]);if(f.beforeSend&&(!1===f.beforeSend.call(h,x,f)||2===b))return x.abort();for(i in a="abort",{success:1,error:1,complete:1})x[i](f[i]);if(l=kt(xt,f,t,x)){if(x.readyState=1,p&&g.trigger("ajaxSend",[x,f]),2===b)return x;f.async&&0<f.timeout&&(d=w.setTimeout(function(){x.abort("timeout")},f.timeout));try{b=1,l.send(o,s)}catch(e){if(!(b<2))throw e;s(-1,e)}}else s(-1,"No Transport");function s(e,t,n,i){var o,r,a,s=t;2!==b&&(b=2,d&&w.clearTimeout(d),l=void 0,u=i||"",x.readyState=0<e?4:0,i=200<=e&&e<300||304===e,n&&(a=function(e,t,n){for(var i,o,r,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(o in s)if(s[o]&&s[o].test(i)){l.unshift(o);break}if(l[0]in n)r=l[0];else{for(o in n){if(!l[0]||e.converters[o+" "+l[0]]){r=o;break}a=a||o}r=r||a}return r?(r!==l[0]&&l.unshift(r),n[r]):void 0}(f,x,n)),a=function(e,t,n,i){var o,r,a,s,l,c={},u=e.dataTypes.slice();if(u[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(r=u.shift();r;)if(e.responseFields[r]&&(n[e.responseFields[r]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=r,r=u.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(!(a=c[l+" "+r]||c["* "+r]))for(o in c)if(s=o.split(" "),s[1]===r&&(a=c[l+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[o]:!0!==c[o]&&(r=s[0],u.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+l+" to "+r}}}return{state:"success",data:t}}(f,a,x,i),i?(f.ifModified&&((n=x.getResponseHeader("Last-Modified"))&&(T.lastModified[c]=n),(n=x.getResponseHeader("etag"))&&(T.etag[c]=n)),204===e||"HEAD"===f.type?s="nocontent":304===e?s="notmodified":(s=a.state,o=a.data,i=!(r=a.error))):(r=s,!e&&s||(s="error",e<0&&(e=0))),x.status=e,x.statusText=(t||s)+"",i?m.resolveWith(h,[o,s,x]):m.rejectWith(h,[x,s,r]),x.statusCode(y),y=void 0,p&&g.trigger(i?"ajaxSuccess":"ajaxError",[x,f,i?o:r]),v.fireWith(h,[x,s]),p&&(g.trigger("ajaxComplete",[x,f]),--T.active||T.event.trigger("ajaxStop")))}return x},getJSON:function(e,t,n){return T.get(e,t,n,"json")},getScript:function(e,t){return T.get(e,void 0,t,"script")}}),T.each(["get","post"],function(e,o){T[o]=function(e,t,n,i){return T.isFunction(t)&&(i=i||n,n=t,t=void 0),T.ajax(T.extend({url:e,type:o,dataType:i,data:t,success:n},T.isPlainObject(e)&&e))}}),T._evalUrl=function(e){return T.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},T.fn.extend({wrapAll:function(t){var e;return T.isFunction(t)?this.each(function(e){T(this).wrapAll(t.call(this,e))}):(this[0]&&(e=T(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this)},wrapInner:function(n){return T.isFunction(n)?this.each(function(e){T(this).wrapInner(n.call(this,e))}):this.each(function(){var e=T(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=T.isFunction(t);return this.each(function(e){T(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(){return this.parent().each(function(){T.nodeName(this,"body")||T(this).replaceWith(this.childNodes)}).end()}}),T.expr.filters.hidden=function(e){return!T.expr.filters.visible(e)},T.expr.filters.visible=function(e){return 0<e.offsetWidth||0<e.offsetHeight||0<e.getClientRects().length};var Et=/%20/g,Pt=/\[\]$/,At=/\r?\n/g,Ot=/^(?:submit|button|image|reset|file)$/i,qt=/^(?:input|select|textarea|keygen)/i;T.param=function(e,t){function n(e,t){t=T.isFunction(t)?t():null==t?"":t,o[o.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)}var i,o=[];if(void 0===t&&(t=T.ajaxSettings&&T.ajaxSettings.traditional),T.isArray(e)||e.jquery&&!T.isPlainObject(e))T.each(e,function(){n(this.name,this.value)});else for(i in e)!function n(i,e,o,r){if(T.isArray(e))T.each(e,function(e,t){o||Pt.test(i)?r(i,t):n(i+"["+("object"==typeof t&&null!=t?e:"")+"]",t,o,r)});else if(o||"object"!==T.type(e))r(i,e);else for(var t in e)n(i+"["+t+"]",e[t],o,r)}(i,e[i],t,n);return o.join("&").replace(Et,"+")},T.fn.extend({serialize:function(){return T.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=T.prop(this,"elements");return e?T.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!T(this).is(":disabled")&&qt.test(this.nodeName)&&!Ot.test(e)&&(this.checked||!le.test(e))}).map(function(e,t){var n=T(this).val();return null==n?null:T.isArray(n)?T.map(n,function(e){return{name:t.name,value:e.replace(At,"\r\n")}}):{name:t.name,value:n.replace(At,"\r\n")}}).get()}}),T.ajaxSettings.xhr=function(){try{return new w.XMLHttpRequest}catch(e){}};var jt={0:200,1223:204},L=T.ajaxSettings.xhr(),Dt=(g.cors=!!L&&"withCredentials"in L,g.ajax=L=!!L,T.ajaxTransport(function(o){var r,a;return g.cors||L&&!o.crossDomain?{send:function(e,t){var n,i=o.xhr();if(i.open(o.type,o.url,o.async,o.username,o.password),o.xhrFields)for(n in o.xhrFields)i[n]=o.xhrFields[n];for(n in o.mimeType&&i.overrideMimeType&&i.overrideMimeType(o.mimeType),o.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)i.setRequestHeader(n,e[n]);r=function(e){return function(){r&&(r=a=i.onload=i.onerror=i.onabort=i.onreadystatechange=null,"abort"===e?i.abort():"error"===e?"number"!=typeof i.status?t(0,"error"):t(i.status,i.statusText):t(jt[i.status]||i.status,i.statusText,"text"!==(i.responseType||"text")||"string"!=typeof i.responseText?{binary:i.response}:{text:i.responseText},i.getAllResponseHeaders()))}},i.onload=r(),a=i.onerror=r("error"),void 0!==i.onabort?i.onabort=a:i.onreadystatechange=function(){4===i.readyState&&w.setTimeout(function(){r&&a()})},r=r("abort");try{i.send(o.hasContent&&o.data||null)}catch(e){if(r)throw e}},abort:function(){r&&r()}}:void 0}),T.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return T.globalEval(e),e}}}),T.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),T.ajaxTransport("script",function(n){var i,o;if(n.crossDomain)return{send:function(e,t){i=T("<script>").prop({charset:n.scriptCharset,src:n.url}).on("load error",o=function(e){i.remove(),o=null,e&&t("error"===e.type?404:200,e.type)}),C.head.appendChild(i[0])},abort:function(){o&&o()}}}),[]),Nt=/(=)\?(?=&|$)|\?\?/,It=(T.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Dt.pop()||T.expando+"_"+pt++;return this[e]=!0,e}}),T.ajaxPrefilter("json jsonp",function(e,t,n){var i,o,r,a=!1!==e.jsonp&&(Nt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Nt.test(e.data)&&"data");return a||"jsonp"===e.dataTypes[0]?(i=e.jsonpCallback=T.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Nt,"$1"+i):!1!==e.jsonp&&(e.url+=(ft.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return r||T.error(i+" was not called"),r[0]},e.dataTypes[0]="json",o=w[i],w[i]=function(){r=arguments},n.always(function(){void 0===o?T(w).removeProp(i):w[i]=o,e[i]&&(e.jsonpCallback=t.jsonpCallback,Dt.push(i)),r&&T.isFunction(o)&&o(r[0]),r=o=void 0}),"script"):void 0}),T.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||C;var i=Y.exec(e),n=!n&&[];return i?[t.createElement(i[1])]:(i=fe([e],t,n),n&&n.length&&T(n).remove(),T.merge([],i.childNodes))},T.fn.load);function Lt(e){return T.isWindow(e)?e:9===e.nodeType&&e.defaultView}T.fn.load=function(e,t,n){if("string"!=typeof e&&It)return It.apply(this,arguments);var i,o,r,a=this,s=e.indexOf(" ");return-1<s&&(i=T.trim(e.slice(s)),e=e.slice(0,s)),T.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),0<a.length&&T.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done(function(e){r=arguments,a.html(i?T("<div>").append(T.parseHTML(e)).find(i):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,r||[e.responseText,t,e])})}),this},T.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){T.fn[t]=function(e){return this.on(t,e)}}),T.expr.filters.animated=function(t){return T.grep(T.timers,function(e){return t===e.elem}).length},T.offset={setOffset:function(e,t,n){var i,o,r,a,s=T.css(e,"position"),l=T(e),c={};"static"===s&&(e.style.position="relative"),r=l.offset(),i=T.css(e,"top"),a=T.css(e,"left"),s=("absolute"===s||"fixed"===s)&&-1<(i+a).indexOf("auto")?(o=(s=l.position()).top,s.left):(o=parseFloat(i)||0,parseFloat(a)||0),null!=(t=T.isFunction(t)?t.call(e,n,T.extend({},r)):t).top&&(c.top=t.top-r.top+o),null!=t.left&&(c.left=t.left-r.left+s),"using"in t?t.using.call(e,c):l.css(c)}},T.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){T.offset.setOffset(this,t,e)});var e,n=this[0],i={top:0,left:0},o=n&&n.ownerDocument;return o?(e=o.documentElement,T.contains(e,n)?(i=n.getBoundingClientRect(),n=Lt(o),{top:i.top+n.pageYOffset-e.clientTop,left:i.left+n.pageXOffset-e.clientLeft}):i):void 0},position:function(){var e,t,n,i;if(this[0])return n=this[0],i={top:0,left:0},"fixed"===T.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),(i=T.nodeName(e[0],"html")?i:e.offset()).top+=T.css(e[0],"borderTopWidth",!0),i.left+=T.css(e[0],"borderLeftWidth",!0)),{top:t.top-i.top-T.css(n,"marginTop",!0),left:t.left-i.left-T.css(n,"marginLeft",!0)}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===T.css(e,"position");)e=e.offsetParent;return e||E})}}),T.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,o){var r="pageYOffset"===o;T.fn[t]=function(e){return d(this,function(e,t,n){var i=Lt(e);return void 0===n?i?i[o]:e[t]:void(i?i.scrollTo(r?i.pageXOffset:n,r?n:i.pageYOffset):e[t]=n)},t,e,arguments.length)}}),T.each(["top","left"],function(e,n){T.cssHooks[n]=Re(g.pixelPosition,function(e,t){return t?(t=P(e,n),$e.test(t)?T(e).position()[n]+"px":t):void 0})}),T.each({Height:"height",Width:"width"},function(r,a){T.each({padding:"inner"+r,content:a,"":"outer"+r},function(i,e){T.fn[e]=function(e,t){var n=arguments.length&&(i||"boolean"!=typeof e),o=i||(!0===e||!0===t?"margin":"border");return d(this,function(e,t,n){var i;return T.isWindow(e)?e.document.documentElement["client"+r]:9===e.nodeType?(i=e.documentElement,Math.max(e.body["scroll"+r],i["scroll"+r],e.body["offset"+r],i["offset"+r],i["client"+r])):void 0===n?T.css(e,t,o):T.style(e,t,n,o)},a,n?e:void 0,n,null)}})}),T.fn.extend({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,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},size:function(){return this.length}}),T.fn.andSelf=T.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return T});var Mt=w.jQuery,Ht=w.$;return T.noConflict=function(e){return w.$===T&&(w.$=Ht),e&&w.jQuery===T&&(w.jQuery=Mt),T},M||(w.jQuery=w.$=T),T}),void 0===jQuery&&(jQuery="function"==typeof require?$=require("jquery"):$),jQuery.easing.jswing=jQuery.easing.swing,jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(e,t,n,i,o){return jQuery.easing[jQuery.easing.def](e,t,n,i,o)},easeInQuad:function(e,t,n,i,o){return i*(t/=o)*t+n},easeOutQuad:function(e,t,n,i,o){return-i*(t/=o)*(t-2)+n},easeInOutQuad:function(e,t,n,i,o){return(t/=o/2)<1?i/2*t*t+n:-i/2*(--t*(t-2)-1)+n},easeInCubic:function(e,t,n,i,o){return i*(t/=o)*t*t+n},easeOutCubic:function(e,t,n,i,o){return i*((t=t/o-1)*t*t+1)+n},easeInOutCubic:function(e,t,n,i,o){return(t/=o/2)<1?i/2*t*t*t+n:i/2*((t-=2)*t*t+2)+n},easeInQuart:function(e,t,n,i,o){return i*(t/=o)*t*t*t+n},easeOutQuart:function(e,t,n,i,o){return-i*((t=t/o-1)*t*t*t-1)+n},easeInOutQuart:function(e,t,n,i,o){return(t/=o/2)<1?i/2*t*t*t*t+n:-i/2*((t-=2)*t*t*t-2)+n},easeInQuint:function(e,t,n,i,o){return i*(t/=o)*t*t*t*t+n},easeOutQuint:function(e,t,n,i,o){return i*((t=t/o-1)*t*t*t*t+1)+n},easeInOutQuint:function(e,t,n,i,o){return(t/=o/2)<1?i/2*t*t*t*t*t+n:i/2*((t-=2)*t*t*t*t+2)+n},easeInSine:function(e,t,n,i,o){return-i*Math.cos(t/o*(Math.PI/2))+i+n},easeOutSine:function(e,t,n,i,o){return i*Math.sin(t/o*(Math.PI/2))+n},easeInOutSine:function(e,t,n,i,o){return-i/2*(Math.cos(Math.PI*t/o)-1)+n},easeInExpo:function(e,t,n,i,o){return 0==t?n:i*Math.pow(2,10*(t/o-1))+n},easeOutExpo:function(e,t,n,i,o){return t==o?n+i:i*(1-Math.pow(2,-10*t/o))+n},easeInOutExpo:function(e,t,n,i,o){return 0==t?n:t==o?n+i:(t/=o/2)<1?i/2*Math.pow(2,10*(t-1))+n:i/2*(2-Math.pow(2,-10*--t))+n},easeInCirc:function(e,t,n,i,o){return-i*(Math.sqrt(1-(t/=o)*t)-1)+n},easeOutCirc:function(e,t,n,i,o){return i*Math.sqrt(1-(t=t/o-1)*t)+n},easeInOutCirc:function(e,t,n,i,o){return(t/=o/2)<1?-i/2*(Math.sqrt(1-t*t)-1)+n:i/2*(Math.sqrt(1-(t-=2)*t)+1)+n},easeInElastic:function(e,t,n,i,o){var r=1.70158,a=0,s=i;return 0==t?n:1==(t/=o)?n+i:(a=a||.3*o,r=s<Math.abs(i)?(s=i,a/4):a/(2*Math.PI)*Math.asin(i/s),-(s*Math.pow(2,10*--t)*Math.sin((t*o-r)*(2*Math.PI)/a))+n)},easeOutElastic:function(e,t,n,i,o){var r=1.70158,a=0,s=i;return 0==t?n:1==(t/=o)?n+i:(a=a||.3*o,r=s<Math.abs(i)?(s=i,a/4):a/(2*Math.PI)*Math.asin(i/s),s*Math.pow(2,-10*t)*Math.sin((t*o-r)*(2*Math.PI)/a)+i+n)},easeInOutElastic:function(e,t,n,i,o){var r=1.70158,a=0,s=i;return 0==t?n:2==(t/=o/2)?n+i:(a=a||o*(.3*1.5),r=s<Math.abs(i)?(s=i,a/4):a/(2*Math.PI)*Math.asin(i/s),t<1?s*Math.pow(2,10*--t)*Math.sin((t*o-r)*(2*Math.PI)/a)*-.5+n:s*Math.pow(2,-10*--t)*Math.sin((t*o-r)*(2*Math.PI)/a)*.5+i+n)},easeInBack:function(e,t,n,i,o,r){return i*(t/=o)*t*(((r=null==r?1.70158:r)+1)*t-r)+n},easeOutBack:function(e,t,n,i,o,r){return i*((t=t/o-1)*t*(((r=null==r?1.70158:r)+1)*t+r)+1)+n},easeInOutBack:function(e,t,n,i,o,r){return null==r&&(r=1.70158),(t/=o/2)<1?i/2*(t*t*((1+(r*=1.525))*t-r))+n:i/2*((t-=2)*t*((1+(r*=1.525))*t+r)+2)+n},easeInBounce:function(e,t,n,i,o){return i-jQuery.easing.easeOutBounce(e,o-t,0,i,o)+n},easeOutBounce:function(e,t,n,i,o){return(t/=o)<1/2.75?i*(7.5625*t*t)+n:t<2/2.75?i*(7.5625*(t-=1.5/2.75)*t+.75)+n:t<2.5/2.75?i*(7.5625*(t-=2.25/2.75)*t+.9375)+n:i*(7.5625*(t-=2.625/2.75)*t+.984375)+n},easeInOutBounce:function(e,t,n,i,o){return t<o/2?.5*jQuery.easing.easeInBounce(e,2*t,0,i,o)+n:.5*jQuery.easing.easeOutBounce(e,2*t-o,0,i,o)+.5*i+n}}),jQuery.extend(jQuery.easing,{easeInOutMaterial:function(e,t,n,i,o){return(t/=o/2)<1?i/2*t*t+n:i/4*((t-=2)*t*t+2)+n}}),jQuery.Velocity?console.log("Velocity is already loaded. You may be needlessly importing Velocity again; note that Materialize includes Velocity."):(function(t){function s(e){var t=e.length,n=c.type(e);return"function"!==n&&!c.isWindow(e)&&(!(1!==e.nodeType||!t)||("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e))}if(!t.jQuery){function c(e,t){return new c.fn.init(e,t)}c.isWindow=function(e){return null!=e&&e==e.window},c.type=function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e},c.isArray=Array.isArray||function(e){return"array"===c.type(e)},c.isPlainObject=function(e){if(!e||"object"!==c.type(e)||e.nodeType||c.isWindow(e))return!1;try{if(e.constructor&&!i.call(e,"constructor")&&!i.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(e){return!1}for(var t in e);return void 0===t||i.call(e,t)},c.each=function(e,t,n){var i,o=0,r=e.length,a=s(e);if(n){if(a)for(;o<r&&!1!==(i=t.apply(e[o],n));o++);else for(o in e)if(i=t.apply(e[o],n),!1===i)break}else if(a)for(;o<r&&!1!==(i=t.call(e[o],o,e[o]));o++);else for(o in e)if(i=t.call(e[o],o,e[o]),!1===i)break;return e},c.data=function(e,t,n){var i,o;return void 0===n?(i=(o=e[c.expando])&&r[o],void 0===t?i:i&&t in i?i[t]:void 0):void 0!==t?(o=e[c.expando]||(e[c.expando]=++c.uuid),r[o]=r[o]||{},r[o][t]=n):void 0},c.removeData=function(e,t){var e=e[c.expando],n=e&&r[e];n&&c.each(t,function(e,t){delete n[t]})},c.extend=function(){var e,t,n,i,o,r=arguments[0]||{},a=1,s=arguments.length,l=!1;for("boolean"==typeof r&&(l=r,r=arguments[a]||{},a++),"object"!=typeof r&&"function"!==c.type(r)&&(r={}),a===s&&(r=this,a--);a<s;a++)if(null!=(i=arguments[a]))for(n in i)o=r[n],t=i[n],r!==t&&(l&&t&&(c.isPlainObject(t)||(e=c.isArray(t)))?(o=e?(e=!1,o&&c.isArray(o)?o:[]):o&&c.isPlainObject(o)?o:{},r[n]=c.extend(l,o,t)):void 0!==t&&(r[n]=t));return r},c.queue=function(e,t,n){var i;if(e)return i=c.data(e,t=(t||"fx")+"queue"),n?(!i||c.isArray(n)?i=c.data(e,t,function(e,t){if(t=t||[],null!=e)if(s(Object(e))){for(var n=t,i="string"==typeof e?[e]:e,o=+i.length,r=0,a=n.length;r<o;)n[a++]=i[r++];if(o!=o)for(;void 0!==i[r];)n[a++]=i[r++];n.length=a}else[].push.call(t,e);return t}(n)):i.push(n),i):i||[]},c.dequeue=function(e,o){c.each(e.nodeType?[e]:e,function(e,t){o=o||"fx";var n=c.queue(t,o),i=n.shift();(i="inprogress"===i?n.shift():i)&&("fx"===o&&n.unshift("inprogress"),i.call(t,function(){c.dequeue(t,o)}))})},c.fn=c.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(){function e(){for(var e=this.offsetParent||document;e&&"html"===!e.nodeType.toLowerCase&&"static"===e.style.position;)e=e.offsetParent;return e||document}var t=this[0],e=e.apply(t),n=this.offset(),i=/^(?:body|html)$/i.test(e.nodeName)?{top:0,left:0}:c(e).offset();return n.top-=parseFloat(t.style.marginTop)||0,n.left-=parseFloat(t.style.marginLeft)||0,e.style&&(i.top+=parseFloat(e.style.borderTopWidth)||0,i.left+=parseFloat(e.style.borderLeftWidth)||0),{top:n.top-i.top,left:n.left-i.left}}};var r={};c.expando="velocity"+(new Date).getTime(),c.uuid=0;for(var n={},i=n.hasOwnProperty,o=n.toString,e="Boolean Number String Function Array Date RegExp Object Error".split(" "),a=0;a<e.length;a++)n["[object "+e[a]+"]"]=e[a].toLowerCase();c.fn.init.prototype=c.fn,t.Velocity={Utilities:c}}}(window),function(e){"object"==typeof module&&"object"==typeof module.exports?module.exports=e():"function"==typeof define&&define.amd?define(e):e()}(function(){var e=window.jQuery||window.Zepto||window,L=window,M=document,H=void 0;function g(e){return V.isWrapped(e)?e=[].slice.call(e):V.isNode(e)&&(e=[e]),e}function _(e){e=z.data(e,"velocity");return null===e?H:e}function i(m,t,v,n){function i(e,t){return 1-3*t+3*e}function y(e,t,n){return((i(t,n)*e+(3*n-6*t))*e+3*t)*e}function b(e,t,n){return 3*i(t,n)*e*e+2*(3*n-6*t)*e+3*t}function o(e){for(var t=0,n=1,i=k-1;n!=i&&E[n]<=e;++n)t+=S;var o=t+(e-E[--n])/(E[n+1]-E[n])*S,r=b(o,m,v);if(w<=r){for(var a=e,s=o,l=0;l<x;++l){var c=b(s,m,v);if(0===c)return s;s-=(y(s,m,v)-a)/c}return s}if(0==r)return o;for(var u,d,p=e,f=t,h=t+S,g=0;0<(u=y(d=f+(h-f)/2,m,v)-p)?h=d:f=d,Math.abs(u)>C&&++g<T;);return d}function r(){if(l=!0,m!=t||v!=n)for(var e=0;e<k;++e)E[e]=y(e*S,m,v)}var x=4,w=.001,C=1e-7,T=10,k=11,S=1/(k-1),e="Float32Array"in L;if(4!==arguments.length)return!1;for(var a=0;a<4;++a)if("number"!=typeof arguments[a]||isNaN(arguments[a])||!isFinite(arguments[a]))return!1;m=Math.min(m,1),v=Math.min(v,1),m=Math.max(m,0),v=Math.max(v,0);function s(e){return l||r(),m===t&&v===n?e:0===e?0:1===e?1:y(o(e),t,n)}var E=new(e?Float32Array:Array)(k),l=!1,c=(s.getControlPoints=function(){return[{x:m,y:t},{x:v,y:n}]},"generateBezier("+[m,t,v,n]+")");return s.toString=function(){return c},s}function F(e,t){var n=e;return V.isString(e)?W.Easings[e]||(n=!1):n=V.isArray(e)&&1===e.length?function(t){return function(e){return Math.round(e*t)*(1/t)}}.apply(null,e):V.isArray(e)&&2===e.length?a.apply(null,e.concat([t])):!(!V.isArray(e)||4!==e.length)&&i.apply(null,e),n=!1===n?W.Easings[W.defaults.easing]?W.defaults.easing:r:n}function $(e){if(e){var t=(new Date).getTime(),n=W.State.calls.length;1e4<n&&(W.State.calls=function(e){for(var t=-1,n=e?e.length:0,i=[];++t<n;){var o=e[t];o&&i.push(o)}return i}(W.State.calls));for(var i=0;i<n;i++)if(W.State.calls[i]){for(var o=W.State.calls[i],r=o[0],a=o[2],s=!!(c=o[3]),l=null,c=c||(W.State.calls[i][3]=t-16),u=Math.min((t-c)/a.duration,1),d=0,p=r.length;d<p;d++){var f=r[d],h=f.element;if(_(h)){var g,m=!1;for(g in a.display!==H&&null!==a.display&&"none"!==a.display&&("flex"===a.display&&z.each(["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex"],function(e,t){R.setPropertyValue(h,"display",t)}),R.setPropertyValue(h,"display",a.display)),a.visibility!==H&&"hidden"!==a.visibility&&R.setPropertyValue(h,"visibility",a.visibility),f)if("element"!==g){var v,y=f[g],b=V.isString(y.easing)?W.Easings[y.easing]:y.easing;if(1===u)w=y.endValue;else{var x=y.endValue-y.startValue,w=y.startValue+x*b(u,a,x);if(!s&&w===y.currentValue)continue}y.currentValue=w,"tween"===g?l=w:(R.Hooks.registered[g]&&(v=R.Hooks.getRoot(g),(b=_(h).rootPropertyValueCache[v])&&(y.rootPropertyValue=b)),x=R.setPropertyValue(h,g,y.currentValue+(0===parseFloat(w)?"":y.unitType),y.rootPropertyValue,y.scrollData),R.Hooks.registered[g]&&(_(h).rootPropertyValueCache[v]=R.Normalizations.registered[v]?R.Normalizations.registered[v]("extract",null,x[1]):x[1]),"transform"===x[0]&&(m=!0))}a.mobileHA&&_(h).transformCache.translate3d===H&&(_(h).transformCache.translate3d="(0px, 0px, 0px)",m=!0),m&&R.flushTransformCache(h)}}a.display!==H&&"none"!==a.display&&(W.State.calls[i][2].display=!1),a.visibility!==H&&"hidden"!==a.visibility&&(W.State.calls[i][2].visibility=!1),a.progress&&a.progress.call(o[1],o[1],u,Math.max(0,c+a.duration-t),c,l),1===u&&C(i)}}W.State.isTicking&&T($)}function C(e,t){if(W.State.calls[e]){for(var n=W.State.calls[e][0],i=W.State.calls[e][1],o=W.State.calls[e][2],r=W.State.calls[e][4],a=!1,s=0,l=n.length;s<l;s++){var c,u=n[s].element;if(t||o.loop||("none"===o.display&&R.setPropertyValue(u,"display",o.display),"hidden"===o.visibility&&R.setPropertyValue(u,"visibility",o.visibility)),!0===o.loop||z.queue(u)[1]!==H&&/\.velocityQueueEntryFlag/i.test(z.queue(u)[1])||!_(u)||(_(u).isAnimating=!1,c=!(_(u).rootPropertyValueCache={}),z.each(R.Lists.transforms3D,function(e,t){var n=/^scale/.test(t)?1:0,i=_(u).transformCache[t];_(u).transformCache[t]!==H&&new RegExp("^\\("+n+"[^.]").test(i)&&(c=!0,delete _(u).transformCache[t])}),o.mobileHA&&(c=!0,delete _(u).transformCache.translate3d),c&&R.flushTransformCache(u),R.Values.removeClass(u,"velocity-animating")),!t&&o.complete&&!o.loop&&s===l-1)try{o.complete.call(i,i)}catch(e){setTimeout(function(){throw e},1)}r&&!0!==o.loop&&r(i),_(u)&&!0===o.loop&&!t&&(z.each(_(u).tweensContainer,function(e,t){/^rotate/.test(e)&&360===parseFloat(t.endValue)&&(t.endValue=0,t.startValue=360),/^backgroundPosition/.test(e)&&100===parseFloat(t.endValue)&&"%"===t.unitType&&(t.endValue=0,t.startValue=100)}),W(u,"reverse",{loop:!0,delay:o.delay})),!1!==o.queue&&z.dequeue(u,o.queue)}W.State.calls[e]=!1;for(var d=0,p=W.State.calls.length;d<p;d++)if(!1!==W.State.calls[d]){a=!0;break}!1===a&&(W.State.isTicking=!1,delete W.State.calls,W.State.calls=[])}}var z,o,r,a,R,m,W,T,l=function(){if(M.documentMode)return M.documentMode;for(var e=7;4<e;e--){var t=M.createElement("div");if(t.innerHTML="\x3c!--[if IE "+e+"]><span></span><![endif]--\x3e",t.getElementsByTagName("span").length)return t=null,e}return H}(),t=(o=0,L.webkitRequestAnimationFrame||L.mozRequestAnimationFrame||function(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-o));return o=t+n,setTimeout(function(){e(t+n)},n)}),V={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},isNodeList:function(e){return"object"==typeof e&&/^\[object (HTMLCollection|NodeList|Object)\]$/.test(Object.prototype.toString.call(e))&&e.length!==H&&(0===e.length||"object"==typeof e[0]&&0<e[0].nodeType)},isWrapped:function(e){return e&&(e.jquery||L.Zepto&&L.Zepto.zepto.isZ(e))},isSVG:function(e){return L.SVGElement&&e instanceof L.SVGElement},isEmptyObject:function(e){for(var t in e)return!1;return!0}},n=!1;if(e.fn&&e.fn.jquery?(z=e,n=!0):z=L.Velocity.Utilities,l<=8&&!n)throw new Error("Velocity: IE8 and below require jQuery to be loaded before Velocity.");if(!(l<=7))return r="swing",W={State:{isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),isAndroid:/Android/i.test(navigator.userAgent),isGingerbread:/Android 2\.3\.[3-7]/i.test(navigator.userAgent),isChrome:L.chrome,isFirefox:/Firefox/i.test(navigator.userAgent),prefixElement:M.createElement("div"),prefixMatches:{},scrollAnchor:null,scrollPropertyLeft:null,scrollPropertyTop:null,isTicking:!1,calls:[]},CSS:{},Utilities:z,Redirects:{},Easings:{},Promise:L.Promise,defaults:{queue:"",duration:400,easing:r,begin:H,complete:H,progress:H,display:H,visibility:H,loop:!1,delay:!1,mobileHA:!0,_cacheValues:!0},init:function(e){z.data(e,"velocity",{isSVG:V.isSVG(e),isAnimating:!1,computedStyle:null,tweensContainer:null,rootPropertyValueCache:{},transformCache:{}})},hook:null,mock:!1,version:{major:1,minor:2,patch:2},debug:!1},L.pageYOffset!==H?(W.State.scrollAnchor=L,W.State.scrollPropertyLeft="pageXOffset",W.State.scrollPropertyTop="pageYOffset"):(W.State.scrollAnchor=M.documentElement||M.body.parentNode||M.body,W.State.scrollPropertyLeft="scrollLeft",W.State.scrollPropertyTop="scrollTop"),a=function e(t,n,i){var o,r,a,s,l,c,u,d,p,f,h={x:-1,v:0,tension:null,friction:null},g=[0],m=0;for(t=parseFloat(t)||500,n=parseFloat(n)||20,i=i||null,h.tension=t,h.friction=n,r=(o=null!==i)?(m=e(t,n))/i*.016:.016;l=r,c=f=p=d=u=c=void 0,c={dx:(s=a||h).v,dv:v(s)},u=y(s,.5*l,c),d=y(s,.5*l,u),p=y(s,l,d),f=1/6*(c.dx+2*(u.dx+d.dx)+p.dx),c=1/6*(c.dv+2*(u.dv+d.dv)+p.dv),s.x=s.x+f*l,s.v=s.v+c*l,a=s,g.push(1+a.x),m+=16,1e-4<Math.abs(a.x)&&1e-4<Math.abs(a.v););return o?function(e){return g[e*(g.length-1)|0]}:m},W.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)}},z.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){W.Easings[t[0]]=i.apply(null,t[1])}),(R=W.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"]},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,t=0;t<R.Lists.colors.length;t++){var n="color"===R.Lists.colors[t]?"0 0 0 1":"255 255 255 1";R.Hooks.templates[R.Lists.colors[t]]=["Red Green Blue Alpha",n]}if(l)for(e in R.Hooks.templates){var i,o=(i=R.Hooks.templates[e])[0].split(" "),r=i[1].match(R.RegEx.valueSplit);"Color"===o[0]&&(o.push(o.shift()),r.push(r.shift()),R.Hooks.templates[e]=[o.join(" "),r.join(" ")])}for(e in R.Hooks.templates)for(var t in o=(i=R.Hooks.templates[e])[0].split(" ")){var a=e+o[t],s=t;R.Hooks.registered[a]=[e,s]}},getRoot:function(e){var t=R.Hooks.registered[e];return t?t[0]:e},cleanRootPropertyValue:function(e,t){return R.RegEx.valueUnwrap.test(t)&&(t=t.match(R.RegEx.valueUnwrap)[1]),t=R.Values.isCSSNullValue(t)?R.Hooks.templates[e][1]:t},extractValue:function(e,t){var n,e=R.Hooks.registered[e];return e?(n=e[0],e=e[1],(t=R.Hooks.cleanRootPropertyValue(n,t)).toString().match(R.RegEx.valueSplit)[e]):t},injectValue:function(e,t,n){var i,e=R.Hooks.registered[e];return e?(i=e[0],e=e[1],(i=(n=R.Hooks.cleanRootPropertyValue(i,n)).toString().match(R.RegEx.valueSplit))[e]=t,i.join(" ")):n}},Normalizations:{registered:{clip:function(e,t,n){switch(e){case"name":return"clip";case"extract":var i=R.RegEx.wrappedValueAlreadyExtracted.test(n)?n:(i=n.toString().match(R.RegEx.valueUnwrap))?i[1].replace(/,(\s+)?/g," "):n;return i;case"inject":return"rect("+n+")"}},blur:function(e,t,n){switch(e){case"name":return W.State.isFirefox?"filter":"-webkit-filter";case"extract":var i,o=parseFloat(n);return o=o||0===o?o:(i=n.toString().match(/blur\(([0-9]+[A-z]+)\)/i))?i[1]:0;case"inject":return parseFloat(n)?"blur("+n+")":"none"}},opacity:function(e,t,n){if(l<=8)switch(e){case"name":return"filter";case"extract":var i=n.toString().match(/alpha\(opacity=(.*)\)/i);return i?i[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(){l<=9||W.State.isGingerbread||(R.Lists.transformsBase=R.Lists.transformsBase.concat(R.Lists.transforms3D));for(var e=0;e<R.Lists.transformsBase.length;e++)!function(){var o=R.Lists.transformsBase[e];R.Normalizations.registered[o]=function(e,t,n){switch(e){case"name":return"transform";case"extract":return _(t)===H||_(t).transformCache[o]===H?/^scale/i.test(o)?1:0:_(t).transformCache[o].replace(/[()]/g,"");case"inject":var i=!1;switch(o.substr(0,o.length-1)){case"translate":i=!/(%|px|em|rem|vw|vh|\d)$/i.test(n);break;case"scal":case"scale":W.State.isAndroid&&_(t).transformCache[o]===H&&n<1&&(n=1),i=!/(\d)$/i.test(n);break;case"skew":case"rotate":i=!/(deg|\d)$/i.test(n)}return i||(_(t).transformCache[o]="("+n+")"),_(t).transformCache[o]}}}();for(e=0;e<R.Lists.colors.length;e++)!function(){var r=R.Lists.colors[e];R.Normalizations.registered[r]=function(e,t,n){switch(e){case"name":return r;case"extract":var i,o=R.RegEx.wrappedValueAlreadyExtracted.test(n)?n:(o={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)?i=o[n]!==H?o[n]:o.black:R.RegEx.isHex.test(n)?i="rgb("+R.Values.hexToRgb(n).join(" ")+")":/^rgba?\(/i.test(n)||(i=o.black),(i||n).toString().match(R.RegEx.valueUnwrap)[1].replace(/,(\s+)?/g," "));return l<=8||3!==o.split(" ").length||(o+=" 1"),o;case"inject":return l<=8?4===n.split(" ").length&&(n=n.split(/\s+/).slice(0,3).join(" ")):3===n.split(" ").length&&(n+=" 1"),(l<=8?"rgb":"rgba")+"("+n.replace(/\s+/g,",").replace(/\.(\d)+(?=,)/g,"")+")"}}}()}},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(l||W.State.isAndroid&&!W.State.isChrome)&&(t+="|transform"),new RegExp("^("+t+")$","i").test(e)},prefixCheck:function(e){if(W.State.prefixMatches[e])return[W.State.prefixMatches[e],!0];for(var t=["","Webkit","Moz","ms","O"],n=0,i=t.length;n<i;n++){var o=0===n?e:t[n]+e.replace(/^\w/,function(e){return e.toUpperCase()});if(V.isString(W.State.prefixElement.style[o]))return[W.State.prefixMatches[e]=o,!0]}return[e,!1]}},Values:{hexToRgb:function(e){return e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(e,t,n,i){return t+t+n+n+i+i}),(e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e))?[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]:[0,0,0]},isCSSNullValue:function(e){return 0==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){e=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(e)?"inline":/^(li)$/i.test(e)?"list-item":/^(tr)$/i.test(e)?"table-row":/^(table)$/i.test(e)?"table":/^(tbody)$/i.test(e)?"table-row-group":"block"},addClass:function(e,t){e.classList?e.classList.add(t):e.className+=(e.className.length?" ":"")+t},removeClass:function(e,t){e.classList?e.classList.remove(t):e.className=e.className.toString().replace(new RegExp("(^|\\s)"+t.split(" ").join("|")+"(\\s|$)","gi")," ")}},getPropertyValue:function(e,t,n,a){function s(e,t){function n(){r&&R.setPropertyValue(e,"display","none")}var i=0;if(l<=8)i=z.css(e,t);else{var o,r=!1;if(/^(width|height)$/.test(t)&&0===R.getPropertyValue(e,"display")&&(r=!0,R.setPropertyValue(e,"display",R.Values.getDisplayType(e))),!a){if("height"===t&&"border-box"!==R.getPropertyValue(e,"boxSizing").toString().toLowerCase())return o=e.offsetHeight-(parseFloat(R.getPropertyValue(e,"borderTopWidth"))||0)-(parseFloat(R.getPropertyValue(e,"borderBottomWidth"))||0)-(parseFloat(R.getPropertyValue(e,"paddingTop"))||0)-(parseFloat(R.getPropertyValue(e,"paddingBottom"))||0),n(),o;if("width"===t&&"border-box"!==R.getPropertyValue(e,"boxSizing").toString().toLowerCase())return o=e.offsetWidth-(parseFloat(R.getPropertyValue(e,"borderLeftWidth"))||0)-(parseFloat(R.getPropertyValue(e,"borderRightWidth"))||0)-(parseFloat(R.getPropertyValue(e,"paddingLeft"))||0)-(parseFloat(R.getPropertyValue(e,"paddingRight"))||0),n(),o}o=_(e)===H?L.getComputedStyle(e,null):_(e).computedStyle?_(e).computedStyle:_(e).computedStyle=L.getComputedStyle(e,null),"borderColor"===t&&(t="borderTopColor"),""!==(i=9===l&&"filter"===t?o.getPropertyValue(t):o[t])&&null!==i||(i=e.style[t]),n()}return i="auto"===i&&/^(top|right|bottom|left)$/i.test(t)&&("fixed"===(o=s(e,"position"))||"absolute"===o&&/top|left/i.test(t))?z(e).position()[t]+"px":i}var i,o,r;if(R.Hooks.registered[t]?(i=R.Hooks.getRoot(r=t),n===H&&(n=R.getPropertyValue(e,R.Names.prefixCheck(i)[0])),R.Normalizations.registered[i]&&(n=R.Normalizations.registered[i]("extract",e,n)),i=R.Hooks.extractValue(r,n)):R.Normalizations.registered[t]&&("transform"!==(r=R.Normalizations.registered[t]("name",e))&&(o=s(e,R.Names.prefixCheck(r)[0]),R.Values.isCSSNullValue(o)&&R.Hooks.templates[t]&&(o=R.Hooks.templates[t][1])),i=R.Normalizations.registered[t]("extract",e,o)),!/^[\d-]/.test(i))if(_(e)&&_(e).isSVG&&R.Names.SVGAttribute(t))if(/^(height|width)$/i.test(t))try{i=e.getBBox()[t]}catch(e){i=0}else i=e.getAttribute(t);else i=s(e,R.Names.prefixCheck(t)[0]);return R.Values.isCSSNullValue(i)&&(i=0),2<=W.debug&&console.log("Get "+t+": "+i),i},setPropertyValue:function(e,t,n,i,o){var r,a=t;if("scroll"===t)o.container?o.container["scroll"+o.direction]=n:"Left"===o.direction?L.scrollTo(n,o.alternateValue):L.scrollTo(o.alternateValue,n);else if(R.Normalizations.registered[t]&&"transform"===R.Normalizations.registered[t]("name",e))R.Normalizations.registered[t]("inject",e,n),a="transform",n=_(e).transformCache[t];else{if(R.Hooks.registered[t]&&(o=t,r=R.Hooks.getRoot(t),i=i||R.getPropertyValue(e,r),n=R.Hooks.injectValue(o,n,i),t=r),R.Normalizations.registered[t]&&(n=R.Normalizations.registered[t]("inject",e,n),t=R.Normalizations.registered[t]("name",e)),a=R.Names.prefixCheck(t)[0],l<=8)try{e.style[a]=n}catch(e){W.debug&&console.log("Browser does not support ["+n+"] for ["+a+"]")}else _(e)&&_(e).isSVG&&R.Names.SVGAttribute(t)?e.setAttribute(t,n):e.style[a]=n;2<=W.debug&&console.log("Set "+t+" ("+a+"): "+n)}return[a,n]},flushTransformCache:function(t){function e(e){return parseFloat(R.getPropertyValue(t,e))}var n,i,o,r="";(l||W.State.isAndroid&&!W.State.isChrome)&&_(t).isSVG?(n={translate:[e("translateX"),e("translateY")],skewX:[e("skewX")],skewY:[e("skewY")],scale:1!==e("scale")?[e("scale"),e("scale")]:[e("scaleX"),e("scaleY")],rotate:[e("rotateZ"),0,0]},z.each(_(t).transformCache,function(e){/^translate/i.test(e)?e="translate":/^scale/i.test(e)?e="scale":/^rotate/i.test(e)&&(e="rotate"),n[e]&&(r+=e+"("+n[e].join(" ")+") ",delete n[e])})):(z.each(_(t).transformCache,function(e){return i=_(t).transformCache[e],"transformPerspective"===e?(o=i,!0):void(r+=(e=9===l&&"rotateZ"===e?"rotate":e)+i+" ")}),o&&(r="perspective"+o+" "+r)),R.setPropertyValue(t,"transform",r)}}).Hooks.register(),R.Normalizations.register(),W.hook=function(e,i,o){var r=H;return e=g(e),z.each(e,function(e,t){var n;_(t)===H&&W.init(t),o===H?r===H&&(r=W.CSS.getPropertyValue(t,i)):("transform"===(n=W.CSS.setPropertyValue(t,i,o))[0]&&W.CSS.flushTransformCache(t),r=n)}),r},(W=z.extend(m=function(){function e(){return t?D.promise||null:i}function n(){function n(e){function c(e,t){var n=H,i=H,o=H;return V.isArray(e)?(n=e[0],!V.isArray(e[1])&&/^[\d-]/.test(e[1])||V.isFunction(e[1])||R.RegEx.isHex.test(e[1])?o=e[1]:(V.isString(e[1])&&!R.RegEx.isHex.test(e[1])||V.isArray(e[1]))&&(i=t?e[1]:F(e[1],k.duration),e[2]!==H&&(o=e[2]))):n=e,t||(i=i||k.easing),[(n=V.isFunction(n)?n.call(T,O,A):n)||0,i,o=V.isFunction(o)?o.call(T,O,A):o]}function t(e,t){var t=(t||"0").toString().toLowerCase().replace(/[%A-z]+$/,function(e){return n=e,""}),n=n||R.Values.getUnitType(e);return[t,n]}if(k.begin&&0===O)try{k.begin.call(E,E)}catch(e){setTimeout(function(){throw e},1)}if("scroll"===j){var n,i,o,r=/^x$/i.test(k.axis)?"Left":"Top",a=parseFloat(k.offset)||0;k.container?V.isWrapped(k.container)||V.isNode(k.container)?(k.container=k.container[0]||k.container,o=(n=k.container["scroll"+r])+z(T).position()[r.toLowerCase()]+a):k.container=null:(n=W.State.scrollAnchor[W.State["scrollProperty"+r]],i=W.State.scrollAnchor[W.State["scrollProperty"+("Left"===r?"Top":"Left")]],o=z(T).offset()[r.toLowerCase()]+a),S={scroll:{rootPropertyValue:!1,startValue:n,currentValue:n,endValue:o,unitType:"",easing:k.easing,scrollData:{container:k.container,direction:r,alternateValue:i}},element:T},W.debug&&console.log("tweensContainer (scroll): ",S.scroll,T)}else if("reverse"===j){if(!_(T).tweensContainer)return void z.dequeue(T,k.queue);var s,l;for(s in"none"===_(T).opts.display&&(_(T).opts.display="auto"),"hidden"===_(T).opts.visibility&&(_(T).opts.visibility="visible"),_(T).opts.loop=!1,_(T).opts.begin=null,_(T).opts.complete=null,q.easing||delete k.easing,q.duration||delete k.duration,k=z.extend({},_(T).opts,k),u=z.extend(!0,{},_(T).tweensContainer))"element"!==s&&(l=u[s].startValue,u[s].startValue=u[s].currentValue=u[s].endValue,u[s].endValue=l,V.isEmptyObject(q)||(u[s].easing=k.easing),W.debug&&console.log("reverse tweensContainer ("+s+"): "+JSON.stringify(u[s]),T));S=u}else if("start"===j){var u;for(g in _(T).tweensContainer&&!0===_(T).isAnimating&&(u=_(T).tweensContainer),z.each(P,function(e,t){if(RegExp("^"+R.Lists.colors.join("$|^")+"$").test(e)){var t=c(t,!0),n=t[0],i=t[1],t=t[2];if(R.RegEx.isHex.test(n)){for(var o=["Red","Green","Blue"],r=R.Values.hexToRgb(n),a=t?R.Values.hexToRgb(t):H,s=0;s<o.length;s++){var l=[r[s]];i&&l.push(i),a!==H&&l.push(a[s]),P[e+o[s]]=l}delete P[e]}}}),P){var d=c(P[g]),p=d[0],f=d[1],h=d[2],g=R.Names.camelCase(g),d=R.Hooks.getRoot(g),m=!1;if(_(T).isSVG||"tween"===d||!1!==R.Names.prefixCheck(d)[1]||R.Normalizations.registered[d]!==H){(k.display!==H&&null!==k.display&&"none"!==k.display||k.visibility!==H&&"hidden"!==k.visibility)&&/opacity|filter/.test(g)&&!h&&0!==p&&(h=0),k._cacheValues&&u&&u[g]?(h===H&&(h=u[g].endValue+u[g].unitType),m=_(T).rootPropertyValueCache[d]):R.Hooks.registered[g]?h===H?(m=R.getPropertyValue(T,d),h=R.getPropertyValue(T,g,m)):m=R.Hooks.templates[d][1]:h===H&&(h=R.getPropertyValue(T,g));var v=!1,y=t(g,h),h=y[0],b=y[1],p=(y=t(g,p))[0].replace(/^([+-\/*])=/,function(e,t){return v=t,""}),x=y[1];if(h=parseFloat(h)||0,p=parseFloat(p)||0,"%"===x&&(/^(fontSize|lineHeight)$/.test(g)?(p/=100,x="em"):/^scale/.test(g)?(p/=100,x=""):/(Red|Green|Blue)$/i.test(g)&&(p=p/100*255,x="")),/[\/*]/.test(v))x=b;else if(b!==x&&0!==h)if(0===p)x=b;else{C=C||function(){var n,e={myParent:T.parentNode||M.body,position:R.getPropertyValue(T,"position"),fontSize:R.getPropertyValue(T,"fontSize")},t=e.position===N.lastPosition&&e.myParent===N.lastParent,i=e.fontSize===N.lastFontSize,o=(N.lastParent=e.myParent,N.lastPosition=e.position,N.lastFontSize=e.fontSize,{});return i&&t?(o.emToPx=N.lastEmToPx,o.percentToPxWidth=N.lastPercentToPxWidth,o.percentToPxHeight=N.lastPercentToPxHeight):(n=_(T).isSVG?M.createElementNS("http://www.w3.org/2000/svg","rect"):M.createElement("div"),W.init(n),e.myParent.appendChild(n),z.each(["overflow","overflowX","overflowY"],function(e,t){W.CSS.setPropertyValue(n,t,"hidden")}),W.CSS.setPropertyValue(n,"position",e.position),W.CSS.setPropertyValue(n,"fontSize",e.fontSize),W.CSS.setPropertyValue(n,"boxSizing","content-box"),z.each(["minWidth","maxWidth","width","minHeight","maxHeight","height"],function(e,t){W.CSS.setPropertyValue(n,t,"100%")}),W.CSS.setPropertyValue(n,"paddingLeft","100em"),o.percentToPxWidth=N.lastPercentToPxWidth=(parseFloat(R.getPropertyValue(n,"width",null,!0))||1)/100,o.percentToPxHeight=N.lastPercentToPxHeight=(parseFloat(R.getPropertyValue(n,"height",null,!0))||1)/100,o.emToPx=N.lastEmToPx=(parseFloat(R.getPropertyValue(n,"paddingLeft"))||1)/100,e.myParent.removeChild(n)),null===N.remToPx&&(N.remToPx=parseFloat(R.getPropertyValue(M.body,"fontSize"))||16),null===N.vwToPx&&(N.vwToPx=parseFloat(L.innerWidth)/100,N.vhToPx=parseFloat(L.innerHeight)/100),o.remToPx=N.remToPx,o.vwToPx=N.vwToPx,o.vhToPx=N.vhToPx,1<=W.debug&&console.log("Unit ratios: "+JSON.stringify(o),T),o}();var w=/margin|padding|left|right|width|text|word|letter/i.test(g)||/X$/.test(g)||"x"===g?"x":"y";switch(b){case"%":h*="x"==w?C.percentToPxWidth:C.percentToPxHeight;break;case"px":break;default:h*=C[b+"ToPx"]}switch(x){case"%":h*=1/("x"==w?C.percentToPxWidth:C.percentToPxHeight);break;case"px":break;default:h*=1/C[x+"ToPx"]}}switch(v){case"+":p=h+p;break;case"-":p=h-p;break;case"*":p*=h;break;case"/":p=h/p}S[g]={rootPropertyValue:m,startValue:h,currentValue:h,endValue:p,unitType:x,easing:f},W.debug&&console.log("tweensContainer ("+g+"): "+JSON.stringify(S[g]),T)}else W.debug&&console.log("Skipping ["+d+"] due to a lack of browser support.")}S.element=T}S.element&&(R.Values.addClass(T,"velocity-animating"),I.push(S),""===k.queue&&(_(T).tweensContainer=S,_(T).opts=k),_(T).isAnimating=!0,O===A-1?(W.State.calls.push([I,E,k,null,D.resolver]),!1===W.State.isTicking&&(W.State.isTicking=!0,$())):O++)}var C,T=this,k=z.extend({},W.defaults,q),S={};switch(_(T)===H&&W.init(T),parseFloat(k.delay)&&!1!==k.queue&&z.queue(T,k.queue,function(e){W.velocityQueueEntryFlag=!0,_(T).delayTimer={setTimeout:setTimeout(e,parseFloat(k.delay)),next:e}}),k.duration.toString().toLowerCase()){case"fast":k.duration=200;break;case"normal":k.duration=400;break;case"slow":k.duration=600;break;default:k.duration=parseFloat(k.duration)||1}!1!==W.mock&&(!0===W.mock?k.duration=k.delay=1:(k.duration*=parseFloat(W.mock)||1,k.delay*=parseFloat(W.mock)||1)),k.easing=F(k.easing,k.duration),k.begin&&!V.isFunction(k.begin)&&(k.begin=null),k.progress&&!V.isFunction(k.progress)&&(k.progress=null),k.complete&&!V.isFunction(k.complete)&&(k.complete=null),k.display!==H&&null!==k.display&&(k.display=k.display.toString().toLowerCase(),"auto"===k.display&&(k.display=W.CSS.Values.getDisplayType(T))),k.visibility!==H&&null!==k.visibility&&(k.visibility=k.visibility.toString().toLowerCase()),k.mobileHA=k.mobileHA&&W.State.isMobile&&!W.State.isGingerbread,!1===k.queue?k.delay?setTimeout(n,k.delay):n():z.queue(T,k.queue,function(e,t){return!0===t?(D.promise&&D.resolver(E),!0):(W.velocityQueueEntryFlag=!0,void n())}),""!==k.queue&&"fx"!==k.queue||"inprogress"===z.queue(T)[0]||z.dequeue(T)}var t,i,o,E,P,r=arguments[0]&&(arguments[0].p||z.isPlainObject(arguments[0].properties)&&!arguments[0].properties.names||V.isString(arguments[0].properties));if(V.isWrapped(this)?(t=!1,o=0,i=E=this):(t=!0,o=1,E=r?arguments[0].elements||arguments[0].e:arguments[0]),E=g(E)){q=r?(P=arguments[0].properties||arguments[0].p,arguments[0].options||arguments[0].o):(P=arguments[o],arguments[o+1]);var A=E.length,O=0;if(!/^(stop|finish)$/i.test(P)&&!z.isPlainObject(q))for(var q={},a=o+1;a<arguments.length;a++)V.isArray(arguments[a])||!/^(fast|normal|slow)$/i.test(arguments[a])&&!/^\d/.test(arguments[a])?V.isString(arguments[a])||V.isArray(arguments[a])?q.easing=arguments[a]:V.isFunction(arguments[a])&&(q.complete=arguments[a]):q.duration=arguments[a];var j,s,l,D={promise:null,resolver:null,rejecter:null};switch(t&&W.Promise&&(D.promise=new W.Promise(function(e,t){D.resolver=e,D.rejecter=t})),P){case"scroll":j="scroll";break;case"reverse":j="reverse";break;case"finish":case"stop":z.each(E,function(e,t){_(t)&&_(t).delayTimer&&(clearTimeout(_(t).delayTimer.setTimeout),_(t).delayTimer.next&&_(t).delayTimer.next(),delete _(t).delayTimer)});var c=[];return z.each(W.State.calls,function(o,r){r&&z.each(r[1],function(e,n){var i=q===H?"":q;return!0!==i&&r[2].queue!==i&&(q!==H||!1!==r[2].queue)||void z.each(E,function(e,t){t===n&&(!0!==q&&!V.isString(q)||(z.each(z.queue(t,V.isString(q)?q:""),function(e,t){V.isFunction(t)&&t(null,!0)}),z.queue(t,V.isString(q)?q:"",[])),"stop"===P?(_(t)&&_(t).tweensContainer&&!1!==i&&z.each(_(t).tweensContainer,function(e,t){t.endValue=t.currentValue}),c.push(o)):"finish"===P&&(r[2].duration=1))})})}),"stop"===P&&(z.each(c,function(e,t){C(t,!0)}),D.promise&&D.resolver(E)),e();default:if(!z.isPlainObject(P)||V.isEmptyObject(P)){if(V.isString(P)&&W.Redirects[P])return s=(p=z.extend({},q)).duration,l=p.delay||0,!0===p.backwards&&(E=z.extend(!0,[],E).reverse()),z.each(E,function(e,t){parseFloat(p.stagger)?p.delay=l+parseFloat(p.stagger)*e:V.isFunction(p.stagger)&&(p.delay=l+p.stagger.call(t,e,A)),p.drag&&(p.duration=parseFloat(s)||(/^(callout|transition)/.test(P)?1e3:400),p.duration=Math.max(p.duration*(p.backwards?1-e/A:(e+1)/A),.75*p.duration,200)),W.Redirects[P].call(t,t,p||{},e,A,E,D.promise?D:H)}),e();var u="Velocity: First argument ("+P+") was not a property map, a known action, or a registered redirect. Aborting.";return D.promise?D.rejecter(new Error(u)):console.log(u),e()}j="start"}var d,p,N={lastParent:null,lastPosition:null,lastFontSize:null,lastPercentToPxWidth:null,lastPercentToPxHeight:null,lastEmToPx:null,remToPx:null,vwToPx:null,vhToPx:null},I=[];if(z.each(E,function(e,t){V.isNode(t)&&n.call(t)}),(p=z.extend({},W.defaults,q)).loop=parseInt(p.loop),d=2*p.loop-1,p.loop)for(var f=0;f<d;f++){var h={delay:p.delay,progress:p.progress};f===d-1&&(h.display=p.display,h.visibility=p.visibility,h.complete=p.complete),m(E,"reverse",h)}return e()}},W)).animate=m,T=L.requestAnimationFrame||t,W.State.isMobile||M.hidden===H||M.addEventListener("visibilitychange",function(){M.hidden?(T=function(e){return setTimeout(function(){e(!0)},16)},$()):T=L.requestAnimationFrame||t}),e.Velocity=W,e!==L&&(e.fn.velocity=m,e.fn.velocity.defaults=W.defaults),z.each(["Down","Up"],function(e,u){W.Redirects["slide"+u]=function(n,e,t,i,o,r){var e=z.extend({},e),a=e.begin,s=e.complete,l={height:"",marginTop:"",marginBottom:"",paddingTop:"",paddingBottom:""},c={};e.display===H&&(e.display="Down"===u?"inline"===W.CSS.Values.getDisplayType(n)?"inline-block":"block":"none"),e.begin=function(){for(var e in a&&a.call(o,o),l){c[e]=n.style[e];var t=W.CSS.getPropertyValue(n,e);l[e]="Down"===u?[t,0]:[0,t]}c.overflow=n.style.overflow,n.style.overflow="hidden"},e.complete=function(){for(var e in c)n.style[e]=c[e];s&&s.call(o,o),r&&r.resolver(o)},W(n,l,e)}}),z.each(["In","Out"],function(e,l){W.Redirects["fade"+l]=function(e,t,n,i,o,r){var t=z.extend({},t),a={opacity:"In"===l?1:0},s=t.complete;t.complete=n!==i-1?t.begin=null:function(){s&&s.call(o,o),r&&r.resolver(o)},t.display===H&&(t.display="In"===l?"auto":"none"),W(this,a,t)}}),W;function v(e){return-e.tension*e.x-e.friction*e.v}function y(e,t,n){n={x:e.x+n.dx*t,v:e.v+n.dv*t,tension:e.tension,friction:e.friction};return{dx:n.v,dv:v(n)}}jQuery.fn.velocity=jQuery.fn.animate})),function(e,M,y){"use strict";function H(e,t,n){return setTimeout(F(e,n),t)}function n(e,t,n){return Array.isArray(e)&&(o(e,n[t],n),1)}function o(e,t,n){if(e)if(e.forEach)e.forEach(t,n);else if(e.length!==y)for(i=0;i<e.length;)t.call(n,e[i],i,e),i++;else for(var i in e)e.hasOwnProperty(i)&&t.call(n,e[i],i,e)}function r(e,t,n){for(var i=Object.keys(t),o=0;o<i.length;)n&&e[i[o]]!==y||(e[i[o]]=t[i[o]]),o++;return e}function _(e,t){return r(e,t,!0)}function t(e,t,n){var t=t.prototype,i=e.prototype=Object.create(t);i.constructor=e,i._super=t,n&&r(i,n)}function F(e,t){return function(){return e.apply(t,arguments)}}function $(e,t){return typeof e==me?e.apply(t&&t[0]||y,t):e}function z(e,t){return e===y?t:e}function i(t,e,n){o(l(e),function(e){t.addEventListener(e,n,!1)})}function a(t,e,n){o(l(e),function(e){t.removeEventListener(e,n,!1)})}function R(e,t){for(;e;){if(e==t)return!0;e=e.parentNode}return!1}function s(e,t){return-1<e.indexOf(t)}function l(e){return e.trim().split(/\s+/g)}function c(e,t,n){if(e.indexOf&&!n)return e.indexOf(t);for(var i=0;i<e.length;){if(n&&e[i][n]==t||!n&&e[i]===t)return i;i++}return-1}function u(e){return Array.prototype.slice.call(e,0)}function W(e,n,t){for(var i=[],o=[],r=0;r<e.length;){var a=n?e[r][n]:e[r];c(o,a)<0&&i.push(e[r]),o[r]=a,r++}return i=t?n?i.sort(function(e,t){return e[n]>t[n]}):i.sort():i}function V(e,t){for(var n,i=t[0].toUpperCase()+t.slice(1),o=0;o<he.length;){if((n=(n=he[o])?n+i:t)in e)return n;o++}return y}function X(e){e=e.ownerDocument;return e.defaultView||e.parentWindow}function d(t,e){var n=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){$(t.options.enable,[t])&&n.handler(e)},this.init()}function Q(e,t,n){var i,o,r,a,s,l,c=n.pointers.length,u=n.changedPointers.length,d=t&x&&0==c-u,c=t&(w|C)&&0==c-u,p=(n.isFirst=!!d,n.isFinal=!!c,d&&(e.session={}),n.eventType=t,u=n,d=(c=e).session,t=u.pointers,o=t.length,d.firstInput||(d.firstInput=B(u)),1<o&&!d.firstMultiple?d.firstMultiple=B(u):1===o&&(d.firstMultiple=!1),o=d.firstInput,r=d.firstMultiple,p=(r||o).center,f=u.center=Y(t),u.timeStamp=ve(),u.deltaTime=u.timeStamp-o.timeStamp,u.angle=Z(p,f),u.distance=G(p,f),d),f=u,h=f.center,g=p.offsetDelta||{},m=p.prevDelta||{},v=p.prevInput||{},v=(f.eventType!==x&&v.eventType!==w||(m=p.prevDelta={x:v.deltaX||0,y:v.deltaY||0},g=p.offsetDelta={x:h.x,y:h.y}),f.deltaX=m.x+(h.x-g.x),f.deltaY=m.y+(h.y-g.y),u.offsetDirection=U(u.deltaX,u.deltaY),u.scale=r?function(e,t){return G(t[0],t[1],Pe)/G(e[0],e[1],Pe)}(r.pointers,t):1,u.rotation=r?function(e,t){return Z(t[1],t[0],Pe)-Z(e[1],e[0],Pe)}(r.pointers,t):0,d),p=u,f=v.lastInterval||p,m=p.timeStamp-f.timeStamp;p.eventType!=C&&(Te<m||f.velocity===y)?(i=f.deltaX-p.deltaX,h=f.deltaY-p.deltaY,m=function(e,t,n){return{x:t/e||0,y:n/e||0}}(m,i,h),s=m.x,l=m.y,a=b(m.x)>b(m.y)?m.x:m.y,i=U(i,h),v.lastInterval=p):(a=f.velocity,s=f.velocityX,l=f.velocityY,i=f.direction),p.velocity=a,p.velocityX=s,p.velocityY=l,p.direction=i,o=c.element,R(u.srcEvent.target,o)&&(o=u.srcEvent.target),u.target=o,e.emit("hammer.input",n),e.recognize(n),e.session.prevInput=n}function B(e){for(var t=[],n=0;n<e.pointers.length;)t[n]={clientX:g(e.pointers[n].clientX),clientY:g(e.pointers[n].clientY)},n++;return{timeStamp:ve(),pointers:t,center:Y(t),deltaX:e.deltaX,deltaY:e.deltaY}}function Y(e){var t=e.length;if(1===t)return{x:g(e[0].clientX),y:g(e[0].clientY)};for(var n=0,i=0,o=0;o<t;)n+=e[o].clientX,i+=e[o].clientY,o++;return{x:g(n/t),y:g(i/t)}}function U(e,t){return e===t?ke:b(e)>=b(t)?0<e?v:T:0<t?k:S}function G(e,t,n){var i=t[(n=n||Ee)[0]]-e[n[0]],t=t[n[1]]-e[n[1]];return Math.sqrt(i*i+t*t)}function Z(e,t,n){var i=t[(n=n||Ee)[0]]-e[n[0]],t=t[n[1]]-e[n[1]];return 180*Math.atan2(t,i)/Math.PI}function J(){this.evEl="mousedown",this.evWin="mousemove mouseup",this.allow=!0,this.pressed=!1,d.apply(this,arguments)}function K(){this.evEl=je,this.evWin=De,d.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function ee(){this.evTarget="touchstart",this.evWin="touchstart touchmove touchend touchcancel",this.started=!1,d.apply(this,arguments)}function te(){this.evTarget="touchstart touchmove touchend touchcancel",this.targetIds={},d.apply(this,arguments)}function ne(){d.apply(this,arguments);var e=F(this.handler,this);this.touch=new te(this.manager,e),this.mouse=new J(this.manager,e)}function ie(e,t){this.manager=e,this.set(t)}function p(e){this.id=ye++,this.manager=null,this.options=_(e||{},this.defaults),this.options.enable=z(this.options.enable,!0),this.state=1,this.simultaneous={},this.requireFail=[]}function oe(e){return e==S?"down":e==k?"up":e==v?"left":e==T?"right":""}function re(e,t){t=t.manager;return t?t.get(e):e}function f(){p.apply(this,arguments)}function ae(){f.apply(this,arguments),this.pX=null,this.pY=null}function se(){f.apply(this,arguments)}function le(){p.apply(this,arguments),this._timer=null,this._input=null}function ce(){f.apply(this,arguments)}function ue(){f.apply(this,arguments)}function de(){p.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function h(e,t){return(t=t||{}).recognizers=z(t.recognizers,h.defaults.preset),new pe(e,t)}function pe(e,t){this.options=_(t=t||{},h.defaults),this.options.inputTarget=this.options.inputTarget||e,this.handlers={},this.session={},this.recognizers=[],this.element=e,this.input=new((e=this).options.inputClass||(xe?K:we?te:be?ne:J))(e,Q),this.touchAction=new ie(this,this.options.touchAction),fe(this,!0),o(t.recognizers,function(e){var t=this.add(new e[0](e[1]));e[2]&&t.recognizeWith(e[2]),e[3]&&t.requireFailure(e[3])},this)}function fe(e,n){var i=e.element;o(e.options.cssProps,function(e,t){i.style[V(i.style,t)]=n?e:""})}var he=["","webkit","moz","MS","ms","o"],ge=M.createElement("div"),me="function",g=Math.round,b=Math.abs,ve=Date.now,ye=1,be="ontouchstart"in e,xe=V(e,"PointerEvent")!==y,we=be&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),m="touch",Ce="mouse",Te=25,x=1,w=4,C=8,ke=1,v=2,T=4,k=8,S=16,E=v|T,P=k|S,Se=E|P,Ee=["x","y"],Pe=["clientX","clientY"],Ae=(d.prototype={handler:function(){},init:function(){this.evEl&&i(this.element,this.evEl,this.domHandler),this.evTarget&&i(this.target,this.evTarget,this.domHandler),this.evWin&&i(X(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&a(this.element,this.evEl,this.domHandler),this.evTarget&&a(this.target,this.evTarget,this.domHandler),this.evWin&&a(X(this.element),this.evWin,this.domHandler)}},{mousedown:x,mousemove:2,mouseup:w}),Oe=(t(J,d,{handler:function(e){var t=Ae[e.type];t&x&&0===e.button&&(this.pressed=!0),2&t&&1!==e.which&&(t=w),this.pressed&&this.allow&&(t&w&&(this.pressed=!1),this.callback(this.manager,t,{pointers:[e],changedPointers:[e],pointerType:Ce,srcEvent:e}))}}),{pointerdown:x,pointermove:2,pointerup:w,pointercancel:C,pointerout:C}),qe={2:m,3:"pen",4:Ce,5:"kinect"},je="pointerdown",De="pointermove pointerup pointercancel",Ne=(e.MSPointerEvent&&(je="MSPointerDown",De="MSPointerMove MSPointerUp MSPointerCancel"),t(K,d,{handler:function(e){var t=this.store,n=!1,i=e.type.toLowerCase().replace("ms",""),i=Oe[i],o=qe[e.pointerType]||e.pointerType,r=o==m,a=c(t,e.pointerId,"pointerId");i&x&&(0===e.button||r)?a<0&&(t.push(e),a=t.length-1):i&(w|C)&&(n=!0),a<0||(t[a]=e,this.callback(this.manager,i,{pointers:t,changedPointers:[e],pointerType:o,srcEvent:e}),n&&t.splice(a,1))}}),{touchstart:x,touchmove:2,touchend:w,touchcancel:C}),Ie=(t(ee,d,{handler:function(e){var t,n=Ne[e.type];n===x&&(this.started=!0),this.started&&(t=function(e,t){var n=u(e.touches),e=u(e.changedTouches);return[n=t&(w|C)?W(n.concat(e),"identifier",!0):n,e]}.call(this,e,n),n&(w|C)&&0==t[0].length-t[1].length&&(this.started=!1),this.callback(this.manager,n,{pointers:t[0],changedPointers:t[1],pointerType:m,srcEvent:e}))}}),{touchstart:x,touchmove:2,touchend:w,touchcancel:C}),Le=(t(te,d,{handler:function(e){var t=Ie[e.type],n=function(e,t){var n=u(e.touches),i=this.targetIds;if(t&(2|x)&&1===n.length)return i[n[0].identifier]=!0,[n,n];var o,r=u(e.changedTouches),a=[],s=this.target,l=n.filter(function(e){return R(e.target,s)});if(t===x)for(o=0;o<l.length;)i[l[o].identifier]=!0,o++;for(o=0;o<r.length;)i[r[o].identifier]&&a.push(r[o]),t&(w|C)&&delete i[r[o].identifier],o++;return a.length?[W(l.concat(a),"identifier",!0),a]:void 0}.call(this,e,t);n&&this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:m,srcEvent:e})}}),t(ne,d,{handler:function(e,t,n){var i=n.pointerType==m,o=n.pointerType==Ce;if(i)this.mouse.allow=!1;else if(o&&!this.mouse.allow)return;t&(w|C)&&(this.mouse.allow=!0),this.callback(e,t,n)},destroy:function(){this.touch.destroy(),this.mouse.destroy()}}),V(ge.style,"touchAction")),Me=Le!==y,He="compute",_e="manipulation",A="none",O="pan-x",q="pan-y",j=(ie.prototype={set:function(e){e==He&&(e=this.compute()),Me&&(this.manager.element.style[Le]=e),this.actions=e.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[],e=(o(this.manager.recognizers,function(e){$(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))}),t.join(" "));if(s(e,A))return A;var n=s(e,O),i=s(e,q);return n&&i?O+" "+q:n||i?n?O:q:s(e,_e)?_e:"auto"},preventDefaults:function(e){if(!Me){var t,n,i,o=e.srcEvent,e=e.offsetDirection;if(this.manager.session.prevented)o.preventDefault();else return i=this.actions,t=s(i,A),n=s(i,q),i=s(i,O),t||n&&e&E||i&&e&P?this.preventSrc(o):void 0}},preventSrc:function(e){this.manager.session.prevented=!0,e.preventDefault()}},2),D=4,N=8,I=N,L=16;p.prototype={defaults:{},set:function(e){return r(this.options,e),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(e){if(n(e,"recognizeWith",this))return this;var t=this.simultaneous;return t[(e=re(e,this)).id]||(t[e.id]=e).recognizeWith(this),this},dropRecognizeWith:function(e){return n(e,"dropRecognizeWith",this)||(e=re(e,this),delete this.simultaneous[e.id]),this},requireFailure:function(e){if(n(e,"requireFailure",this))return this;var t=this.requireFail;return-1===c(t,e=re(e,this))&&(t.push(e),e.requireFailure(this)),this},dropRequireFailure:function(e){if(n(e,"dropRequireFailure",this))return this;e=re(e,this);e=c(this.requireFail,e);return-1<e&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return 0<this.requireFail.length},canRecognizeWith:function(e){return!!this.simultaneous[e.id]},emit:function(t){function e(e){n.manager.emit(n.options.event+(e?(e=i)&L?"cancel":e&N?"end":e&D?"move":e&j?"start":"":""),t)}var n=this,i=this.state;i<N&&e(!0),e(),N<=i&&e(!0)},tryEmit:function(e){return this.canEmit()?this.emit(e):void(this.state=32)},canEmit:function(){for(var e=0;e<this.requireFail.length;){if(!(33&this.requireFail[e].state))return!1;e++}return!0},recognize:function(e){e=r({},e);return $(this.options.enable,[this,e])?(this.state&(I|L|32)&&(this.state=1),this.state=this.process(e),void(this.state&(j|D|N|L)&&this.tryEmit(e))):(this.reset(),void(this.state=32))},process:function(){},getTouchAction:function(){},reset:function(){}},t(f,p,{defaults:{pointers:1},attrTest:function(e){var t=this.options.pointers;return 0===t||e.pointers.length===t},process:function(e){var t=this.state,n=e.eventType,i=t&(j|D),e=this.attrTest(e);return i&&(n&C||!e)?t|L:i||e?n&w?t|N:t&j?t|D:j:32}}),t(ae,f,{defaults:{event:"pan",threshold:10,pointers:1,direction:Se},getTouchAction:function(){var e=this.options.direction,t=[];return e&E&&t.push(q),e&P&&t.push(O),t},directionTest:function(e){var t=this.options,n=!0,i=e.distance,o=e.direction,r=e.deltaX,a=e.deltaY;return o&t.direction||(i=t.direction&E?(o=0===r?ke:r<0?v:T,n=r!=this.pX,Math.abs(e.deltaX)):(o=0===a?ke:a<0?k:S,n=a!=this.pY,Math.abs(e.deltaY))),e.direction=o,n&&i>t.threshold&&o&t.direction},attrTest:function(e){return f.prototype.attrTest.call(this,e)&&(this.state&j||!(this.state&j)&&this.directionTest(e))},emit:function(e){this.pX=e.deltaX,this.pY=e.deltaY;var t=oe(e.direction);t&&this.manager.emit(this.options.event+t,e),this._super.emit.call(this,e)}}),t(se,f,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[A]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.scale-1)>this.options.threshold||this.state&j)},emit:function(e){var t;this._super.emit.call(this,e),1!==e.scale&&(t=e.scale<1?"in":"out",this.manager.emit(this.options.event+t,e))}}),t(le,p,{defaults:{event:"press",pointers:1,time:500,threshold:5},getTouchAction:function(){return["auto"]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,i=e.distance<t.threshold,o=e.deltaTime>t.time;if(this._input=e,!i||!n||e.eventType&(w|C)&&!o)this.reset();else if(e.eventType&x)this.reset(),this._timer=H(function(){this.state=I,this.tryEmit()},t.time,this);else if(e.eventType&w)return I;return 32},reset:function(){clearTimeout(this._timer)},emit:function(e){this.state===I&&(e&&e.eventType&w?this.manager.emit(this.options.event+"up",e):(this._input.timeStamp=ve(),this.manager.emit(this.options.event,this._input)))}}),t(ce,f,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[A]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.rotation)>this.options.threshold||this.state&j)}}),t(ue,f,{defaults:{event:"swipe",threshold:10,velocity:.65,direction:E|P,pointers:1},getTouchAction:function(){return ae.prototype.getTouchAction.call(this)},attrTest:function(e){var t,n=this.options.direction;return n&(E|P)?t=e.velocity:n&E?t=e.velocityX:n&P&&(t=e.velocityY),this._super.attrTest.call(this,e)&&n&e.direction&&e.distance>this.options.threshold&&b(t)>this.options.velocity&&e.eventType&w},emit:function(e){var t=oe(e.direction);t&&this.manager.emit(this.options.event+t,e),this.manager.emit(this.options.event,e)}}),t(de,p,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:2,posThreshold:10},getTouchAction:function(){return[_e]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,i=e.distance<t.threshold,o=e.deltaTime<t.time;if(this.reset(),e.eventType&x&&0===this.count)return this.failTimeout();if(i&&o&&n){if(e.eventType!=w)return this.failTimeout();i=!this.pTime||e.timeStamp-this.pTime<t.interval,o=!this.pCenter||G(this.pCenter,e.center)<t.posThreshold;if(this.pTime=e.timeStamp,this.pCenter=e.center,o&&i?this.count+=1:this.count=1,this._input=e,0==this.count%t.taps)return this.hasRequireFailures()?(this._timer=H(function(){this.state=I,this.tryEmit()},t.interval,this),j):I}return 32},failTimeout:function(){return this._timer=H(function(){this.state=32},this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==I&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),h.VERSION="2.0.4",h.defaults={domEvents:!1,touchAction:He,enable:!0,inputTarget:null,inputClass:null,preset:[[ce,{enable:!1}],[se,{enable:!1},["rotate"]],[ue,{direction:E}],[ae,{direction:E},["swipe"]],[de],[de,{event:"doubletap",taps:2},["tap"]],[le]],cssProps:{userSelect:"default",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};pe.prototype={set:function(e){return r(this.options,e),e.touchAction&&this.touchAction.update(),e.inputTarget&&(this.input.destroy(),this.input.target=e.inputTarget,this.input.init()),this},stop:function(e){this.session.stopped=e?2:1},recognize:function(e){var t=this.session;if(!t.stopped){this.touchAction.preventDefaults(e);var n,i=this.recognizers,o=t.curRecognizer;(!o||o.state&I)&&(o=t.curRecognizer=null);for(var r=0;r<i.length;)n=i[r],2===t.stopped||o&&n!=o&&!n.canRecognizeWith(o)?n.reset():n.recognize(e),!o&&n.state&(j|D|N)&&(o=t.curRecognizer=n),r++}},get:function(e){if(e instanceof p)return e;for(var t=this.recognizers,n=0;n<t.length;n++)if(t[n].options.event==e)return t[n];return null},add:function(e){if(n(e,"add",this))return this;var t=this.get(e.options.event);return t&&this.remove(t),this.recognizers.push(e),(e.manager=this).touchAction.update(),e},remove:function(e){if(n(e,"remove",this))return this;var t=this.recognizers;return e=this.get(e),t.splice(c(t,e),1),this.touchAction.update(),this},on:function(e,t){var n=this.handlers;return o(l(e),function(e){n[e]=n[e]||[],n[e].push(t)}),this},off:function(e,t){var n=this.handlers;return o(l(e),function(e){t?n[e].splice(c(n[e],t),1):delete n[e]}),this},emit:function(e,t){this.options.domEvents&&(n=e,i=t,(o=M.createEvent("Event")).initEvent(n,!0,!0),(o.gesture=i).target.dispatchEvent(o));var n,i,o,r=this.handlers[e]&&this.handlers[e].slice();if(r&&r.length){t.type=e,t.preventDefault=function(){t.srcEvent.preventDefault()};for(var a=0;a<r.length;)r[a](t),a++}},destroy:function(){this.element&&fe(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},r(h,{INPUT_START:x,INPUT_MOVE:2,INPUT_END:w,INPUT_CANCEL:C,STATE_POSSIBLE:1,STATE_BEGAN:j,STATE_CHANGED:D,STATE_ENDED:N,STATE_RECOGNIZED:I,STATE_CANCELLED:L,STATE_FAILED:32,DIRECTION_NONE:ke,DIRECTION_LEFT:v,DIRECTION_RIGHT:T,DIRECTION_UP:k,DIRECTION_DOWN:S,DIRECTION_HORIZONTAL:E,DIRECTION_VERTICAL:P,DIRECTION_ALL:Se,Manager:pe,Input:d,TouchAction:ie,TouchInput:te,MouseInput:J,PointerEventInput:K,TouchMouseInput:ne,SingleTouchInput:ee,Recognizer:p,AttrRecognizer:f,Tap:de,Pan:ae,Swipe:ue,Pinch:se,Rotate:ce,Press:le,on:i,off:a,each:o,merge:_,extend:r,inherit:t,bindFn:F,prefixed:V}),typeof define==me&&define.amd?define(function(){return h}):"undefined"!=typeof module&&module.exports?module.exports=h:e.Hammer=h}(window,document),function(e){"function"==typeof define&&define.amd?define(["jquery","hammerjs"],e):"object"==typeof exports?e(require("jquery"),require("hammerjs")):e(jQuery,Hammer)}(function(i,o){var n;i.fn.hammer=function(n){return this.each(function(){var e,t;t=n,(e=i(e=this)).data("hammer")||e.data("hammer",new o(e[0],t))})},o.Manager.prototype.emit=(n=o.Manager.prototype.emit,function(e,t){n.call(this,e,t),i(this.element).trigger({type:e,gesture:t})})}),function(e){e.Package?Materialize={}:e.Materialize={}}(window),function(e){for(var i=0,t=["webkit","moz"],n=e.requestAnimationFrame,o=e.cancelAnimationFrame,r=t.length;0<=--r&&!n;)n=e[t[r]+"RequestAnimationFrame"],o=e[t[r]+"CancelRequestAnimationFrame"];n&&o||(n=function(e){var t=+Date.now(),n=Math.max(i+16,t);return setTimeout(function(){e(i=n)},n-t)},o=clearTimeout),e.requestAnimationFrame=n,e.cancelAnimationFrame=o}(window),Materialize.guid=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return function(){return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}}(),Materialize.escapeHash=function(e){return e.replace(/(:|\.|\[|\]|,|=)/g,"\\$1")},Materialize.elementOrParentIsFixed=function(e){var e=$(e),e=e.add(e.parents()),t=!1;return e.each(function(){return"fixed"===$(this).css("position")?!(t=!0):void 0}),t},Vel=jQuery?jQuery.Velocity:$?$.Velocity:Velocity,function(l){l.fn.collapsible=function(s){return s=l.extend({accordion:void 0,onOpen:void 0,onClose:void 0},s),this.each(function(){function t(e){var t;s.accordion||"accordion"===a||void 0===a?(t=e,r=o.find("> li > .collapsible-header"),t.hasClass("active")?t.parent().addClass("active"):t.parent().removeClass("active"),t.parent().hasClass("active")?t.siblings(".collapsible-body").stop(!0,!1).slideDown({duration:350,easing:"easeOutQuart",queue:!1,complete:function(){l(this).css("height","")}}):t.siblings(".collapsible-body").stop(!0,!1).slideUp({duration:350,easing:"easeOutQuart",queue:!1,complete:function(){l(this).css("height","")}}),r.not(t).removeClass("active").parent().removeClass("active"),r.not(t).parent().children(".collapsible-body").stop(!0,!1).each(function(){l(this).is(":visible")&&l(this).slideUp({duration:350,easing:"easeOutQuart",queue:!1,complete:function(){l(this).css("height",""),n(l(this).siblings(".collapsible-header"))}})})):((t=e).hasClass("active")?t.parent().addClass("active"):t.parent().removeClass("active"),t.parent().hasClass("active")?t.siblings(".collapsible-body").stop(!0,!1).slideDown({duration:350,easing:"easeOutQuart",queue:!1,complete:function(){l(this).css("height","")}}):t.siblings(".collapsible-body").stop(!0,!1).slideUp({duration:350,easing:"easeOutQuart",queue:!1,complete:function(){l(this).css("height","")}})),n(e)}function n(e){e.hasClass("active")?"function"==typeof s.onOpen&&s.onOpen.call(this,e.parent()):"function"==typeof s.onClose&&s.onClose.call(this,e.parent())}function i(e){return e.closest("li > .collapsible-header")}var o=l(this),r=l(this).find("> li > .collapsible-header"),a=o.data("collapsible");o.off("click.collapse","> li > .collapsible-header"),r.off("click.collapse"),o.on("click.collapse","> li > .collapsible-header",function(e){e=l(e.target);(e=0<i(e).length?i(e):e).toggleClass("active"),t(e)}),s.accordion||"accordion"===a||void 0===a?t(r.filter(".active").first()):r.filter(".active").each(function(){t(l(this))})})},l(document).ready(function(){l(".collapsible").collapsible()})}(jQuery),function(m){m.fn.scrollTo=function(e){return m(this).scrollTop(m(this).scrollTop()-m(this).offset().top+m(e).offset().top),this},m.fn.dropdown=function(e){var o={inDuration:300,outDuration:225,constrain_width:!0,hover:!1,gutter:0,belowOrigin:!1,alignment:"left",stopPropagation:!1};return"open"===e?(this.each(function(){m(this).trigger("open")}),!1):"close"===e?(this.each(function(){m(this).trigger("close")}),!1):void this.each(function(){function d(){void 0!==p.data("induration")&&(f.inDuration=p.data("induration")),void 0!==p.data("outduration")&&(f.outDuration=p.data("outduration")),void 0!==p.data("constrainwidth")&&(f.constrain_width=p.data("constrainwidth")),void 0!==p.data("hover")&&(f.hover=p.data("hover")),void 0!==p.data("gutter")&&(f.gutter=p.data("gutter")),void 0!==p.data("beloworigin")&&(f.belowOrigin=p.data("beloworigin")),void 0!==p.data("alignment")&&(f.alignment=p.data("alignment")),void 0!==p.data("stoppropagation")&&(f.stopPropagation=p.data("stoppropagation"))}function n(e){"focus"===e&&(h=!0),d(),g.addClass("active"),p.addClass("active"),!0===f.constrain_width?g.css("width",p.outerWidth()):g.css("white-space","nowrap");var e=window.innerHeight,t=p.innerHeight(),n=p.offset().left,i=p.offset().top-m(window).scrollTop(),o=f.alignment,r=0,a=0,s=0,l=(!0===f.belowOrigin&&(s=t),0),c=0,u=p.parent();u.is("body")||(u[0].scrollHeight>u[0].clientHeight&&(l=u[0].scrollTop),u[0].scrollWidth>u[0].clientWidth&&(c=u[0].scrollLeft)),n+g.innerWidth()>m(window).width()?o="right":n-g.innerWidth()+p.innerWidth()<0&&(o="left"),i+g.innerHeight()>e&&(i+t-g.innerHeight()<0?g.css("max-height",e-i-s):(s||(s+=t),s-=g.innerHeight())),"left"===o?(r=f.gutter,a=p.position().left+r):"right"===o&&(a=p.position().left+p.outerWidth()-g.outerWidth()+(r=-f.gutter)),g.css({position:"absolute",top:p.position().top+s+l,left:a+c}),g.stop(!0,!0).css("opacity",0).slideDown({queue:!1,duration:f.inDuration,easing:"easeOutCubic",complete:function(){m(this).css("height","")}}).animate({opacity:1},{queue:!1,duration:f.inDuration,easing:"easeOutSine"})}function t(){h=!1,g.fadeOut(f.outDuration),g.removeClass("active"),p.removeClass("active"),setTimeout(function(){g.css("max-height","")},f.outDuration)}var i,p=m(this),f=m.extend({},o,e),h=!1,g=m("#"+p.attr("data-activates"));d(),p.after(g),f.hover?(i=!1,p.unbind("click."+p.attr("id")),p.on("mouseenter",function(e){!1===i&&(n(),i=!0)}),p.on("mouseleave",function(e){e=e.toElement||e.relatedTarget;m(e).closest(".dropdown-content").is(g)||(g.stop(!0,!0),t(),i=!1)}),g.on("mouseleave",function(e){e=e.toElement||e.relatedTarget;m(e).closest(".dropdown-button").is(p)||(g.stop(!0,!0),t(),i=!1)})):(p.unbind("click."+p.attr("id")),p.bind("click."+p.attr("id"),function(e){h||(p[0]!=e.currentTarget||p.hasClass("active")||0!==m(e.target).closest(".dropdown-content").length?p.hasClass("active")&&(t(),m(document).unbind("click."+g.attr("id")+" touchstart."+g.attr("id"))):(e.preventDefault(),f.stopPropagation&&e.stopPropagation(),n("click")),g.hasClass("active")&&m(document).bind("click."+g.attr("id")+" touchstart."+g.attr("id"),function(e){g.is(e.target)||p.is(e.target)||p.find(e.target).length||(t(),m(document).unbind("click."+g.attr("id")+" touchstart."+g.attr("id")))}))})),p.on("open",function(e,t){n(t)}),p.on("close",t)})},m(document).ready(function(){m(".dropdown-button").dropdown()})}(jQuery),function(a){var s=0,l=0,t={init:function(r){return r=a.extend({opacity:.5,in_duration:350,out_duration:250,ready:void 0,complete:void 0,dismissible:!0,starting_top:"4%",ending_top:"10%"},r),this.each(function(){function t(e){var t=a("body"),n=t.innerWidth();t.css("overflow","hidden"),t.width(n),i.hasClass("open")||(t="materialize-modal-overlay-"+ ++l,n=a('<div class="modal-overlay"></div>'),lStack=++s,n.attr("id",t).css("z-index",1e3+2*lStack),i.data("overlay-id",t).css("z-index",1e3+2*lStack+1),i.addClass("open"),a("body").append(n),r.dismissible&&(n.click(function(){o()}),a(document).on("keyup.modal"+t,function(e){27===e.keyCode&&o()})),i.find(".modal-close").on("click.close",function(e){o()}),n.css({display:"block",opacity:0}),i.css({display:"block",opacity:0}),n.velocity({opacity:r.opacity},{duration:r.in_duration,queue:!1,ease:"easeOutCubic"}),i.data("associated-overlay",n[0]),t={duration:r.in_duration,queue:!1,ease:"easeOutCubic",complete:function(){"function"==typeof r.ready&&r.ready.call(this,i,e)}},i.hasClass("bottom-sheet")?i.velocity({bottom:"0",opacity:1},t):(a.Velocity.hook(i,"scaleX",.7),i.css({top:r.starting_top}),i.velocity({top:r.ending_top,opacity:1,scaleX:"1"},t)))}var i=a(this),e=a(this).attr("id")||"#"+a(this).data("target"),o=function(){var e=i.data("overlay-id"),t=a("#"+e),e=(i.removeClass("open"),a("body").css({overflow:"",width:""}),i.find(".modal-close").off("click.close"),a(document).off("keyup.modal"+e),t.velocity({opacity:0},{duration:r.out_duration,queue:!1,ease:"easeOutQuart"}),{duration:r.out_duration,queue:!1,ease:"easeOutCubic",complete:function(){a(this).css({display:"none"}),"function"==typeof r.complete&&r.complete.call(this,i),t.remove(),s--}});i.hasClass("bottom-sheet")?i.velocity({bottom:"-100%",opacity:0},e):i.velocity({top:r.starting_top,opacity:0,scaleX:.7},e)};a(document).off("click.modalTrigger",'a[href="#'+e+'"], [data-target="'+e+'"]'),a(this).off("openModal"),a(this).off("closeModal"),a(document).on("click.modalTrigger",'a[href="#'+e+'"], [data-target="'+e+'"]',function(e){r.starting_top=(a(this).offset().top-a(window).scrollTop())/1.15,t(a(this)),e.preventDefault()}),a(this).on("openModal",function(){a(this).attr("href")||a(this).data("target"),t()}),a(this).on("closeModal",function(){o()})})},open:function(){a(this).trigger("openModal")},close:function(){a(this).trigger("closeModal")}};a.fn.modal=function(e){return t[e]?t[e].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof e&&e?void a.error("Method "+e+" does not exist on jQuery.modal"):t.init.apply(this,arguments)}}(jQuery),function(h){h.fn.materialbox=function(){return this.each(function(){function l(){p=!1;var e=f.parent(".material-placeholder"),t=(window.innerWidth,window.innerHeight,f.data("width")),n=f.data("height");f.velocity("stop",!0),h("#materialbox-overlay").velocity("stop",!0),h(".materialbox-caption").velocity("stop",!0),h("#materialbox-overlay").velocity({opacity:0},{duration:i,queue:!1,easing:"easeOutQuad",complete:function(){d=!1,h(this).remove()}}),f.velocity({width:t,height:n,left:0,top:0},{duration:i,queue:!1,easing:"easeOutQuad"}),h(".materialbox-caption").velocity({opacity:0},{duration:i,queue:!1,easing:"easeOutQuad",complete:function(){e.css({height:"",width:"",position:"",top:"",left:""}),f.css({height:"",top:"",left:"",width:"","max-width":"",position:"","z-index":""}),f.removeClass("active"),p=!0,h(this).remove(),c&&c.css("overflow","")}})}var c,u,d,p,i,f,e;h(this).hasClass("initialized")||(h(this).addClass("initialized"),p=!(d=!1),i=200,f=h(this),e=h("<div></div>").addClass("material-placeholder"),f.wrap(e),f.on("click",function(){var e=f.parent(".material-placeholder"),t=window.innerWidth,n=window.innerHeight,i=f.width(),o=f.height();if(!1===p)return l(),!1;if(d&&!0===p)return l(),!1;for(p=!1,f.addClass("active"),d=!0,e.css({width:e[0].getBoundingClientRect().width,height:e[0].getBoundingClientRect().height,position:"relative",top:0,left:0}),c=void 0,u=e[0].parentNode;null!==u&&!h(u).is(document);){var r=h(u);"visible"!==r.css("overflow")&&(r.css("overflow","visible"),c=void 0===c?r:c.add(r)),u=u.parentNode}f.css({position:"absolute","z-index":1e3}).data("width",i).data("height",o);var e=h('<div id="materialbox-overlay"></div>').css({opacity:0}).click(function(){!0===p&&l()}),a=(f.before(e),e.velocity({opacity:1},{duration:275,queue:!1,easing:"easeOutQuad"}),""!==f.data("caption")&&((e=h('<div class="materialbox-caption"></div>')).text(f.data("caption")),h("body").append(e),e.css({display:"inline"}),e.velocity({opacity:1},{duration:275,queue:!1,easing:"easeOutQuad"})),0),s=0,s=o/n<i/t?(a=.9*t)*(o/i):(a=.9*n*(i/o),.9*n);f.hasClass("responsive-img")?f.velocity({"max-width":a,width:i},{duration:0,queue:!1,complete:function(){f.css({left:0,top:0}).velocity({height:s,width:a,left:h(document).scrollLeft()+t/2-f.parent(".material-placeholder").offset().left-a/2,top:h(document).scrollTop()+n/2-f.parent(".material-placeholder").offset().top-s/2},{duration:275,queue:!1,easing:"easeOutQuad",complete:function(){p=!0}})}}):f.css("left",0).css("top",0).velocity({height:s,width:a,left:h(document).scrollLeft()+t/2-f.parent(".material-placeholder").offset().left-a/2,top:h(document).scrollTop()+n/2-f.parent(".material-placeholder").offset().top-s/2},{duration:275,queue:!1,easing:"easeOutQuad",complete:function(){p=!0}})}),h(window).scroll(function(){d&&l()}),h(document).keyup(function(e){27===e.keyCode&&!0===p&&d&&l()}))})},h(document).ready(function(){h(".materialboxed").materialbox()})}(jQuery),function(u){u.fn.parallax=function(){var c=u(window).width();return this.each(function(e){function t(e){var t=c<601?(0<l.height()?l:l.children("img")).height():0<l.height()?l.height():500,n=l.children("img").first(),i=n.height()-t,o=l.offset().top+t,r=l.offset().top,a=u(window).scrollTop(),s=window.innerHeight,i=Math.round(i*((a+s-r)/(t+s)));e&&n.css("display","block"),a<o&&r<a+s&&n.css("transform","translate3D(-50%,"+i+"px, 0)")}var l=u(this);l.addClass("parallax"),l.children("img").one("load",function(){t(!0)}).each(function(){this.complete&&u(this).trigger("load")}),u(window).scroll(function(){c=u(window).width(),t(!1)}),u(window).resize(function(){c=u(window).width(),t(!1)})})}}(jQuery),function(f){var t={init:function(p){return p=f.extend({onShow:null},p),this.each(function(){function n(e){return s-e.position().left-e.outerWidth()-r.scrollLeft()}function i(e){return e.position().left+r.scrollLeft()}var o,r=f(this),a=(f(window).width(),r.find("li.tab a")),s=r.width(),l=Math.max(s,r[0].scrollWidth)/a.length,c=0,u=f(a.filter('[href="'+location.hash+'"]')),d=((u=0===(u=0===u.length?f(this).find("li.tab a.active").first():u).length?f(this).find("li.tab a").first():u).addClass("active"),(c=a.index(u))<0&&(c=0),void 0!==u[0]&&(o=f(u[0].hash)),r.append('<div class="indicator"></div>'),r.find(".indicator"));r.is(":visible")&&setTimeout(function(){d.css({right:n(u)}),d.css({left:i(u)})},0),f(window).resize(function(){s=r.width(),l=Math.max(s,r[0].scrollWidth)/a.length,c<0&&(c=0),0!==l&&0!==s&&(d.css({right:n(u)}),d.css({left:i(u)}))}),a.not(u).each(function(){f(Materialize.escapeHash(this.hash)).hide()}),r.on("click","a",function(e){var t;f(this).parent().hasClass("disabled")?e.preventDefault():f(this).attr("target")||(s=r.width(),l=Math.max(s,r[0].scrollWidth)/a.length,u.removeClass("active"),void 0!==o&&o.hide(),u=f(this),o=f(Materialize.escapeHash(this.hash)),a=r.find("li.tab a"),u.position(),u.addClass("active"),t=c,(c=a.index(f(this)))<0&&(c=0),void 0!==o&&(o.show(),"function"==typeof p.onShow&&p.onShow.call(this,o)),0<=c-t?(d.velocity({right:n(u)},{duration:300,queue:!1,easing:"easeOutQuad"}),d.velocity({left:i(u)},{duration:300,queue:!1,easing:"easeOutQuad",delay:90})):(d.velocity({left:i(u)},{duration:300,queue:!1,easing:"easeOutQuad"}),d.velocity({right:n(u)},{duration:300,queue:!1,easing:"easeOutQuad",delay:90})),e.preventDefault())})})},select_tab:function(e){this.find('a[href="#'+e+'"]').trigger("click")}};f.fn.tabs=function(e){return t[e]?t[e].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof e&&e?void f.error("Method "+e+" does not exist on jQuery.tabs"):t.init.apply(this,arguments)},f(document).ready(function(){f("ul.tabs").tabs()})}(jQuery),function(s){s.fn.tooltip=function(a){return"remove"===a?(this.each(function(){s("#"+s(this).attr("data-tooltip-id")).remove(),s(this).off("mouseenter.tooltip mouseleave.tooltip")}),!1):(a=s.extend({delay:350,tooltip:"",position:"bottom",html:!1},a),this.each(function(){var e=Materialize.guid(),c=s(this);c.attr("data-tooltip-id")&&s("#"+c.attr("data-tooltip-id")).remove(),c.attr("data-tooltip-id",e);function u(){t=c.attr("data-html")?"true"===c.attr("data-html"):a.html,n=void 0===(n=c.attr("data-delay"))||""===n?a.delay:n,d=void 0===(d=c.attr("data-position"))||""===d?a.position:d,i=void 0===(i=c.attr("data-tooltip"))||""===i?a.tooltip:i}var t,n,d,i,p,f,o;u();o=s('<div class="material-tooltip"></div>'),i=t?s("<span></span>").html(i):s("<span></span>").text(i),o.append(i).appendTo(s("body")).attr("id",e),(f=s('<div class="backdrop"></div>')).appendTo(o),p=o,c.off("mouseenter.tooltip mouseleave.tooltip");var r,h=!1;c.on({"mouseenter.tooltip":function(e){r=setTimeout(function(){u(),h=!0,p.velocity("stop"),f.velocity("stop"),p.css({display:"block",left:"0px",top:"0px"});var e,t,n,i=c.outerWidth(),o=c.outerHeight(),r=p.outerHeight(),a=p.outerWidth(),s="0px",l="0px";"top"===d?(e=c.offset().top-r-5,t=c.offset().left+i/2-a/2,n=g(t,e,a,r),s="-10px",f.css({bottom:0,left:0,borderRadius:"14px 14px 0 0",transformOrigin:"50% 100%",marginTop:r,marginLeft:a/2-f.width()/2})):"left"===d?(e=c.offset().top+o/2-r/2,t=c.offset().left-a-5,n=g(t,e,a,r),l="-10px",f.css({top:"-7px",right:0,width:"14px",height:"14px",borderRadius:"14px 0 0 14px",transformOrigin:"95% 50%",marginTop:r/2,marginLeft:a})):"right"===d?(e=c.offset().top+o/2-r/2,t=c.offset().left+i+5,n=g(t,e,a,r),l="+10px",f.css({top:"-7px",left:0,width:"14px",height:"14px",borderRadius:"0 14px 14px 0",transformOrigin:"5% 50%",marginTop:r/2,marginLeft:"0px"})):(e=c.offset().top+c.outerHeight()+5,t=c.offset().left+i/2-a/2,n=g(t,e,a,r),s="+10px",f.css({top:0,left:0,marginLeft:a/2-f.width()/2})),p.css({top:n.y,left:n.x}),o=Math.SQRT2*a/parseInt(f.css("width")),i=Math.SQRT2*r/parseInt(f.css("height")),p.velocity({marginTop:s,marginLeft:l},{duration:350,queue:!1}).velocity({opacity:1},{duration:300,delay:50,queue:!1}),f.css({display:"block"}).velocity({opacity:1},{duration:55,delay:0,queue:!1}).velocity({scaleX:o,scaleY:i},{duration:300,delay:0,queue:!1,easing:"easeInOutQuad"})},n)},"mouseleave.tooltip":function(){h=!1,clearTimeout(r),setTimeout(function(){!0!==h&&(p.velocity({opacity:0,marginTop:0,marginLeft:0},{duration:225,queue:!1}),f.velocity({opacity:0,scaleX:1,scaleY:1},{duration:225,queue:!1,complete:function(){f.css("display","none"),p.css("display","none"),h=!1}}))},225)}})}))};var g=function(e,t,n,i){return e<0?e=4:e+n>window.innerWidth&&(e-=e+n-window.innerWidth),t<0?t=4:t+i>window.innerHeight+s(window).scrollTop&&(t-=t+i-window.innerHeight),{x:e,y:t}};s(document).ready(function(){s(".tooltipped").tooltip()})}(jQuery),function(n){"use strict";function s(e){var t,n="";for(t in e)e.hasOwnProperty(t)&&(n+=t+":"+e[t]+";");return n}function t(e){var t=function(e){if(!1===a.allowEvent(e))return null;for(var t=null,n=e.target||e.srcElement;null!==n.parentElement;){if(!(n instanceof SVGElement||-1===n.className.indexOf("waves-effect"))){t=n;break}if(n.classList.contains("waves-effect")){t=n;break}n=n.parentElement}return t}(e);null!==t&&(l.show(e,t),"ontouchstart"in n&&(t.addEventListener("touchend",l.hide,!1),t.addEventListener("touchcancel",l.hide,!1)),t.addEventListener("mouseup",l.hide,!1),t.addEventListener("mouseleave",l.hide,!1))}var e={},i=document.querySelectorAll.bind(document),l={duration:750,show:function(e,t){if(2===e.button)return!1;var t=t||this,n=document.createElement("div"),i=(n.className="waves-ripple",t.appendChild(n),o={top:0,left:0},r=(i=t)&&i.ownerDocument,a=r.documentElement,void 0!==i.getBoundingClientRect&&(o=i.getBoundingClientRect()),r=null!==(r=i=r)&&r===r.window?i:9===i.nodeType&&i.defaultView,{top:o.top+r.pageYOffset-a.clientTop,left:o.left+r.pageXOffset-a.clientLeft}),o=e.pageY-i.top,r=e.pageX-i.left,a="scale("+t.clientWidth/100*10+")",t=("touches"in e&&(o=e.touches[0].pageY-i.top,r=e.touches[0].pageX-i.left),n.setAttribute("data-hold",Date.now()),n.setAttribute("data-scale",a),n.setAttribute("data-x",r),n.setAttribute("data-y",o),{top:o+"px",left:r+"px"});n.className=n.className+" waves-notransition",n.setAttribute("style",s(t)),n.className=n.className.replace("waves-notransition",""),t["-webkit-transform"]=a,t["-moz-transform"]=a,t["-ms-transform"]=a,t["-o-transform"]=a,t.transform=a,t.opacity="1",t["-webkit-transition-duration"]=l.duration+"ms",t["-moz-transition-duration"]=l.duration+"ms",t["-o-transition-duration"]=l.duration+"ms",t["transition-duration"]=l.duration+"ms",t["-webkit-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",t["-moz-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",t["-o-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",t["transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",n.setAttribute("style",s(t))},hide:function(e){a.touchup(e);var t=this,n=(t.clientWidth,null),e=t.getElementsByClassName("waves-ripple");if(!(0<e.length))return!1;var i=(n=e[e.length-1]).getAttribute("data-x"),o=n.getAttribute("data-y"),r=n.getAttribute("data-scale"),e=350-(Date.now()-Number(n.getAttribute("data-hold")));e<0&&(e=0),setTimeout(function(){var e={top:o+"px",left:i+"px",opacity:"0","-webkit-transition-duration":l.duration+"ms","-moz-transition-duration":l.duration+"ms","-o-transition-duration":l.duration+"ms","transition-duration":l.duration+"ms","-webkit-transform":r,"-moz-transform":r,"-ms-transform":r,"-o-transform":r,transform:r};n.setAttribute("style",s(e)),setTimeout(function(){try{t.removeChild(n)}catch(e){return!1}},l.duration)},e)},wrapInput:function(e){for(var t=0;t<e.length;t++){var n,i,o,r=e[t];"input"!==r.tagName.toLowerCase()||"i"===(n=r.parentNode).tagName.toLowerCase()&&-1!==n.className.indexOf("waves-effect")||((i=document.createElement("i")).className=r.className+" waves-input-wrapper",o=r.getAttribute("style")||"",i.setAttribute("style",o),r.className="waves-button-input",r.removeAttribute("style"),n.replaceChild(i,r),i.appendChild(r))}}},a={touches:0,allowEvent:function(e){var t=!0;return"touchstart"===e.type?a.touches+=1:"touchend"===e.type||"touchcancel"===e.type?setTimeout(function(){0<a.touches&&--a.touches},500):"mousedown"===e.type&&0<a.touches&&(t=!1),t},touchup:function(e){a.allowEvent(e)}};e.displayEffect=function(e){"duration"in(e=e||{})&&(l.duration=e.duration),l.wrapInput(i(".waves-effect")),"ontouchstart"in n&&document.body.addEventListener("touchstart",t,!1),document.body.addEventListener("mousedown",t,!1)},e.attach=function(e){"input"===e.tagName.toLowerCase()&&(l.wrapInput([e]),e=e.parentElement),"ontouchstart"in n&&e.addEventListener("touchstart",t,!1),e.addEventListener("mousedown",t,!1)},n.Waves=e,document.addEventListener("DOMContentLoaded",function(){e.displayEffect()},!1)}(window),Materialize.toast=function(e,t,r,a){r=r||"";var n=document.getElementById("toast-container"),i=(null===n&&((n=document.createElement("div")).id="toast-container",document.body.appendChild(n)),function(e){var n=document.createElement("div");if(n.classList.add("toast"),r)for(var t=r.split(" "),i=0,o=t.length;i<o;i++)n.classList.add(t[i]);return("object"==typeof HTMLElement?e instanceof HTMLElement:e&&"object"==typeof e&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName)?n.appendChild(e):e instanceof jQuery?n.appendChild(e[0]):n.innerHTML=e,(e=new Hammer(n,{prevent_default:!1})).on("pan",function(e){var e=e.deltaX,t=(n.classList.contains("panning")||n.classList.add("panning"),1-Math.abs(e/80));Vel(n,{left:e,opacity:t=t<0?0:t},{duration:50,queue:!1,easing:"easeOutQuad"})}),e.on("panend",function(e){e=e.deltaX;80<Math.abs(e)?Vel(n,{marginTop:"-40px"},{duration:375,easing:"easeOutExpo",queue:!1,complete:function(){"function"==typeof a&&a(),n.parentNode.removeChild(n)}}):(n.classList.remove("panning"),Vel(n,{left:0,opacity:1},{duration:300,easing:"easeOutExpo",queue:!1}))}),n}(e));e&&n.appendChild(i),i.style.top="35px",i.style.opacity=0,Vel(i,{top:"0px",opacity:1},{duration:300,easing:"easeOutCubic",queue:!1});var o,s=t;null!=s&&(o=setInterval(function(){null===i.parentNode&&window.clearInterval(o),i.classList.contains("panning")||(s-=20),s<=0&&(Vel(i,{opacity:0,marginTop:"-40px"},{duration:375,easing:"easeOutExpo",queue:!1,complete:function(){"function"==typeof a&&a(),this[0].parentNode.removeChild(this[0])}}),window.clearInterval(o))},20))},function(c){var t={init:function(l){l=c.extend({menuWidth:300,edge:"left",closeOnClick:!1,draggable:!0},l),c(this).each(function(){var o,e=c(this),r=c("#"+e.attr("data-activates")),a=(300!=l.menuWidth&&r.css("width",l.menuWidth),l.draggable?(o=c('<div class="drag-target"></div>').attr("data-sidenav",e.attr("data-activates")),c("body").append(o)):o=c(),"left"==l.edge?(r.css("transform","translateX(-100%)"),o.css({left:0})):(r.addClass("right-aligned").css("transform","translateX(100%)"),o.css({right:0})),r.hasClass("fixed")&&992<window.innerWidth&&r.css("transform","translateX(0)"),r.hasClass("fixed")&&c(window).resize(function(){992<window.innerWidth?0!==c("#sidenav-overlay").length&&s?a(!0):r.css("transform","translateX(0%)"):!1===s&&("left"===l.edge?r.css("transform","translateX(-100%)"):r.css("transform","translateX(100%)"))}),!0===l.closeOnClick&&r.on("click.itemclick","a:not(.collapsible-header)",function(){a()}),function(e){s=!1,c("body").css({overflow:"",width:""}),c("#sidenav-overlay").velocity({opacity:0},{duration:200,queue:!1,easing:"easeOutQuad",complete:function(){c(this).remove()}}),"left"===l.edge?(o.css({width:"",right:"",left:"0"}),r.velocity({translateX:"-100%"},{duration:200,queue:!1,easing:"easeOutCubic",complete:function(){!0===e&&(r.removeAttr("style"),r.css("width",l.menuWidth))}})):(o.css({width:"",right:"0",left:""}),r.velocity({translateX:"100%"},{duration:200,queue:!1,easing:"easeOutCubic",complete:function(){!0===e&&(r.removeAttr("style"),r.css("width",l.menuWidth))}}))}),s=!1;l.draggable&&(o.on("click",function(){s&&a()}),o.hammer({prevent_default:!1}).bind("pan",function(e){var t,n,i;"touch"==e.gesture.pointerType&&(e.gesture.direction,t=e.gesture.center.x,e.gesture.center.y,e.gesture.velocityX,e=c("body"),n=c("#sidenav-overlay"),i=e.innerWidth(),e.css("overflow","hidden"),e.width(i),0===n.length&&((n=c('<div id="sidenav-overlay"></div>')).css("opacity",0).click(function(){a()}),c("body").append(n)),"left"===l.edge&&(t>l.menuWidth?t=l.menuWidth:t<0&&(t=0)),"left"===l.edge?(t<l.menuWidth/2?s=!1:t>=l.menuWidth/2&&(s=!0),r.css("transform","translateX("+(t-l.menuWidth)+"px)")):(t<window.innerWidth-l.menuWidth/2?s=!0:t>=window.innerWidth-l.menuWidth/2&&(s=!1),e=t-l.menuWidth/2,r.css("transform","translateX("+(e=e<0?0:e)+"px)")),i="left"===l.edge?t/l.menuWidth:Math.abs((t-window.innerWidth)/l.menuWidth),n.velocity({opacity:i},{duration:10,queue:!1,easing:"easeOutQuad"}))}).bind("panend",function(e){var t,n,i;"touch"==e.gesture.pointerType&&(t=c('<div id="sidenav-overlay"></div>'),n=e.gesture.velocityX,0<(i=(e=e.gesture.center.x)-l.menuWidth)&&(i=0),(e=e-l.menuWidth/2)<0&&(e=0),"left"===l.edge?s&&n<=.3||n<-.5?(0!==i&&r.velocity({translateX:[0,i]},{duration:300,queue:!1,easing:"easeOutQuad"}),t.velocity({opacity:1},{duration:50,queue:!1,easing:"easeOutQuad"}),o.css({width:"50%",right:0,left:""}),s=!0):(!s||.3<n)&&(c("body").css({overflow:"",width:""}),r.velocity({translateX:[-1*l.menuWidth-10,i]},{duration:200,queue:!1,easing:"easeOutQuad"}),t.velocity({opacity:0},{duration:200,queue:!1,easing:"easeOutQuad",complete:function(){c(this).remove()}}),o.css({width:"10px",right:"",left:0})):s&&-.3<=n||.5<n?(0!==e&&r.velocity({translateX:[0,e]},{duration:300,queue:!1,easing:"easeOutQuad"}),t.velocity({opacity:1},{duration:50,queue:!1,easing:"easeOutQuad"}),o.css({width:"50%",right:"",left:0}),s=!0):(!s||n<-.3)&&(c("body").css({overflow:"",width:""}),r.velocity({translateX:[l.menuWidth+10,e]},{duration:200,queue:!1,easing:"easeOutQuad"}),t.velocity({opacity:0},{duration:200,queue:!1,easing:"easeOutQuad",complete:function(){c(this).remove()}}),o.css({width:"10px",right:0,left:""})))})),e.click(function(){var e,t,n;return!0===s?(s=!1,a()):(e=c("body"),t=c('<div id="sidenav-overlay"></div>'),n=e.innerWidth(),e.css("overflow","hidden"),e.width(n),c("body").append(o),"left"===l.edge?(o.css({width:"50%",right:0,left:""}),r.velocity({translateX:[0,-1*l.menuWidth]},{duration:300,queue:!1,easing:"easeOutQuad"})):(o.css({width:"50%",right:"",left:0}),r.velocity({translateX:[0,l.menuWidth]},{duration:300,queue:!1,easing:"easeOutQuad"})),t.css("opacity",0).click(function(){s=!1,a(),t.velocity({opacity:0},{duration:300,queue:!1,easing:"easeOutQuad",complete:function(){c(this).remove()}})}),c("body").append(t),t.velocity({opacity:1},{duration:300,queue:!1,easing:"easeOutQuad",complete:function(){s=!0}})),!1})})},destroy:function(){var e=c("#sidenav-overlay"),t=c('.drag-target[data-sidenav="'+c(this).attr("data-activates")+'"]');e.trigger("click"),t.remove(),c(this).off("click"),e.remove()},show:function(){this.trigger("click")},hide:function(){c("#sidenav-overlay").trigger("click")}};c.fn.sideNav=function(e){return t[e]?t[e].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof e&&e?void c.error("Method "+e+" does not exist on jQuery.sideNav"):t.init.apply(this,arguments)}}(jQuery),function(r){function a(e){++h;var a,s,l,c,u,t=d.scrollTop(),n=d.scrollLeft(),i=n+d.width(),o=t+d.height(),t=(a=t+g.top+e||200,s=i+g.right,l=o+g.bottom,c=n+g.left,u=r(),r.each(p,function(e,t){var n,i,o,r;0<t.height()&&(n=t.offset().top,o=(i=t.offset().left)+t.width(),r=n+t.height(),s<i||o<c||l<n||r<a||u.push(t))}),u);r.each(t,function(e,t){"number"!=typeof t.data("scrollSpy:ticks")&&t.triggerHandler("scrollSpy:enter"),t.data("scrollSpy:ticks",h)}),r.each(f,function(e,t){var n=t.data("scrollSpy:ticks");"number"==typeof n&&n!==h&&(t.triggerHandler("scrollSpy:exit"),t.data("scrollSpy:ticks",null))}),f=t}function t(){d.trigger("scrollSpy:winSize")}function s(n,i,o){function r(){u=!1===o.leading?0:m(),c=null,l=n.apply(a,s),a=s=null}var a,s,l,c=null,u=0;o=o||{};return function(){var e=m(),t=(u||!1!==o.leading||(u=e),i-(e-u));return a=this,s=arguments,t<=0?(clearTimeout(c),c=null,u=e,l=n.apply(a,s),a=s=null):c||!1===o.trailing||(c=setTimeout(r,t)),l}}var d=r(window),p=[],f=[],l=!1,h=0,g={top:0,right:0,bottom:0,left:0},m=Date.now||function(){return(new Date).getTime()};r.scrollSpy=function(e,n){function t(){r(document).ready(o)}n=r.extend({throttle:100,scrollOffset:200},n);var i=[],o=((e=r(e)).each(function(e,t){p.push(r(t)),r(t).data("scrollSpy:id",e),r('a[href="#'+r(t).attr("id")+'"]').click(function(e){e.preventDefault();e=r(Materialize.escapeHash(this.hash)).offset().top+1;r("html, body").animate({scrollTop:e-n.scrollOffset},{duration:400,queue:!1,easing:"easeOutCubic"})})}),g.top=n.offsetTop||0,g.right=n.offsetRight||0,g.bottom=n.offsetBottom||0,g.left=n.offsetLeft||0,s(function(){a(n.scrollOffset)},n.throttle||100));return l||(d.on("scroll",t),d.on("resize",t),l=!0),setTimeout(t,0),e.on("scrollSpy:enter",function(){i=r.grep(i,function(e){return 0!=e.height()});var e=r(this);i[0]?(r('a[href="#'+i[0].attr("id")+'"]').removeClass("active"),e.data("scrollSpy:id")<i[0].data("scrollSpy:id")?i.unshift(r(this)):i.push(r(this))):i.push(r(this)),r('a[href="#'+i[0].attr("id")+'"]').addClass("active")}),e.on("scrollSpy:exit",function(){var t;(i=r.grep(i,function(e){return 0!=e.height()}))[0]&&(r('a[href="#'+i[0].attr("id")+'"]').removeClass("active"),t=r(this),(i=r.grep(i,function(e){return e.attr("id")!=t.attr("id")}))[0]&&r('a[href="#'+i[0].attr("id")+'"]').addClass("active"))}),e},r.winSizeSpy=function(e){return r.winSizeSpy=function(){return d},d.on("resize",s(t,(e=e||{throttle:100}).throttle||100))},r.fn.scrollSpy=function(e){return r.scrollSpy(r(this),e)}}(jQuery),function(g){g(document).ready(function(){function t(e){var t=e.css("font-family"),n=e.css("font-size"),i=e.css("line-height"),n=(n&&o.css("font-size",n),t&&o.css("font-family",t),i&&o.css("line-height",i),"off"===e.attr("wrap")&&o.css("overflow-wrap","normal").css("white-space","pre"),o.text(e.val()+"\n"),o.html().replace(/\n/g,"<br>"));o.html(n),e.is(":visible")?o.css("width",e.width()):o.css("width",g(window).width()/2),e.css("height",o.height())}Materialize.updateTextFields=function(){g("input[type=text], input[type=password], input[type=email], input[type=url], input[type=tel], input[type=number], input[type=search], textarea").each(function(e,t){0<g(t).val().length||t.autofocus||void 0!==g(this).attr("placeholder")||!0===g(t)[0].validity.badInput?g(this).siblings("label").addClass("active"):g(this).siblings("label").removeClass("active")})};var n="input[type=text], input[type=password], input[type=email], input[type=url], input[type=tel], input[type=number], input[type=search], textarea",o=(g(document).on("change",n,function(){0===g(this).val().length&&void 0===g(this).attr("placeholder")||g(this).siblings("label").addClass("active"),validate_field(g(this))}),g(document).ready(function(){Materialize.updateTextFields()}),g(document).on("reset",function(e){var t=g(e.target);t.is("form")&&(t.find(n).removeClass("valid").removeClass("invalid"),t.find(n).each(function(){""===g(this).attr("value")&&g(this).siblings("label").removeClass("active")}),t.find("select.initialized").each(function(){var e=t.find("option[selected]").text();t.siblings("input.select-dropdown").val(e)}))}),g(document).on("focus",n,function(){g(this).siblings("label, .prefix").addClass("active")}),g(document).on("blur",n,function(){var e=g(this),t=".prefix";0===e.val().length&&!0!==e[0].validity.badInput&&void 0===e.attr("placeholder")&&(t+=", label"),e.siblings(t).removeClass("active"),validate_field(e)}),window.validate_field=function(e){var t=void 0!==e.attr("length"),n=parseInt(e.attr("length")),i=e.val().length;0===e.val().length&&!1===e[0].validity.badInput?e.hasClass("validate")&&(e.removeClass("valid"),e.removeClass("invalid")):e.hasClass("validate")&&(e.is(":valid")&&t&&i<=n||e.is(":valid")&&!t?(e.removeClass("invalid"),e.addClass("valid")):(e.removeClass("valid"),e.addClass("invalid")))},g(document).on("keyup.radio","input[type=radio], input[type=checkbox]",function(e){9===e.which&&(g(this).addClass("tabbed"),g(this).one("blur",function(e){g(this).removeClass("tabbed")}))}),g(".hiddendiv").first()),e=(o.length||(o=g('<div class="hiddendiv common"></div>'),g("body").append(o)),".materialize-textarea");g(e).each(function(){var e=g(this);e.val().length&&t(e)}),g("body").on("keyup keydown autoresize",e,function(){t(g(this))}),g(document).on("change",'.file-field input[type="file"]',function(){for(var e=g(this).closest(".file-field").find("input.file-path"),t=g(this)[0].files,n=[],i=0;i<t.length;i++)n.push(t[i].name);e.val(n.join(", ")),e.trigger("change")});var i,r="input[type=range]",a=!1,e=(g(r).each(function(){var e=g('<span class="thumb"><span class="value"></span></span>');g(this).after(e)}),".range-field");g(document).on("change",r,function(e){g(this).siblings(".thumb").find(".value").html(g(this).val())}),g(document).on("input mousedown touchstart",r,function(e){var t=g(this).siblings(".thumb"),n=g(this).outerWidth();t.length<=0&&(t=g('<span class="thumb"><span class="value"></span></span>'),g(this).after(t)),t.find(".value").html(g(this).val()),a=!0,g(this).addClass("active"),t.hasClass("active")||t.velocity({height:"30px",width:"30px",top:"-20px",marginLeft:"-15px"},{duration:300,easing:"easeOutExpo"}),"input"!==e.type&&((i=void 0===e.pageX||null===e.pageX?e.originalEvent.touches[0].pageX-g(this).offset().left:e.pageX-g(this).offset().left)<0?i=0:n<i&&(i=n),t.addClass("active").css("left",i)),t.find(".value").html(g(this).val())}),g(document).on("mouseup touchend",e,function(){a=!1,g(this).removeClass("active")}),g(document).on("mousemove touchmove",e,function(e){var t,n=g(this).children(".thumb");a&&(n.hasClass("active")||n.velocity({height:"30px",width:"30px",top:"-20px",marginLeft:"-15px"},{duration:300,easing:"easeOutExpo"}),e=void 0===e.pageX||null===e.pageX?e.originalEvent.touches[0].pageX-g(this).offset().left:e.pageX-g(this).offset().left,t=g(this).outerWidth(),e<0?e=0:t<e&&(e=t),n.addClass("active").css("left",e),n.find(".value").html(n.siblings(r).val()))}),g(document).on("mouseout touchleave",e,function(){var e;a||((e=g(this).children(".thumb")).hasClass("active")&&e.velocity({height:"0",width:"0",top:"10px",marginLeft:"-6px"},{duration:100}),e.removeClass("active"))}),g.fn.autocomplete=function(t){return t=g.extend({data:{}},t),this.each(function(){var s,l=g(this),c=t.data,e=l.closest(".input-field");g.isEmptyObject(c)||(s=g('<ul class="autocomplete-content dropdown-content"></ul>'),e.length?e.append(s):l.after(s),l.on("keyup",function(e){if(13===e.which)s.find("li").first().click();else{var t,n,i,o,r=l.val().toLowerCase();if(s.empty(),""!==r)for(var a in c)c.hasOwnProperty(a)&&-1!==a.toLowerCase().indexOf(r)&&a.toLowerCase()!==r&&(t=g("<li></li>"),c[a]?t.append('<img src="'+c[a]+'" class="right circle"><span>'+a+"</span>"):t.append("<span>"+a+"</span>"),s.append(t),a=r,i=o=i=n=void 0,n=(t=t).find("img"),a=(i=t.text().toLowerCase().indexOf(""+a.toLowerCase()))+a.length-1,o=t.text().slice(0,i),i=t.text().slice(i,1+a),a=t.text().slice(1+a),t.html("<span>"+o+"<span class='highlight'>"+i+"</span>"+a+"</span>"),n.length&&t.prepend(n))}}),s.on("click","li",function(){l.val(g(this).text().trim()),l.trigger("change"),s.empty()}))})}}),g.fn.material_select=function(f){function h(e,t,n){for(var i=e.indexOf(t),o=-1===i,r=(o?e.push(t):e.splice(i,1),n.siblings("ul.dropdown-content").find("li").eq(t).toggleClass("active"),n.find("option").eq(t).prop("selected",o),e),a=n,s="",l=0,c=r.length;l<c;l++){var u=a.find("option").eq(r[l]).text();s+=0===l?u:", "+u}return""===s&&(s=a.find("option:disabled").eq(0).text()),a.siblings("input.select-dropdown").val(s),o}g(this).each(function(){var o,e,s,i,t,n,r,a,l,c,u,d,p=g(this);p.hasClass("browser-default")||(o=!!p.attr("multiple"),(e=p.data("select-id"))&&(p.parent().find("span.caret").remove(),p.parent().find("input").remove(),p.unwrap(),g("ul#select-options-"+e).remove()),"destroy"===f?p.data("select-id",null).removeClass("initialized"):(e=Materialize.guid(),p.data("select-id",e),(l=g('<div class="select-wrapper"></div>')).addClass(p.attr("class")),s=g('<ul id="select-options-'+e+'" class="dropdown-content select-dropdown '+(o?"multiple-select-dropdown":"")+'"></ul>'),a=p.children("option, optgroup"),t=!(i=[]),n=p.find("option:selected").html()||p.find("option:first").html()||"",r=function(e,t,n){var i=t.is(":disabled")?"disabled ":"",o="optgroup-option"===n?"optgroup-option ":"",r=t.data("icon"),a=t.attr("class");if(r)return a=a?' class="'+a+'"':"","multiple"===n?s.append(g('<li class="'+i+'"><img alt="" src="'+r+'"'+a+'><span><input type="checkbox"'+i+"/><label></label>"+t.html()+"</span></li>")):s.append(g('<li class="'+i+o+'"><img alt="" src="'+r+'"'+a+"><span>"+t.html()+"</span></li>")),!0;"multiple"===n?s.append(g('<li class="'+i+'"><span><input type="checkbox"'+i+"/><label></label>"+t.html()+"</span></li>")):s.append(g('<li class="'+i+o+'"><span>'+t.html()+"</span></li>"))},a.length&&a.each(function(){var e;g(this).is("option")?o?r(0,g(this),"multiple"):r(0,g(this)):g(this).is("optgroup")&&(e=g(this).children("option"),s.append(g('<li class="optgroup"><span>'+g(this).attr("label")+"</span></li>")),e.each(function(){r(0,g(this),"optgroup-option")}))}),s.find("li:not(.optgroup)").each(function(n){g(this).click(function(e){var t;g(this).hasClass("disabled")||g(this).hasClass("optgroup")||(t=!0,o?(g('input[type="checkbox"]',this).prop("checked",function(e,t){return!t}),t=h(i,g(this).index(),p),c.trigger("focus")):(s.find("li").removeClass("active"),g(this).toggleClass("active"),c.val(g(this).text())),u(s,g(this)),p.find("option").eq(n).prop("selected",t),p.trigger("change"),void 0!==f&&f()),e.stopPropagation()})}),p.wrap(l),a=g('<span class="caret">▼</span>'),p.is(":disabled")&&a.addClass("disabled"),l=n.replace(/"/g,"""),c=g('<input type="text" class="select-dropdown" readonly="true" '+(p.is(":disabled")?"disabled":"")+' data-activates="select-options-'+e+'" value="'+l+'"/>'),p.before(c),c.before(a),c.after(s),p.is(":disabled")||c.dropdown({hover:!1,closeOnClick:!1}),p.attr("tabindex")&&g(c[0]).attr("tabindex",p.attr("tabindex")),p.addClass("initialized"),c.on({focus:function(){var e,t;g("ul.select-dropdown").not(s[0]).is(":visible")&&g("input.select-dropdown").trigger("close"),s.is(":visible")||(g(this).trigger("open",["focus"]),e=g(this).val(),t=s.find("li").filter(function(){return g(this).text().toLowerCase()===e.toLowerCase()})[0],u(s,t))},click:function(e){e.stopPropagation()}}),c.on("blur",function(){o||g(this).trigger("close"),s.find("li.selected").removeClass("selected")}),s.hover(function(){t=!0},function(){t=!1}),g(window).on({click:function(){!o||t||c.trigger("close")}}),o&&p.find("option:selected:not(:disabled)").each(function(){var e=g(this).index();h(i,e,p),s.find("li").eq(e).find(":checkbox").prop("checked",!0)}),u=function(e,t){t&&(e.find("li.selected").removeClass("selected"),(e=g(t)).addClass("selected"),s.scrollTo(e))},d=[],c.on("keydown",function(e){var t,n,i;9==e.which?c.trigger("close"):40!=e.which||s.is(":visible")?13==e.which&&!s.is(":visible")||(e.preventDefault(),(i=String.fromCharCode(e.which).toLowerCase())&&-1===[9,13,27,38,40].indexOf(e.which)&&(d.push(i),t=d.join(""),(n=s.find("li").filter(function(){return 0===g(this).text().toLowerCase().indexOf(t)})[0])&&u(s,n)),13==e.which&&(i=s.find("li.selected:not(.disabled)")[0])&&(g(i).trigger("click"),o||c.trigger("close")),40==e.which&&(n=(s.find("li.selected").length?s.find("li.selected").next("li:not(.disabled)"):s.find("li:not(.disabled)"))[0],u(s,n)),27==e.which&&c.trigger("close"),38==e.which&&(n=s.find("li.selected").prev("li:not(.disabled)")[0])&&u(s,n),setTimeout(function(){d=[]},1e3)):c.trigger("open")})))})}}(jQuery),function(f){var t={init:function(p){return p=f.extend({indicators:!0,height:400,transition:500,interval:6e3},p),this.each(function(){function t(e,t){e.hasClass("center-align")?e.velocity({opacity:0,translateY:-100},{duration:t,queue:!1}):e.hasClass("right-align")?e.velocity({opacity:0,translateX:100},{duration:t,queue:!1}):e.hasClass("left-align")&&e.velocity({opacity:0,translateX:-100},{duration:t,queue:!1})}function n(e){e>=l.length?e=0:e<0&&(e=l.length-1),(c=s.find(".active").index())!=e&&(i=l.eq(c),$caption=i.find(".caption"),i.removeClass("active"),i.velocity({opacity:0},{duration:p.transition,queue:!1,easing:"easeOutQuad",complete:function(){l.not(".active").velocity({opacity:0,translateX:0,translateY:0},{duration:0,queue:!1})}}),t($caption,p.transition),p.indicators&&o.eq(c).removeClass("active"),l.eq(e).velocity({opacity:1},{duration:p.transition,queue:!1,easing:"easeOutQuad"}),l.eq(e).find(".caption").velocity({opacity:1,translateX:0,translateY:0},{duration:p.transition,delay:p.transition,queue:!1,easing:"easeOutQuad"}),l.eq(e).addClass("active"),p.indicators&&o.eq(e).addClass("active"))}var i,o,r,a=f(this),s=a.find("ul.slides").first(),l=s.find("> li"),c=s.find(".active").index(),u=(-1!=c&&(i=l.eq(c)),a.hasClass("fullscreen")||(p.indicators?a.height(p.height+40):a.height(p.height),s.height(p.height)),l.find(".caption").each(function(){t(f(this),0)}),l.find("img").each(function(){var e="data:image/gif;base64,R0lGODlhAQABAIABAP///wAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==";f(this).attr("src")!==e&&(f(this).css("background-image","url("+f(this).attr("src")+")"),f(this).attr("src",e))}),p.indicators&&(o=f('<ul class="indicators"></ul>'),l.each(function(e){var t=f('<li class="indicator-item"></li>');t.click(function(){n(s.parent().find(f(this)).index()),clearInterval(r),r=setInterval(function(){c=s.find(".active").index(),l.length==c+1?c=0:c+=1,n(c)},p.transition+p.interval)}),o.append(t)}),a.append(o),o=a.find("ul.indicators").find("li.indicator-item")),i?i.show():(l.first().addClass("active").velocity({opacity:1},{duration:p.transition,queue:!1,easing:"easeOutQuad"}),c=0,i=l.eq(c),p.indicators&&o.eq(c).addClass("active")),i.find("img").each(function(){i.find(".caption").velocity({opacity:1,translateX:0,translateY:0},{duration:p.transition,queue:!1,easing:"easeOutQuad"})}),r=setInterval(function(){n((c=s.find(".active").index())+1)},p.transition+p.interval),!1),d=!1;a.hammer({prevent_default:!1}).bind("pan",function(e){var t,n,i;"touch"===e.gesture.pointerType&&(clearInterval(r),t=e.gesture.direction,n=e.gesture.deltaX,e=e.gesture.velocityX,($curr_slide=s.find(".active")).velocity({translateX:n},{duration:50,queue:!1,easing:"easeOutQuad"}),4===t&&(n>a.innerWidth()/2||e<-.65)?d=!0:2===t&&(n<-1*a.innerWidth()/2||.65<e)&&(u=!0),u&&(i=0===(i=$curr_slide.next()).length?l.first():i).velocity({opacity:1},{duration:300,queue:!1,easing:"easeOutQuad"}),d&&(i=0===(i=$curr_slide.prev()).length?l.last():i).velocity({opacity:1},{duration:300,queue:!1,easing:"easeOutQuad"}))}).bind("panend",function(e){"touch"===e.gesture.pointerType&&($curr_slide=s.find(".active"),curr_index=s.find(".active").index(),!d&&!u||l.length<=1?$curr_slide.velocity({translateX:0},{duration:300,queue:!1,easing:"easeOutQuad"}):u?(n(curr_index+1),$curr_slide.velocity({translateX:-1*a.innerWidth()},{duration:300,queue:!1,easing:"easeOutQuad",complete:function(){$curr_slide.velocity({opacity:0,translateX:0},{duration:0,queue:!1})}})):d&&(n(curr_index-1),$curr_slide.velocity({translateX:a.innerWidth()},{duration:300,queue:!1,easing:"easeOutQuad",complete:function(){$curr_slide.velocity({opacity:0,translateX:0},{duration:0,queue:!1})}})),d=u=!1,clearInterval(r),r=setInterval(function(){c=s.find(".active").index(),l.length==c+1?c=0:c+=1,n(c)},p.transition+p.interval))}),a.on("sliderPause",function(){clearInterval(r)}),a.on("sliderStart",function(){clearInterval(r),r=setInterval(function(){c=s.find(".active").index(),l.length==c+1?c=0:c+=1,n(c)},p.transition+p.interval)}),a.on("sliderNext",function(){n((c=s.find(".active").index())+1)}),a.on("sliderPrev",function(){n((c=s.find(".active").index())-1)})})},pause:function(){f(this).trigger("sliderPause")},start:function(){f(this).trigger("sliderStart")},next:function(){f(this).trigger("sliderNext")},prev:function(){f(this).trigger("sliderPrev")}};f.fn.slider=function(e){return t[e]?t[e].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof e&&e?void f.error("Method "+e+" does not exist on jQuery.tooltip"):t.init.apply(this,arguments)}}(jQuery),function(t){t(document).ready(function(){t(document).on("click.card",".card",function(e){t(this).find("> .card-reveal").length&&(t(e.target).is(t(".card-reveal .card-title"))||t(e.target).is(t(".card-reveal .card-title i"))?t(this).find(".card-reveal").velocity({translateY:0},{duration:225,queue:!1,easing:"easeInOutQuad",complete:function(){t(this).css({display:"none"})}}):(t(e.target).is(t(".card .activator"))||t(e.target).is(t(".card .activator i")))&&(t(e.target).closest(".card").css("overflow","hidden"),t(this).find(".card-reveal").css({display:"block"}).velocity("stop",!1).velocity({translateY:"-100%"},{duration:300,queue:!1,easing:"easeInOutQuad"})))})})}(jQuery),function(l){var t=!1,n={data:[],placeholder:"",secondaryPlaceholder:""};l(document).ready(function(){l(document).on("click",".chip .close",function(e){l(this).closest(".chips").attr("data-initialized")||l(this).closest(".chip").remove()})}),l.fn.material_chip=function(e){var s=this;if(this.$el=l(this),this.$document=l(document),this.SELS={CHIPS:".chips",CHIP:".chip",INPUT:"input",DELETE:".material-icons",SELECTED_CHIP:".selected"},"data"===e)return this.$el.data("chips");var i=l.extend({},n,e);this.init=function(){var n=0;s.$el.each(function(){var e=l(this),t=Materialize.guid();i.data&&i.data instanceof Array||(i.data=[]),e.data("chips",i.data),e.attr("data-index",n),e.attr("data-initialized",!0),e.hasClass(s.SELS.CHIPS)||e.addClass("chips"),s.chips(e,t),n++})},this.handleEvents=function(){var a=s.SELS;s.$document.off("click.chips-focus",a.CHIPS).on("click.chips-focus",a.CHIPS,function(e){l(e.target).find(a.INPUT).focus()}),s.$document.off("click.chips-select",a.CHIP).on("click.chips-select",a.CHIP,function(e){l(a.CHIP).removeClass("selected"),l(this).toggleClass("selected")}),s.$document.off("keydown.chips").on("keydown.chips",function(e){var t,n,i,o,r;l(e.target).is("input, textarea")||(i=(n=s.$document.find(a.CHIP+a.SELECTED_CHIP)).closest(a.CHIPS),o=n.siblings(a.CHIP).length,n.length&&(8===e.which||46===e.which?(e.preventDefault(),t=n.index(),s.deleteChip(t,i),r=null,t+1<o?r=t:t!==o&&t+1!==o||(r=o-1),null!==(r=r<0?null:r)&&s.selectChip(r,i),o||i.find("input").focus()):37===e.which?(t=n.index()-1)<0||(l(a.CHIP).removeClass("selected"),s.selectChip(t,i)):39===e.which&&(t=n.index()+1,l(a.CHIP).removeClass("selected"),o<t?i.find("input").focus():s.selectChip(t,i))))}),s.$document.off("focusin.chips",a.CHIPS+" "+a.INPUT).on("focusin.chips",a.CHIPS+" "+a.INPUT,function(e){e=l(e.target).closest(a.CHIPS);e.addClass("focus"),e.siblings("label, .prefix").addClass("active"),l(a.CHIP).removeClass("selected")}),s.$document.off("focusout.chips",a.CHIPS+" "+a.INPUT).on("focusout.chips",a.CHIPS+" "+a.INPUT,function(e){e=l(e.target).closest(a.CHIPS);e.removeClass("focus"),e.data("chips").length||e.siblings("label").removeClass("active"),e.siblings(".prefix").removeClass("active")}),s.$document.off("keydown.chips-add",a.CHIPS+" "+a.INPUT).on("keydown.chips-add",a.CHIPS+" "+a.INPUT,function(e){var t=l(e.target),n=t.closest(a.CHIPS),i=n.children(a.CHIP).length;return 13===e.which?(e.preventDefault(),s.addChip({tag:t.val()},n),void t.val("")):8!==e.keyCode&&37!==e.keyCode||""!==t.val()||!i?void 0:(s.selectChip(i-1,n),void t.blur())}),s.$document.off("click.chips-delete",a.CHIPS+" "+a.DELETE).on("click.chips-delete",a.CHIPS+" "+a.DELETE,function(e){var t=l(e.target),n=t.closest(a.CHIPS),t=t.closest(a.CHIP);e.stopPropagation(),s.deleteChip(t.index(),n),n.find("input").focus()})},this.chips=function(e,t){var n="",i=(e.data("chips").forEach(function(e){n+=s.renderChip(e)}),n+='<input id="'+t+'" class="input" placeholder="">',e.html(n),s.setPlaceholder(e),e.next("label"));i.length&&(i.attr("for",t),e.data("chips").length&&i.addClass("active"))},this.renderChip=function(e){var t;if(e.tag)return t='<div class="chip">'+e.tag,e.image&&(t+=' <img src="'+e.image+'"> '),(t+='<i class="material-icons close">close</i>')+"</div>"},this.setPlaceholder=function(e){e.data("chips").length&&i.placeholder?e.find("input").prop("placeholder",i.placeholder):!e.data("chips").length&&i.secondaryPlaceholder&&e.find("input").prop("placeholder",i.secondaryPlaceholder)},this.isValid=function(e,t){for(var n=e.data("chips"),e=!1,i=0;i<n.length;i++)if(n[i].tag===t.tag)return;return""!==t.tag&&!e},this.addChip=function(e,t){if(s.isValid(t,e)){for(var n=s.renderChip(e),i=[],o=t.data("chips"),r=0;r<o.length;r++)i.push(o[r]);i.push(e),t.data("chips",i),l(n).insertBefore(t.find("input")),t.trigger("chip.add",e),s.setPlaceholder(t)}},this.deleteChip=function(e,t){var n=t.data("chips")[e];t.find(".chip").eq(e).remove();for(var i=[],o=t.data("chips"),r=0;r<o.length;r++)r!==e&&i.push(o[r]);t.data("chips",i),t.trigger("chip.delete",n),s.setPlaceholder(t)},this.selectChip=function(e,t){var n=t.find(".chip").eq(e);n&&!1===n.hasClass("selected")&&(n.addClass("selected"),t.trigger("chip.select",t.data("chips")[e]))},this.getChipsElement=function(e,t){return t.eq(e)},this.init(),t||(this.handleEvents(),t=!0)}}(jQuery),function(a){a.fn.pushpin=function(r){return"remove"===r?(this.each(function(){(id=a(this).data("pushpin-id"))&&(a(window).off("scroll."+id),a(this).removeData("pushpin-id").removeClass("pin-top pinned pin-bottom").removeAttr("style"))}),!1):(r=a.extend({top:0,bottom:1/0,offset:0},r),$index=0,this.each(function(){function n(e){e.removeClass("pin-top"),e.removeClass("pinned"),e.removeClass("pin-bottom")}function t(e,t){e.each(function(){r.top<=t&&r.bottom>=t&&!a(this).hasClass("pinned")&&(n(a(this)),a(this).css("top",r.offset),a(this).addClass("pinned")),t<r.top&&!a(this).hasClass("pin-top")&&(n(a(this)),a(this).css("top",0),a(this).addClass("pin-top")),t>r.bottom&&!a(this).hasClass("pin-bottom")&&(n(a(this)),a(this).addClass("pin-bottom"),a(this).css("top",r.bottom-o))})}var e=Materialize.guid(),i=a(this),o=a(this).offset().top;a(this).data("pushpin-id",e),t(i,a(window).scrollTop()),a(window).on("scroll."+e,function(){var e=a(window).scrollTop()+r.offset;t(i,e)})}))}}(jQuery),function(u){u(document).ready(function(){u.fn.reverse=[].reverse,u(document).on("mouseenter.fixedActionBtn",".fixed-action-btn:not(.click-to-toggle):not(.toolbar)",function(e){var t=u(this);n(t)}),u(document).on("mouseleave.fixedActionBtn",".fixed-action-btn:not(.click-to-toggle):not(.toolbar)",function(e){var t=u(this);i(t)}),u(document).on("click.fabClickToggle",".fixed-action-btn.click-to-toggle > a",function(e){var t=u(this).parent();(t.hasClass("active")?i:n)(t)}),u(document).on("click.fabToolbar",".fixed-action-btn.toolbar > a",function(e){var t=u(this).parent();o(t)})}),u.fn.extend({openFAB:function(){n(u(this))},closeFAB:function(){i(u(this))},openToolbar:function(){o(u(this))},closeToolbar:function(){d(u(this))}});var n=function(e){var t,n,i;!1===e.hasClass("active")&&(!0===e.hasClass("horizontal")?n=40:t=40,e.addClass("active"),e.find("ul .btn-floating").velocity({scaleY:".4",scaleX:".4",translateY:t+"px",translateX:n+"px"},{duration:0}),i=0,e.find("ul .btn-floating").reverse().each(function(){u(this).velocity({opacity:"1",scaleX:"1",scaleY:"1",translateY:"0",translateX:"0"},{duration:80,delay:i}),i+=40}))},i=function(e){var t,n;!0===e.hasClass("horizontal")?n=40:t=40,e.removeClass("active"),e.find("ul .btn-floating").velocity("stop",!0),e.find("ul .btn-floating").velocity({opacity:"0",scaleX:".4",scaleY:".4",translateY:t+"px",translateX:n+"px"},{duration:80})},o=function(t){var e,n,i,o,r,a,s,l,c;"true"!==t.attr("data-open")&&(i=window.innerWidth,o=window.innerHeight,r=t[0].getBoundingClientRect(),a=t.find("> a").first(),s=t.find("> ul").first(),l=u('<div class="fab-backdrop"></div>'),c=a.css("background-color"),a.append(l),e=r.left-i/2+r.width/2,o=o-r.bottom,n=i/l.width(),t.attr("data-origin-bottom",r.bottom),t.attr("data-origin-left",r.left),t.attr("data-origin-width",r.width),t.addClass("active"),t.attr("data-open",!0),t.css({"text-align":"center",width:"100%",bottom:0,left:0,transform:"translateX("+e+"px)",transition:"none"}),a.css({transform:"translateY("+-o+"px)",transition:"none"}),l.css({"background-color":c}),setTimeout(function(){t.css({transform:"",transition:"transform .2s cubic-bezier(0.550, 0.085, 0.680, 0.530), background-color 0s linear .2s"}),a.css({overflow:"visible",transform:"",transition:"transform .2s"}),setTimeout(function(){t.css({overflow:"hidden","background-color":c}),l.css({transform:"scale("+n+")",transition:"transform .2s cubic-bezier(0.550, 0.055, 0.675, 0.190)"}),s.find("> li > a").css({opacity:1}),u(window).on("scroll.fabToolbarClose",function(){d(t),u(window).off("scroll.fabToolbarClose"),u(document).off("click.fabToolbarClose")}),u(document).on("click.fabToolbarClose",function(e){u(e.target).closest(s).length||(d(t),u(window).off("scroll.fabToolbarClose"),u(document).off("click.fabToolbarClose"))})},100)},0))},d=function(e){var t,n,i,o,r,a,s,l,c,u,d;"true"===e.attr("data-open")&&(t=window.innerWidth,n=window.innerHeight,i=e.attr("data-origin-width"),o=e.attr("data-origin-bottom"),r=e.attr("data-origin-left"),a=e.find("> .btn-floating").first(),s=e.find("> ul").first(),l=e.find(".fab-backdrop"),c=a.css("background-color"),u=r-t/2+i/2,d=n-o,l.width(),e.removeClass("active"),e.attr("data-open",!1),e.css({"background-color":"transparent",transition:"none"}),a.css({transition:"none"}),l.css({transform:"scale(0)","background-color":c}),s.find("> li > a").css({opacity:""}),setTimeout(function(){l.remove(),e.css({"text-align":"",width:"",bottom:"",left:"",overflow:"","background-color":"",transform:"translate3d("+-u+"px,0,0)"}),a.css({overflow:"",transform:"translate3d(0,"+d+"px,0)"}),setTimeout(function(){e.css({transform:"translate3d(0,0,0)",transition:"transform .2s"}),a.css({transform:"translate3d(0,0,0)",transition:"transform .2s cubic-bezier(0.550, 0.055, 0.675, 0.190)"})},20)},200))}}(jQuery),function(a){Materialize.fadeInImage=function(e){var t;if("string"==typeof e)t=a(e);else{if("object"!=typeof e)return;t=e}t.css({opacity:0}),a(t).velocity({opacity:1},{duration:650,queue:!1,easing:"easeOutSine"}),a(t).velocity({opacity:1},{duration:1300,queue:!1,easing:"swing",step:function(e,t){var t=e/(t.start=100),n=150-(100-e)/1.75;n<100&&(n=100),0<=e&&a(this).css({"-webkit-filter":"grayscale("+t+")brightness("+n+"%)",filter:"grayscale("+t+")brightness("+n+"%)"})}})},Materialize.showStaggeredList=function(e){var t;if("string"==typeof e)t=a(e);else{if("object"!=typeof e)return;t=e}var n=0;t.find("li").velocity({translateX:"-100px"},{duration:0}),t.find("li").each(function(){a(this).velocity({opacity:"1",translateX:"0"},{duration:800,delay:n,easing:[60,10]}),n+=120})},a(document).ready(function(){var o=!1,r=!1;a(".dismissable").each(function(){a(this).hammer({prevent_default:!1}).bind("pan",function(e){var t,n,i;"touch"===e.gesture.pointerType&&(t=a(this),n=e.gesture.direction,i=e.gesture.deltaX,e=e.gesture.velocityX,t.velocity({translateX:i},{duration:50,queue:!1,easing:"easeOutQuad"}),4===n&&(i>t.innerWidth()/2||e<-.75)&&(o=!0),2===n&&(i<-1*t.innerWidth()/2||.75<e)&&(r=!0))}).bind("panend",function(e){var t;Math.abs(e.gesture.deltaX)<a(this).innerWidth()/2&&(o=r=!1),"touch"===e.gesture.pointerType&&(t=a(this),o||r?(e=o?t.innerWidth():-1*t.innerWidth(),t.velocity({translateX:e},{duration:100,queue:!1,easing:"easeOutQuad",complete:function(){t.css("border","none"),t.velocity({height:0,padding:0},{duration:200,queue:!1,easing:"easeOutQuad",complete:function(){t.remove()}})}})):t.velocity({translateX:0},{duration:100,queue:!1,easing:"easeOutQuad"}),r=o=!1)})})})}(jQuery),Materialize.scrollFire=function(a){var s=!1;window.addEventListener("scroll",function(){s=!0}),setInterval(function(){if(s){s=!1;for(var e=window.pageYOffset+window.innerHeight,t=0;t<a.length;t++){var n=a[t],i=n.selector,o=n.offset,r=n.callback,i=document.querySelector(i);null!==i&&i.getBoundingClientRect().top+window.pageYOffset+o<e&&!0!==n.done&&("function"==typeof r?r.call(this,i):"string"==typeof r&&new Function(r)(i),n.done=!0)}}},100)},function(e){"function"==typeof define&&define.amd?define("picker",["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):this.Picker=e(jQuery)}(function(h){function g(i,n,o,e){function r(){return g._.node("div",g._.node("div",g._.node("div",g._.node("div",f.component.nodes(c.open),d.box),d.wrap),d.frame),d.holder)}function a(e){var t=e.keyCode,n=/^(8|46)$/.test(t);return 27==t?(f.close(),!1):void((32==t||n||!c.open&&f.component.key[t])&&(e.preventDefault(),e.stopPropagation(),n?f.clear().close():f.open()))}function s(e){e.stopPropagation(),"focus"==e.type&&f.$root.addClass(d.focused),f.open()}if(!i)return g;function t(){return this.start()}var l=!1,c={id:i.id||"P"+Math.abs(~~(Math.random()*new Date))},u=o?h.extend(!0,{},o.defaults,e):e||{},d=h.extend({},g.klasses(),u.klass),p=h(i),f=t.prototype={constructor:t,$node:p,start:function(){return c&&c.start?f:(c.methods={},c.start=!0,c.open=!1,c.type=i.type,i.autofocus=i==y(),i.readOnly=!u.editable,i.id=i.id||c.id,"text"!=i.type&&(i.type="text"),f.component=new o(f,u),f.$root=h(g._.node("div",r(),d.picker,'id="'+i.id+'_root" tabindex="0"')),f.$root.on({keydown:a,focusin:function(e){f.$root.removeClass(d.focused),e.stopPropagation()},"mousedown click":function(e){var t=e.target;t!=f.$root.children()[0]&&(e.stopPropagation(),"mousedown"!=e.type||h(t).is("input, select, textarea, button, option")||(e.preventDefault(),f.$root.eq(0).focus()))}}).on({focus:function(){p.addClass(d.target)},blur:function(){p.removeClass(d.target)}}).on("focus.toOpen",s).on("click","[data-pick], [data-nav], [data-clear], [data-close]",function(){var e=h(this),t=e.data(),e=e.hasClass(d.navDisabled)||e.hasClass(d.disabled),n=(n=y())&&(n.type||n.href);(e||n&&!h.contains(f.$root[0],n))&&f.$root.eq(0).focus(),!e&&t.nav?f.set("highlight",f.component.item.highlight,{nav:t.nav}):!e&&"pick"in t?f.set("select",t.pick):t.clear?f.clear().close(!0):t.close&&f.close(!0)}),v(f.$root[0],"hidden",!0),u.formatSubmit&&(!0===u.hiddenName?(t=i.name,i.name=""):t=(t=["string"==typeof u.hiddenPrefix?u.hiddenPrefix:"","string"==typeof u.hiddenSuffix?u.hiddenSuffix:"_submit"])[0]+i.name+t[1],f._hidden=h('<input type=hidden name="'+t+'"'+(p.data("value")||i.value?' value="'+f.get("select",u.formatSubmit)+'"':"")+">")[0],p.on("change."+c.id,function(){f._hidden.value=i.value?f.get("select",u.formatSubmit):""}),u.container?h(u.container).append(f._hidden):p.after(f._hidden)),p.data(n,f).addClass(d.input).attr("tabindex",-1).val(p.data("value")?f.get("select",u.format):i.value),u.editable||p.on("focus."+c.id+" click."+c.id,function(e){e.preventDefault(),f.$root.eq(0).focus()}).on("keydown."+c.id,a),v(i,{haspopup:!0,expanded:!1,readonly:!1,owns:i.id+"_root"}),u.container?h(u.container).append(f.$root):p.after(f.$root),f.on({start:f.component.onStart,render:f.component.onRender,stop:f.component.onStop,open:f.component.onOpen,close:f.component.onClose,set:f.component.onSet}).on({start:u.onStart,render:u.onRender,stop:u.onStop,open:u.onOpen,close:u.onClose,set:u.onSet}),(t=f.$root.children()[0]).currentStyle?e=t.currentStyle.position:window.getComputedStyle&&(e=getComputedStyle(t).position),l="fixed"==e,i.autofocus&&f.open(),f.trigger("start").trigger("render"));var e,t},render:function(e){return e?f.$root.html(r()):f.$root.find("."+d.box).html(f.component.nodes(c.open)),f.trigger("render")},stop:function(){return c.start&&(f.close(),f._hidden&&f._hidden.parentNode.removeChild(f._hidden),f.$root.remove(),p.removeClass(d.input).removeData(n),setTimeout(function(){p.off("."+c.id)},0),i.type=c.type,i.readOnly=!1,f.trigger("stop"),c.methods={},c.start=!1),f},open:function(e){return c.open?f:(p.addClass(d.active),v(i,"expanded",!0),setTimeout(function(){f.$root.addClass(d.opened),v(f.$root[0],"hidden",!1)},0),!1!==e&&(c.open=!0,l&&x.css("overflow","hidden").css("padding-right","+="+m()),f.$root.eq(0).focus(),b.on("click."+c.id+" focusin."+c.id,function(e){var t=e.target;t!=i&&t!=document&&3!=e.which&&f.close(t===f.$root.children()[0])}).on("keydown."+c.id,function(e){var t=e.keyCode,n=f.component.key[t],i=e.target;27==t?f.close(!0):i!=f.$root[0]||!n&&13!=t?h.contains(f.$root[0],i)&&13==t&&(e.preventDefault(),i.click()):(e.preventDefault(),n?g._.trigger(f.component.key.go,f,[g._.trigger(n)]):f.$root.find("."+d.highlighted).hasClass(d.disabled)||f.set("select",f.component.item.highlight).close())})),f.trigger("open"))},close:function(e){return e&&(f.$root.off("focus.toOpen").eq(0).focus(),setTimeout(function(){f.$root.on("focus.toOpen",s)},0)),p.removeClass(d.active),v(i,"expanded",!1),setTimeout(function(){f.$root.removeClass(d.opened+" "+d.focused),v(f.$root[0],"hidden",!0)},0),c.open?(c.open=!1,l&&x.css("overflow","").css("padding-right","-="+m()),b.off("."+c.id),f.trigger("close")):f},clear:function(e){return f.set("clear",null,e)},set:function(e,t,n){var i,o,r=h.isPlainObject(e),a=r?e:{};if(n=r&&h.isPlainObject(t)?t:n||{},e){for(i in r||(a[e]=t),a)o=a[i],i in f.component.item&&(void 0===o&&(o=null),f.component.set(i,o,n)),"select"!=i&&"clear"!=i||p.val("clear"==i?"":f.get(i,u.format)).trigger("change");f.render()}return n.muted?f:f.trigger("set",a)},get:function(e,t){if(null!=c[e=e||"value"])return c[e];if("valueSubmit"==e){if(f._hidden)return f._hidden.value;e="value"}return"value"==e?i.value:e in f.component.item?"string"==typeof t?(n=f.component.get(e))?g._.trigger(f.component.formats.toString,f.component,[t,n]):"":f.component.get(e):void 0;var n},on:function(e,t,n){var i,o,r=h.isPlainObject(e),a=r?e:{};if(e)for(i in r||(a[e]=t),a)o=a[i],n&&(i="_"+i),c.methods[i]=c.methods[i]||[],c.methods[i].push(o);return f},off:function(){var e,t=arguments,n=0;for(namesCount=t.length;n<namesCount;n+=1)(e=t[n])in c.methods&&delete c.methods[e];return f},trigger:function(e,t){function n(e){(e=c.methods[e])&&e.map(function(e){g._.trigger(e,f,[t])})}return n("_"+e),n(e),f}};return new t}function m(){if(x.height()<=i.height())return 0;var e=h('<div style="visibility:hidden;width:100px" />').appendTo("body"),t=e[0].offsetWidth;e.css("overflow","scroll");var n=h('<div style="width:100%" />').appendTo(e)[0].offsetWidth;return e.remove(),t-n}function v(e,t,n){if(h.isPlainObject(t))for(var i in t)o(e,i,t[i]);else o(e,t,n)}function o(e,t,n){e.setAttribute(("role"==t?"":"aria-")+t,n)}function y(){try{return document.activeElement}catch(e){}}var i=h(window),b=h(document),x=h(document.documentElement);return g.klasses=function(e){return{picker:e=e||"picker",opened:e+"--opened",focused:e+"--focused",input:e+"__input",active:e+"__input--active",target:e+"__input--target",holder:e+"__holder",frame:e+"__frame",wrap:e+"__wrap",box:e+"__box"}},g._={group:function(e){for(var t,n="",i=g._.trigger(e.min,e);i<=g._.trigger(e.max,e,[i]);i+=e.i)t=g._.trigger(e.item,e,[i]),n+=g._.node(e.node,t[0],t[1],t[2]);return n},node:function(e,t,n,i){return t?"<"+e+(n=n?' class="'+n+'"':"")+(i=i?" "+i:"")+">"+(t=h.isArray(t)?t.join(""):t)+"</"+e+">":""},lead:function(e){return(e<10?"0":"")+e},trigger:function(e,t,n){return"function"==typeof e?e.apply(t,n||[]):e},digits:function(e){return/\d/.test(e[1])?2:1},isDate:function(e){return-1<{}.toString.call(e).indexOf("Date")&&this.isInteger(e.getDate())},isInteger:function(e){return-1<{}.toString.call(e).indexOf("Number")&&e%1==0},ariaAttr:function(e,t){for(var n in h.isPlainObject(e)||(e={attribute:t}),t="",e)t+=null==e[n]?"":("role"==n?"":"aria-")+n+'="'+e[n]+'"';return t}},g.extend=function(i,o){h.fn[i]=function(e,t){var n=this.data(i);return"picker"==e?n:n&&"string"==typeof e?g._.trigger(n[e],n,[t]):this.each(function(){h(this).data(i)||new g(this,i,o,e)})},h.fn[i].defaults=o.defaults},g}),function(e){"function"==typeof define&&define.amd?define(["picker","jquery"],e):"object"==typeof exports?module.exports=e(require("./picker.js"),require("jquery")):e(Picker,jQuery)}(function(e,h){function t(t,n){function e(){return r.currentStyle?"rtl"==r.currentStyle.direction:"rtl"==getComputedStyle(t.$root[0]).direction}var i,o=this,r=t.$node[0],a=r.value,s=t.$node.data("value"),a=s||a,s=s?n.formatSubmit:n.format;o.settings=n,o.$node=t.$node,o.queue={min:"measure create",max:"measure create",now:"now create",select:"parse create validate",highlight:"parse navigate create validate",view:"parse create validate viewset",disable:"deactivate",enable:"activate"},o.item={},o.item.clear=null,o.item.disable=(n.disable||[]).slice(0),o.item.enable=-(!0===(i=o.item.disable)[0]?i.shift():-1),o.set("min",n.min).set("max",n.max).set("now"),a?o.set("select",a,{format:s}):o.set("select",null).set("highlight",o.item.now),o.key={40:7,38:-7,39:function(){return e()?-1:1},37:function(){return e()?1:-1},go:function(e){var t=o.item.highlight,t=new Date(t.year,t.month,t.date+e);o.set("highlight",t,{interval:e}),this.render()}},t.on("render",function(){t.$root.find("."+n.klass.selectMonth).on("change",function(){var e=this.value;e&&(t.set("highlight",[t.get("view").year,e,t.get("highlight").date]),t.$root.find("."+n.klass.selectMonth).trigger("focus"))}),t.$root.find("."+n.klass.selectYear).on("change",function(){var e=this.value;e&&(t.set("highlight",[e,t.get("view").month,t.get("highlight").date]),t.$root.find("."+n.klass.selectYear).trigger("focus"))})},1).on("open",function(){var e="";o.disabled(o.get("now"))&&(e=":not(."+n.klass.buttonToday+")"),t.$root.find("button"+e+", select").attr("disabled",!1)},1).on("close",function(){t.$root.find("button, select").attr("disabled",!0)},1)}var n,m=e._;function i(e,t,n){e=e.match(/\w+/)[0];return n.mm||n.m||(n.m=t.indexOf(e)+1),e.length}function o(e){return e.match(/\w+/)[0].length}t.prototype.set=function(t,n,i){var o=this,e=o.item;return null===n?e[t="clear"==t?"select":t]=n:(e["enable"==t?"disable":"flip"==t?"enable":t]=o.queue[t].split(" ").map(function(e){return n=o[e](t,n,i)}).pop(),"select"==t?o.set("highlight",e.select,i):"highlight"==t?o.set("view",e.highlight,i):t.match(/^(flip|min|max|disable|enable)$/)&&(e.select&&o.disabled(e.select)&&o.set("select",e.select,i),e.highlight&&o.disabled(e.highlight)&&o.set("highlight",e.highlight,i))),o},t.prototype.get=function(e){return this.item[e]},t.prototype.create=function(e,t,n){var i;return(t=void 0===t?e:t)==-1/0||t==1/0?i=t:t=h.isPlainObject(t)&&m.isInteger(t.pick)?t.obj:h.isArray(t)?(t=new Date(t[0],t[1],t[2]),m.isDate(t)?t:this.create().obj):m.isInteger(t)||m.isDate(t)?this.normalize(new Date(t),n):this.now(e,t,n),{year:i||t.getFullYear(),month:i||t.getMonth(),date:i||t.getDate(),day:i||t.getDay(),obj:i||t,pick:i||t.getTime()}},t.prototype.createRange=function(e,t){function n(e){return!0===e||h.isArray(e)||m.isDate(e)?i.create(e):e}var i=this;return m.isInteger(e)||(e=n(e)),m.isInteger(t)||(t=n(t)),m.isInteger(e)&&h.isPlainObject(t)?e=[t.year,t.month,t.date+e]:m.isInteger(t)&&h.isPlainObject(e)&&(t=[e.year,e.month,e.date+t]),{from:n(e),to:n(t)}},t.prototype.withinRange=function(e,t){return e=this.createRange(e.from,e.to),t.pick>=e.from.pick&&t.pick<=e.to.pick},t.prototype.overlapRanges=function(e,t){return e=this.createRange(e.from,e.to),t=this.createRange(t.from,t.to),this.withinRange(e,t.from)||this.withinRange(e,t.to)||this.withinRange(t,e.from)||this.withinRange(t,e.to)},t.prototype.now=function(e,t,n){return t=new Date,n&&n.rel&&t.setDate(t.getDate()+n.rel),this.normalize(t,n)},t.prototype.navigate=function(e,t,n){var i,o,r,a=h.isArray(t),s=h.isPlainObject(t),l=this.item.view;if(a||s){for(r=s?(i=t.year,o=t.month,t.date):(i=+t[0],o=+t[1],+t[2]),n&&n.nav&&l&&l.month!==o&&(i=l.year,o=l.month),i=(a=new Date(i,o+(n&&n.nav?n.nav:0),1)).getFullYear(),o=a.getMonth();new Date(i,o,r).getMonth()!==o;)--r;t=[i,o,r]}return t},t.prototype.normalize=function(e){return e.setHours(0,0,0,0),e},t.prototype.measure=function(e,t){return t?"string"==typeof t?t=this.parse(e,t):m.isInteger(t)&&(t=this.now(e,t,{rel:t})):t="min"==e?-1/0:1/0,t},t.prototype.viewset=function(e,t){return this.create([t.year,t.month,1])},t.prototype.validate=function(e,n,t){var i,o,r,a,s=this,l=n,c=t&&t.interval?t.interval:1,u=-1===s.item.enable,d=s.item.min,p=s.item.max,f=u&&s.item.disable.filter(function(e){var t;return h.isArray(e)&&((t=s.create(e).pick)<n.pick?i=!0:t>n.pick&&(o=!0)),m.isInteger(e)}).length;if((!t||!t.nav)&&(!u&&s.disabled(n)||u&&s.disabled(n)&&(f||i||o)||!u&&(n.pick<=d.pick||n.pick>=p.pick)))for(u&&!f&&(!o&&0<c||!i&&c<0)&&(c*=-1);s.disabled(n)&&(1<Math.abs(c)&&(n.month<l.month||n.month>l.month)&&(n=l,c=0<c?1:-1),n.pick<=d.pick?(r=!0,c=1,n=s.create([d.year,d.month,d.date+(n.pick===d.pick?0:-1)])):n.pick>=p.pick&&(a=!0,c=-1,n=s.create([p.year,p.month,p.date+(n.pick===p.pick?0:1)])),!r||!a);)n=s.create([n.year,n.month,n.date+c]);return n},t.prototype.disabled=function(t){var n=this,e=(e=n.item.disable.filter(function(e){return m.isInteger(e)?t.day===(n.settings.firstDay?e:e-1)%7:h.isArray(e)||m.isDate(e)?t.pick===n.create(e).pick:h.isPlainObject(e)?n.withinRange(e,t):void 0})).length&&!e.filter(function(e){return h.isArray(e)&&"inverted"==e[3]||h.isPlainObject(e)&&e.inverted}).length;return-1===n.item.enable?!e:e||t.pick<n.item.min.pick||t.pick>n.item.max.pick},t.prototype.parse=function(e,i,t){var o=this,r={};return i&&"string"==typeof i?(t&&t.format||((t=t||{}).format=o.settings.format),o.formats.toArray(t.format).map(function(e){var t=o.formats[e],n=t?m.trigger(t,o,[i,r]):e.replace(/^!/,"").length;t&&(r[e]=i.substr(0,n)),i=i.substr(n)}),[r.yyyy||r.yy,+(r.mm||r.m)-1,r.dd||r.d]):i},t.prototype.formats={d:function(e,t){return e?m.digits(e):t.date},dd:function(e,t){return e?2:m.lead(t.date)},ddd:function(e,t){return e?o(e):this.settings.weekdaysShort[t.day]},dddd:function(e,t){return e?o(e):this.settings.weekdaysFull[t.day]},m:function(e,t){return e?m.digits(e):t.month+1},mm:function(e,t){return e?2:m.lead(t.month+1)},mmm:function(e,t){var n=this.settings.monthsShort;return e?i(e,n,t):n[t.month]},mmmm:function(e,t){var n=this.settings.monthsFull;return e?i(e,n,t):n[t.month]},yy:function(e,t){return e?2:(""+t.year).slice(2)},yyyy:function(e,t){return e?4:t.year},toArray:function(e){return e.split(/(d{1,4}|m{1,4}|y{4}|yy|!.)/g)},toString:function(e,t){var n=this;return n.formats.toArray(e).map(function(e){return m.trigger(n.formats[e],n,[0,t])||e.replace(/^!/,"")}).join("")}},t.prototype.isDateExact=function(e,t){return m.isInteger(e)&&m.isInteger(t)||"boolean"==typeof e&&"boolean"==typeof t?e===t:(m.isDate(e)||h.isArray(e))&&(m.isDate(t)||h.isArray(t))?this.create(e).pick===this.create(t).pick:!(!h.isPlainObject(e)||!h.isPlainObject(t))&&(this.isDateExact(e.from,t.from)&&this.isDateExact(e.to,t.to))},t.prototype.isDateOverlap=function(e,t){var n=this.settings.firstDay?1:0;return m.isInteger(e)&&(m.isDate(t)||h.isArray(t))?(e=e%7+n)===this.create(t).day+1:m.isInteger(t)&&(m.isDate(e)||h.isArray(e))?(t=t%7+n)===this.create(e).day+1:!(!h.isPlainObject(e)||!h.isPlainObject(t))&&this.overlapRanges(e,t)},t.prototype.flipEnable=function(e){var t=this.item;t.enable=e||(-1==t.enable?1:-1)},t.prototype.deactivate=function(e,t){var i=this,o=i.item.disable.slice(0);return"flip"==t?i.flipEnable():!1===t?(i.flipEnable(1),o=[]):!0===t?(i.flipEnable(-1),o=[]):t.map(function(e){for(var t,n=0;n<o.length;n+=1)if(i.isDateExact(e,o[n])){t=!0;break}t||(m.isInteger(e)||m.isDate(e)||h.isArray(e)||h.isPlainObject(e)&&e.from&&e.to)&&o.push(e)}),o},t.prototype.activate=function(e,t){var r=this,a=r.item.disable,s=a.length;return"flip"==t?r.flipEnable():!0===t?(r.flipEnable(1),a=[]):!1===t?(r.flipEnable(-1),a=[]):t.map(function(e){for(var t,n,i,o=0;o<s;o+=1){if(n=a[o],r.isDateExact(n,e)){i=!(t=a[o]=null);break}if(r.isDateOverlap(n,e)){h.isPlainObject(e)?(e.inverted=!0,t=e):h.isArray(e)?(t=e)[3]||t.push("inverted"):m.isDate(e)&&(t=[e.getFullYear(),e.getMonth(),e.getDate(),"inverted"]);break}}if(t)for(o=0;o<s;o+=1)if(r.isDateExact(a[o],e)){a[o]=null;break}if(i)for(o=0;o<s;o+=1)if(r.isDateOverlap(a[o],e)){a[o]=null;break}t&&a.push(t)}),a.filter(function(e){return null!=e})},t.prototype.nodes=function(s){function e(e){return m.node("div"," ",c.klass["nav"+(e?"Next":"Prev")]+(e&&p.year>=g.year&&p.month>=g.month||!e&&p.year<=h.year&&p.month<=h.month?" "+c.klass.navDisabled:""),"data-nav="+(e||-1)+" "+m.ariaAttr({role:"button",controls:l.$node[0].id+"_table"})+' title="'+(e?c.labelMonthNext:c.labelMonthPrev)+'"')}function t(e){var t=c.showMonthsShort?c.monthsShort:c.monthsFull;return"short_months"==e&&(t=c.monthsShort),c.selectMonths&&null==e?m.node("select",m.group({min:0,max:11,i:1,node:"option",item:function(e){return[t[e],0,"value="+e+(p.month==e?" selected":"")+(p.year==h.year&&e<h.month||p.year==g.year&&e>g.month?" disabled":"")]}}),c.klass.selectMonth+" browser-default",(s?"":"disabled")+" "+m.ariaAttr({controls:l.$node[0].id+"_table"})+' title="'+c.labelMonthSelect+'"'):"short_months"==e?null!=u?m.node("div",t[u.month]):m.node("div",t[p.month]):m.node("div",t[p.month],c.klass.month)}function n(e){var t=p.year;if(a=!0===c.selectYears?5:~~(c.selectYears/2)){var n,i=h.year,o=g.year,r=t-a,a=t+a;if(r<i&&(a+=i-r,r=i),o<a&&(r-=(n=a-o)<(i=r-i)?n:i,a=o),c.selectYears&&null==e)return m.node("select",m.group({min:r,max:a,i:1,node:"option",item:function(e){return[e,0,"value="+e+(t==e?" selected":"")]}}),c.klass.selectYear+" browser-default",(s?"":"disabled")+" "+m.ariaAttr({controls:l.$node[0].id+"_table"})+' title="'+c.labelYearSelect+'"')}return"raw"==e?m.node("div",t):m.node("div",t,c.klass.year)}var i,o,l=this,c=l.settings,r=l.item,a=r.now,u=r.select,d=r.highlight,p=r.view,f=r.disable,h=r.min,g=r.max,r=(i=(c.showWeekdaysFull?c.weekdaysFull:c.weekdaysLetter).slice(0),o=c.weekdaysFull.slice(0),c.firstDay&&(i.push(i.shift()),o.push(o.shift())),m.node("thead",m.node("tr",m.group({min:0,max:6,i:1,node:"th",item:function(e){return[i[e],c.klass.weekdays,'scope=col title="'+o[e]+'"']}}))));return createDayLabel=function(){return null!=u?m.node("div",u.date):m.node("div",a.date)},createWeekdayLabel=function(){var e=(null!=u?u:a).day;return c.weekdaysFull[e]},m.node("div",m.node("div",createWeekdayLabel(),"picker__weekday-display")+m.node("div",t("short_months"),c.klass.month_display)+m.node("div",createDayLabel(),c.klass.day_display)+m.node("div",n("raw"),c.klass.year_display),c.klass.date_display)+m.node("div",m.node("div",(c.selectYears,t()+n()+e()+e(1)),c.klass.header)+m.node("table",r+m.node("tbody",m.group({min:0,max:5,i:1,node:"tr",item:function(e){var t=c.firstDay&&0===l.create([p.year,p.month,1]).day?-7:0;return[m.group({min:7*e-p.day+t+1,max:function(){return this.min+7-1},i:1,node:"td",item:function(e){e=l.create([p.year,p.month,e+(c.firstDay?1:0)]);var t,n=u&&u.pick==e.pick,i=d&&d.pick==e.pick,o=f&&l.disabled(e)||e.pick<h.pick||e.pick>g.pick,r=m.trigger(l.formats.toString,l,[c.format,e]);return[m.node("div",e.date,((t=[c.klass.day]).push(p.month==e.month?c.klass.infocus:c.klass.outfocus),a.pick==e.pick&&t.push(c.klass.now),n&&t.push(c.klass.selected),i&&t.push(c.klass.highlighted),o&&t.push(c.klass.disabled),t.join(" ")),"data-pick="+e.pick+" "+m.ariaAttr({role:"gridcell",label:r,selected:!(!n||l.$node.val()!==r)||null,activedescendant:!!i||null,disabled:!!o||null})),"",m.ariaAttr({role:"presentation"})]}})]}})),c.klass.table,'id="'+l.$node[0].id+'_table" '+m.ariaAttr({role:"grid",controls:l.$node[0].id,readonly:!0})),c.klass.calendar_container)+m.node("div",m.node("button",c.today,"btn-flat picker__today","type=button data-pick="+a.pick+(s&&!l.disabled(a)?"":" disabled")+" "+m.ariaAttr({controls:l.$node[0].id}))+m.node("button",c.clear,"btn-flat picker__clear","type=button data-clear=1"+(s?"":" disabled")+" "+m.ariaAttr({controls:l.$node[0].id}))+m.node("button",c.close,"btn-flat picker__close","type=button data-close=true "+(s?"":" disabled")+" "+m.ariaAttr({controls:l.$node[0].id})),c.klass.footer)},t.defaults={labelMonthNext:"Next month",labelMonthPrev:"Previous month",labelMonthSelect:"Select a month",labelYearSelect:"Select a year",monthsFull:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdaysFull:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],weekdaysLetter:["S","M","T","W","T","F","S"],today:"Today",clear:"Clear",close:"Close",format:"d mmmm, yyyy",klass:{table:(n=e.klasses().picker+"__")+"table",header:n+"header",date_display:n+"date-display",day_display:n+"day-display",month_display:n+"month-display",year_display:n+"year-display",calendar_container:n+"calendar-container",navPrev:n+"nav--prev",navNext:n+"nav--next",navDisabled:n+"nav--disabled",month:n+"month",year:n+"year",selectMonth:n+"select--month",selectYear:n+"select--year",weekdays:n+"weekday",day:n+"day",disabled:n+"day--disabled",selected:n+"day--selected",highlighted:n+"day--highlighted",now:n+"day--today",infocus:n+"day--infocus",outfocus:n+"day--outfocus",footer:n+"footer",buttonClear:n+"button--clear",buttonToday:n+"button--today",buttonClose:n+"button--close"}},e.extend("pickadate",t)}),function(i){function n(){var e=+i(this).attr("length"),t=+i(this).val().length,n=t<=e;i(this).parent().find('span[class="character-counter"]').html(t+"/"+e),t=n,e=i(this),n=e.hasClass("invalid"),t&&n?e.removeClass("invalid"):t||n||(e.removeClass("valid"),e.addClass("invalid"))}function o(){i(this).parent().find('span[class="character-counter"]').html("")}i.fn.characterCounter=function(){return this.each(function(){var e,t=i(this);t.parent().find('span[class="character-counter"]').length||void 0!==t.attr("length")&&(t.on("input",n),t.on("focus",n),t.on("blur",o),(t=t).parent().find('span[class="character-counter"]').length||(e=i("<span/>").addClass("character-counter").css("float","right").css("font-size","12px").css("height",1),t.parent().append(e)))})},i(document).ready(function(){i("input, textarea").characterCounter()})}(jQuery),function(I){var t={init:function(N){return N=I.extend({time_constant:200,dist:-100,shift:0,padding:0,full_width:!1,indicators:!1,no_wrap:!1},N),this.each(function(){function i(e){return(e.targetTouches&&1<=e.targetTouches.length?e.targetTouches[0]:e).clientX}function o(e){return(e.targetTouches&&1<=e.targetTouches.length?e.targetTouches[0]:e).clientY}function c(e){return m<=e?e%m:e<0?c(m+e%m):e}function r(e){var t,n,i,o,r,a,s,l;for(p="number"==typeof e?e:p,f=Math.floor((p+g/2)/g),r=-(o=(i=p-f*g)<0?1:-1)*i*2/g,n=m>>1,N.full_width?s="translateX(0)":(s="translateX("+(j[0].clientWidth-item_width)/2+"px) ",s+="translateY("+(j[0].clientHeight-item_width)/2+"px)"),D&&(e=f%m,(l=q.find(".indicator-item.active")).index()!==e&&(l.removeClass("active"),q.find(".indicator-item").eq(e).addClass("active"))),(!N.no_wrap||0<=f&&f<m)&&((a=d[c(f)]).style[T]=s+" translateX("+-i/2+"px) translateX("+o*N.shift*r*t+"px) translateZ("+N.dist*r+"px)",a.style.zIndex=0,tweenedOpacity=N.full_width?1:1-.2*r,a.style.opacity=tweenedOpacity,a.style.display="block"),t=1;t<=n;++t)tweenedOpacity=N.full_width?(zTranslation=N.dist,t===n&&i<0?1-r:1):(zTranslation=N.dist*(2*t+r*o),1-.2*(2*t+r*o)),(!N.no_wrap||f+t<m)&&((a=d[c(f+t)]).style[T]=s+" translateX("+(N.shift+(g*t-i)/2)+"px) translateZ("+zTranslation+"px)",a.style.zIndex=-t,a.style.opacity=tweenedOpacity,a.style.display="block"),tweenedOpacity=N.full_width?(zTranslation=N.dist,t===n&&0<i?1-r:1):(zTranslation=N.dist*(2*t-r*o),1-.2*(2*t-r*o)),(!N.no_wrap||0<=f-t)&&((a=d[c(f-t)]).style[T]=s+" translateX("+(-N.shift+(-g*t-i)/2)+"px) translateZ("+zTranslation+"px)",a.style.zIndex=-t,a.style.opacity=tweenedOpacity,a.style.display="block");(!N.no_wrap||0<=f&&f<m)&&((a=d[c(f)]).style[T]=s+" translateX("+-i/2+"px) translateX("+o*N.shift*r+"px) translateZ("+N.dist*r+"px)",a.style.zIndex=0,tweenedOpacity=N.full_width?1:1-.2*r,a.style.opacity=tweenedOpacity,a.style.display="block")}function t(){var e=Date.now(),t=e-S;S=e,e=p-k,k=p,C=.8*(1e3*e/(1+t))+.2*C}function n(){var e;x&&(e=Date.now()-S,2<(e=x*Math.exp(-e/N.time_constant))||e<-2?(r(w-e),requestAnimationFrame(n)):r(w))}function e(e){if(P)return e.preventDefault(),e.stopPropagation(),!1;var t;N.full_width||(t=I(e.target).closest(".carousel-item").index(),0!=f%m-t&&(e.preventDefault(),e.stopPropagation()),a(t))}function a(e){e=f%m-e;N.no_wrap||(e<0?Math.abs(e+m)<Math.abs(e)&&(e+=m):0<e&&Math.abs(e-m)<e&&(e-=m)),e<0?j.trigger("carouselNext",[Math.abs(e)]):0<e&&j.trigger("carouselPrev",[e])}function s(e){A=P=!(h=!0),v=i(e),b=o(e),C=x=0,k=p,S=Date.now(),clearInterval(E),E=setInterval(t,100)}function l(e){var t,n;if(h)if(t=i(e),y=o(e),n=v-t,Math.abs(b-y)<30&&!A)(2<n||n<-2)&&(P=!0,v=t,r(p+n));else{if(P)return e.preventDefault(),e.stopPropagation(),!1;A=!0}return P?(e.preventDefault(),e.stopPropagation(),!1):void 0}function u(e){return h?(h=!1,clearInterval(E),w=p,(10<C||C<-10)&&(w=p+(x=.9*C)),w=Math.round(w/g)*g,N.no_wrap&&(g*(m-1)<=w?w=g*(m-1):w<0&&(w=0)),x=w-p,S=Date.now(),requestAnimationFrame(n),P&&(e.preventDefault(),e.stopPropagation()),!1):void 0}var d,p,f,h,g,m,v,b,x,w,C,T,k,S,E,P,A,O,q=I('<ul class="indicators"></ul>'),j=I(this),D=j.attr("data-indicators")||N.indicators;if(j.hasClass("initialized"))return I(this).trigger("carouselNext",[1e-6]),!0;N.full_width&&(N.dist=0,(O=j.find(".carousel-item img").first()).length?imageHeight=O.on("load",function(){j.css("height",I(this).height())}):(imageHeight=j.find(".carousel-item").first().height(),j.css("height",imageHeight)),D&&j.find(".carousel-fixed-item").addClass("with-indicators")),j.addClass("initialized"),h=!1,p=w=0,d=[],item_width=j.find(".carousel-item").first().innerWidth(),g=2*item_width+N.padding,j.find(".carousel-item").each(function(e){var t;d.push(I(this)[0]),D&&(t=I('<li class="indicator-item"></li>'),0===e&&t.addClass("active"),t.click(function(){a(I(this).index())}),q.append(t))}),D&&j.append(q),m=d.length,T="transform",["webkit","Moz","O","ms"].every(function(e){e+="Transform";return void 0===document.body.style[e]||(T=e,!1)}),window.onresize=r,void 0!==window.ontouchstart&&(j[0].addEventListener("touchstart",s),j[0].addEventListener("touchmove",l),j[0].addEventListener("touchend",u)),j[0].addEventListener("mousedown",s),j[0].addEventListener("mousemove",l),j[0].addEventListener("mouseup",u),j[0].addEventListener("mouseleave",u),j[0].addEventListener("click",e),r(p),I(this).on("carouselNext",function(e,t){p!==(w=p+g*(t=void 0===t?1:t))&&(x=w-p,S=Date.now(),requestAnimationFrame(n))}),I(this).on("carouselPrev",function(e,t){p!==(w=p-g*(t=void 0===t?1:t))&&(x=w-p,S=Date.now(),requestAnimationFrame(n))}),I(this).on("carouselSet",function(e,t){a(t=void 0===t?0:t)})})},next:function(e){I(this).trigger("carouselNext",[e])},prev:function(e){I(this).trigger("carouselPrev",[e])},set:function(e){I(this).trigger("carouselSet",[e])}};I.fn.carousel=function(e){return t[e]?t[e].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof e&&e?void I.error("Method "+e+" does not exist on jQuery.carousel"):t.init.apply(this,arguments)}}(jQuery),$(document).ready(function(){$(".button-collapse").sideNav(),verMasBtn(),verOpcionalesBtn(),$(".modal").modal(),$(".slider").slider({full_width:!0,indicators:!1,height:600,interval:6e3}),600<$(window).width()?$("nav.fix").pushpin({top:20,offset:0}):$("nav.fix").pushpin({top:0,offset:0}),$("#mobile-ad img").removeClass("responsive-img"),resizing()}),$(window).resize(resizing);