!function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(f,e){function t(e,t){return t.toUpperCase()}var d=[],c=d.slice,m=d.concat,a=d.push,r=d.indexOf,n={},i=n.toString,g=n.hasOwnProperty,v={},o="1.11.3",S=function(e,t){return new S.fn.init(e,t)},s=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,l=/^-ms-/,u=/-([\da-z])/gi;function h(e){var t="length"in e&&e.length,n=S.type(e);return"function"!==n&&!S.isWindow(e)&&(!(1!==e.nodeType||!t)||("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e))}S.fn=S.prototype={jquery:o,constructor:S,selector:"",length:0,toArray:function(){return c.call(this)},get:function(e){return null!=e?e<0?this[e+this.length]:this[e]:c.call(this)},pushStack:function(e){var t=S.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return S.each(this,e,t)},map:function(n){return this.pushStack(S.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(c.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:a,sort:d.sort,splice:d.splice},S.extend=S.fn.extend=function(){var e,t,n,i,r,o,s=arguments[0]||{},a=1,l=arguments.length,u=!1;for("boolean"==typeof s&&(u=s,s=arguments[a]||{},a++),"object"==typeof s||S.isFunction(s)||(s={}),a===l&&(s=this,a--);a<l;a++)if(null!=(r=arguments[a]))for(i in r)e=s[i],s!==(n=r[i])&&(u&&n&&(S.isPlainObject(n)||(t=S.isArray(n)))?(o=t?(t=!1,e&&S.isArray(e)?e:[]):e&&S.isPlainObject(e)?e:{},s[i]=S.extend(u,o,n)):void 0!==n&&(s[i]=n));return s},S.extend({expando:"jQuery"+(o+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===S.type(e)},isArray:Array.isArray||function(e){return"array"===S.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!S.isArray(e)&&0<=e-parseFloat(e)+1},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},isPlainObject:function(e){var t;if(!e||"object"!==S.type(e)||e.nodeType||S.isWindow(e))return!1;try{if(e.constructor&&!g.call(e,"constructor")&&!g.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(e){return!1}if(v.ownLast)for(t in e)return g.call(e,t);for(t in e);return void 0===t||g.call(e,t)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[i.call(e)]||"object":typeof e},globalEval:function(e){e&&S.trim(e)&&(f.execScript||function(e){f.eval.call(f,e)})(e)},camelCase:function(e){return e.replace(l,"ms-").replace(u,t)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var i=0,r=e.length,o=h(e);if(n){if(o)for(;i<r&&!1!==t.apply(e[i],n);i++);else for(i in e)if(!1===t.apply(e[i],n))break}else if(o)for(;i<r&&!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(s,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(h(Object(e))?S.merge(n,"string"==typeof e?[e]:e):a.call(n,e)),n},inArray:function(e,t,n){var i;if(t){if(r)return r.call(t,e,n);for(i=t.length,n=n?n<0?Math.max(0,i+n):n:0;n<i;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,t){for(var n=+t.length,i=0,r=e.length;i<n;)e[r++]=t[i++];if(n!=n)for(;void 0!==t[i];)e[r++]=t[i++];return e.length=r,e},grep:function(e,t,n){for(var i=[],r=0,o=e.length,s=!n;r<o;r++)!t(e[r],r)!=s&&i.push(e[r]);return i},map:function(e,t,n){var i,r=0,o=e.length,s=[];if(h(e))for(;r<o;r++)null!=(i=t(e[r],r,n))&&s.push(i);else for(r in e)null!=(i=t(e[r],r,n))&&s.push(i);return m.apply([],s)},guid:1,proxy:function(e,t){var n,i,r;return"string"==typeof t&&(r=e[t],t=e,e=r),S.isFunction(e)?(n=c.call(arguments,2),(i=function(){return e.apply(t||this,n.concat(c.call(arguments)))}).guid=e.guid=e.guid||S.guid++,i):void 0},now:function(){return+new Date},support:v}),S.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var p=function(n){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 i(){v()}var e,f,x,o,r,m,h,g,w,u,c,v,C,s,y,b,a,p,S,T="sizzle"+ +new Date,E=n.document,k=0,N=0,l=oe(),P=oe(),A=oe(),D=function(e,t){return e===t&&(c=!0),0},j={}.hasOwnProperty,t=[],L=t.pop,I=t.push,O=t.push,F=t.slice,M=function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1},q="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",H="[\\x20\\t\\r\\n\\f]",R="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",_=R.replace("w","w#"),z="\\["+H+"*("+R+")(?:"+H+"*([*^$|!~]?=)"+H+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+_+"))|)"+H+"*\\]",B=":("+R+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+z+")*)|.*)\\)|)",W=new RegExp(H+"+","g"),$=new RegExp("^"+H+"+|((?:^|[^\\\\])(?:\\\\.)*)"+H+"+$","g"),V=new RegExp("^"+H+"*,"+H+"*"),X=new RegExp("^"+H+"*([>+~]|"+H+")"+H+"*"),Y=new RegExp("="+H+"*([^\\]'\"]*?)"+H+"*\\]","g"),U=new RegExp(B),Q=new RegExp("^"+_+"$"),G={ID:new RegExp("^#("+R+")"),CLASS:new RegExp("^\\.("+R+")"),TAG:new RegExp("^("+R.replace("w","w*")+")"),ATTR:new RegExp("^"+z),PSEUDO:new RegExp("^"+B),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+H+"*(even|odd|(([+-]|)(\\d*)n|)"+H+"*(?:([+-]|)"+H+"*(\\d+)|))"+H+"*\\)|)","i"),bool:new RegExp("^(?:"+q+")$","i"),needsContext:new RegExp("^"+H+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+H+"*((?:-\\d)?\\d*)"+H+"*\\)|)(?=[^-]|$)","i")},J=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,ee=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,te=/[+~]/,ne=/'|\\/g,ie=new RegExp("\\\\([\\da-f]{1,6}"+H+"?|("+H+")|.)","ig");try{O.apply(t=F.call(E.childNodes),E.childNodes),t[E.childNodes.length].nodeType}catch(e){O={apply:t.length?function(e,t){I.apply(e,F.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}function re(e,t,n,i){var r,o,s,a,l,u,c,d,h,p;if((t?t.ownerDocument||t:E)!==C&&v(t),n=n||[],a=(t=t||C).nodeType,"string"!=typeof e||!e||1!==a&&9!==a&&11!==a)return n;if(!i&&y){if(11!==a&&(r=ee.exec(e)))if(s=r[1]){if(9===a){if(!(o=t.getElementById(s))||!o.parentNode)return n;if(o.id===s)return n.push(o),n}else if(t.ownerDocument&&(o=t.ownerDocument.getElementById(s))&&S(t,o)&&o.id===s)return n.push(o),n}else{if(r[2])return O.apply(n,t.getElementsByTagName(e)),n;if((s=r[3])&&f.getElementsByClassName)return O.apply(n,t.getElementsByClassName(s)),n}if(f.qsa&&(!b||!b.test(e))){if(d=c=T,h=t,p=1!==a&&e,1===a&&"object"!==t.nodeName.toLowerCase()){for(u=m(e),(c=t.getAttribute("id"))?d=c.replace(ne,"\\$&"):t.setAttribute("id",d),d="[id='"+d+"'] ",l=u.length;l--;)u[l]=d+me(u[l]);h=te.test(e)&&pe(t.parentNode)||t,p=u.join(",")}if(p)try{return O.apply(n,h.querySelectorAll(p)),n}catch(e){}finally{c||t.removeAttribute("id")}}}return g(e.replace($,"$1"),t,n,i)}function oe(){var i=[];return function e(t,n){return i.push(t+" ")>x.cacheLength&&delete e[i.shift()],e[t+" "]=n}}function se(e){return e[T]=!0,e}function ae(e){var t=C.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function le(e,t){for(var n=e.split("|"),i=e.length;i--;)x.attrHandle[n[i]]=t}function ue(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 ce(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function de(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function he(s){return se(function(o){return o=+o,se(function(e,t){for(var n,i=s([],e.length,o),r=i.length;r--;)e[n=i[r]]&&(e[n]=!(t[n]=e[n]))})})}function pe(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in f=re.support={},r=re.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},v=re.setDocument=function(e){var t,n,l=e?e.ownerDocument||e:E;return l!==C&&9===l.nodeType&&l.documentElement?(s=(C=l).documentElement,(n=l.defaultView)&&n!==n.top&&(n.addEventListener?n.addEventListener("unload",i,!1):n.attachEvent&&n.attachEvent("onunload",i)),y=!r(l),f.attributes=ae(function(e){return e.className="i",!e.getAttribute("className")}),f.getElementsByTagName=ae(function(e){return e.appendChild(l.createComment("")),!e.getElementsByTagName("*").length}),f.getElementsByClassName=K.test(l.getElementsByClassName),f.getById=ae(function(e){return s.appendChild(e).id=T,!l.getElementsByName||!l.getElementsByName(T).length}),f.getById?(x.find.ID=function(e,t){if(void 0!==t.getElementById&&y){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},x.filter.ID=function(e){var t=e.replace(ie,d);return function(e){return e.getAttribute("id")===t}}):(delete x.find.ID,x.filter.ID=function(e){var n=e.replace(ie,d);return function(e){var t=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}}),x.find.TAG=f.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):f.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],r=0,o=t.getElementsByTagName(e);if("*"!==e)return o;for(;n=o[r++];)1===n.nodeType&&i.push(n);return i},x.find.CLASS=f.getElementsByClassName&&function(e,t){return y?t.getElementsByClassName(e):void 0},a=[],b=[],(f.qsa=K.test(l.querySelectorAll))&&(ae(function(e){s.appendChild(e).innerHTML="<a id='"+T+"'></a><select id='"+T+"-\f]' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&b.push("[*^$]="+H+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||b.push("\\["+H+"*(?:value|"+q+")"),e.querySelectorAll("[id~="+T+"-]").length||b.push("~="),e.querySelectorAll(":checked").length||b.push(":checked"),e.querySelectorAll("a#"+T+"+*").length||b.push(".#.+[+~]")}),ae(function(e){var t=l.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&b.push("name"+H+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||b.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),b.push(",.*:")})),(f.matchesSelector=K.test(p=s.matches||s.webkitMatchesSelector||s.mozMatchesSelector||s.oMatchesSelector||s.msMatchesSelector))&&ae(function(e){f.disconnectedMatch=p.call(e,"div"),p.call(e,"[s!='']:x"),a.push("!=",B)}),b=b.length&&new RegExp(b.join("|")),a=a.length&&new RegExp(a.join("|")),t=K.test(s.compareDocumentPosition),S=t||K.test(s.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},D=t?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)||!f.sortDetached&&t.compareDocumentPosition(e)===n?e===l||e.ownerDocument===E&&S(E,e)?-1:t===l||t.ownerDocument===E&&S(E,t)?1:u?M(u,e)-M(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return c=!0,0;var n,i=0,r=e.parentNode,o=t.parentNode,s=[e],a=[t];if(!r||!o)return e===l?-1:t===l?1:r?-1:o?1:u?M(u,e)-M(u,t):0;if(r===o)return ue(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)a.unshift(n);for(;s[i]===a[i];)i++;return i?ue(s[i],a[i]):s[i]===E?-1:a[i]===E?1:0},l):C},re.matches=function(e,t){return re(e,null,null,t)},re.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&v(e),t=t.replace(Y,"='$1']"),!(!f.matchesSelector||!y||a&&a.test(t)||b&&b.test(t)))try{var n=p.call(e,t);if(n||f.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){}return 0<re(t,C,null,[e]).length},re.contains=function(e,t){return(e.ownerDocument||e)!==C&&v(e),S(e,t)},re.attr=function(e,t){(e.ownerDocument||e)!==C&&v(e);var n=x.attrHandle[t.toLowerCase()],i=n&&j.call(x.attrHandle,t.toLowerCase())?n(e,t,!y):void 0;return void 0!==i?i:f.attributes||!y?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},re.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},re.uniqueSort=function(e){var t,n=[],i=0,r=0;if(c=!f.detectDuplicates,u=!f.sortStable&&e.slice(0),e.sort(D),c){for(;t=e[r++];)t===e[r]&&(i=n.push(r));for(;i--;)e.splice(n[i],1)}return u=null,e},o=re.getText=function(e){var t,n="",i=0,r=e.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===r||4===r)return e.nodeValue}else for(;t=e[i++];)n+=o(t);return n},(x=re.selectors={cacheLength:50,createPseudo:se,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ie,d),e[3]=(e[3]||e[4]||e[5]||"").replace(ie,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]||re.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]&&re.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&U.test(n)&&(t=m(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(ie,d).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=l[e+" "];return t||(t=new RegExp("(^|"+H+")"+e+"("+H+"|$)"))&&l(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,i,r){return function(e){var t=re.attr(e,n);return null==t?"!="===i:!i||(t+="","="===i?t===r:"!="===i?t!==r:"^="===i?r&&0===t.indexOf(r):"*="===i?r&&-1<t.indexOf(r):"$="===i?r&&t.slice(-r.length)===r:"~="===i?-1<(" "+t.replace(W," ")+" ").indexOf(r):"|="===i&&(t===r||t.slice(0,r.length+1)===r+"-"))}},CHILD:function(p,e,t,f,m){var g="nth"!==p.slice(0,3),v="last"!==p.slice(-4),y="of-type"===e;return 1===f&&0===m?function(e){return!!e.parentNode}:function(e,t,n){var i,r,o,s,a,l,u=g!=v?"nextSibling":"previousSibling",c=e.parentNode,d=y&&e.nodeName.toLowerCase(),h=!n&&!y;if(c){if(g){for(;u;){for(o=e;o=o[u];)if(y?o.nodeName.toLowerCase()===d:1===o.nodeType)return!1;l=u="only"===p&&!l&&"nextSibling"}return!0}if(l=[v?c.firstChild:c.lastChild],v&&h){for(a=(i=(r=c[T]||(c[T]={}))[p]||[])[0]===k&&i[1],s=i[0]===k&&i[2],o=a&&c.childNodes[a];o=++a&&o&&o[u]||(s=a=0)||l.pop();)if(1===o.nodeType&&++s&&o===e){r[p]=[k,a,s];break}}else if(h&&(i=(e[T]||(e[T]={}))[p])&&i[0]===k)s=i[1];else for(;(o=++a&&o&&o[u]||(s=a=0)||l.pop())&&((y?o.nodeName.toLowerCase()!==d:1!==o.nodeType)||!++s||(h&&((o[T]||(o[T]={}))[p]=[k,s]),o!==e)););return(s-=m)===f||s%f==0&&0<=s/f}}},PSEUDO:function(e,o){var t,s=x.pseudos[e]||x.setFilters[e.toLowerCase()]||re.error("unsupported pseudo: "+e);return s[T]?s(o):1<s.length?(t=[e,e,"",o],x.setFilters.hasOwnProperty(e.toLowerCase())?se(function(e,t){for(var n,i=s(e,o),r=i.length;r--;)e[n=M(e,i[r])]=!(t[n]=i[r])}):function(e){return s(e,0,t)}):s}},pseudos:{not:se(function(e){var i=[],r=[],a=h(e.replace($,"$1"));return a[T]?se(function(e,t,n,i){for(var r,o=a(e,null,i,[]),s=e.length;s--;)(r=o[s])&&(e[s]=!(t[s]=r))}):function(e,t,n){return i[0]=e,a(i,null,n,r),i[0]=null,!r.pop()}}),has:se(function(t){return function(e){return 0<re(t,e).length}}),contains:se(function(t){return t=t.replace(ie,d),function(e){return-1<(e.textContent||e.innerText||o(e)).indexOf(t)}}),lang:se(function(n){return Q.test(n||"")||re.error("unsupported lang: "+n),n=n.replace(ie,d).toLowerCase(),function(e){var t;do{if(t=y?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=n.location&&n.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===s},focus:function(e){return e===C.activeElement&&(!C.hasFocus||C.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 Z.test(e.nodeName)},input:function(e){return J.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:he(function(){return[0]}),last:he(function(e,t){return[t-1]}),eq:he(function(e,t,n){return[n<0?n+t:n]}),even:he(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:he(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:he(function(e,t,n){for(var i=n<0?n+t:n;0<=--i;)e.push(i);return e}),gt:he(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]=ce(e);for(e in{submit:!0,reset:!0})x.pseudos[e]=de(e);function fe(){}function me(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function ge(s,e,t){var a=e.dir,l=t&&"parentNode"===a,u=N++;return e.first?function(e,t,n){for(;e=e[a];)if(1===e.nodeType||l)return s(e,t,n)}:function(e,t,n){var i,r,o=[k,u];if(n){for(;e=e[a];)if((1===e.nodeType||l)&&s(e,t,n))return!0}else for(;e=e[a];)if(1===e.nodeType||l){if((i=(r=e[T]||(e[T]={}))[a])&&i[0]===k&&i[1]===u)return o[2]=i[2];if((r[a]=o)[2]=s(e,t,n))return!0}}}function ve(r){return 1<r.length?function(e,t,n){for(var i=r.length;i--;)if(!r[i](e,t,n))return!1;return!0}:r[0]}function ye(e,t,n,i,r){for(var o,s=[],a=0,l=e.length,u=null!=t;a<l;a++)!(o=e[a])||n&&!n(o,i,r)||(s.push(o),u&&t.push(a));return s}function be(p,f,m,g,v,e){return g&&!g[T]&&(g=be(g)),v&&!v[T]&&(v=be(v,e)),se(function(e,t,n,i){var r,o,s,a=[],l=[],u=t.length,c=e||function(e,t,n){for(var i=0,r=t.length;i<r;i++)re(e,t[i],n);return n}(f||"*",n.nodeType?[n]:n,[]),d=!p||!e&&f?c:ye(c,a,p,n,i),h=m?v||(e?p:u||g)?[]:t:d;if(m&&m(d,h,n,i),g)for(r=ye(h,l),g(r,[],n,i),o=r.length;o--;)(s=r[o])&&(h[l[o]]=!(d[l[o]]=s));if(e){if(v||p){if(v){for(r=[],o=h.length;o--;)(s=h[o])&&r.push(d[o]=s);v(null,h=[],r,i)}for(o=h.length;o--;)(s=h[o])&&-1<(r=v?M(e,s):a[o])&&(e[r]=!(t[r]=s))}}else h=ye(h===t?h.splice(u,h.length):h),v?v(null,t,h,i):O.apply(t,h)})}function xe(e){for(var r,t,n,i=e.length,o=x.relative[e[0].type],s=o||x.relative[" "],a=o?1:0,l=ge(function(e){return e===r},s,!0),u=ge(function(e){return-1<M(r,e)},s,!0),c=[function(e,t,n){var i=!o&&(n||t!==w)||((r=t).nodeType?l:u)(e,t,n);return r=null,i}];a<i;a++)if(t=x.relative[e[a].type])c=[ge(ve(c),t)];else{if((t=x.filter[e[a].type].apply(null,e[a].matches))[T]){for(n=++a;n<i&&!x.relative[e[n].type];n++);return be(1<a&&ve(c),1<a&&me(e.slice(0,a-1).concat({value:" "===e[a-2].type?"*":""})).replace($,"$1"),t,a<n&&xe(e.slice(a,n)),n<i&&xe(e=e.slice(n)),n<i&&me(e))}c.push(t)}return ve(c)}function we(g,v){function e(e,t,n,i,r){var o,s,a,l=0,u="0",c=e&&[],d=[],h=w,p=e||b&&x.find.TAG("*",r),f=k+=null==h?1:Math.random()||.1,m=p.length;for(r&&(w=t!==C&&t);u!==m&&null!=(o=p[u]);u++){if(b&&o){for(s=0;a=g[s++];)if(a(o,t,n)){i.push(o);break}r&&(k=f)}y&&((o=!a&&o)&&l--,e&&c.push(o))}if(l+=u,y&&u!==l){for(s=0;a=v[s++];)a(c,d,t,n);if(e){if(0<l)for(;u--;)c[u]||d[u]||(d[u]=L.call(i));d=ye(d)}O.apply(i,d),r&&!e&&0<d.length&&1<l+v.length&&re.uniqueSort(i)}return r&&(k=f,w=h),c}var y=0<v.length,b=0<g.length;return y?se(e):e}return fe.prototype=x.filters=x.pseudos,x.setFilters=new fe,m=re.tokenize=function(e,t){var n,i,r,o,s,a,l,u=P[e+" "];if(u)return t?0:u.slice(0);for(s=e,a=[],l=x.preFilter;s;){for(o in n&&!(i=V.exec(s))||(i&&(s=s.slice(i[0].length)||s),a.push(r=[])),n=!1,(i=X.exec(s))&&(n=i.shift(),r.push({value:n,type:i[0].replace($," ")}),s=s.slice(n.length)),x.filter)!(i=G[o].exec(s))||l[o]&&!(i=l[o](i))||(n=i.shift(),r.push({value:n,type:o,matches:i}),s=s.slice(n.length));if(!n)break}return t?s.length:s?re.error(e):P(e,a).slice(0)},h=re.compile=function(e,t){var n,i=[],r=[],o=A[e+" "];if(!o){for(n=(t=t||m(e)).length;n--;)(o=xe(t[n]))[T]?i.push(o):r.push(o);(o=A(e,we(r,i))).selector=e}return o},g=re.select=function(e,t,n,i){var r,o,s,a,l,u="function"==typeof e&&e,c=!i&&m(e=u.selector||e);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(s=o[0]).type&&f.getById&&9===t.nodeType&&y&&x.relative[o[1].type]){if(!(t=(x.find.ID(s.matches[0].replace(ie,d),t)||[])[0]))return n;u&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(r=G.needsContext.test(e)?0:o.length;r--&&(s=o[r],!x.relative[a=s.type]);)if((l=x.find[a])&&(i=l(s.matches[0].replace(ie,d),te.test(o[0].type)&&pe(t.parentNode)||t))){if(o.splice(r,1),!(e=i.length&&me(o)))return O.apply(n,i),n;break}}return(u||h(e,c))(i,t,!y,n,te.test(e)&&pe(t.parentNode)||t),n},f.sortStable=T.split("").sort(D).join("")===T,f.detectDuplicates=!!c,v(),f.sortDetached=ae(function(e){return 1&e.compareDocumentPosition(C.createElement("div"))}),ae(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||le("type|href|height|width",function(e,t,n){return n?void 0:e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),f.attributes&&ae(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||le("value",function(e,t,n){return n||"input"!==e.nodeName.toLowerCase()?void 0:e.defaultValue}),ae(function(e){return null==e.getAttribute("disabled")})||le(q,function(e,t,n){var i;return n?void 0:!0===e[t]?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null}),re}(f);S.find=p,S.expr=p.selectors,S.expr[":"]=S.expr.pseudos,S.unique=p.uniqueSort,S.text=p.getText,S.isXMLDoc=p.isXML,S.contains=p.contains;var y=S.expr.match.needsContext,b=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,x=/^.[^:#\[\.,]*$/;function w(e,n,i){if(S.isFunction(n))return S.grep(e,function(e,t){return!!n.call(e,t,e)!==i});if(n.nodeType)return S.grep(e,function(e){return e===n!==i});if("string"==typeof n){if(x.test(n))return S.filter(n,e,i);n=S.filter(n,e)}return S.grep(e,function(e){return 0<=S.inArray(e,n)!==i})}S.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?S.find.matchesSelector(i,e)?[i]:[]:S.find.matches(e,S.grep(t,function(e){return 1===e.nodeType}))},S.fn.extend({find:function(e){var t,n=[],i=this,r=i.length;if("string"!=typeof e)return this.pushStack(S(e).filter(function(){for(t=0;t<r;t++)if(S.contains(i[t],this))return!0}));for(t=0;t<r;t++)S.find(e,i[t],n);return(n=this.pushStack(1<r?S.unique(n):n)).selector=this.selector?this.selector+" "+e:e,n},filter:function(e){return this.pushStack(w(this,e||[],!1))},not:function(e){return this.pushStack(w(this,e||[],!0))},is:function(e){return!!w(this,"string"==typeof e&&y.test(e)?S(e):e||[],!1).length}});var C,T=f.document,E=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(S.fn.init=function(e,t){var n,i;if(!e)return this;if("string"!=typeof e)return e.nodeType?(this.context=this[0]=e,this.length=1,this):S.isFunction(e)?void 0!==C.ready?C.ready(e):e(S):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),S.makeArray(e,this));if(!(n="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&3<=e.length?[null,e,null]:E.exec(e))||!n[1]&&t)return!t||t.jquery?(t||C).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:T,!0)),b.test(n[1])&&S.isPlainObject(t))for(n in t)S.isFunction(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}if((i=T.getElementById(n[2]))&&i.parentNode){if(i.id!==n[2])return C.find(e);this.length=1,this[0]=i}return this.context=T,this.selector=e,this}).prototype=S.fn,C=S(T);var k=/^(?:parents|prev(?:Until|All))/,N={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}S.extend({dir:function(e,t,n){for(var i=[],r=e[t];r&&9!==r.nodeType&&(void 0===n||1!==r.nodeType||!S(r).is(n));)1===r.nodeType&&i.push(r),r=r[t];return i},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}}),S.fn.extend({has:function(e){var t,n=S(e,this),i=n.length;return this.filter(function(){for(t=0;t<i;t++)if(S.contains(this,n[t]))return!0})},closest:function(e,t){for(var n,i=0,r=this.length,o=[],s=y.test(e)||"string"!=typeof e?S(e,t||this.context):0;i<r;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(s?-1<s.index(n):1===n.nodeType&&S.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?S.unique(o):o)},index:function(e){return e?"string"==typeof e?S.inArray(this[0],S(e)):S.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(S.unique(S.merge(this.get(),S(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),S.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return S.dir(e,"parentNode")},parentsUntil:function(e,t,n){return S.dir(e,"parentNode",n)},next:function(e){return P(e,"nextSibling")},prev:function(e){return P(e,"previousSibling")},nextAll:function(e){return S.dir(e,"nextSibling")},prevAll:function(e){return S.dir(e,"previousSibling")},nextUntil:function(e,t,n){return S.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return S.dir(e,"previousSibling",n)},siblings:function(e){return S.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return S.sibling(e.firstChild)},contents:function(e){return S.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:S.merge([],e.childNodes)}},function(i,r){S.fn[i]=function(e,t){var n=S.map(this,r,e);return"Until"!==i.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=S.filter(t,n)),1<this.length&&(N[i]||(n=S.unique(n)),k.test(i)&&(n=n.reverse())),this.pushStack(n)}});var A,D=/\S+/g,j={};function L(){T.addEventListener?(T.removeEventListener("DOMContentLoaded",I,!1),f.removeEventListener("load",I,!1)):(T.detachEvent("onreadystatechange",I),f.detachEvent("onload",I))}function I(){!T.addEventListener&&"load"!==event.type&&"complete"!==T.readyState||(L(),S.ready())}S.Callbacks=function(r){var e,n;r="string"==typeof r?j[r]||(n=j[e=r]={},S.each(e.match(D)||[],function(e,t){n[t]=!0}),n):S.extend({},r);var i,t,o,s,a,l,u=[],c=!r.once&&[],d=function(e){for(t=r.memory&&e,o=!0,a=l||0,l=0,s=u.length,i=!0;u&&a<s;a++)if(!1===u[a].apply(e[0],e[1])&&r.stopOnFalse){t=!1;break}i=!1,u&&(c?c.length&&d(c.shift()):t?u=[]:h.disable())},h={add:function(){if(u){var e=u.length;!function i(e){S.each(e,function(e,t){var n=S.type(t);"function"===n?r.unique&&h.has(t)||u.push(t):t&&t.length&&"string"!==n&&i(t)})}(arguments),i?s=u.length:t&&(l=e,d(t))}return this},remove:function(){return u&&S.each(arguments,function(e,t){for(var n;-1<(n=S.inArray(t,u,n));)u.splice(n,1),i&&(n<=s&&s--,n<=a&&a--)}),this},has:function(e){return e?-1<S.inArray(e,u):!(!u||!u.length)},empty:function(){return u=[],s=0,this},disable:function(){return u=c=t=void 0,this},disabled:function(){return!u},lock:function(){return c=void 0,t||h.disable(),this},locked:function(){return!c},fireWith:function(e,t){return!u||o&&!c||(t=[e,(t=t||[]).slice?t.slice():t],i?c.push(t):d(t)),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!o}};return h},S.extend({Deferred:function(e){var o=[["resolve","done",S.Callbacks("once memory"),"resolved"],["reject","fail",S.Callbacks("once memory"),"rejected"],["notify","progress",S.Callbacks("memory")]],r="pending",s={state:function(){return r},always:function(){return a.done(arguments).fail(arguments),this},then:function(){var r=arguments;return S.Deferred(function(i){S.each(o,function(e,t){var n=S.isFunction(r[e])&&r[e];a[t[1]](function(){var e=n&&n.apply(this,arguments);e&&S.isFunction(e.promise)?e.promise().done(i.resolve).fail(i.reject).progress(i.notify):i[t[0]+"With"](this===s?i.promise():this,n?[e]:arguments)})}),r=null}).promise()},promise:function(e){return null!=e?S.extend(e,s):s}},a={};return s.pipe=s.then,S.each(o,function(e,t){var n=t[2],i=t[3];s[t[1]]=n.add,i&&n.add(function(){r=i},o[1^e][2].disable,o[2][2].lock),a[t[0]]=function(){return a[t[0]+"With"](this===a?s:this,arguments),this},a[t[0]+"With"]=n.fireWith}),s.promise(a),e&&e.call(a,a),a},when:function(e){function t(t,n,i){return function(e){n[t]=this,i[t]=1<arguments.length?c.call(arguments):e,i===r?u.notifyWith(n,i):--l||u.resolveWith(n,i)}}var r,n,i,o=0,s=c.call(arguments),a=s.length,l=1!==a||e&&S.isFunction(e.promise)?a:0,u=1===l?e:S.Deferred();if(1<a)for(r=new Array(a),n=new Array(a),i=new Array(a);o<a;o++)s[o]&&S.isFunction(s[o].promise)?s[o].promise().done(t(o,i,s)).fail(u.reject).progress(t(o,n,r)):--l;return l||u.resolveWith(i,s),u.promise()}}),S.fn.ready=function(e){return S.ready.promise().done(e),this},S.extend({isReady:!1,readyWait:1,holdReady:function(e){e?S.readyWait++:S.ready(!0)},ready:function(e){if(!0===e?!--S.readyWait:!S.isReady){if(!T.body)return setTimeout(S.ready);(S.isReady=!0)!==e&&0<--S.readyWait||(A.resolveWith(T,[S]),S.fn.triggerHandler&&(S(T).triggerHandler("ready"),S(T).off("ready")))}}}),S.ready.promise=function(e){if(!A)if(A=S.Deferred(),"complete"===T.readyState)setTimeout(S.ready);else if(T.addEventListener)T.addEventListener("DOMContentLoaded",I,!1),f.addEventListener("load",I,!1);else{T.attachEvent("onreadystatechange",I),f.attachEvent("onload",I);var n=!1;try{n=null==f.frameElement&&T.documentElement}catch(e){}n&&n.doScroll&&!function t(){if(!S.isReady){try{n.doScroll("left")}catch(e){return setTimeout(t,50)}L(),S.ready()}}()}return A.promise(e)};var O,F="undefined";for(O in S(v))break;v.ownLast="0"!==O,v.inlineBlockNeedsLayout=!1,S(function(){var e,t,n,i;(n=T.getElementsByTagName("body")[0])&&n.style&&(t=T.createElement("div"),(i=T.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(i).appendChild(t),typeof t.style.zoom!==F&&(t.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",v.inlineBlockNeedsLayout=e=3===t.offsetWidth,e&&(n.style.zoom=1)),n.removeChild(i))}),function(){var e=T.createElement("div");if(null==v.deleteExpando){v.deleteExpando=!0;try{delete e.test}catch(e){v.deleteExpando=!1}}e=null}(),S.acceptData=function(e){var t=S.noData[(e.nodeName+" ").toLowerCase()],n=+e.nodeType||1;return(1===n||9===n)&&(!t||!0!==t&&e.getAttribute("classid")===t)};var M=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,q=/([A-Z])/g;function H(e,t,n){if(void 0===n&&1===e.nodeType){var i="data-"+t.replace(q,"-$1").toLowerCase();if("string"==typeof(n=e.getAttribute(i))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:M.test(n)?S.parseJSON(n):n)}catch(e){}S.data(e,t,n)}else n=void 0}return n}function R(e){var t;for(t in e)if(("data"!==t||!S.isEmptyObject(e[t]))&&"toJSON"!==t)return;return 1}function _(e,t,n,i){if(S.acceptData(e)){var r,o,s=S.expando,a=e.nodeType,l=a?S.cache:e,u=a?e[s]:e[s]&&s;if(u&&l[u]&&(i||l[u].data)||void 0!==n||"string"!=typeof t)return l[u=u||(a?e[s]=d.pop()||S.guid++:s)]||(l[u]=a?{}:{toJSON:S.noop}),"object"!=typeof t&&"function"!=typeof t||(i?l[u]=S.extend(l[u],t):l[u].data=S.extend(l[u].data,t)),o=l[u],i||(o.data||(o.data={}),o=o.data),void 0!==n&&(o[S.camelCase(t)]=n),"string"==typeof t?null==(r=o[t])&&(r=o[S.camelCase(t)]):r=o,r}}function z(e,t,n){if(S.acceptData(e)){var i,r,o=e.nodeType,s=o?S.cache:e,a=o?e[S.expando]:S.expando;if(s[a]){if(t&&(i=n?s[a]:s[a].data)){r=(t=S.isArray(t)?t.concat(S.map(t,S.camelCase)):t in i?[t]:(t=S.camelCase(t))in i?[t]:t.split(" ")).length;for(;r--;)delete i[t[r]];if(n?!R(i):!S.isEmptyObject(i))return}(n||(delete s[a].data,R(s[a])))&&(o?S.cleanData([e],!0):v.deleteExpando||s!=s.window?delete s[a]:s[a]=null)}}}S.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return!!(e=e.nodeType?S.cache[e[S.expando]]:e[S.expando])&&!R(e)},data:function(e,t,n){return _(e,t,n)},removeData:function(e,t){return z(e,t)},_data:function(e,t,n){return _(e,t,n,!0)},_removeData:function(e,t){return z(e,t,!0)}}),S.fn.extend({data:function(e,t){var n,i,r,o=this[0],s=o&&o.attributes;if(void 0!==e)return"object"==typeof e?this.each(function(){S.data(this,e)}):1<arguments.length?this.each(function(){S.data(this,e,t)}):o?H(o,e,S.data(o,e)):void 0;if(this.length&&(r=S.data(o),1===o.nodeType&&!S._data(o,"parsedAttrs"))){for(n=s.length;n--;)s[n]&&(0===(i=s[n].name).indexOf("data-")&&H(o,i=S.camelCase(i.slice(5)),r[i]));S._data(o,"parsedAttrs",!0)}return r},removeData:function(e){return this.each(function(){S.removeData(this,e)})}}),S.extend({queue:function(e,t,n){var i;return e?(t=(t||"fx")+"queue",i=S._data(e,t),n&&(!i||S.isArray(n)?i=S._data(e,t,S.makeArray(n)):i.push(n)),i||[]):void 0},dequeue:function(e,t){t=t||"fx";var n=S.queue(e,t),i=n.length,r=n.shift(),o=S._queueHooks(e,t);"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===t&&n.unshift("inprogress"),delete o.stop,r.call(e,function(){S.dequeue(e,t)},o)),!i&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return S._data(e,n)||S._data(e,n,{empty:S.Callbacks("once memory").add(function(){S._removeData(e,t+"queue"),S._removeData(e,n)})})}}),S.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?S.queue(this[0],t):void 0===n?this:this.each(function(){var e=S.queue(this,t,n);S._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&S.dequeue(this,t)})},dequeue:function(e){return this.each(function(){S.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){function n(){--r||o.resolveWith(s,[s])}var i,r=1,o=S.Deferred(),s=this,a=this.length;for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(i=S._data(s[a],e+"queueHooks"))&&i.empty&&(r++,i.empty.add(n));return n(),o.promise(t)}});function B(e,t){return e=t||e,"none"===S.css(e,"display")||!S.contains(e.ownerDocument,e)}var W=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,$=["Top","Right","Bottom","Left"],V=S.access=function(e,t,n,i,r,o,s){var a=0,l=e.length,u=null==n;if("object"===S.type(n))for(a in r=!0,n)S.access(e,t,a,n[a],!0,o,s);else if(void 0!==i&&(r=!0,S.isFunction(i)||(s=!0),u&&(t=s?(t.call(e,i),null):(u=t,function(e,t,n){return u.call(S(e),n)})),t))for(;a<l;a++)t(e[a],n,s?i:i.call(e[a],a,t(e[a],n)));return r?e:u?t.call(e):l?t(e[0],n):o},X=/^(?:checkbox|radio)$/i;!function(){var e=T.createElement("input"),t=T.createElement("div"),n=T.createDocumentFragment();if(t.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",v.leadingWhitespace=3===t.firstChild.nodeType,v.tbody=!t.getElementsByTagName("tbody").length,v.htmlSerialize=!!t.getElementsByTagName("link").length,v.html5Clone="<:nav></:nav>"!==T.createElement("nav").cloneNode(!0).outerHTML,e.type="checkbox",e.checked=!0,n.appendChild(e),v.appendChecked=e.checked,t.innerHTML="<textarea>x</textarea>",v.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue,n.appendChild(t),t.innerHTML="<input type='radio' checked='checked' name='t'/>",v.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,v.noCloneEvent=!0,t.attachEvent&&(t.attachEvent("onclick",function(){v.noCloneEvent=!1}),t.cloneNode(!0).click()),null==v.deleteExpando){v.deleteExpando=!0;try{delete t.test}catch(e){v.deleteExpando=!1}}}(),function(){var e,t,n=T.createElement("div");for(e in{submit:!0,change:!0,focusin:!0})t="on"+e,(v[e+"Bubbles"]=t in f)||(n.setAttribute(t,"t"),v[e+"Bubbles"]=!1===n.attributes[t].expando);n=null}();var Y=/^(?:input|select|textarea)$/i,U=/^key/,Q=/^(?:mouse|pointer|contextmenu)|click/,G=/^(?:focusinfocus|focusoutblur)$/,J=/^([^.]*)(?:\.(.+)|)$/;function Z(){return!0}function K(){return!1}function ee(){try{return T.activeElement}catch(e){}}function te(e){var t=ne.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}S.event={global:{},add:function(e,t,n,i,r){var o,s,a,l,u,c,d,h,p,f,m,g=S._data(e);if(g){for(n.handler&&(n=(l=n).handler,r=l.selector),n.guid||(n.guid=S.guid++),(s=g.events)||(s=g.events={}),(c=g.handle)||((c=g.handle=function(e){return typeof S===F||e&&S.event.triggered===e.type?void 0:S.event.dispatch.apply(c.elem,arguments)}).elem=e),a=(t=(t||"").match(D)||[""]).length;a--;)p=m=(o=J.exec(t[a])||[])[1],f=(o[2]||"").split(".").sort(),p&&(u=S.event.special[p]||{},p=(r?u.delegateType:u.bindType)||p,u=S.event.special[p]||{},d=S.extend({type:p,origType:m,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&S.expr.match.needsContext.test(r),namespace:f.join(".")},l),(h=s[p])||((h=s[p]=[]).delegateCount=0,u.setup&&!1!==u.setup.call(e,i,f,c)||(e.addEventListener?e.addEventListener(p,c,!1):e.attachEvent&&e.attachEvent("on"+p,c))),u.add&&(u.add.call(e,d),d.handler.guid||(d.handler.guid=n.guid)),r?h.splice(h.delegateCount++,0,d):h.push(d),S.event.global[p]=!0);e=null}},remove:function(e,t,n,i,r){var o,s,a,l,u,c,d,h,p,f,m,g=S.hasData(e)&&S._data(e);if(g&&(c=g.events)){for(u=(t=(t||"").match(D)||[""]).length;u--;)if(p=m=(a=J.exec(t[u])||[])[1],f=(a[2]||"").split(".").sort(),p){for(d=S.event.special[p]||{},h=c[p=(i?d.delegateType:d.bindType)||p]||[],a=a[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=h.length;o--;)s=h[o],!r&&m!==s.origType||n&&n.guid!==s.guid||a&&!a.test(s.namespace)||i&&i!==s.selector&&("**"!==i||!s.selector)||(h.splice(o,1),s.selector&&h.delegateCount--,d.remove&&d.remove.call(e,s));l&&!h.length&&(d.teardown&&!1!==d.teardown.call(e,f,g.handle)||S.removeEvent(e,p,g.handle),delete c[p])}else for(p in c)S.event.remove(e,p+t[u],n,i,!0);S.isEmptyObject(c)&&(delete g.handle,S._removeData(e,"events"))}},trigger:function(e,t,n,i){var r,o,s,a,l,u,c,d=[n||T],h=g.call(e,"type")?e.type:e,p=g.call(e,"namespace")?e.namespace.split("."):[];if(s=u=n=n||T,3!==n.nodeType&&8!==n.nodeType&&!G.test(h+S.event.triggered)&&(0<=h.indexOf(".")&&(h=(p=h.split(".")).shift(),p.sort()),o=h.indexOf(":")<0&&"on"+h,(e=e[S.expando]?e:new S.Event(h,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=p.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:S.makeArray(t,[e]),l=S.event.special[h]||{},i||!l.trigger||!1!==l.trigger.apply(n,t))){if(!i&&!l.noBubble&&!S.isWindow(n)){for(a=l.delegateType||h,G.test(a+h)||(s=s.parentNode);s;s=s.parentNode)d.push(s),u=s;u===(n.ownerDocument||T)&&d.push(u.defaultView||u.parentWindow||f)}for(c=0;(s=d[c++])&&!e.isPropagationStopped();)e.type=1<c?a:l.bindType||h,(r=(S._data(s,"events")||{})[e.type]&&S._data(s,"handle"))&&r.apply(s,t),(r=o&&s[o])&&r.apply&&S.acceptData(s)&&(e.result=r.apply(s,t),!1===e.result&&e.preventDefault());if(e.type=h,!i&&!e.isDefaultPrevented()&&(!l._default||!1===l._default.apply(d.pop(),t))&&S.acceptData(n)&&o&&n[h]&&!S.isWindow(n)){(u=n[o])&&(n[o]=null),S.event.triggered=h;try{n[h]()}catch(e){}S.event.triggered=void 0,u&&(n[o]=u)}return e.result}},dispatch:function(e){e=S.event.fix(e);var t,n,i,r,o,s=[],a=c.call(arguments),l=(S._data(this,"events")||{})[e.type]||[],u=S.event.special[e.type]||{};if((a[0]=e).delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,e)){for(s=S.event.handlers.call(this,e,l),t=0;(r=s[t++])&&!e.isPropagationStopped();)for(e.currentTarget=r.elem,o=0;(i=r.handlers[o++])&&!e.isImmediatePropagationStopped();)e.namespace_re&&!e.namespace_re.test(i.namespace)||(e.handleObj=i,e.data=i.data,void 0!==(n=((S.event.special[i.origType]||{}).handle||i.handler).apply(r.elem,a))&&!1===(e.result=n)&&(e.preventDefault(),e.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,i,r,o,s=[],a=t.delegateCount,l=e.target;if(a&&l.nodeType&&(!e.button||"click"!==e.type))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==e.type)){for(r=[],o=0;o<a;o++)void 0===r[n=(i=t[o]).selector+" "]&&(r[n]=i.needsContext?0<=S(n,this).index(l):S.find(n,this,null,[l]).length),r[n]&&r.push(i);r.length&&s.push({elem:l,handlers:r})}return a<t.length&&s.push({elem:this,handlers:t.slice(a)}),s},fix:function(e){if(e[S.expando])return e;var t,n,i,r=e.type,o=e,s=this.fixHooks[r];for(s||(this.fixHooks[r]=s=Q.test(r)?this.mouseHooks:U.test(r)?this.keyHooks:{}),i=s.props?this.props.concat(s.props):this.props,e=new S.Event(o),t=i.length;t--;)e[n=i[t]]=o[n];return e.target||(e.target=o.srcElement||T),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,s.filter?s.filter(e,o):e},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,i,r,o=t.button,s=t.fromElement;return null==e.pageX&&null!=t.clientX&&(r=(i=e.target.ownerDocument||T).documentElement,n=i.body,e.pageX=t.clientX+(r&&r.scrollLeft||n&&n.scrollLeft||0)-(r&&r.clientLeft||n&&n.clientLeft||0),e.pageY=t.clientY+(r&&r.scrollTop||n&&n.scrollTop||0)-(r&&r.clientTop||n&&n.clientTop||0)),!e.relatedTarget&&s&&(e.relatedTarget=s===e.target?t.toElement:s),e.which||void 0===o||(e.which=1&o?1:2&o?3:4&o?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==ee()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){return this===ee()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return S.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):void 0},_default:function(e){return S.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,i){var r=S.extend(new S.Event,n,{type:e,isSimulated:!0,originalEvent:{}});i?S.event.trigger(r,null,t):S.event.dispatch.call(t,r),r.isDefaultPrevented()&&n.preventDefault()}},S.removeEvent=T.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var i="on"+t;e.detachEvent&&(typeof e[i]===F&&(e[i]=null),e.detachEvent(i,n))},S.Event=function(e,t){return this instanceof S.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Z:K):this.type=e,t&&S.extend(this,t),this.timeStamp=e&&e.timeStamp||S.now(),void(this[S.expando]=!0)):new S.Event(e,t)},S.Event.prototype={isDefaultPrevented:K,isPropagationStopped:K,isImmediatePropagationStopped:K,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Z,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Z,e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Z,e&&e.stopImmediatePropagation&&e.stopImmediatePropagation(),this.stopPropagation()}},S.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,r){S.event.special[e]={delegateType:r,bindType:r,handle:function(e){var t,n=e.relatedTarget,i=e.handleObj;return n&&(n===this||S.contains(this,n))||(e.type=i.origType,t=i.handler.apply(this,arguments),e.type=r),t}}}),v.submitBubbles||(S.event.special.submit={setup:function(){return!S.nodeName(this,"form")&&void S.event.add(this,"click._submit keypress._submit",function(e){var t=e.target,n=S.nodeName(t,"input")||S.nodeName(t,"button")?t.form:void 0;n&&!S._data(n,"submitBubbles")&&(S.event.add(n,"submit._submit",function(e){e._submit_bubble=!0}),S._data(n,"submitBubbles",!0))})},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&S.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){return!S.nodeName(this,"form")&&void S.event.remove(this,"._submit")}}),v.changeBubbles||(S.event.special.change={setup:function(){return Y.test(this.nodeName)?("checkbox"!==this.type&&"radio"!==this.type||(S.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),S.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),S.event.simulate("change",this,e,!0)})),!1):void S.event.add(this,"beforeactivate._change",function(e){var t=e.target;Y.test(t.nodeName)&&!S._data(t,"changeBubbles")&&(S.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||S.event.simulate("change",this.parentNode,e,!0)}),S._data(t,"changeBubbles",!0))})},handle:function(e){var t=e.target;return this!==t||e.isSimulated||e.isTrigger||"radio"!==t.type&&"checkbox"!==t.type?e.handleObj.handler.apply(this,arguments):void 0},teardown:function(){return S.event.remove(this,"._change"),!Y.test(this.nodeName)}}),v.focusinBubbles||S.each({focus:"focusin",blur:"focusout"},function(n,i){function r(e){S.event.simulate(i,e.target,S.event.fix(e),!0)}S.event.special[i]={setup:function(){var e=this.ownerDocument||this,t=S._data(e,i);t||e.addEventListener(n,r,!0),S._data(e,i,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this,t=S._data(e,i)-1;t?S._data(e,i,t):(e.removeEventListener(n,r,!0),S._removeData(e,i))}}}),S.fn.extend({on:function(e,t,n,i,r){var o,s;if("object"==typeof e){for(o in"string"!=typeof t&&(n=n||t,t=void 0),e)this.on(o,t,n,e[o],r);return this}if(null==n&&null==i?(i=t,n=t=void 0):null==i&&("string"==typeof t?(i=n,n=void 0):(i=n,n=t,t=void 0)),!1===i)i=K;else if(!i)return this;return 1===r&&(s=i,(i=function(e){return S().off(e),s.apply(this,arguments)}).guid=s.guid||(s.guid=S.guid++)),this.each(function(){S.event.add(this,e,i,n,t)})},one:function(e,t,n,i){return this.on(e,t,n,i,1)},off:function(e,t,n){var i,r;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,S(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=K),this.each(function(){S.event.remove(this,e,n,t)});for(r in e)this.off(r,t,e[r]);return this},trigger:function(e,t){return this.each(function(){S.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];return n?S.event.trigger(e,t,n,!0):void 0}});var ne="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ie=/ jQuery\d+="(?:null|\d+)"/g,re=new RegExp("<(?:"+ne+")[\\s/>]","i"),oe=/^\s+/,se=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,ae=/<([\w:]+)/,le=/<tbody/i,ue=/<|&#?\w+;/,ce=/<(?:script|style|link)/i,de=/checked\s*(?:[^=]|=\s*.checked.)/i,he=/^$|\/(?:java|ecma)script/i,pe=/^true\/(.*)/,fe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,me={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:v.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},ge=te(T).appendChild(T.createElement("div"));function ve(e,t){var n,i,r=0,o=typeof e.getElementsByTagName!==F?e.getElementsByTagName(t||"*"):typeof e.querySelectorAll!==F?e.querySelectorAll(t||"*"):void 0;if(!o)for(o=[],n=e.childNodes||e;null!=(i=n[r]);r++)!t||S.nodeName(i,t)?o.push(i):S.merge(o,ve(i,t));return void 0===t||t&&S.nodeName(e,t)?S.merge([e],o):o}function ye(e){X.test(e.type)&&(e.defaultChecked=e.checked)}function be(e,t){return S.nodeName(e,"table")&&S.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function xe(e){return e.type=(null!==S.find.attr(e,"type"))+"/"+e.type,e}function we(e){var t=pe.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function Ce(e,t){for(var n,i=0;null!=(n=e[i]);i++)S._data(n,"globalEval",!t||S._data(t[i],"globalEval"))}function Se(e,t){if(1===t.nodeType&&S.hasData(e)){var n,i,r,o=S._data(e),s=S._data(t,o),a=o.events;if(a)for(n in delete s.handle,s.events={},a)for(i=0,r=a[n].length;i<r;i++)S.event.add(t,n,a[n][i]);s.data&&(s.data=S.extend({},s.data))}}function Te(e,t){var n,i,r;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!v.noCloneEvent&&t[S.expando]){for(i in(r=S._data(t)).events)S.removeEvent(t,i,r.handle);t.removeAttribute(S.expando)}"script"===n&&t.text!==e.text?(xe(t).text=e.text,we(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),v.html5Clone&&e.innerHTML&&!S.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&X.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}}me.optgroup=me.option,me.tbody=me.tfoot=me.colgroup=me.caption=me.thead,me.th=me.td,S.extend({clone:function(e,t,n){var i,r,o,s,a,l=S.contains(e.ownerDocument,e);if(v.html5Clone||S.isXMLDoc(e)||!re.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(ge.innerHTML=e.outerHTML,ge.removeChild(o=ge.firstChild)),!(v.noCloneEvent&&v.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||S.isXMLDoc(e)))for(i=ve(o),a=ve(e),s=0;null!=(r=a[s]);++s)i[s]&&Te(r,i[s]);if(t)if(n)for(a=a||ve(e),i=i||ve(o),s=0;null!=(r=a[s]);s++)Se(r,i[s]);else Se(e,o);return 0<(i=ve(o,"script")).length&&Ce(i,!l&&ve(e,"script")),i=a=r=null,o},buildFragment:function(e,t,n,i){for(var r,o,s,a,l,u,c,d=e.length,h=te(t),p=[],f=0;f<d;f++)if((o=e[f])||0===o)if("object"===S.type(o))S.merge(p,o.nodeType?[o]:o);else if(ue.test(o)){for(a=a||h.appendChild(t.createElement("div")),l=(ae.exec(o)||["",""])[1].toLowerCase(),c=me[l]||me._default,a.innerHTML=c[1]+o.replace(se,"<$1></$2>")+c[2],r=c[0];r--;)a=a.lastChild;if(!v.leadingWhitespace&&oe.test(o)&&p.push(t.createTextNode(oe.exec(o)[0])),!v.tbody)for(r=(o="table"!==l||le.test(o)?"<table>"!==c[1]||le.test(o)?0:a:a.firstChild)&&o.childNodes.length;r--;)S.nodeName(u=o.childNodes[r],"tbody")&&!u.childNodes.length&&o.removeChild(u);for(S.merge(p,a.childNodes),a.textContent="";a.firstChild;)a.removeChild(a.firstChild);a=h.lastChild}else p.push(t.createTextNode(o));for(a&&h.removeChild(a),v.appendChecked||S.grep(ve(p,"input"),ye),f=0;o=p[f++];)if((!i||-1===S.inArray(o,i))&&(s=S.contains(o.ownerDocument,o),a=ve(h.appendChild(o),"script"),s&&Ce(a),n))for(r=0;o=a[r++];)he.test(o.type||"")&&n.push(o);return a=null,h},cleanData:function(e,t){for(var n,i,r,o,s=0,a=S.expando,l=S.cache,u=v.deleteExpando,c=S.event.special;null!=(n=e[s]);s++)if((t||S.acceptData(n))&&(o=(r=n[a])&&l[r])){if(o.events)for(i in o.events)c[i]?S.event.remove(n,i):S.removeEvent(n,i,o.handle);l[r]&&(delete l[r],u?delete n[a]:typeof n.removeAttribute!==F?n.removeAttribute(a):n[a]=null,d.push(r))}}}),S.fn.extend({text:function(e){return V(this,function(e){return void 0===e?S.text(this):this.empty().append((this[0]&&this[0].ownerDocument||T).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||be(this,e).appendChild(e)})},prepend:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=be(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){for(var n,i=e?S.filter(e,this):this,r=0;null!=(n=i[r]);r++)t||1!==n.nodeType||S.cleanData(ve(n)),n.parentNode&&(t&&S.contains(n.ownerDocument,n)&&Ce(ve(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&S.cleanData(ve(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&S.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return S.clone(this,e,t)})},html:function(e){return V(this,function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e)return 1===t.nodeType?t.innerHTML.replace(ie,""):void 0;if(!("string"!=typeof e||ce.test(e)||!v.htmlSerialize&&re.test(e)||!v.leadingWhitespace&&oe.test(e)||me[(ae.exec(e)||["",""])[1].toLowerCase()])){e=e.replace(se,"<$1></$2>");try{for(;n<i;n++)1===(t=this[n]||{}).nodeType&&(S.cleanData(ve(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var t=arguments[0];return this.domManip(arguments,function(e){t=this.parentNode,S.cleanData(ve(this)),t&&t.replaceChild(e,this)}),t&&(t.length||t.nodeType)?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(n,i){n=m.apply([],n);var e,t,r,o,s,a,l=0,u=this.length,c=this,d=u-1,h=n[0],p=S.isFunction(h);if(p||1<u&&"string"==typeof h&&!v.checkClone&&de.test(h))return this.each(function(e){var t=c.eq(e);p&&(n[0]=h.call(this,e,t.html())),t.domManip(n,i)});if(u&&(e=(a=S.buildFragment(n,this[0].ownerDocument,!1,this)).firstChild,1===a.childNodes.length&&(a=e),e)){for(r=(o=S.map(ve(a,"script"),xe)).length;l<u;l++)t=a,l!==d&&(t=S.clone(t,!0,!0),r&&S.merge(o,ve(t,"script"))),i.call(this[l],t,l);if(r)for(s=o[o.length-1].ownerDocument,S.map(o,we),l=0;l<r;l++)t=o[l],he.test(t.type||"")&&!S._data(t,"globalEval")&&S.contains(s,t)&&(t.src?S._evalUrl&&S._evalUrl(t.src):S.globalEval((t.text||t.textContent||t.innerHTML||"").replace(fe,"")));a=e=null}return this}}),S.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,s){S.fn[e]=function(e){for(var t,n=0,i=[],r=S(e),o=r.length-1;n<=o;n++)t=n===o?this:this.clone(!0),S(r[n])[s](t),a.apply(i,t.get());return this.pushStack(i)}});var Ee,ke,Ne={};function Pe(e,t){var n,i=S(t.createElement(e)).appendTo(t.body),r=f.getDefaultComputedStyle&&(n=f.getDefaultComputedStyle(i[0]))?n.display:S.css(i[0],"display");return i.detach(),r}function Ae(e){var t=T,n=Ne[e];return n||("none"!==(n=Pe(e,t))&&n||((t=((Ee=(Ee||S("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement))[0].contentWindow||Ee[0].contentDocument).document).write(),t.close(),n=Pe(e,t),Ee.detach()),Ne[e]=n),n}v.shrinkWrapBlocks=function(){return null!=ke?ke:(ke=!1,(t=T.getElementsByTagName("body")[0])&&t.style?(e=T.createElement("div"),(n=T.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",t.appendChild(n).appendChild(e),typeof e.style.zoom!==F&&(e.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",e.appendChild(T.createElement("div")).style.width="5px",ke=3!==e.offsetWidth),t.removeChild(n),ke):void 0);var e,t,n};var De,je,Le=/^margin/,Ie=new RegExp("^("+W+")(?!px)[a-z%]+$","i"),Oe=/^(top|right|bottom|left)$/;function Fe(t,n){return{get:function(){var e=t();if(null!=e)return e?void delete this.get:(this.get=n).apply(this,arguments)}}}f.getComputedStyle?(De=function(e){return e.ownerDocument.defaultView.opener?e.ownerDocument.defaultView.getComputedStyle(e,null):f.getComputedStyle(e,null)},je=function(e,t,n){var i,r,o,s,a=e.style;return s=(n=n||De(e))?n.getPropertyValue(t)||n[t]:void 0,n&&(""!==s||S.contains(e.ownerDocument,e)||(s=S.style(e,t)),Ie.test(s)&&Le.test(t)&&(i=a.width,r=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=n.width,a.width=i,a.minWidth=r,a.maxWidth=o)),void 0===s?s:s+""}):T.documentElement.currentStyle&&(De=function(e){return e.currentStyle},je=function(e,t,n){var i,r,o,s,a=e.style;return null==(s=(n=n||De(e))?n[t]:void 0)&&a&&a[t]&&(s=a[t]),Ie.test(s)&&!Oe.test(t)&&(i=a.left,(o=(r=e.runtimeStyle)&&r.left)&&(r.left=e.currentStyle.left),a.left="fontSize"===t?"1em":s,s=a.pixelLeft+"px",a.left=i,o&&(r.left=o)),void 0===s?s:s+""||"auto"}),function(){var e,t,n,r,o,s,a;if((e=T.createElement("div")).innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",t=(n=e.getElementsByTagName("a")[0])&&n.style){function i(){var e,t,n,i;(t=T.getElementsByTagName("body")[0])&&t.style&&(e=T.createElement("div"),(n=T.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",t.appendChild(n).appendChild(e),e.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",r=o=!1,a=!0,f.getComputedStyle&&(r="1%"!==(f.getComputedStyle(e,null)||{}).top,o="4px"===(f.getComputedStyle(e,null)||{width:"4px"}).width,(i=e.appendChild(T.createElement("div"))).style.cssText=e.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",i.style.marginRight=i.style.width="0",e.style.width="1px",a=!parseFloat((f.getComputedStyle(i,null)||{}).marginRight),e.removeChild(i)),e.innerHTML="<table><tr><td></td><td>t</td></tr></table>",(i=e.getElementsByTagName("td"))[0].style.cssText="margin:0;border:0;padding:0;display:none",(s=0===i[0].offsetHeight)&&(i[0].style.display="",i[1].style.display="none",s=0===i[0].offsetHeight),t.removeChild(n))}t.cssText="float:left;opacity:.5",v.opacity="0.5"===t.opacity,v.cssFloat=!!t.cssFloat,e.style.backgroundClip="content-box",e.cloneNode(!0).style.backgroundClip="",v.clearCloneStyle="content-box"===e.style.backgroundClip,v.boxSizing=""===t.boxSizing||""===t.MozBoxSizing||""===t.WebkitBoxSizing,S.extend(v,{reliableHiddenOffsets:function(){return null==s&&i(),s},boxSizingReliable:function(){return null==o&&i(),o},pixelPosition:function(){return null==r&&i(),r},reliableMarginRight:function(){return null==a&&i(),a}})}}(),S.swap=function(e,t,n,i){var r,o,s={};for(o in t)s[o]=e.style[o],e.style[o]=t[o];for(o in r=n.apply(e,i||[]),t)e.style[o]=s[o];return r};var Me=/alpha\([^)]*\)/i,qe=/opacity\s*=\s*([^)]*)/,He=/^(none|table(?!-c[ea]).+)/,Re=new RegExp("^("+W+")(.*)$","i"),_e=new RegExp("^([+-])=("+W+")","i"),ze={position:"absolute",visibility:"hidden",display:"block"},Be={letterSpacing:"0",fontWeight:"400"},We=["Webkit","O","Moz","ms"];function $e(e,t){if(t in e)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),i=t,r=We.length;r--;)if((t=We[r]+n)in e)return t;return i}function Ve(e,t){for(var n,i,r,o=[],s=0,a=e.length;s<a;s++)(i=e[s]).style&&(o[s]=S._data(i,"olddisplay"),n=i.style.display,t?(o[s]||"none"!==n||(i.style.display=""),""===i.style.display&&B(i)&&(o[s]=S._data(i,"olddisplay",Ae(i.nodeName)))):(r=B(i),(n&&"none"!==n||!r)&&S._data(i,"olddisplay",r?n:S.css(i,"display"))));for(s=0;s<a;s++)(i=e[s]).style&&(t&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=t?o[s]||"":"none"));return e}function Xe(e,t,n){var i=Re.exec(t);return i?Math.max(0,i[1]-(n||0))+(i[2]||"px"):t}function Ye(e,t,n,i,r){for(var o=n===(i?"border":"content")?4:"width"===t?1:0,s=0;o<4;o+=2)"margin"===n&&(s+=S.css(e,n+$[o],!0,r)),i?("content"===n&&(s-=S.css(e,"padding"+$[o],!0,r)),"margin"!==n&&(s-=S.css(e,"border"+$[o]+"Width",!0,r))):(s+=S.css(e,"padding"+$[o],!0,r),"padding"!==n&&(s+=S.css(e,"border"+$[o]+"Width",!0,r)));return s}function Ue(e,t,n){var i=!0,r="width"===t?e.offsetWidth:e.offsetHeight,o=De(e),s=v.boxSizing&&"border-box"===S.css(e,"boxSizing",!1,o);if(r<=0||null==r){if(((r=je(e,t,o))<0||null==r)&&(r=e.style[t]),Ie.test(r))return r;i=s&&(v.boxSizingReliable()||r===e.style[t]),r=parseFloat(r)||0}return r+Ye(e,t,n||(s?"border":"content"),i,o)+"px"}function Qe(e,t,n,i,r){return new Qe.prototype.init(e,t,n,i,r)}S.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=je(e,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:v.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,o,s,a=S.camelCase(t),l=e.style;if(t=S.cssProps[a]||(S.cssProps[a]=$e(l,a)),s=S.cssHooks[t]||S.cssHooks[a],void 0===n)return s&&"get"in s&&void 0!==(r=s.get(e,!1,i))?r:l[t];if("string"===(o=typeof n)&&(r=_e.exec(n))&&(n=(r[1]+1)*r[2]+parseFloat(S.css(e,t)),o="number"),null!=n&&n==n&&("number"!==o||S.cssNumber[a]||(n+="px"),v.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),!(s&&"set"in s&&void 0===(n=s.set(e,n,i)))))try{l[t]=n}catch(e){}}},css:function(e,t,n,i){var r,o,s,a=S.camelCase(t);return t=S.cssProps[a]||(S.cssProps[a]=$e(e.style,a)),(s=S.cssHooks[t]||S.cssHooks[a])&&"get"in s&&(o=s.get(e,!0,n)),void 0===o&&(o=je(e,t,i)),"normal"===o&&t in Be&&(o=Be[t]),""===n||n?(r=parseFloat(o),!0===n||S.isNumeric(r)?r||0:o):o}}),S.each(["height","width"],function(e,r){S.cssHooks[r]={get:function(e,t,n){return t?He.test(S.css(e,"display"))&&0===e.offsetWidth?S.swap(e,ze,function(){return Ue(e,r,n)}):Ue(e,r,n):void 0},set:function(e,t,n){var i=n&&De(e);return Xe(0,t,n?Ye(e,r,n,v.boxSizing&&"border-box"===S.css(e,"boxSizing",!1,i),i):0)}}}),v.opacity||(S.cssHooks.opacity={get:function(e,t){return qe.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,i=e.currentStyle,r=S.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=i&&i.filter||n.filter||"";((n.zoom=1)<=t||""===t)&&""===S.trim(o.replace(Me,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||i&&!i.filter)||(n.filter=Me.test(o)?o.replace(Me,r):o+" "+r)}}),S.cssHooks.marginRight=Fe(v.reliableMarginRight,function(e,t){return t?S.swap(e,{display:"inline-block"},je,[e,"marginRight"]):void 0}),S.each({margin:"",padding:"",border:"Width"},function(r,o){S.cssHooks[r+o]={expand:function(e){for(var t=0,n={},i="string"==typeof e?e.split(" "):[e];t<4;t++)n[r+$[t]+o]=i[t]||i[t-2]||i[0];return n}},Le.test(r)||(S.cssHooks[r+o].set=Xe)}),S.fn.extend({css:function(e,t){return V(this,function(e,t,n){var i,r,o={},s=0;if(S.isArray(t)){for(i=De(e),r=t.length;s<r;s++)o[t[s]]=S.css(e,t[s],!1,i);return o}return void 0!==n?S.style(e,t,n):S.css(e,t)},e,t,1<arguments.length)},show:function(){return Ve(this,!0)},hide:function(){return Ve(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){B(this)?S(this).show():S(this).hide()})}}),((S.Tween=Qe).prototype={constructor:Qe,init:function(e,t,n,i,r,o){this.elem=e,this.prop=n,this.easing=r||"swing",this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=o||(S.cssNumber[n]?"":"px")},cur:function(){var e=Qe.propHooks[this.prop];return e&&e.get?e.get(this):Qe.propHooks._default.get(this)},run:function(e){var t,n=Qe.propHooks[this.prop];return this.options.duration?this.pos=t=S.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):Qe.propHooks._default.set(this),this}}).init.prototype=Qe.prototype,(Qe.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=S.css(e.elem,e.prop,""))&&"auto"!==t?t:0:e.elem[e.prop]},set:function(e){S.fx.step[e.prop]?S.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[S.cssProps[e.prop]]||S.cssHooks[e.prop])?S.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}}).scrollTop=Qe.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},S.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},S.fx=Qe.prototype.init,S.fx.step={};var Ge,Je,Ze,Ke,et,tt,nt,it=/^(?:toggle|show|hide)$/,rt=new RegExp("^(?:([+-])=|)("+W+")([a-z%]*)$","i"),ot=/queueHooks$/,st=[function(t,e,n){var i,r,o,s,a,l,u,c=this,d={},h=t.style,p=t.nodeType&&B(t),f=S._data(t,"fxshow");for(i in n.queue||(null==(a=S._queueHooks(t,"fx")).unqueued&&(a.unqueued=0,l=a.empty.fire,a.empty.fire=function(){a.unqueued||l()}),a.unqueued++,c.always(function(){c.always(function(){a.unqueued--,S.queue(t,"fx").length||a.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],u=S.css(t,"display"),"inline"===("none"===u?S._data(t,"olddisplay")||Ae(t.nodeName):u)&&"none"===S.css(t,"float")&&(v.inlineBlockNeedsLayout&&"inline"!==Ae(t.nodeName)?h.zoom=1:h.display="inline-block")),n.overflow&&(h.overflow="hidden",v.shrinkWrapBlocks()||c.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),e)if(r=e[i],it.exec(r)){if(delete e[i],o=o||"toggle"===r,r===(p?"hide":"show")){if("show"!==r||!f||void 0===f[i])continue;p=!0}d[i]=f&&f[i]||S.style(t,i)}else u=void 0;if(S.isEmptyObject(d))"inline"===("none"===u?Ae(t.nodeName):u)&&(h.display=u);else for(i in f?"hidden"in f&&(p=f.hidden):f=S._data(t,"fxshow",{}),o&&(f.hidden=!p),p?S(t).show():c.done(function(){S(t).hide()}),c.done(function(){var e;for(e in S._removeData(t,"fxshow"),d)S.style(t,e,d[e])}),d)s=ct(p?f[i]:0,i,c),i in f||(f[i]=s.start,p&&(s.end=s.start,s.start="width"===i||"height"===i?1:0))}],at={"*":[function(e,t){var n=this.createTween(e,t),i=n.cur(),r=rt.exec(t),o=r&&r[3]||(S.cssNumber[e]?"":"px"),s=(S.cssNumber[e]||"px"!==o&&+i)&&rt.exec(S.css(n.elem,e)),a=1,l=20;if(s&&s[3]!==o)for(o=o||s[3],r=r||[],s=+i||1;s/=a=a||".5",S.style(n.elem,e,s+o),a!==(a=n.cur()/i)&&1!==a&&--l;);return r&&(s=n.start=+s||+i||0,n.unit=o,n.end=r[1]?s+(r[1]+1)*r[2]:+r[2]),n}]};function lt(){return setTimeout(function(){Ge=void 0}),Ge=S.now()}function ut(e,t){var n,i={height:e},r=0;for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=$[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function ct(e,t,n){for(var i,r=(at[t]||[]).concat(at["*"]),o=0,s=r.length;o<s;o++)if(i=r[o].call(n,t,e))return i}function dt(o,e,t){var n,s,i=0,r=st.length,a=S.Deferred().always(function(){delete l.elem}),l=function(){if(s)return!1;for(var e=Ge||lt(),t=Math.max(0,u.startTime+u.duration-e),n=1-(t/u.duration||0),i=0,r=u.tweens.length;i<r;i++)u.tweens[i].run(n);return a.notifyWith(o,[u,n,t]),n<1&&r?t:(a.resolveWith(o,[u]),!1)},u=a.promise({elem:o,props:S.extend({},e),opts:S.extend(!0,{specialEasing:{}},t),originalProperties:e,originalOptions:t,startTime:Ge||lt(),duration:t.duration,tweens:[],createTween:function(e,t){var n=S.Tween(o,u.opts,e,t,u.opts.specialEasing[e]||u.opts.easing);return u.tweens.push(n),n},stop:function(e){var t=0,n=e?u.tweens.length:0;if(s)return this;for(s=!0;t<n;t++)u.tweens[t].run(1);return e?a.resolveWith(o,[u,e]):a.rejectWith(o,[u,e]),this}}),c=u.props;for(function(e,t){var n,i,r,o,s;for(n in e)if(r=t[i=S.camelCase(n)],o=e[n],S.isArray(o)&&(r=o[1],o=e[n]=o[0]),n!==i&&(e[i]=o,delete e[n]),(s=S.cssHooks[i])&&"expand"in s)for(n in o=s.expand(o),delete e[i],o)n in e||(e[n]=o[n],t[n]=r);else t[i]=r}(c,u.opts.specialEasing);i<r;i++)if(n=st[i].call(u,o,c,u.opts))return n;return S.map(c,ct,u),S.isFunction(u.opts.start)&&u.opts.start.call(o,u),S.fx.timer(S.extend(l,{elem:o,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}S.Animation=S.extend(dt,{tweener:function(e,t){for(var n,i=0,r=(e=S.isFunction(e)?(t=e,["*"]):e.split(" ")).length;i<r;i++)n=e[i],at[n]=at[n]||[],at[n].unshift(t)},prefilter:function(e,t){t?st.unshift(e):st.push(e)}}),S.speed=function(e,t,n){var i=e&&"object"==typeof e?S.extend({},e):{complete:n||!n&&t||S.isFunction(e)&&e,duration:e,easing:n&&t||t&&!S.isFunction(t)&&t};return i.duration=S.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in S.fx.speeds?S.fx.speeds[i.duration]:S.fx.speeds._default,null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){S.isFunction(i.old)&&i.old.call(this),i.queue&&S.dequeue(this,i.queue)},i},S.fn.extend({fadeTo:function(e,t,n,i){return this.filter(B).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(t,e,n,i){function r(){var e=dt(this,S.extend({},t),s);(o||S._data(this,"finish"))&&e.stop(!0)}var o=S.isEmptyObject(t),s=S.speed(e,n,i);return r.finish=r,o||!1===s.queue?this.each(r):this.queue(s.queue,r)},stop:function(r,e,o){function s(e){var t=e.stop;delete e.stop,t(o)}return"string"!=typeof r&&(o=e,e=r,r=void 0),e&&!1!==r&&this.queue(r||"fx",[]),this.each(function(){var e=!0,t=null!=r&&r+"queueHooks",n=S.timers,i=S._data(this);if(t)i[t]&&i[t].stop&&s(i[t]);else for(t in i)i[t]&&i[t].stop&&ot.test(t)&&s(i[t]);for(t=n.length;t--;)n[t].elem!==this||null!=r&&n[t].queue!==r||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||S.dequeue(this,r)})},finish:function(s){return!1!==s&&(s=s||"fx"),this.each(function(){var e,t=S._data(this),n=t[s+"queue"],i=t[s+"queueHooks"],r=S.timers,o=n?n.length:0;for(t.finish=!0,S.queue(this,s,[]),i&&i.stop&&i.stop.call(this,!0),e=r.length;e--;)r[e].elem===this&&r[e].queue===s&&(r[e].anim.stop(!0),r.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),S.each(["toggle","show","hide"],function(e,i){var r=S.fn[i];S.fn[i]=function(e,t,n){return null==e||"boolean"==typeof e?r.apply(this,arguments):this.animate(ut(i,!0),e,t,n)}}),S.each({slideDown:ut("show"),slideUp:ut("hide"),slideToggle:ut("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,i){S.fn[e]=function(e,t,n){return this.animate(i,e,t,n)}}),S.timers=[],S.fx.tick=function(){var e,t=S.timers,n=0;for(Ge=S.now();n<t.length;n++)(e=t[n])()||t[n]!==e||t.splice(n--,1);t.length||S.fx.stop(),Ge=void 0},S.fx.timer=function(e){S.timers.push(e),e()?S.fx.start():S.timers.pop()},S.fx.interval=13,S.fx.start=function(){Je=Je||setInterval(S.fx.tick,S.fx.interval)},S.fx.stop=function(){clearInterval(Je),Je=null},S.fx.speeds={slow:600,fast:200,_default:400},S.fn.delay=function(i,e){return i=S.fx&&S.fx.speeds[i]||i,e=e||"fx",this.queue(e,function(e,t){var n=setTimeout(e,i);t.stop=function(){clearTimeout(n)}})},(Ke=T.createElement("div")).setAttribute("className","t"),Ke.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",tt=Ke.getElementsByTagName("a")[0],nt=(et=T.createElement("select")).appendChild(T.createElement("option")),Ze=Ke.getElementsByTagName("input")[0],tt.style.cssText="top:1px",v.getSetAttribute="t"!==Ke.className,v.style=/top/.test(tt.getAttribute("style")),v.hrefNormalized="/a"===tt.getAttribute("href"),v.checkOn=!!Ze.value,v.optSelected=nt.selected,v.enctype=!!T.createElement("form").enctype,et.disabled=!0,v.optDisabled=!nt.disabled,(Ze=T.createElement("input")).setAttribute("value",""),v.input=""===Ze.getAttribute("value"),Ze.value="t",Ze.setAttribute("type","radio"),v.radioValue="t"===Ze.value;var ht=/\r/g;S.fn.extend({val:function(n){var i,e,r,t=this[0];return arguments.length?(r=S.isFunction(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=r?n.call(this,e,S(this).val()):n)?t="":"number"==typeof t?t+="":S.isArray(t)&&(t=S.map(t,function(e){return null==e?"":e+""})),(i=S.valHooks[this.type]||S.valHooks[this.nodeName.toLowerCase()])&&"set"in i&&void 0!==i.set(this,t,"value")||(this.value=t))})):t?(i=S.valHooks[t.type]||S.valHooks[t.nodeName.toLowerCase()])&&"get"in i&&void 0!==(e=i.get(t,"value"))?e:"string"==typeof(e=t.value)?e.replace(ht,""):null==e?"":e:void 0}}),S.extend({valHooks:{option:{get:function(e){var t=S.find.attr(e,"value");return null!=t?t:S.trim(S.text(e))}},select:{get:function(e){for(var t,n,i=e.options,r=e.selectedIndex,o="select-one"===e.type||r<0,s=o?null:[],a=o?r+1:i.length,l=r<0?a:o?r:0;l<a;l++)if(!(!(n=i[l]).selected&&l!==r||(v.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&S.nodeName(n.parentNode,"optgroup"))){if(t=S(n).val(),o)return t;s.push(t)}return s},set:function(e,t){for(var n,i,r=e.options,o=S.makeArray(t),s=r.length;s--;)if(i=r[s],0<=S.inArray(S.valHooks.option.get(i),o))try{i.selected=n=!0}catch(e){i.scrollHeight}else i.selected=!1;return n||(e.selectedIndex=-1),r}}}}),S.each(["radio","checkbox"],function(){S.valHooks[this]={set:function(e,t){return S.isArray(t)?e.checked=0<=S.inArray(S(e).val(),t):void 0}},v.checkOn||(S.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var pt,ft,mt=S.expr.attrHandle,gt=/^(?:checked|selected)$/i,vt=v.getSetAttribute,yt=v.input;S.fn.extend({attr:function(e,t){return V(this,S.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){S.removeAttr(this,e)})}}),S.extend({attr:function(e,t,n){var i,r,o=e.nodeType;if(e&&3!==o&&8!==o&&2!==o)return typeof e.getAttribute===F?S.prop(e,t,n):(1===o&&S.isXMLDoc(e)||(t=t.toLowerCase(),i=S.attrHooks[t]||(S.expr.match.bool.test(t)?ft:pt)),void 0===n?i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=S.find.attr(e,t))?void 0:r:null!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):void S.removeAttr(e,t))},removeAttr:function(e,t){var n,i,r=0,o=t&&t.match(D);if(o&&1===e.nodeType)for(;n=o[r++];)i=S.propFix[n]||n,S.expr.match.bool.test(n)?yt&&vt||!gt.test(n)?e[i]=!1:e[S.camelCase("default-"+n)]=e[i]=!1:S.attr(e,n,""),e.removeAttribute(vt?n:i)},attrHooks:{type:{set:function(e,t){if(!v.radioValue&&"radio"===t&&S.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}}}),ft={set:function(e,t,n){return!1===t?S.removeAttr(e,n):yt&&vt||!gt.test(n)?e.setAttribute(!vt&&S.propFix[n]||n,n):e[S.camelCase("default-"+n)]=e[n]=!0,n}},S.each(S.expr.match.bool.source.match(/\w+/g),function(e,t){var o=mt[t]||S.find.attr;mt[t]=yt&&vt||!gt.test(t)?function(e,t,n){var i,r;return n||(r=mt[t],mt[t]=i,i=null!=o(e,t,n)?t.toLowerCase():null,mt[t]=r),i}:function(e,t,n){return n?void 0:e[S.camelCase("default-"+t)]?t.toLowerCase():null}}),yt&&vt||(S.attrHooks.value={set:function(e,t,n){return S.nodeName(e,"input")?void(e.defaultValue=t):pt&&pt.set(e,t,n)}}),vt||(pt={set:function(e,t,n){var i=e.getAttributeNode(n);return i||e.setAttributeNode(i=e.ownerDocument.createAttribute(n)),i.value=t+="","value"===n||t===e.getAttribute(n)?t:void 0}},mt.id=mt.name=mt.coords=function(e,t,n){var i;return n?void 0:(i=e.getAttributeNode(t))&&""!==i.value?i.value:null},S.valHooks.button={get:function(e,t){var n=e.getAttributeNode(t);return n&&n.specified?n.value:void 0},set:pt.set},S.attrHooks.contenteditable={set:function(e,t,n){pt.set(e,""!==t&&t,n)}},S.each(["width","height"],function(e,n){S.attrHooks[n]={set:function(e,t){return""===t?(e.setAttribute(n,"auto"),t):void 0}}})),v.style||(S.attrHooks.style={get:function(e){return e.style.cssText||void 0},set:function(e,t){return e.style.cssText=t+""}});var bt=/^(?:input|select|textarea|button|object)$/i,xt=/^(?:a|area)$/i;S.fn.extend({prop:function(e,t){return V(this,S.prop,e,t,1<arguments.length)},removeProp:function(e){return e=S.propFix[e]||e,this.each(function(){try{this[e]=void 0,delete this[e]}catch(e){}})}}),S.extend({propFix:{for:"htmlFor",class:"className"},prop:function(e,t,n){var i,r,o=e.nodeType;if(e&&3!==o&&8!==o&&2!==o)return(1!==o||!S.isXMLDoc(e))&&(t=S.propFix[t]||t,r=S.propHooks[t]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:e[t]=n:r&&"get"in r&&null!==(i=r.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=S.find.attr(e,"tabindex");return t?parseInt(t,10):bt.test(e.nodeName)||xt.test(e.nodeName)&&e.href?0:-1}}}}),v.hrefNormalized||S.each(["href","src"],function(e,t){S.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),v.optSelected||(S.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}}),S.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){S.propFix[this.toLowerCase()]=this}),v.enctype||(S.propFix.enctype="encoding");var wt=/[\t\r\n\f]/g;S.fn.extend({addClass:function(t){var e,n,i,r,o,s,a=0,l=this.length,u="string"==typeof t&&t;if(S.isFunction(t))return this.each(function(e){S(this).addClass(t.call(this,e,this.className))});if(u)for(e=(t||"").match(D)||[];a<l;a++)if(i=1===(n=this[a]).nodeType&&(n.className?(" "+n.className+" ").replace(wt," "):" ")){for(o=0;r=e[o++];)i.indexOf(" "+r+" ")<0&&(i+=r+" ");s=S.trim(i),n.className!==s&&(n.className=s)}return this},removeClass:function(t){var e,n,i,r,o,s,a=0,l=this.length,u=0===arguments.length||"string"==typeof t&&t;if(S.isFunction(t))return this.each(function(e){S(this).removeClass(t.call(this,e,this.className))});if(u)for(e=(t||"").match(D)||[];a<l;a++)if(i=1===(n=this[a]).nodeType&&(n.className?(" "+n.className+" ").replace(wt," "):"")){for(o=0;r=e[o++];)for(;0<=i.indexOf(" "+r+" ");)i=i.replace(" "+r+" "," ");s=t?S.trim(i):"",n.className!==s&&(n.className=s)}return this},toggleClass:function(r,t){var o=typeof r;return"boolean"==typeof t&&"string"==o?t?this.addClass(r):this.removeClass(r):this.each(S.isFunction(r)?function(e){S(this).toggleClass(r.call(this,e,this.className,t),t)}:function(){if("string"==o)for(var e,t=0,n=S(this),i=r.match(D)||[];e=i[t++];)n.hasClass(e)?n.removeClass(e):n.addClass(e);else o!==F&&"boolean"!=o||(this.className&&S._data(this,"__className__",this.className),this.className=!this.className&&!1!==r&&S._data(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",n=0,i=this.length;n<i;n++)if(1===this[n].nodeType&&0<=(" "+this[n].className+" ").replace(wt," ").indexOf(t))return!0;return!1}}),S.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){S.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}}),S.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,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)}});var Ct=S.now(),St=/\?/,Tt=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;S.parseJSON=function(e){if(f.JSON&&f.JSON.parse)return f.JSON.parse(e+"");var r,o=null,t=S.trim(e+"");return t&&!S.trim(t.replace(Tt,function(e,t,n,i){return r&&t&&(o=0),0===o?e:(r=n||t,o+=!i-!n,"")}))?Function("return "+t)():S.error("Invalid JSON: "+e)},S.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{f.DOMParser?t=(new DOMParser).parseFromString(e,"text/xml"):((t=new ActiveXObject("Microsoft.XMLDOM")).async="false",t.loadXML(e))}catch(e){t=void 0}return t&&t.documentElement&&!t.getElementsByTagName("parsererror").length||S.error("Invalid XML: "+e),t};var Et,kt,Nt=/#.*$/,Pt=/([?&])_=[^&]*/,At=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Dt=/^(?:GET|HEAD)$/,jt=/^\/\//,Lt=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,It={},Ot={},Ft="*/".concat("*");try{kt=location.href}catch(e){(kt=T.createElement("a")).href="",kt=kt.href}function Mt(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,i=0,r=e.toLowerCase().match(D)||[];if(S.isFunction(t))for(;n=r[i++];)"+"===n.charAt(0)?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function qt(t,r,o,s){var a={},l=t===Ot;function u(e){var i;return a[e]=!0,S.each(t[e]||[],function(e,t){var n=t(r,o,s);return"string"!=typeof n||l||a[n]?l?!(i=n):void 0:(r.dataTypes.unshift(n),u(n),!1)}),i}return u(r.dataTypes[0])||!a["*"]&&u("*")}function Ht(e,t){var n,i,r=S.ajaxSettings.flatOptions||{};for(i in t)void 0!==t[i]&&((r[i]?e:n=n||{})[i]=t[i]);return n&&S.extend(!0,e,n),e}Et=Lt.exec(kt.toLowerCase())||[],S.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:kt,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Et[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ft,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":S.parseJSON,"text xml":S.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Ht(Ht(e,S.ajaxSettings),t):Ht(S.ajaxSettings,e)},ajaxPrefilter:Mt(It),ajaxTransport:Mt(Ot),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,i,c,d,h,p,f,r,m=S.ajaxSetup({},t),g=m.context||m,v=m.context&&(g.nodeType||g.jquery)?S(g):S.event,y=S.Deferred(),b=S.Callbacks("once memory"),x=m.statusCode||{},o={},s={},w=0,a="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(2===w){if(!r)for(r={};t=At.exec(d);)r[t[1].toLowerCase()]=t[2];t=r[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===w?d:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return w||(e=s[n]=s[n]||e,o[e]=t),this},overrideMimeType:function(e){return w||(m.mimeType=e),this},statusCode:function(e){var t;if(e)if(w<2)for(t in e)x[t]=[x[t],e[t]];else C.always(e[C.status]);return this},abort:function(e){var t=e||a;return f&&f.abort(t),l(0,t),this}};if(y.promise(C).complete=b.add,C.success=C.done,C.error=C.fail,m.url=((e||m.url||kt)+"").replace(Nt,"").replace(jt,Et[1]+"//"),m.type=t.method||t.type||m.method||m.type,m.dataTypes=S.trim(m.dataType||"*").toLowerCase().match(D)||[""],null==m.crossDomain&&(n=Lt.exec(m.url.toLowerCase()),m.crossDomain=!(!n||n[1]===Et[1]&&n[2]===Et[2]&&(n[3]||("http:"===n[1]?"80":"443"))===(Et[3]||("http:"===Et[1]?"80":"443")))),m.data&&m.processData&&"string"!=typeof m.data&&(m.data=S.param(m.data,m.traditional)),qt(It,m,t,C),2===w)return C;for(i in(p=S.event&&m.global)&&0==S.active++&&S.event.trigger("ajaxStart"),m.type=m.type.toUpperCase(),m.hasContent=!Dt.test(m.type),c=m.url,m.hasContent||(m.data&&(c=m.url+=(St.test(c)?"&":"?")+m.data,delete m.data),!1===m.cache&&(m.url=Pt.test(c)?c.replace(Pt,"$1_="+Ct++):c+(St.test(c)?"&":"?")+"_="+Ct++)),m.ifModified&&(S.lastModified[c]&&C.setRequestHeader("If-Modified-Since",S.lastModified[c]),S.etag[c]&&C.setRequestHeader("If-None-Match",S.etag[c])),(m.data&&m.hasContent&&!1!==m.contentType||t.contentType)&&C.setRequestHeader("Content-Type",m.contentType),C.setRequestHeader("Accept",m.dataTypes[0]&&m.accepts[m.dataTypes[0]]?m.accepts[m.dataTypes[0]]+("*"!==m.dataTypes[0]?", "+Ft+"; q=0.01":""):m.accepts["*"]),m.headers)C.setRequestHeader(i,m.headers[i]);if(m.beforeSend&&(!1===m.beforeSend.call(g,C,m)||2===w))return C.abort();for(i in a="abort",{success:1,error:1,complete:1})C[i](m[i]);if(f=qt(Ot,m,t,C)){C.readyState=1,p&&v.trigger("ajaxSend",[C,m]),m.async&&0<m.timeout&&(h=setTimeout(function(){C.abort("timeout")},m.timeout));try{w=1,f.send(o,l)}catch(e){if(!(w<2))throw e;l(-1,e)}}else l(-1,"No Transport");function l(e,t,n,i){var r,o,s,a,l,u=t;2!==w&&(w=2,h&&clearTimeout(h),f=void 0,d=i||"",C.readyState=0<e?4:0,r=200<=e&&e<300||304===e,n&&(a=function(e,t,n){for(var i,r,o,s,a=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(s in a)if(a[s]&&a[s].test(r)){l.unshift(s);break}if(l[0]in n)o=l[0];else{for(s in n){if(!l[0]||e.converters[s+" "+l[0]]){o=s;break}i=i||s}o=o||i}return o?(o!==l[0]&&l.unshift(o),n[o]):void 0}(m,C,n)),a=function(e,t,n,i){var r,o,s,a,l,u={},c=e.dataTypes.slice();if(c[1])for(s in e.converters)u[s.toLowerCase()]=e.converters[s];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(s=u[l+" "+o]||u["* "+o]))for(r in u)if((a=r.split(" "))[1]===o&&(s=u[l+" "+a[0]]||u["* "+a[0]])){!0===s?s=u[r]:!0!==u[r]&&(o=a[0],c.unshift(a[1]));break}if(!0!==s)if(s&&e.throws)t=s(t);else try{t=s(t)}catch(e){return{state:"parsererror",error:s?e:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}(m,a,C,r),r?(m.ifModified&&((l=C.getResponseHeader("Last-Modified"))&&(S.lastModified[c]=l),(l=C.getResponseHeader("etag"))&&(S.etag[c]=l)),204===e||"HEAD"===m.type?u="nocontent":304===e?u="notmodified":(u=a.state,o=a.data,r=!(s=a.error))):(s=u,!e&&u||(u="error",e<0&&(e=0))),C.status=e,C.statusText=(t||u)+"",r?y.resolveWith(g,[o,u,C]):y.rejectWith(g,[C,u,s]),C.statusCode(x),x=void 0,p&&v.trigger(r?"ajaxSuccess":"ajaxError",[C,m,r?o:s]),b.fireWith(g,[C,u]),p&&(v.trigger("ajaxComplete",[C,m]),--S.active||S.event.trigger("ajaxStop")))}return C},getJSON:function(e,t,n){return S.get(e,t,n,"json")},getScript:function(e,t){return S.get(e,void 0,t,"script")}}),S.each(["get","post"],function(e,r){S[r]=function(e,t,n,i){return S.isFunction(t)&&(i=i||n,n=t,t=void 0),S.ajax({url:e,type:r,dataType:i,data:t,success:n})}}),S._evalUrl=function(e){return S.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},S.fn.extend({wrapAll:function(t){if(S.isFunction(t))return this.each(function(e){S(this).wrapAll(t.call(this,e))});if(this[0]){var e=S(t,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(n){return this.each(S.isFunction(n)?function(e){S(this).wrapInner(n.call(this,e))}:function(){var e=S(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=S.isFunction(t);return this.each(function(e){S(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(){return this.parent().each(function(){S.nodeName(this,"body")||S(this).replaceWith(this.childNodes)}).end()}}),S.expr.filters.hidden=function(e){return e.offsetWidth<=0&&e.offsetHeight<=0||!v.reliableHiddenOffsets()&&"none"===(e.style&&e.style.display||S.css(e,"display"))},S.expr.filters.visible=function(e){return!S.expr.filters.hidden(e)};var Rt=/%20/g,_t=/\[\]$/,zt=/\r?\n/g,Bt=/^(?:submit|button|image|reset|file)$/i,Wt=/^(?:input|select|textarea|keygen)/i;function $t(n,e,i,r){var t;if(S.isArray(e))S.each(e,function(e,t){i||_t.test(n)?r(n,t):$t(n+"["+("object"==typeof t?e:"")+"]",t,i,r)});else if(i||"object"!==S.type(e))r(n,e);else for(t in e)$t(n+"["+t+"]",e[t],i,r)}S.param=function(e,t){function n(e,t){t=S.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)}var i,r=[];if(void 0===t&&(t=S.ajaxSettings&&S.ajaxSettings.traditional),S.isArray(e)||e.jquery&&!S.isPlainObject(e))S.each(e,function(){n(this.name,this.value)});else for(i in e)$t(i,e[i],t,n);return r.join("&").replace(Rt,"+")},S.fn.extend({serialize:function(){return S.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=S.prop(this,"elements");return e?S.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!S(this).is(":disabled")&&Wt.test(this.nodeName)&&!Bt.test(e)&&(this.checked||!X.test(e))}).map(function(e,t){var n=S(this).val();return null==n?null:S.isArray(n)?S.map(n,function(e){return{name:t.name,value:e.replace(zt,"\r\n")}}):{name:t.name,value:n.replace(zt,"\r\n")}}).get()}}),S.ajaxSettings.xhr=void 0!==f.ActiveXObject?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&Ut()||function(){try{return new f.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}()}:Ut;var Vt=0,Xt={},Yt=S.ajaxSettings.xhr();function Ut(){try{return new f.XMLHttpRequest}catch(e){}}f.attachEvent&&f.attachEvent("onunload",function(){for(var e in Xt)Xt[e](void 0,!0)}),v.cors=!!Yt&&"withCredentials"in Yt,(Yt=v.ajax=!!Yt)&&S.ajaxTransport(function(l){var u;if(!l.crossDomain||v.cors)return{send:function(e,o){var t,s=l.xhr(),a=++Vt;if(s.open(l.type,l.url,l.async,l.username,l.password),l.xhrFields)for(t in l.xhrFields)s[t]=l.xhrFields[t];for(t in l.mimeType&&s.overrideMimeType&&s.overrideMimeType(l.mimeType),l.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)void 0!==e[t]&&s.setRequestHeader(t,e[t]+"");s.send(l.hasContent&&l.data||null),u=function(e,t){var n,i,r;if(u&&(t||4===s.readyState))if(delete Xt[a],u=void 0,s.onreadystatechange=S.noop,t)4!==s.readyState&&s.abort();else{r={},n=s.status,"string"==typeof s.responseText&&(r.text=s.responseText);try{i=s.statusText}catch(e){i=""}n||!l.isLocal||l.crossDomain?1223===n&&(n=204):n=r.text?200:404}r&&o(n,i,r,s.getAllResponseHeaders())},l.async?4===s.readyState?setTimeout(u):s.onreadystatechange=Xt[a]=u:u()},abort:function(){u&&u(void 0,!0)}}}),S.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return S.globalEval(e),e}}}),S.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),S.ajaxTransport("script",function(t){if(t.crossDomain){var i,r=T.head||S("head")[0]||T.documentElement;return{send:function(e,n){(i=T.createElement("script")).async=!0,t.scriptCharset&&(i.charset=t.scriptCharset),i.src=t.url,i.onload=i.onreadystatechange=function(e,t){!t&&i.readyState&&!/loaded|complete/.test(i.readyState)||(i.onload=i.onreadystatechange=null,i.parentNode&&i.parentNode.removeChild(i),i=null,t||n(200,"success"))},r.insertBefore(i,r.firstChild)},abort:function(){i&&i.onload(void 0,!0)}}}});var Qt=[],Gt=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Qt.pop()||S.expando+"_"+Ct++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,n){var i,r,o,s=!1!==e.jsonp&&(Gt.test(e.url)?"url":"string"==typeof e.data&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Gt.test(e.data)&&"data");return s||"jsonp"===e.dataTypes[0]?(i=e.jsonpCallback=S.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Gt,"$1"+i):!1!==e.jsonp&&(e.url+=(St.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return o||S.error(i+" was not called"),o[0]},e.dataTypes[0]="json",r=f[i],f[i]=function(){o=arguments},n.always(function(){f[i]=r,e[i]&&(e.jsonpCallback=t.jsonpCallback,Qt.push(i)),o&&S.isFunction(r)&&r(o[0]),o=r=void 0}),"script"):void 0}),S.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||T;var i=b.exec(e),r=!n&&[];return i?[t.createElement(i[1])]:(i=S.buildFragment([e],t,r),r&&r.length&&S(r).remove(),S.merge([],i.childNodes))};var Jt=S.fn.load;S.fn.load=function(e,t,n){if("string"!=typeof e&&Jt)return Jt.apply(this,arguments);var i,r,o,s=this,a=e.indexOf(" ");return 0<=a&&(i=S.trim(e.slice(a,e.length)),e=e.slice(0,a)),S.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),0<s.length&&S.ajax({url:e,type:o,dataType:"html",data:t}).done(function(e){r=arguments,s.html(i?S("<div>").append(S.parseHTML(e)).find(i):e)}).complete(n&&function(e,t){s.each(n,r||[e.responseText,t,e])}),this},S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.expr.filters.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length};var Zt=f.document.documentElement;function Kt(e){return S.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}S.offset={setOffset:function(e,t,n){var i,r,o,s,a,l,u=S.css(e,"position"),c=S(e),d={};"static"===u&&(e.style.position="relative"),a=c.offset(),o=S.css(e,"top"),l=S.css(e,"left"),r=("absolute"===u||"fixed"===u)&&-1<S.inArray("auto",[o,l])?(s=(i=c.position()).top,i.left):(s=parseFloat(o)||0,parseFloat(l)||0),S.isFunction(t)&&(t=t.call(e,n,a)),null!=t.top&&(d.top=t.top-a.top+s),null!=t.left&&(d.left=t.left-a.left+r),"using"in t?t.using.call(e,d):c.css(d)}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,n,i={top:0,left:0},r=this[0],o=r&&r.ownerDocument;return o?(e=o.documentElement,S.contains(e,r)?(typeof r.getBoundingClientRect!==F&&(i=r.getBoundingClientRect()),n=Kt(o),{top:i.top+(n.pageYOffset||e.scrollTop)-(e.clientTop||0),left:i.left+(n.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}):i):void 0},position:function(){if(this[0]){var e,t,n={top:0,left:0},i=this[0];return"fixed"===S.css(i,"position")?t=i.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),S.nodeName(e[0],"html")||(n=e.offset()),n.top+=S.css(e[0],"borderTopWidth",!0),n.left+=S.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-S.css(i,"marginTop",!0),left:t.left-n.left-S.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||Zt;e&&!S.nodeName(e,"html")&&"static"===S.css(e,"position");)e=e.offsetParent;return e||Zt})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,r){var o=/Y/.test(r);S.fn[t]=function(e){return V(this,function(e,t,n){var i=Kt(e);return void 0===n?i?r in i?i[r]:i.document.documentElement[t]:e[t]:void(i?i.scrollTo(o?S(i).scrollLeft():n,o?n:S(i).scrollTop()):e[t]=n)},t,e,arguments.length,null)}}),S.each(["top","left"],function(e,n){S.cssHooks[n]=Fe(v.pixelPosition,function(e,t){return t?(t=je(e,n),Ie.test(t)?S(e).position()[n]+"px":t):void 0})}),S.each({Height:"height",Width:"width"},function(o,s){S.each({padding:"inner"+o,content:s,"":"outer"+o},function(i,e){S.fn[e]=function(e,t){var n=arguments.length&&(i||"boolean"!=typeof e),r=i||(!0===e||!0===t?"margin":"border");return V(this,function(e,t,n){var i;return S.isWindow(e)?e.document.documentElement["client"+o]:9===e.nodeType?(i=e.documentElement,Math.max(e.body["scroll"+o],i["scroll"+o],e.body["offset"+o],i["offset"+o],i["client"+o])):void 0===n?S.css(e,t,r):S.style(e,t,n,r)},s,n?e:void 0,n,null)}})}),S.fn.size=function(){return this.length},S.fn.andSelf=S.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return S});var en=f.jQuery,tn=f.$;return S.noConflict=function(e){return f.$===S&&(f.$=tn),e&&f.jQuery===S&&(f.jQuery=en),S},typeof e===F&&(f.jQuery=f.$=S),S}),function(a){function c(e,t,n){return"string"==typeof e&&("%"==e.slice(-1)?e=parseInt(e.substring(0,e.length-1))/100*t:"vh"==e.slice(-2)?e=parseInt(e.substring(0,e.length-2))/100*n:"px"==e.slice(-2)&&(e=parseInt(e.substring(0,e.length-2)))),e}var d=a(window),l=1,u={};d.on("scroll",function(){var t=d.scrollTop();a.map(u,function(e){window.clearTimeout(e.timeoutId),e.timeoutId=window.setTimeout(function(){e.handler(t)},e.options.delay)})}).on("load",function(){d.trigger("scroll")}),jQuery.fn.scrollex=function(e){var t,n,i,r,o=a(this);if(0==this.length)return o;if(1<this.length){for(var s=0;s<this.length;s++)a(this[s]).scrollex(e);return o}if(o.data("_scrollexId"))return o;switch(t=l++,(n=jQuery.extend({top:0,bottom:0,delay:0,mode:"default",enter:null,leave:null,initialize:null,terminate:null,scroll:null},e)).mode){case"top":i=function(e,t,n,i,r){return i<=e&&e<=r};break;case"bottom":i=function(e,t,n,i,r){return i<=n&&n<=r};break;case"middle":i=function(e,t,n,i,r){return i<=t&&t<=r};break;case"top-only":i=function(e,t,n,i,r){return e<=i&&i<=n};break;case"bottom-only":i=function(e,t,n,i,r){return r<=n&&e<=r};break;default:i=function(e,t,n,i,r){return i<=n&&e<=r}}return r={id:t,options:n,test:i,handler:function(e){var t,n,i,r,o,s,a,l=this.state,u=this.$element.offset();n=e+(t=d.height())/2,i=e+t,r=this.$element.outerHeight(),o=u.top+c(this.options.top,r,t),s=u.top+r-c(this.options.bottom,r,t),(a=this.test(e,n,i,o,s))!=l&&((this.state=a)?this.options.enter&&this.options.enter.apply(this.element):this.options.leave&&this.options.leave.apply(this.element)),this.options.scroll&&this.options.scroll.apply(this.element,[(n-o)/(s-o)])},state:null,element:this,$element:o,timeoutId:null},u[t]=r,o.data("_scrollexId",r.id),r.options.initialize&&r.options.initialize.apply(this),o},jQuery.fn.unscrollex=function(){var e,t,n=a(this);if(0==this.length)return n;if(1<this.length){for(var i=0;i<this.length;i++)a(this[i]).unscrollex();return n}return(e=n.data("_scrollexId"))&&(t=u[e],window.clearTimeout(t.timeoutId),delete u[e],n.removeData("_scrollexId"),t.options.terminate&&t.options.terminate.apply(this)),n}}(jQuery),function(s){function a(e,t){var n,i,r;if(0==(n=s(e))[l])return null;switch(i=n[o]().top,t.anchor){case"middle":r=i-(s(window).height()-n.outerHeight())/2;break;default:r=Math.max(i,0)}return"function"==typeof t[o]?r-=t[o]():r-=t[o],r}var l="length",o="offset",u="click.scrolly";s(window);s.fn.scrolly=function(e){var t,n,i,r,o=s(this);if(0==this[l])return o;if(1<this[l]){for(t=0;t<this[l];t++)s(this[t]).scrolly(e);return o}if(r=null,"#"!=(i=o.attr("href")).charAt(0)||i[l]<2)return o;(n=jQuery.extend({anchor:"top",easing:"swing",offset:0,parent:s("body,html"),pollOnce:!1,speed:1e3},e)).pollOnce&&(r=a(i,n)),o.off(u).on(u,function(e){var t=null!==r?r:a(i,n);null!==t&&(e.preventDefault(),n.parent.stop().animate({scrollTop:t},n.speed,n.easing))})}}(jQuery);var skel=function(){"use strict";var v={breakpointIds:null,events:{},isInit:!1,obj:{attachments:{},breakpoints:{},head:null,states:{}},sd:"/",state:null,stateHandlers:{},stateId:"",vars:{},DOMReady:null,indexOf:null,isArray:null,iterate:null,matchesMedia:null,extend:function(t,n){v.iterate(n,function(e){v.isArray(n[e])?(v.isArray(t[e])||(t[e]=[]),v.extend(t[e],n[e])):"object"==typeof n[e]?("object"!=typeof t[e]&&(t[e]={}),v.extend(t[e],n[e])):t[e]=n[e]})},newStyle:function(e){var t=document.createElement("style");return t.type="text/css",t.innerHTML=e,t},_canUse:null,canUse:function(e){v._canUse||(v._canUse=document.createElement("div"));var t=v._canUse.style,n=e.charAt(0).toUpperCase()+e.slice(1);return e in t||"Moz"+n in t||"Webkit"+n in t||"O"+n in t||"ms"+n in t},on:function(e,r){var o=e.split(/[\s]+/);return v.iterate(o,function(e){var t=o[e];if(v.isInit){if("init"==t)return void r();if("change"==t)r();else{var n=t.charAt(0);if("+"==n||"!"==n){var i=t.substring(1);if(i in v.obj.breakpoints)if("+"==n&&v.obj.breakpoints[i].active)r();else if("!"==n&&!v.obj.breakpoints[i].active)return void r()}}}v.events[t]||(v.events[t]=[]),v.events[t].push(r)}),v},trigger:function(t){return v.events[t]&&0!=v.events[t].length?(v.iterate(v.events[t],function(e){v.events[t][e]()}),v):void 0},breakpoint:function(e){return v.obj.breakpoints[e]},breakpoints:function(t){function n(e,t){this.name=this.id=e,this.media=t,this.active=!1,this.wasActive=!1}return n.prototype.matches=function(){return v.matchesMedia(this.media)},n.prototype.sync=function(){this.wasActive=this.active,this.active=this.matches()},v.iterate(t,function(e){v.obj.breakpoints[e]=new n(e,t[e])}),window.setTimeout(function(){v.poll()},0),v},addStateHandler:function(e,t){v.stateHandlers[e]=t},callStateHandler:function(e){var t=v.stateHandlers[e]();v.iterate(t,function(e){v.state.attachments.push(t[e])})},changeState:function(e){v.iterate(v.obj.breakpoints,function(e){v.obj.breakpoints[e].sync()}),v.vars.lastStateId=v.stateId,v.stateId=e,v.breakpointIds=v.stateId===v.sd?[]:v.stateId.substring(1).split(v.sd),v.obj.states[v.stateId]?v.state=v.obj.states[v.stateId]:(v.obj.states[v.stateId]={attachments:[]},v.state=v.obj.states[v.stateId],v.iterate(v.stateHandlers,v.callStateHandler)),v.detachAll(v.state.attachments),v.attachAll(v.state.attachments),v.vars.stateId=v.stateId,v.vars.state=v.state,v.trigger("change"),v.iterate(v.obj.breakpoints,function(e){v.obj.breakpoints[e].active?v.obj.breakpoints[e].wasActive||v.trigger("+"+e):v.obj.breakpoints[e].wasActive&&v.trigger("-"+e)})},generateStateConfig:function(e,t){var n={};return v.extend(n,e),v.iterate(v.breakpointIds,function(e){v.extend(n,t[v.breakpointIds[e]])}),n},getStateId:function(){var n="";return v.iterate(v.obj.breakpoints,function(e){var t=v.obj.breakpoints[e];t.matches()&&(n+=v.sd+t.id)}),n},poll:function(){var e="";""===(e=v.getStateId())&&(e=v.sd),e!==v.stateId&&v.changeState(e)},_attach:null,attach:function(e){var t=v.obj.head,n=e.element;return(!n.parentNode||!n.parentNode.tagName)&&(v._attach||(v._attach=t.firstChild),t.insertBefore(n,v._attach.nextSibling),e.permanent&&(v._attach=n),!0)},attachAll:function(t){var n=[];v.iterate(t,function(e){n[t[e].priority]||(n[t[e].priority]=[]),n[t[e].priority].push(t[e])}),n.reverse(),v.iterate(n,function(t){v.iterate(n[t],function(e){v.attach(n[t][e])})})},detach:function(e){var t=e.element;return!(e.permanent||!t.parentNode||t.parentNode&&!t.parentNode.tagName)&&(t.parentNode.removeChild(t),!0)},detachAll:function(t){var n={};v.iterate(t,function(e){n[t[e].id]=!0}),v.iterate(v.obj.attachments,function(e){e in n||v.detach(v.obj.attachments[e])})},attachment:function(e){return e in v.obj.attachments?v.obj.attachments[e]:null},newAttachment:function(e,t,n,i){return v.obj.attachments[e]={id:e,element:t,priority:n,permanent:i}},init:function(){v.initMethods(),v.initVars(),v.initEvents(),v.obj.head=document.getElementsByTagName("head")[0],v.isInit=!0,v.trigger("init")},initEvents:function(){v.on("resize",function(){v.poll()}),v.on("orientationChange",function(){v.poll()}),v.DOMReady(function(){v.trigger("ready")}),window.onload&&v.on("load",window.onload),window.onload=function(){v.trigger("load")},window.onresize&&v.on("resize",window.onresize),window.onresize=function(){v.trigger("resize")},window.onorientationchange&&v.on("orientationChange",window.onorientationchange),window.onorientationchange=function(){v.trigger("orientationChange")}},initMethods:function(){function e(e){for(d=1;e=i.shift();)e()}var n,t,i,r,o,s,a,l,u,c,d,h,p,f,m,g;document.addEventListener?v.DOMReady=(p=[],f=document,m="DOMContentLoaded",g=/^loaded|^c/.test(f.readyState),f.addEventListener(m,h=function(){f.removeEventListener(m,h),function(e){for(g=1;e=p.shift();)e()}()}),function(e){g?e():p.push(e)}):v.DOMReady=(i=[],r=document,o=r.documentElement,s=o.doScroll,a="DOMContentLoaded",l="addEventListener",u="onreadystatechange",d=(s?/^loaded|^c/:/^loaded|c/).test(r[c="readyState"]),r[l]&&r[l](a,t=function(){r.removeEventListener(a,t,!1),e()},!1),s&&r.attachEvent(u,t=function(){/^c/.test(r[c])&&(r.detachEvent(u,t),e())}),n=s?function(t){self!=top?d?t():i.push(t):function(){try{o.doScroll("left")}catch(e){return setTimeout(function(){n(t)},50)}t()}()}:function(e){d?e():i.push(e)}),Array.prototype.indexOf?v.indexOf=function(e,t){return e.indexOf(t)}:v.indexOf=function(e,t){if("string"==typeof e)return e.indexOf(t);var n,i,r=t||0;if(!this)throw new TypeError;if(0===(i=this.length)||i<=r)return-1;for(r<0&&(r=i-Math.abs(r)),n=r;n<i;n++)if(this[n]===e)return n;return-1},Array.isArray?v.isArray=function(e){return Array.isArray(e)}:v.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)},Object.keys?v.iterate=function(e,t){if(!e)return[];var n,i=Object.keys(e);for(n=0;i[n]&&!1!==t(i[n],e[i[n]]);n++);}:v.iterate=function(e,t){if(!e)return[];var n;for(n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&!1===t(n,e[n]))break},window.matchMedia?v.matchesMedia=function(e){return""==e||window.matchMedia(e).matches}:window.styleMedia||window.media?v.matchesMedia=function(e){return""==e||(window.styleMedia||window.media).matchMedium(e||"all")}:window.getComputedStyle?v.matchesMedia=function(e){if(""==e)return!0;var t,n=document.createElement("style"),i=document.getElementsByTagName("script")[0];n.type="text/css",n.id="matchmediajs-test",i.parentNode.insertBefore(n,i),t="getComputedStyle"in window&&window.getComputedStyle(n,null)||n.currentStyle;var r="@media "+e+"{ #matchmediajs-test { width: 1px; } }";return n.styleSheet?n.styleSheet.cssText=r:n.textContent=r,"1px"===t.width}:v.matchesMedia=function(e){if(""==e)return!0;var t,n,i,r,o={"min-width":null,"max-width":null},s=!1;for(i=e.split(/\s+and\s+/),t=0;t<i.length;t++)"("==(n=i[t]).charAt(0)&&(2==(r=(n=n.substring(1,n.length-1)).split(/:\s+/)).length&&(o[r[0].replace(/^\s+|\s+$/g,"")]=parseInt(r[1]),s=!0));if(!s)return!1;var a=document.documentElement.clientWidth,l=document.documentElement.clientHeight;return!(null!==o["min-width"]&&a<o["min-width"]||null!==o["max-width"]&&a>o["max-width"]||null!==o["min-height"]&&l<o["min-height"]||null!==o["max-height"]&&l>o["max-height"])},navigator.userAgent.match(/MSIE ([0-9]+)/)&&RegExp.$1<9&&(v.newStyle=function(e){var t=document.createElement("span");return t.innerHTML='&nbsp;<style type="text/css">'+e+"</style>",t})},initVars:function(){var n,i,e,r=navigator.userAgent;n="other",i=0,e=[["firefox",/Firefox\/([0-9\.]+)/],["bb",/BlackBerry.+Version\/([0-9\.]+)/],["bb",/BB[0-9]+.+Version\/([0-9\.]+)/],["opera",/OPR\/([0-9\.]+)/],["opera",/Opera\/([0-9\.]+)/],["edge",/Edge\/([0-9\.]+)/],["safari",/Version\/([0-9\.]+).+Safari/],["chrome",/Chrome\/([0-9\.]+)/],["ie",/MSIE ([0-9]+)/],["ie",/Trident\/.+rv:([0-9]+)/]],v.iterate(e,function(e,t){return r.match(t[1])?(n=t[0],i=parseFloat(RegExp.$1),!1):void 0}),v.vars.browser=n,v.vars.browserVersion=i,n="other",i=0,e=[["ios",/([0-9_]+) like Mac OS X/,function(e){return e.replace("_",".").replace("_","")}],["ios",/CPU like Mac OS X/,function(e){return 0}],["android",/Android ([0-9\.]+)/,null],["mac",/Macintosh.+Mac OS X ([0-9_]+)/,function(e){return e.replace("_",".").replace("_","")}],["wp",/Windows Phone ([0-9\.]+)/,null],["windows",/Windows NT ([0-9\.]+)/,null],["bb",/BlackBerry.+Version\/([0-9\.]+)/,null],["bb",/BB[0-9]+.+Version\/([0-9\.]+)/,null]],v.iterate(e,function(e,t){return r.match(t[1])?(n=t[0],i=parseFloat(t[2]?t[2](RegExp.$1):RegExp.$1),!1):void 0}),v.vars.os=n,v.vars.osVersion=i,v.vars.IEVersion="ie"==v.vars.browser?v.vars.browserVersion:99,v.vars.touch="wp"==v.vars.os?0<navigator.msMaxTouchPoints:!!("ontouchstart"in window),v.vars.mobile="wp"==v.vars.os||"android"==v.vars.os||"ios"==v.vars.os||"bb"==v.vars.os}};return v.init(),v}();!function(e,t){"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?module.exports=t():e.skel=t()}(this,function(){return skel}),function(o){o.fn.navList=function(){var e=o(this);return $a=e.find("a"),b=[],$a.each(function(){var e=o(this),t=Math.max(0,e.parents("li").length-1),n=e.attr("href"),i=e.attr("target");b.push('<a class="link depth-'+t+'"'+(void 0!==i&&""!=i?' target="'+i+'"':"")+(void 0!==n&&""!=n?' href="'+n+'"':"")+'><span class="indent-'+t+'"></span>'+e.text()+"</a>")}),b.join("")},o.fn.panel=function(e){if(0==this.length)return a;if(1<this.length){for(var t=0;t<this.length;t++)o(this[t]).panel(e);return a}var s,a=o(this),n=o("body"),i=o(window),r=a.attr("id");return"jQuery"!=typeof(s=o.extend({delay:0,hideOnClick:!1,hideOnEscape:!1,hideOnSwipe:!1,resetScroll:!1,resetForms:!1,side:null,target:a,visibleClass:"visible"},e)).target&&(s.target=o(s.target)),a._hide=function(e){s.target.hasClass(s.visibleClass)&&(e&&(e.preventDefault(),e.stopPropagation()),s.target.removeClass(s.visibleClass),window.setTimeout(function(){s.resetScroll&&a.scrollTop(0),s.resetForms&&a.find("form").each(function(){this.reset()})},s.delay))},a.css("-ms-overflow-style","-ms-autohiding-scrollbar").css("-webkit-overflow-scrolling","touch"),s.hideOnClick&&(a.find("a").css("-webkit-tap-highlight-color","rgba(0,0,0,0)"),a.on("click","a",function(e){var t=o(this),n=t.attr("href"),i=t.attr("target");n&&"#"!=n&&""!=n&&n!="#"+r&&(e.preventDefault(),e.stopPropagation(),a._hide(),window.setTimeout(function(){"_blank"==i?window.open(n):window.location.href=n},s.delay+10))})),a.on("touchstart",function(e){a.touchPosX=e.originalEvent.touches[0].pageX,a.touchPosY=e.originalEvent.touches[0].pageY}),a.on("touchmove",function(e){if(null!==a.touchPosX&&null!==a.touchPosY){var t=a.touchPosX-e.originalEvent.touches[0].pageX,n=a.touchPosY-e.originalEvent.touches[0].pageY,i=a.outerHeight(),r=a.get(0).scrollHeight-a.scrollTop();if(s.hideOnSwipe){var o=!1;switch(s.side){case"left":o=n<20&&-20<n&&50<t;break;case"right":o=n<20&&-20<n&&t<-50;break;case"top":o=t<20&&-20<t&&50<n;break;case"bottom":o=t<20&&-20<t&&n<-50}if(o)return a.touchPosX=null,a.touchPosY=null,a._hide(),!1}(a.scrollTop()<0&&n<0||i-2<r&&r<i+2&&0<n)&&(e.preventDefault(),e.stopPropagation())}}),a.on("click touchend touchstart touchmove",function(e){e.stopPropagation()}),a.on("click",'a[href="#'+r+'"]',function(e){e.preventDefault(),e.stopPropagation(),s.target.removeClass(s.visibleClass)}),n.on("click touchend",function(e){a._hide(e)}),n.on("click",'a[href="#'+r+'"]',function(e){e.preventDefault(),e.stopPropagation(),s.target.toggleClass(s.visibleClass)}),s.hideOnEscape&&i.on("keydown",function(e){27==e.keyCode&&a._hide(e)}),a},o.fn.placeholder=function(){if(void 0!==document.createElement("input").placeholder)return o(this);if(0==this.length)return t;if(1<this.length){for(var e=0;e<this.length;e++)o(this[e]).placeholder();return t}var t=o(this);return t.find("input[type=text],textarea").each(function(){var e=o(this);""!=e.val()&&e.val()!=e.attr("placeholder")||e.addClass("polyfill-placeholder").val(e.attr("placeholder"))}).on("blur",function(){var e=o(this);e.attr("name").match(/-polyfill-field$/)||""==e.val()&&e.addClass("polyfill-placeholder").val(e.attr("placeholder"))}).on("focus",function(){var e=o(this);e.attr("name").match(/-polyfill-field$/)||e.val()==e.attr("placeholder")&&e.removeClass("polyfill-placeholder").val("")}),t.find("input[type=password]").each(function(){var n=o(this),i=o(o("<div>").append(n.clone()).remove().html().replace(/type="password"/i,'type="text"').replace(/type=password/i,"type=text"));""!=n.attr("id")&&i.attr("id",n.attr("id")+"-polyfill-field"),""!=n.attr("name")&&i.attr("name",n.attr("name")+"-polyfill-field"),i.addClass("polyfill-placeholder").val(i.attr("placeholder")).insertAfter(n),""==n.val()?n.hide():i.hide(),n.on("blur",function(e){e.preventDefault();var t=n.parent().find("input[name="+n.attr("name")+"-polyfill-field]");""==n.val()&&(n.hide(),t.show())}),i.on("focus",function(e){e.preventDefault();var t=i.parent().find("input[name="+i.attr("name").replace("-polyfill-field","")+"]");i.hide(),t.show().focus()}).on("keypress",function(e){e.preventDefault(),i.val("")})}),t.on("submit",function(){t.find("input[type=text],input[type=password],textarea").each(function(e){var t=o(this);t.attr("name").match(/-polyfill-field$/)&&t.attr("name",""),t.val()==t.attr("placeholder")&&(t.removeClass("polyfill-placeholder"),t.val(""))})}).on("reset",function(e){e.preventDefault(),t.find("select").val(o("option:first").val()),t.find("input,textarea").each(function(){var e,t=o(this);switch(t.removeClass("polyfill-placeholder"),this.type){case"submit":case"reset":break;case"password":t.val(t.attr("defaultValue")),e=t.parent().find("input[name="+t.attr("name")+"-polyfill-field]"),""==t.val()?(t.hide(),e.show()):(t.show(),e.hide());break;case"checkbox":case"radio":t.attr("checked",t.attr("defaultValue"));break;case"text":case"textarea":t.val(t.attr("defaultValue")),""==t.val()&&(t.addClass("polyfill-placeholder"),t.val(t.attr("placeholder")));break;default:t.val(t.attr("defaultValue"))}})}),t},o.prioritize=function(e,i){var r="__prioritize";"jQuery"!=typeof e&&(e=o(e)),e.each(function(){var e,t=o(this),n=t.parent();if(0!=n.length)if(t.data(r)){if(i)return;e=t.data(r),t.insertAfter(e),t.removeData(r)}else{if(!i)return;if(0==(e=t.prev()).length)return;t.prependTo(n),t.data(r,e)}})}}(jQuery),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof module&&module.exports?module.exports=e(require("jquery")):e(jQuery)}(function(c){c.extend(c.fn,{validate:function(e){if(this.length){var i=c.data(this[0],"validator");return i||(this.attr("novalidate","novalidate"),i=new c.validator(e,this[0]),c.data(this[0],"validator",i),i.settings.onsubmit&&(this.on("click.validate",":submit",function(e){i.settings.submitHandler&&(i.submitButton=e.target),c(this).hasClass("cancel")&&(i.cancelSubmit=!0),void 0!==c(this).attr("formnovalidate")&&(i.cancelSubmit=!0)}),this.on("submit.validate",function(n){function e(){var e,t;return!i.settings.submitHandler||(i.submitButton&&(e=c("<input type='hidden'/>").attr("name",i.submitButton.name).val(c(i.submitButton).val()).appendTo(i.currentForm)),t=i.settings.submitHandler.call(i,i.currentForm,n),i.submitButton&&e.remove(),void 0!==t&&t)}return i.settings.debug&&n.preventDefault(),i.cancelSubmit?(i.cancelSubmit=!1,e()):i.form()?i.pendingRequest?!(i.formSubmitted=!0):e():(i.focusInvalid(),!1)})),i)}e&&e.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing.")},valid:function(){var e,t,n;return c(this[0]).is("form")?e=this.validate().form():(n=[],e=!0,t=c(this[0].form).validate(),this.each(function(){(e=t.element(this)&&e)||(n=n.concat(t.errorList))}),t.errorList=n),e},rules:function(e,t){if(this.length){var n,i,r,o,s,a,l=this[0];if(e)switch(n=c.data(l.form,"validator").settings,i=n.rules,r=c.validator.staticRules(l),e){case"add":c.extend(r,c.validator.normalizeRule(t)),delete r.messages,i[l.name]=r,t.messages&&(n.messages[l.name]=c.extend(n.messages[l.name],t.messages));break;case"remove":return t?(a={},c.each(t.split(/\s/),function(e,t){a[t]=r[t],delete r[t],"required"===t&&c(l).removeAttr("aria-required")}),a):(delete i[l.name],r)}return(o=c.validator.normalizeRules(c.extend({},c.validator.classRules(l),c.validator.attributeRules(l),c.validator.dataRules(l),c.validator.staticRules(l)),l)).required&&(s=o.required,delete o.required,o=c.extend({required:s},o),c(l).attr("aria-required","true")),o.remote&&(s=o.remote,delete o.remote,o=c.extend(o,{remote:s})),o}}}),c.extend(c.expr[":"],{blank:function(e){return!c.trim(""+c(e).val())},filled:function(e){var t=c(e).val();return null!==t&&!!c.trim(""+t)},unchecked:function(e){return!c(e).prop("checked")}}),c.validator=function(e,t){this.settings=c.extend(!0,{},c.validator.defaults,e),this.currentForm=t,this.init()},c.validator.format=function(n,e){return 1===arguments.length?function(){var e=c.makeArray(arguments);return e.unshift(n),c.validator.format.apply(this,e)}:(void 0===e||(2<arguments.length&&e.constructor!==Array&&(e=c.makeArray(arguments).slice(1)),e.constructor!==Array&&(e=[e]),c.each(e,function(e,t){n=n.replace(new RegExp("\\{"+e+"\\}","g"),function(){return t})})),n)},c.extend(c.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",pendingClass:"pending",validClass:"valid",errorElement:"label",focusCleanup:!1,focusInvalid:!0,errorContainer:c([]),errorLabelContainer:c([]),onsubmit:!0,ignore:":hidden",ignoreTitle:!1,onfocusin:function(e){this.lastActive=e,this.settings.focusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,e,this.settings.errorClass,this.settings.validClass),this.hideThese(this.errorsFor(e)))},onfocusout:function(e){this.checkable(e)||!(e.name in this.submitted)&&this.optional(e)||this.element(e)},onkeyup:function(e,t){9===t.which&&""===this.elementValue(e)||-1!==c.inArray(t.keyCode,[16,17,18,20,35,36,37,38,39,40,45,144,225])||(e.name in this.submitted||e.name in this.invalid)&&this.element(e)},onclick:function(e){e.name in this.submitted?this.element(e):e.parentNode.name in this.submitted&&this.element(e.parentNode)},highlight:function(e,t,n){"radio"===e.type?this.findByName(e.name).addClass(t).removeClass(n):c(e).addClass(t).removeClass(n)},unhighlight:function(e,t,n){"radio"===e.type?this.findByName(e.name).removeClass(t).addClass(n):c(e).removeClass(t).addClass(n)}},setDefaults:function(e){c.extend(c.validator.defaults,e)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date ( ISO ).",number:"Please enter a valid number.",digits:"Please enter only digits.",equalTo:"Please enter the same value again.",maxlength:c.validator.format("Please enter no more than {0} characters."),minlength:c.validator.format("Please enter at least {0} characters."),rangelength:c.validator.format("Please enter a value between {0} and {1} characters long."),range:c.validator.format("Please enter a value between {0} and {1}."),max:c.validator.format("Please enter a value less than or equal to {0}."),min:c.validator.format("Please enter a value greater than or equal to {0}."),step:c.validator.format("Please enter a multiple of {0}.")},autoCreateRanges:!1,prototype:{init:function(){function e(e){var t=c.data(this.form,"validator"),n="on"+e.type.replace(/^validate/,""),i=t.settings;i[n]&&!c(this).is(i.ignore)&&i[n].call(t,this,e)}this.labelContainer=c(this.settings.errorLabelContainer),this.errorContext=this.labelContainer.length&&this.labelContainer||c(this.currentForm),this.containers=c(this.settings.errorContainer).add(this.settings.errorLabelContainer),this.submitted={},this.valueCache={},this.pendingRequest=0,this.pending={},this.invalid={},this.reset();var n,i=this.groups={};c.each(this.settings.groups,function(n,e){"string"==typeof e&&(e=e.split(/\s/)),c.each(e,function(e,t){i[t]=n})}),n=this.settings.rules,c.each(n,function(e,t){n[e]=c.validator.normalizeRule(t)}),c(this.currentForm).on("focusin.validate focusout.validate keyup.validate",":text, [type='password'], [type='file'], select, textarea, [type='number'], [type='search'], [type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'], [type='radio'], [type='checkbox'], [contenteditable]",e).on("click.validate","select, option, [type='radio'], [type='checkbox']",e),this.settings.invalidHandler&&c(this.currentForm).on("invalid-form.validate",this.settings.invalidHandler),c(this.currentForm).find("[required], [data-rule-required], .required").attr("aria-required","true")},form:function(){return this.checkForm(),c.extend(this.submitted,this.errorMap),this.invalid=c.extend({},this.errorMap),this.valid()||c(this.currentForm).triggerHandler("invalid-form",[this]),this.showErrors(),this.valid()},checkForm:function(){this.prepareForm();for(var e=0,t=this.currentElements=this.elements();t[e];e++)this.check(t[e]);return this.valid()},element:function(e){var t,n,i=this.clean(e),r=this.validationTargetFor(i),o=this,s=!0;return void 0===r?delete this.invalid[i.name]:(this.prepareElement(r),this.currentElements=c(r),(n=this.groups[r.name])&&c.each(this.groups,function(e,t){t===n&&e!==r.name&&((i=o.validationTargetFor(o.clean(o.findByName(e))))&&i.name in o.invalid&&(o.currentElements.push(i),s=s&&o.check(i)))}),t=!1!==this.check(r),s=s&&t,this.invalid[r.name]=!t,this.numberOfInvalids()||(this.toHide=this.toHide.add(this.containers)),this.showErrors(),c(e).attr("aria-invalid",!t)),s},showErrors:function(t){if(t){var n=this;c.extend(this.errorMap,t),this.errorList=c.map(this.errorMap,function(e,t){return{message:e,element:n.findByName(t)[0]}}),this.successList=c.grep(this.successList,function(e){return!(e.name in t)})}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){c.fn.resetForm&&c(this.currentForm).resetForm(),this.invalid={},this.submitted={},this.prepareForm(),this.hideErrors();var e=this.elements().removeData("previousValue").removeAttr("aria-invalid");this.resetElements(e)},resetElements:function(e){var t;if(this.settings.unhighlight)for(t=0;e[t];t++)this.settings.unhighlight.call(this,e[t],this.settings.errorClass,""),this.findByName(e[t].name).removeClass(this.settings.validClass);else e.removeClass(this.settings.errorClass).removeClass(this.settings.validClass)},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(e){var t,n=0;for(t in e)e[t]&&n++;return n},hideErrors:function(){this.hideThese(this.toHide)},hideThese:function(e){e.not(this.containers).text(""),this.addWrapper(e).hide()},valid:function(){return 0===this.size()},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid)try{c(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").focus().trigger("focusin")}catch(e){}},findLastActive:function(){var t=this.lastActive;return t&&1===c.grep(this.errorList,function(e){return e.element.name===t.name}).length&&t},elements:function(){var t=this,n={};return c(this.currentForm).find("input, select, textarea, [contenteditable]").not(":submit, :reset, :image, :disabled").not(this.settings.ignore).filter(function(){var e=this.name||c(this).attr("name");return!e&&t.settings.debug&&window.console&&console.error("%o has no name assigned",this),this.hasAttribute("contenteditable")&&(this.form=c(this).closest("form")[0]),!(e in n||!t.objectLength(c(this).rules()))&&(n[e]=!0)})},clean:function(e){return c(e)[0]},errors:function(){var e=this.settings.errorClass.split(" ").join(".");return c(this.settings.errorElement+"."+e,this.errorContext)},resetInternals:function(){this.successList=[],this.errorList=[],this.errorMap={},this.toShow=c([]),this.toHide=c([])},reset:function(){this.resetInternals(),this.currentElements=c([])},prepareForm:function(){this.reset(),this.toHide=this.errors().add(this.containers)},prepareElement:function(e){this.reset(),this.toHide=this.errorsFor(e)},elementValue:function(e){var t,n,i=c(e),r=e.type;return"radio"===r||"checkbox"===r?this.findByName(e.name).filter(":checked").val():"number"===r&&void 0!==e.validity?e.validity.badInput?"NaN":i.val():(t=e.hasAttribute("contenteditable")?i.text():i.val(),"file"===r?"C:\\fakepath\\"===t.substr(0,12)?t.substr(12):0<=(n=t.lastIndexOf("/"))?t.substr(n+1):0<=(n=t.lastIndexOf("\\"))?t.substr(n+1):t:"string"==typeof t?t.replace(/\r/g,""):t)},check:function(t){t=this.validationTargetFor(this.clean(t));var e,n,i,r=c(t).rules(),o=c.map(r,function(e,t){return t}).length,s=!1,a=this.elementValue(t);if("function"==typeof r.normalizer){if("string"!=typeof(a=r.normalizer.call(t,a)))throw new TypeError("The normalizer should return a string value.");delete r.normalizer}for(n in r){i={method:n,parameters:r[n]};try{if("dependency-mismatch"===(e=c.validator.methods[n].call(this,a,t,i.parameters))&&1===o){s=!0;continue}if(s=!1,"pending"===e)return void(this.toHide=this.toHide.not(this.errorsFor(t)));if(!e)return this.formatAndAdd(t,i),!1}catch(e){throw this.settings.debug&&window.console&&console.log("Exception occurred when checking element "+t.id+", check the '"+i.method+"' method.",e),e instanceof TypeError&&(e.message+=".  Exception occurred when checking element "+t.id+", check the '"+i.method+"' method."),e}}if(!s)return this.objectLength(r)&&this.successList.push(t),!0},customDataMessage:function(e,t){return c(e).data("msg"+t.charAt(0).toUpperCase()+t.substring(1).toLowerCase())||c(e).data("msg")},customMessage:function(e,t){var n=this.settings.messages[e];return n&&(n.constructor===String?n:n[t])},findDefined:function(){for(var e=0;e<arguments.length;e++)if(void 0!==arguments[e])return arguments[e]},defaultMessage:function(e,t){var n=this.findDefined(this.customMessage(e.name,t.method),this.customDataMessage(e,t.method),!this.settings.ignoreTitle&&e.title||void 0,c.validator.messages[t.method],"<strong>Warning: No message defined for "+e.name+"</strong>"),i=/\$?\{(\d+)\}/g;return"function"==typeof n?n=n.call(this,t.parameters,e):i.test(n)&&(n=c.validator.format(n.replace(i,"{$1}"),t.parameters)),n},formatAndAdd:function(e,t){var n=this.defaultMessage(e,t);this.errorList.push({message:n,element:e,method:t.method}),this.errorMap[e.name]=n,this.submitted[e.name]=n},addWrapper:function(e){return this.settings.wrapper&&(e=e.add(e.parent(this.settings.wrapper))),e},defaultShowErrors:function(){var e,t,n;for(e=0;this.errorList[e];e++)n=this.errorList[e],this.settings.highlight&&this.settings.highlight.call(this,n.element,this.settings.errorClass,this.settings.validClass),this.showLabel(n.element,n.message);if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(e=0;this.successList[e];e++)this.showLabel(this.successList[e]);if(this.settings.unhighlight)for(e=0,t=this.validElements();t[e];e++)this.settings.unhighlight.call(this,t[e],this.settings.errorClass,this.settings.validClass);this.toHide=this.toHide.not(this.toShow),this.hideErrors(),this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return c(this.errorList).map(function(){return this.element})},showLabel:function(e,t){var n,i,r,o,s=this.errorsFor(e),a=this.idOrName(e),l=c(e).attr("aria-describedby");s.length?(s.removeClass(this.settings.validClass).addClass(this.settings.errorClass),s.html(t)):(n=s=c("<"+this.settings.errorElement+">").attr("id",a+"-error").addClass(this.settings.errorClass).html(t||""),this.settings.wrapper&&(n=s.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.length?this.labelContainer.append(n):this.settings.errorPlacement?this.settings.errorPlacement(n,c(e)):n.insertAfter(e),s.is("label")?s.attr("for",a):0===s.parents("label[for='"+this.escapeCssMeta(a)+"']").length&&(r=s.attr("id"),l?l.match(new RegExp("\\b"+this.escapeCssMeta(r)+"\\b"))||(l+=" "+r):l=r,c(e).attr("aria-describedby",l),(i=this.groups[e.name])&&(o=this,c.each(o.groups,function(e,t){t===i&&c("[name='"+o.escapeCssMeta(e)+"']",o.currentForm).attr("aria-describedby",s.attr("id"))})))),!t&&this.settings.success&&(s.text(""),"string"==typeof this.settings.success?s.addClass(this.settings.success):this.settings.success(s,e)),this.toShow=this.toShow.add(s)},errorsFor:function(e){var t=this.escapeCssMeta(this.idOrName(e)),n=c(e).attr("aria-describedby"),i="label[for='"+t+"'], label[for='"+t+"'] *";return n&&(i=i+", #"+this.escapeCssMeta(n).replace(/\s+/g,", #")),this.errors().filter(i)},escapeCssMeta:function(e){return e.replace(/([\\!"#$%&'()*+,./:;<=>?@\[\]^`{|}~])/g,"\\$1")},idOrName:function(e){return this.groups[e.name]||!this.checkable(e)&&e.id||e.name},validationTargetFor:function(e){return this.checkable(e)&&(e=this.findByName(e.name)),c(e).not(this.settings.ignore)[0]},checkable:function(e){return/radio|checkbox/i.test(e.type)},findByName:function(e){return c(this.currentForm).find("[name='"+this.escapeCssMeta(e)+"']")},getLength:function(e,t){switch(t.nodeName.toLowerCase()){case"select":return c("option:selected",t).length;case"input":if(this.checkable(t))return this.findByName(t.name).filter(":checked").length}return e.length},depend:function(e,t){return!this.dependTypes[typeof e]||this.dependTypes[typeof e](e,t)},dependTypes:{boolean:function(e){return e},string:function(e,t){return!!c(e,t.form).length},function:function(e,t){return e(t)}},optional:function(e){var t=this.elementValue(e);return!c.validator.methods.required.call(this,t,e)&&"dependency-mismatch"},startRequest:function(e){this.pending[e.name]||(this.pendingRequest++,c(e).addClass(this.settings.pendingClass),this.pending[e.name]=!0)},stopRequest:function(e,t){this.pendingRequest--,this.pendingRequest<0&&(this.pendingRequest=0),delete this.pending[e.name],c(e).removeClass(this.settings.pendingClass),t&&0===this.pendingRequest&&this.formSubmitted&&this.form()?(c(this.currentForm).submit(),this.formSubmitted=!1):!t&&0===this.pendingRequest&&this.formSubmitted&&(c(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},previousValue:function(e,t){return c.data(e,"previousValue")||c.data(e,"previousValue",{old:null,valid:!0,message:this.defaultMessage(e,{method:t})})},destroy:function(){this.resetForm(),c(this.currentForm).off(".validate").removeData("validator").find(".validate-equalTo-blur").off(".validate-equalTo").removeClass("validate-equalTo-blur")}},classRuleSettings:{required:{required:!0},email:{email:!0},url:{url:!0},date:{date:!0},dateISO:{dateISO:!0},number:{number:!0},digits:{digits:!0},creditcard:{creditcard:!0}},addClassRules:function(e,t){e.constructor===String?this.classRuleSettings[e]=t:c.extend(this.classRuleSettings,e)},classRules:function(e){var t={},n=c(e).attr("class");return n&&c.each(n.split(" "),function(){this in c.validator.classRuleSettings&&c.extend(t,c.validator.classRuleSettings[this])}),t},normalizeAttributeRule:function(e,t,n,i){/min|max|step/.test(n)&&(null===t||/number|range|text/.test(t))&&(i=Number(i),isNaN(i)&&(i=void 0)),i||0===i?e[n]=i:t===n&&"range"!==t&&(e[n]=!0)},attributeRules:function(e){var t,n,i={},r=c(e),o=e.getAttribute("type");for(t in c.validator.methods)n="required"===t?(""===(n=e.getAttribute(t))&&(n=!0),!!n):r.attr(t),this.normalizeAttributeRule(i,o,t,n);return i.maxlength&&/-1|2147483647|524288/.test(i.maxlength)&&delete i.maxlength,i},dataRules:function(e){var t,n,i={},r=c(e),o=e.getAttribute("type");for(t in c.validator.methods)n=r.data("rule"+t.charAt(0).toUpperCase()+t.substring(1).toLowerCase()),this.normalizeAttributeRule(i,o,t,n);return i},staticRules:function(e){var t={},n=c.data(e.form,"validator");return n.settings.rules&&(t=c.validator.normalizeRule(n.settings.rules[e.name])||{}),t},normalizeRules:function(i,r){return c.each(i,function(e,t){if(!1!==t){if(t.param||t.depends){var n=!0;switch(typeof t.depends){case"string":n=!!c(t.depends,r.form).length;break;case"function":n=t.depends.call(r,r)}n?i[e]=void 0===t.param||t.param:(c.data(r.form,"validator").resetElements(c(r)),delete i[e])}}else delete i[e]}),c.each(i,function(e,t){i[e]=c.isFunction(t)&&"normalizer"!==e?t(r):t}),c.each(["minlength","maxlength"],function(){i[this]&&(i[this]=Number(i[this]))}),c.each(["rangelength","range"],function(){var e;i[this]&&(c.isArray(i[this])?i[this]=[Number(i[this][0]),Number(i[this][1])]:"string"==typeof i[this]&&(e=i[this].replace(/[\[\]]/g,"").split(/[\s,]+/),i[this]=[Number(e[0]),Number(e[1])]))}),c.validator.autoCreateRanges&&(null!=i.min&&null!=i.max&&(i.range=[i.min,i.max],delete i.min,delete i.max),null!=i.minlength&&null!=i.maxlength&&(i.rangelength=[i.minlength,i.maxlength],delete i.minlength,delete i.maxlength)),i},normalizeRule:function(e){if("string"==typeof e){var t={};c.each(e.split(/\s/),function(){t[this]=!0}),e=t}return e},addMethod:function(e,t,n){c.validator.methods[e]=t,c.validator.messages[e]=void 0!==n?n:c.validator.messages[e],t.length<3&&c.validator.addClassRules(e,c.validator.normalizeRule(e))},methods:{required:function(e,t,n){if(!this.depend(n,t))return"dependency-mismatch";if("select"!==t.nodeName.toLowerCase())return this.checkable(t)?0<this.getLength(e,t):0<e.length;var i=c(t).val();return i&&0<i.length},email:function(e,t){return this.optional(t)||/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(e)},url:function(e,t){return this.optional(t)||/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})).?)(?::\d{2,5})?(?:[/?#]\S*)?$/i.test(e)},date:function(e,t){return this.optional(t)||!/Invalid|NaN/.test(new Date(e).toString())},dateISO:function(e,t){return this.optional(t)||/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(e)},number:function(e,t){return this.optional(t)||/^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(e)},digits:function(e,t){return this.optional(t)||/^\d+$/.test(e)},minlength:function(e,t,n){var i=c.isArray(e)?e.length:this.getLength(e,t);return this.optional(t)||n<=i},maxlength:function(e,t,n){var i=c.isArray(e)?e.length:this.getLength(e,t);return this.optional(t)||i<=n},rangelength:function(e,t,n){var i=c.isArray(e)?e.length:this.getLength(e,t);return this.optional(t)||i>=n[0]&&i<=n[1]},min:function(e,t,n){return this.optional(t)||n<=e},max:function(e,t,n){return this.optional(t)||e<=n},range:function(e,t,n){return this.optional(t)||e>=n[0]&&e<=n[1]},step:function(e,t,n){var i=c(t).attr("type"),r="Step attribute on input type "+i+" is not supported.",o=new RegExp("\\b"+i+"\\b");if(i&&!o.test(["text","number","range"].join()))throw new Error(r);return this.optional(t)||e%n==0},equalTo:function(e,t,n){var i=c(n);return this.settings.onfocusout&&i.not(".validate-equalTo-blur").length&&i.addClass("validate-equalTo-blur").on("blur.validate-equalTo",function(){c(t).valid()}),e===i.val()},remote:function(o,s,e,a){if(this.optional(s))return"dependency-mismatch";a="string"==typeof a&&a||"remote";var l,t,n,u=this.previousValue(s,a);return this.settings.messages[s.name]||(this.settings.messages[s.name]={}),u.originalMessage=u.originalMessage||this.settings.messages[s.name][a],this.settings.messages[s.name][a]=u.message,e="string"==typeof e?{url:e}:e,n=c.param(c.extend({data:o},e.data)),u.old===n?u.valid:(u.old=n,(l=this).startRequest(s),(t={})[s.name]=o,c.ajax(c.extend(!0,{mode:"abort",port:"validate"+s.name,dataType:"json",data:t,context:l.currentForm,success:function(e){var t,n,i,r=!0===e||"true"===e;l.settings.messages[s.name][a]=u.originalMessage,r?(i=l.formSubmitted,l.resetInternals(),l.toHide=l.errorsFor(s),l.formSubmitted=i,l.successList.push(s),l.invalid[s.name]=!1,l.showErrors()):(t={},n=e||l.defaultMessage(s,{method:a,parameters:o}),t[s.name]=u.message=n,l.invalid[s.name]=!0,l.showErrors(t)),u.valid=r,l.stopRequest(s,r)}},e)),"pending")}}});var i,r={};c.ajaxPrefilter?c.ajaxPrefilter(function(e,t,n){var i=e.port;"abort"===e.mode&&(r[i]&&r[i].abort(),r[i]=n)}):(i=c.ajax,c.ajax=function(e){var t=("mode"in e?e:c.ajaxSettings).mode,n=("port"in e?e:c.ajaxSettings).port;return"abort"===t?(r[n]&&r[n].abort(),r[n]=i.apply(this,arguments),r[n]):i.apply(this,arguments)})}),function(r){skel.breakpoints({xlarge:"(max-width: 1680px)",large:"(max-width: 1280px)",medium:"(max-width: 980px)",small:"(max-width: 736px)",xsmall:"(max-width: 480px)"}),r(function(){var e=r(window),t=r("body"),n=(r("#page-wrapper"),r("#banner")),i=r("#header");t.addClass("is-loading"),e.on("load",function(){window.setTimeout(function(){t.removeClass("is-loading")},100)}),skel.vars.mobile?t.addClass("is-mobile"):skel.on("-medium !medium",function(){t.removeClass("is-mobile")}).on("+medium",function(){t.addClass("is-mobile")}),r("form").placeholder(),skel.on("+medium -medium",function(){r.prioritize(".important\\28 medium\\29",skel.breakpoint("medium").active)}),r(".scrolly").scrolly({speed:1500,offset:i.outerHeight()}),r("#menu").append('<a href="#menu" class="close"></a>').appendTo(t).panel({delay:500,hideOnClick:!0,hideOnSwipe:!0,resetScroll:!0,resetForms:!0,side:"right",target:t,visibleClass:"is-menu-visible"}),skel.vars.IEVersion<9&&i.removeClass("alt"),0<n.length&&i.hasClass("alt")&&(e.on("resize",function(){e.trigger("scroll")}),n.scrollex({bottom:i.outerHeight()+1,terminate:function(){i.removeClass("alt")},enter:function(){i.addClass("alt")},leave:function(){i.removeClass("alt")}}))})}(jQuery),function(){"use strict";function e(e,t){var n;for(n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function n(e){if(!this||this.find!==n.prototype.find)return new n(e);if(this.length=0,e)if("string"==typeof e&&(e=this.find(e)),e.nodeType||e===e.window)this.length=1,this[0]=e;else{var t=e.length;for(this.length=t;t;)this[--t]=e[t]}}n.extend=e,n.contains=function(e,t){do{if((t=t.parentNode)===e)return!0}while(t);return!1},n.parseJSON=function(e){return window.JSON&&JSON.parse(e)},e(n.prototype,{find:function(e){var t=this[0]||document;return"string"==typeof e&&(e=t.querySelectorAll?t.querySelectorAll(e):"#"===e.charAt(0)?t.getElementById(e.slice(1)):t.getElementsByTagName(e)),new n(e)},hasClass:function(e){return!!this[0]&&new RegExp("(^|\\s+)"+e+"(\\s+|$)").test(this[0].className)},addClass:function(e){for(var t,n=this.length;n;){if(!(t=this[--n]).className)return t.className=e,this;if(this.hasClass(e))return this;t.className+=" "+e}return this},removeClass:function(e){for(var t,n=new RegExp("(^|\\s+)"+e+"(\\s+|$)"),i=this.length;i;)(t=this[--i]).className=t.className.replace(n," ");return this},on:function(e,t){for(var n,i,r=e.split(/\s+/);r.length;)for(e=r.shift(),n=this.length;n;)(i=this[--n]).addEventListener?i.addEventListener(e,t,!1):i.attachEvent&&i.attachEvent("on"+e,t);return this},off:function(e,t){for(var n,i,r=e.split(/\s+/);r.length;)for(e=r.shift(),n=this.length;n;)(i=this[--n]).removeEventListener?i.removeEventListener(e,t,!1):i.detachEvent&&i.detachEvent("on"+e,t);return this},empty:function(){for(var e,t=this.length;t;)for(e=this[--t];e.hasChildNodes();)e.removeChild(e.lastChild);return this},first:function(){return new n(this[0])}}),"function"==typeof define&&define.amd?define(function(){return n}):(window.blueimp=window.blueimp||{},window.blueimp.helper=n)}(),function(e){"use strict";"function"==typeof define&&define.amd?define(["./blueimp-helper"],e):(window.blueimp=window.blueimp||{},window.blueimp.Gallery=e(window.blueimp.helper||window.jQuery))}(function(c){"use strict";function n(e,t){return void 0===document.body.style.maxHeight?null:this&&this.options===n.prototype.options?void(e&&e.length?(this.list=e,this.num=e.length,this.initOptions(t),this.initialize()):this.console.log("blueimp Gallery: No or empty list provided as first argument.",e)):new n(e,t)}return c.extend(n.prototype,{options:{container:"#blueimp-gallery",slidesContainer:"div",titleElement:"h3",displayClass:"blueimp-gallery-display",controlsClass:"blueimp-gallery-controls",singleClass:"blueimp-gallery-single",leftEdgeClass:"blueimp-gallery-left",rightEdgeClass:"blueimp-gallery-right",playingClass:"blueimp-gallery-playing",slideClass:"slide",slideLoadingClass:"slide-loading",slideErrorClass:"slide-error",slideContentClass:"slide-content",toggleClass:"toggle",prevClass:"prev",nextClass:"next",closeClass:"close",playPauseClass:"play-pause",typeProperty:"type",titleProperty:"title",altTextProperty:"alt",urlProperty:"href",srcsetProperty:"urlset",displayTransition:!0,clearSlides:!0,stretchImages:!1,toggleControlsOnReturn:!0,toggleControlsOnSlideClick:!0,toggleSlideshowOnSpace:!0,enableKeyboardNavigation:!0,closeOnEscape:!0,closeOnSlideClick:!0,closeOnSwipeUpOrDown:!0,emulateTouchEvents:!0,stopTouchEventsPropagation:!1,hidePageScrollbars:!0,disableScroll:!0,carousel:!1,continuous:!0,unloadElements:!0,startSlideshow:!1,slideshowInterval:5e3,slideshowDirection:"ltr",index:0,preloadRange:2,transitionSpeed:400,slideshowTransitionSpeed:void 0,event:void 0,onopen:void 0,onopened:void 0,onslide:void 0,onslideend:void 0,onslidecomplete:void 0,onclose:void 0,onclosed:void 0},carouselOptions:{hidePageScrollbars:!1,toggleControlsOnReturn:!1,toggleSlideshowOnSpace:!1,enableKeyboardNavigation:!1,closeOnEscape:!1,closeOnSlideClick:!1,closeOnSwipeUpOrDown:!1,disableScroll:!1,startSlideshow:!0},console:window.console&&"function"==typeof window.console.log?window.console:{log:function(){}},support:function(i){var e,r={touch:void 0!==window.ontouchstart||window.DocumentTouch&&document instanceof DocumentTouch},t={webkitTransition:{end:"webkitTransitionEnd",prefix:"-webkit-"},MozTransition:{end:"transitionend",prefix:"-moz-"},OTransition:{end:"otransitionend",prefix:"-o-"},transition:{end:"transitionend",prefix:""}};for(e in t)if(Object.prototype.hasOwnProperty.call(t,e)&&void 0!==i.style[e]){r.transition=t[e],r.transition.name=e;break}function n(){var e,t,n=r.transition;document.body.appendChild(i),n&&(e=n.name.slice(0,-9)+"ransform",void 0!==i.style[e]&&(i.style[e]="translateZ(0)",t=window.getComputedStyle(i).getPropertyValue(n.prefix+"transform"),r.transform={prefix:n.prefix,name:e,translate:!0,translateZ:!!t&&"none"!==t})),void 0!==i.style.backgroundSize&&(r.backgroundSize={},i.style.backgroundSize="contain",r.backgroundSize.contain="contain"===window.getComputedStyle(i).getPropertyValue("background-size"),i.style.backgroundSize="cover",r.backgroundSize.cover="cover"===window.getComputedStyle(i).getPropertyValue("background-size")),document.body.removeChild(i)}return document.body?n():c(document).on("DOMContentLoaded",n),r}(document.createElement("div")),requestAnimationFrame:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame,cancelAnimationFrame:window.cancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame,initialize:function(){if(this.initStartIndex(),!1===this.initWidget())return!1;this.initEventListeners(),this.onslide(this.index),this.ontransitionend(),this.options.startSlideshow&&this.play()},slide:function(e,t){window.clearTimeout(this.timeout);var n,i,r,o=this.index;if(o!==e&&1!==this.num){if(t=t||this.options.transitionSpeed,this.support.transform){for(this.options.continuous||(e=this.circle(e)),n=Math.abs(o-e)/(o-e),this.options.continuous&&(i=n,(n=-this.positions[this.circle(e)]/this.slideWidth)!==i&&(e=-n*this.num+e)),r=Math.abs(o-e)-1;r;)--r,this.move(this.circle((o<e?e:o)-r-1),this.slideWidth*n,0);e=this.circle(e),this.move(o,this.slideWidth*n,t),this.move(e,0,t),this.options.continuous&&this.move(this.circle(e-n),-this.slideWidth*n,0)}else e=this.circle(e),this.animate(o*-this.slideWidth,e*-this.slideWidth,t);this.onslide(e)}},getIndex:function(){return this.index},getNumber:function(){return this.num},prev:function(){(this.options.continuous||this.index)&&this.slide(this.index-1)},next:function(){(this.options.continuous||this.index<this.num-1)&&this.slide(this.index+1)},play:function(e){var n=this,t=this.index+("rtl"===this.options.slideshowDirection?-1:1);window.clearTimeout(this.timeout),this.interval=e||this.options.slideshowInterval,1<this.elements[this.index]&&(this.timeout=this.setTimeout(!this.requestAnimationFrame&&this.slide||function(e,t){n.animationFrameId=n.requestAnimationFrame.call(window,function(){n.slide(e,t)})},[t,this.options.slideshowTransitionSpeed],this.interval)),this.container.addClass(this.options.playingClass)},pause:function(){window.clearTimeout(this.timeout),this.interval=null,this.cancelAnimationFrame&&(this.cancelAnimationFrame.call(window,this.animationFrameId),this.animationFrameId=null),this.container.removeClass(this.options.playingClass)},add:function(e){var t;for(e.concat||(e=Array.prototype.slice.call(e)),this.list.concat||(this.list=Array.prototype.slice.call(this.list)),this.list=this.list.concat(e),this.num=this.list.length,2<this.num&&null===this.options.continuous&&(this.options.continuous=!0,this.container.removeClass(this.options.leftEdgeClass)),this.container.removeClass(this.options.rightEdgeClass).removeClass(this.options.singleClass),t=this.num-e.length;t<this.num;t+=1)this.addSlide(t),this.positionSlide(t);this.positions.length=this.num,this.initSlides(!0)},resetSlides:function(){this.slidesContainer.empty(),this.unloadAllSlides(),this.slides=[]},handleClose:function(){var e=this.options;this.destroyEventListeners(),this.pause(),this.container[0].style.display="none",this.container.removeClass(e.displayClass).removeClass(e.singleClass).removeClass(e.leftEdgeClass).removeClass(e.rightEdgeClass),e.hidePageScrollbars&&(document.body.style.overflow=this.bodyOverflowStyle),this.options.clearSlides&&this.resetSlides(),this.options.onclosed&&this.options.onclosed.call(this)},close:function(){var n=this;this.options.onclose&&this.options.onclose.call(this),this.support.transition&&this.options.displayTransition?(this.container.on(this.support.transition.end,function e(t){t.target===n.container[0]&&(n.container.off(n.support.transition.end,e),n.handleClose())}),this.container.removeClass(this.options.displayClass)):this.handleClose()},circle:function(e){return(this.num+e%this.num)%this.num},move:function(e,t,n){this.translateX(e,t,n),this.positions[e]=t},translate:function(e,t,n,i){if(this.slides[e]){var r=this.slides[e].style,o=this.support.transition,s=this.support.transform;r[o.name+"Duration"]=i+"ms",r[s.name]="translate("+t+"px, "+n+"px)"+(s.translateZ?" translateZ(0)":"")}},translateX:function(e,t,n){this.translate(e,t,0,n)},translateY:function(e,t,n){this.translate(e,0,t,n)},animate:function(t,n,i){if(i)var r=this,o=(new Date).getTime(),s=window.setInterval(function(){var e=(new Date).getTime()-o;if(i<e)return r.slidesContainer[0].style.left=n+"px",r.ontransitionend(),void window.clearInterval(s);r.slidesContainer[0].style.left=(n-t)*(Math.floor(e/i*100)/100)+t+"px"},4);else this.slidesContainer[0].style.left=n+"px"},preventDefault:function(e){e.preventDefault?e.preventDefault():e.returnValue=!1},stopPropagation:function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},onresize:function(){this.initSlides(!0)},onmousedown:function(e){e.which&&1===e.which&&"VIDEO"!==e.target.nodeName&&"AUDIO"!==e.target.nodeName&&(e.preventDefault(),(e.originalEvent||e).touches=[{pageX:e.pageX,pageY:e.pageY}],this.ontouchstart(e))},onmousemove:function(e){this.touchStart&&((e.originalEvent||e).touches=[{pageX:e.pageX,pageY:e.pageY}],this.ontouchmove(e))},onmouseup:function(e){this.touchStart&&(this.ontouchend(e),delete this.touchStart)},onmouseout:function(e){if(this.touchStart){var t=e.target,n=e.relatedTarget;n&&(n===t||c.contains(t,n))||this.onmouseup(e)}},ontouchstart:function(e){this.options.stopTouchEventsPropagation&&this.stopPropagation(e);var t=(e.originalEvent||e).touches[0];this.touchStart={x:t.pageX,y:t.pageY,time:Date.now()},this.isScrolling=void 0,this.touchDelta={}},ontouchmove:function(e){this.options.stopTouchEventsPropagation&&this.stopPropagation(e);var t,n,i=(e.originalEvent||e).touches[0],r=(e.originalEvent||e).scale,o=this.index;if(!(1<i.length||r&&1!==r))if(this.options.disableScroll&&e.preventDefault(),this.touchDelta={x:i.pageX-this.touchStart.x,y:i.pageY-this.touchStart.y},t=this.touchDelta.x,void 0===this.isScrolling&&(this.isScrolling=this.isScrolling||Math.abs(t)<Math.abs(this.touchDelta.y)),this.isScrolling)this.translateY(o,this.touchDelta.y+this.positions[o],0);else for(e.preventDefault(),window.clearTimeout(this.timeout),this.options.continuous?n=[this.circle(o+1),o,this.circle(o-1)]:(this.touchDelta.x=t/=!o&&0<t||o===this.num-1&&t<0?Math.abs(t)/this.slideWidth+1:1,n=[o],o&&n.push(o-1),o<this.num-1&&n.unshift(o+1));n.length;)o=n.pop(),this.translateX(o,t+this.positions[o],0)},ontouchend:function(e){this.options.stopTouchEventsPropagation&&this.stopPropagation(e);var t,n,i,r,o,s=this.index,a=this.options.transitionSpeed,l=this.slideWidth,u=Number(Date.now()-this.touchStart.time)<250,c=u&&20<Math.abs(this.touchDelta.x)||Math.abs(this.touchDelta.x)>l/2,d=!s&&0<this.touchDelta.x||s===this.num-1&&this.touchDelta.x<0,h=!c&&this.options.closeOnSwipeUpOrDown&&(u&&20<Math.abs(this.touchDelta.y)||Math.abs(this.touchDelta.y)>this.slideHeight/2);this.options.continuous&&(d=!1),t=this.touchDelta.x<0?-1:1,this.isScrolling?h?this.close():this.translateY(s,0,a):c&&!d?(n=s+t,i=s-t,r=l*t,o=-l*t,this.options.continuous?(this.move(this.circle(n),r,0),this.move(this.circle(s-2*t),o,0)):0<=n&&n<this.num&&this.move(n,r,0),this.move(s,this.positions[s]+r,a),this.move(this.circle(i),this.positions[this.circle(i)]+r,a),s=this.circle(i),this.onslide(s)):this.options.continuous?(this.move(this.circle(s-1),-l,a),this.move(s,0,a),this.move(this.circle(s+1),l,a)):(s&&this.move(s-1,-l,a),this.move(s,0,a),s<this.num-1&&this.move(s+1,l,a))},ontouchcancel:function(e){this.touchStart&&(this.ontouchend(e),delete this.touchStart)},ontransitionend:function(e){var t=this.slides[this.index];e&&t!==e.target||(this.interval&&this.play(),this.setTimeout(this.options.onslideend,[this.index,t]))},oncomplete:function(e){var t,n=e.target||e.srcElement,i=n&&n.parentNode;n&&i&&(t=this.getNodeIndex(i),c(i).removeClass(this.options.slideLoadingClass),"error"===e.type?(c(i).addClass(this.options.slideErrorClass),this.elements[t]=3):this.elements[t]=2,n.clientHeight>this.container[0].clientHeight&&(n.style.maxHeight=this.container[0].clientHeight),this.interval&&this.slides[this.index]===i&&this.play(),this.setTimeout(this.options.onslidecomplete,[t,i]))},onload:function(e){this.oncomplete(e)},onerror:function(e){this.oncomplete(e)},onkeydown:function(e){switch(e.which||e.keyCode){case 13:this.options.toggleControlsOnReturn&&(this.preventDefault(e),this.toggleControls());break;case 27:this.options.closeOnEscape&&(this.close(),e.stopImmediatePropagation());break;case 32:this.options.toggleSlideshowOnSpace&&(this.preventDefault(e),this.toggleSlideshow());break;case 37:this.options.enableKeyboardNavigation&&(this.preventDefault(e),this.prev());break;case 39:this.options.enableKeyboardNavigation&&(this.preventDefault(e),this.next())}},handleClick:function(e){var t=this.options,n=e.target||e.srcElement,i=n.parentNode;function r(e){return c(n).hasClass(e)||c(i).hasClass(e)}r(t.toggleClass)?(this.preventDefault(e),this.toggleControls()):r(t.prevClass)?(this.preventDefault(e),this.prev()):r(t.nextClass)?(this.preventDefault(e),this.next()):r(t.closeClass)?(this.preventDefault(e),this.close()):r(t.playPauseClass)?(this.preventDefault(e),this.toggleSlideshow()):i===this.slidesContainer[0]?t.closeOnSlideClick?(this.preventDefault(e),this.close()):t.toggleControlsOnSlideClick&&(this.preventDefault(e),this.toggleControls()):i.parentNode&&i.parentNode===this.slidesContainer[0]&&t.toggleControlsOnSlideClick&&(this.preventDefault(e),this.toggleControls())},onclick:function(e){if(!(this.options.emulateTouchEvents&&this.touchDelta&&(20<Math.abs(this.touchDelta.x)||20<Math.abs(this.touchDelta.y))))return this.handleClick(e);delete this.touchDelta},updateEdgeClasses:function(e){e?this.container.removeClass(this.options.leftEdgeClass):this.container.addClass(this.options.leftEdgeClass),e===this.num-1?this.container.addClass(this.options.rightEdgeClass):this.container.removeClass(this.options.rightEdgeClass)},handleSlide:function(e){this.options.continuous||this.updateEdgeClasses(e),this.loadElements(e),this.options.unloadElements&&this.unloadElements(e),this.setTitle(e)},onslide:function(e){this.index=e,this.handleSlide(e),this.setTimeout(this.options.onslide,[e,this.slides[e]])},setTitle:function(e){var t=this.slides[e].firstChild,n=t.title||t.alt,i=this.titleElement;i.length&&(this.titleElement.empty(),n&&i[0].appendChild(document.createTextNode(n)))},setTimeout:function(e,t,n){var i=this;return e&&window.setTimeout(function(){e.apply(i,t||[])},n||0)},imageFactory:function(e,n){var i,r,t,o,s=this,a=this.imagePrototype.cloneNode(!1),l=e,u=this.options.stretchImages;return"string"!=typeof l&&(l=this.getItemProperty(e,this.options.urlProperty),t=this.getItemProperty(e,this.options.titleProperty),o=this.getItemProperty(e,this.options.altTextProperty)||t),!0===u&&(u="contain"),(u=this.support.backgroundSize&&this.support.backgroundSize[u]&&u)?r=this.elementPrototype.cloneNode(!1):(r=a).draggable=!1,t&&(r.title=t),o&&(r.alt=o),c(a).on("load error",function e(t){if(!i){if(t={type:t.type,target:r},!r.parentNode)return s.setTimeout(e,[t]);i=!0,c(a).off("load error",e),u&&"load"===t.type&&(r.style.background='url("'+l+'") center no-repeat',r.style.backgroundSize=u),n(t)}}),a.src=l,r},createElement:function(e,t){var n=e&&this.getItemProperty(e,this.options.typeProperty),i=n&&this[n.split("/")[0]+"Factory"]||this.imageFactory,r=e&&i.call(this,e,t),o=this.getItemProperty(e,this.options.srcsetProperty);return r||(r=this.elementPrototype.cloneNode(!1),this.setTimeout(t,[{type:"error",target:r}])),o&&r.setAttribute("srcset",o),c(r).addClass(this.options.slideContentClass),r},loadElement:function(e){this.elements[e]||(this.slides[e].firstChild?this.elements[e]=c(this.slides[e]).hasClass(this.options.slideErrorClass)?3:2:(this.elements[e]=1,c(this.slides[e]).addClass(this.options.slideLoadingClass),this.slides[e].appendChild(this.createElement(this.list[e],this.proxyListener))))},loadElements:function(e){var t,n=Math.min(this.num,2*this.options.preloadRange+1),i=e;for(t=0;t<n;t+=1)i+=t*(t%2==0?-1:1),i=this.circle(i),this.loadElement(i)},unloadElements:function(e){var t,n;for(t in this.elements)Object.prototype.hasOwnProperty.call(this.elements,t)&&(n=Math.abs(e-t))>this.options.preloadRange&&n+this.options.preloadRange<this.num&&(this.unloadSlide(t),delete this.elements[t])},addSlide:function(e){var t=this.slidePrototype.cloneNode(!1);t.setAttribute("data-index",e),this.slidesContainer[0].appendChild(t),this.slides.push(t)},positionSlide:function(e){var t=this.slides[e];t.style.width=this.slideWidth+"px",this.support.transform&&(t.style.left=e*-this.slideWidth+"px",this.move(e,this.index>e?-this.slideWidth:this.index<e?this.slideWidth:0,0))},initSlides:function(e){var t,n;for(e||(this.positions=[],this.positions.length=this.num,this.elements={},this.imagePrototype=document.createElement("img"),this.elementPrototype=document.createElement("div"),this.slidePrototype=document.createElement("div"),c(this.slidePrototype).addClass(this.options.slideClass),this.slides=this.slidesContainer[0].children,t=this.options.clearSlides||this.slides.length!==this.num),this.slideWidth=this.container[0].clientWidth,this.slideHeight=this.container[0].clientHeight,this.slidesContainer[0].style.width=this.num*this.slideWidth+"px",t&&this.resetSlides(),n=0;n<this.num;n+=1)t&&this.addSlide(n),this.positionSlide(n);this.options.continuous&&this.support.transform&&(this.move(this.circle(this.index-1),-this.slideWidth,0),this.move(this.circle(this.index+1),this.slideWidth,0)),this.support.transform||(this.slidesContainer[0].style.left=this.index*-this.slideWidth+"px")},unloadSlide:function(e){var t,n;null!==(n=(t=this.slides[e]).firstChild)&&t.removeChild(n)},unloadAllSlides:function(){var e,t;for(e=0,t=this.slides.length;e<t;e++)this.unloadSlide(e)},toggleControls:function(){var e=this.options.controlsClass;this.container.hasClass(e)?this.container.removeClass(e):this.container.addClass(e)},toggleSlideshow:function(){this.interval?this.pause():this.play()},getNodeIndex:function(e){return parseInt(e.getAttribute("data-index"),10)},getNestedProperty:function(s,e){return e.replace(/\[(?:'([^']+)'|"([^"]+)"|(\d+))\]|(?:(?:^|\.)([^\.\[]+))/g,function(e,t,n,i,r){var o=r||t||n||i&&parseInt(i,10);e&&s&&(s=s[o])}),s},getDataProperty:function(e,t){var n,i;if(e.dataset?(n=t.replace(/-([a-z])/g,function(e,t){return t.toUpperCase()}),i=e.dataset[n]):e.getAttribute&&(i=e.getAttribute("data-"+t.replace(/([A-Z])/g,"-$1").toLowerCase())),"string"==typeof i){if(/^(true|false|null|-?\d+(\.\d+)?|\{[\s\S]*\}|\[[\s\S]*\])$/.test(i))try{return c.parseJSON(i)}catch(e){}return i}},getItemProperty:function(e,t){var n=this.getDataProperty(e,t);return void 0===n&&(n=e[t]),void 0===n&&(n=this.getNestedProperty(e,t)),n},initStartIndex:function(){var e,t=this.options.index,n=this.options.urlProperty;if(t&&"number"!=typeof t)for(e=0;e<this.num;e+=1)if(this.list[e]===t||this.getItemProperty(this.list[e],n)===this.getItemProperty(t,n)){t=e;break}this.index=this.circle(parseInt(t,10)||0)},initEventListeners:function(){var n=this,e=this.slidesContainer;function t(e){var t=n.support.transition&&n.support.transition.end===e.type?"transitionend":e.type;n["on"+t](e)}c(window).on("resize",t),c(document.body).on("keydown",t),this.container.on("click",t),this.support.touch?e.on("touchstart touchmove touchend touchcancel",t):this.options.emulateTouchEvents&&this.support.transition&&e.on("mousedown mousemove mouseup mouseout",t),this.support.transition&&e.on(this.support.transition.end,t),this.proxyListener=t},destroyEventListeners:function(){var e=this.slidesContainer,t=this.proxyListener;c(window).off("resize",t),c(document.body).off("keydown",t),this.container.off("click",t),this.support.touch?e.off("touchstart touchmove touchend touchcancel",t):this.options.emulateTouchEvents&&this.support.transition&&e.off("mousedown mousemove mouseup mouseout",t),this.support.transition&&e.off(this.support.transition.end,t)},handleOpen:function(){this.options.onopened&&this.options.onopened.call(this)},initWidget:function(){var n=this;return this.container=c(this.options.container),this.container.length?(this.slidesContainer=this.container.find(this.options.slidesContainer).first(),this.slidesContainer.length?(this.titleElement=this.container.find(this.options.titleElement).first(),1===this.num&&this.container.addClass(this.options.singleClass),this.options.onopen&&this.options.onopen.call(this),this.support.transition&&this.options.displayTransition?this.container.on(this.support.transition.end,function e(t){t.target===n.container[0]&&(n.container.off(n.support.transition.end,e),n.handleOpen())}):this.handleOpen(),this.options.hidePageScrollbars&&(this.bodyOverflowStyle=document.body.style.overflow,document.body.style.overflow="hidden"),this.container[0].style.display="block",this.initSlides(),void this.container.addClass(this.options.displayClass)):(this.console.log("blueimp Gallery: Slides container not found.",this.options.slidesContainer),!1)):(this.console.log("blueimp Gallery: Widget container not found.",this.options.container),!1)},initOptions:function(e){this.options=c.extend({},this.options),(e&&e.carousel||this.options.carousel&&(!e||!1!==e.carousel))&&c.extend(this.options,this.carouselOptions),c.extend(this.options,e),this.num<3&&(this.options.continuous=!!this.options.continuous&&null),this.support.transition||(this.options.emulateTouchEvents=!1),this.options.event&&this.preventDefault(this.options.event)}}),n}),function(e){"use strict";"function"==typeof define&&define.amd?define(["./blueimp-helper","./blueimp-gallery"],e):e(window.blueimp.helper||window.jQuery,window.blueimp.Gallery)}(function(e,t){"use strict";e.extend(t.prototype.options,{fullScreen:!1});var n=t.prototype.initialize,i=t.prototype.close;return e.extend(t.prototype,{getFullScreenElement:function(){return document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement},requestFullScreen:function(e){e.requestFullscreen?e.requestFullscreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.msRequestFullscreen&&e.msRequestFullscreen()},exitFullScreen:function(){document.exitFullscreen?document.exitFullscreen():document.webkitCancelFullScreen?document.webkitCancelFullScreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen&&document.msExitFullscreen()},initialize:function(){n.call(this),this.options.fullScreen&&!this.getFullScreenElement()&&this.requestFullScreen(this.container[0])},close:function(){this.getFullScreenElement()===this.container[0]&&this.exitFullScreen(),i.call(this)}}),t}),function(e){"use strict";"function"==typeof define&&define.amd?define(["./blueimp-helper","./blueimp-gallery"],e):e(window.blueimp.helper||window.jQuery,window.blueimp.Gallery)}(function(s,e){"use strict";s.extend(e.prototype.options,{indicatorContainer:"ol",activeIndicatorClass:"active",thumbnailProperty:"thumbnail",thumbnailIndicators:!0});var t=e.prototype.initSlides,n=e.prototype.addSlide,i=e.prototype.resetSlides,r=e.prototype.handleClick,o=e.prototype.handleSlide,a=e.prototype.handleClose;return s.extend(e.prototype,{createIndicator:function(e){var t,n,i=this.indicatorPrototype.cloneNode(!1),r=this.getItemProperty(e,this.options.titleProperty),o=this.options.thumbnailProperty;return this.options.thumbnailIndicators&&(o&&(t=this.getItemProperty(e,o)),void 0===t&&(n=e.getElementsByTagName&&s(e).find("img")[0])&&(t=n.src),t&&(i.style.backgroundImage='url("'+t+'")')),r&&(i.title=r),i},addIndicator:function(e){if(this.indicatorContainer.length){var t=this.createIndicator(this.list[e]);t.setAttribute("data-index",e),this.indicatorContainer[0].appendChild(t),this.indicators.push(t)}},setActiveIndicator:function(e){this.indicators&&(this.activeIndicator&&this.activeIndicator.removeClass(this.options.activeIndicatorClass),this.activeIndicator=s(this.indicators[e]),this.activeIndicator.addClass(this.options.activeIndicatorClass))},initSlides:function(e){e||(this.indicatorContainer=this.container.find(this.options.indicatorContainer),this.indicatorContainer.length&&(this.indicatorPrototype=document.createElement("li"),this.indicators=this.indicatorContainer[0].children)),t.call(this,e)},addSlide:function(e){n.call(this,e),this.addIndicator(e)},resetSlides:function(){i.call(this),this.indicatorContainer.empty(),this.indicators=[]},handleClick:function(e){var t=e.target||e.srcElement,n=t.parentNode;if(n===this.indicatorContainer[0])this.preventDefault(e),this.slide(this.getNodeIndex(t));else{if(n.parentNode!==this.indicatorContainer[0])return r.call(this,e);this.preventDefault(e),this.slide(this.getNodeIndex(n))}},handleSlide:function(e){o.call(this,e),this.setActiveIndicator(e)},handleClose:function(){this.activeIndicator&&this.activeIndicator.removeClass(this.options.activeIndicatorClass),a.call(this)}}),e}),function(e){"use strict";"function"==typeof define&&define.amd?define(["./blueimp-helper","./blueimp-gallery"],e):e(window.blueimp.helper||window.jQuery,window.blueimp.Gallery)}(function(x,e){"use strict";x.extend(e.prototype.options,{videoContentClass:"video-content",videoLoadingClass:"video-loading",videoPlayingClass:"video-playing",videoPosterProperty:"poster",videoSourcesProperty:"sources"});var t=e.prototype.handleSlide;return x.extend(e.prototype,{handleSlide:function(e){t.call(this,e),this.playingVideo&&this.playingVideo.pause()},videoFactory:function(e,t,n){var i,r,o,s,a,l=this,u=this.options,c=this.elementPrototype.cloneNode(!1),d=x(c),h=[{type:"error",target:c}],p=n||document.createElement("video"),f=this.getItemProperty(e,u.urlProperty),m=this.getItemProperty(e,u.typeProperty),g=this.getItemProperty(e,u.titleProperty),v=this.getItemProperty(e,this.options.altTextProperty)||g,y=this.getItemProperty(e,u.videoPosterProperty),b=this.getItemProperty(e,u.videoSourcesProperty);if(d.addClass(u.videoContentClass),g&&(c.title=g),p.canPlayType)if(f&&m&&p.canPlayType(m))p.src=f;else if(b)for(;b.length;)if(r=b.shift(),f=this.getItemProperty(r,u.urlProperty),m=this.getItemProperty(r,u.typeProperty),f&&m&&p.canPlayType(m)){p.src=f;break}return y&&(p.poster=y,i=this.imagePrototype.cloneNode(!1),x(i).addClass(u.toggleClass),i.src=y,i.draggable=!1,i.alt=v,c.appendChild(i)),(o=document.createElement("a")).setAttribute("target","_blank"),n||o.setAttribute("download",g),o.href=f,p.src&&(p.controls=!0,(n||x(p)).on("error",function(){l.setTimeout(t,h)}).on("pause",function(){p.seeking||(s=!1,d.removeClass(l.options.videoLoadingClass).removeClass(l.options.videoPlayingClass),a&&l.container.addClass(l.options.controlsClass),delete l.playingVideo,l.interval&&l.play())}).on("playing",function(){s=!1,d.removeClass(l.options.videoLoadingClass).addClass(l.options.videoPlayingClass),l.container.hasClass(l.options.controlsClass)?(a=!0,l.container.removeClass(l.options.controlsClass)):a=!1}).on("play",function(){window.clearTimeout(l.timeout),s=!0,d.addClass(l.options.videoLoadingClass),l.playingVideo=p}),x(o).on("click",function(e){l.preventDefault(e),s?p.pause():p.play()}),c.appendChild(n&&n.element||p)),c.appendChild(o),this.setTimeout(t,[{type:"load",target:c}]),c}}),e}),function(e){"use strict";"function"==typeof define&&define.amd?define(["./blueimp-helper","./blueimp-gallery-video"],e):e(window.blueimp.helper||window.jQuery,window.blueimp.Gallery)}(function(a,e){"use strict";if(!window.postMessage)return e;function r(e,t,n,i){this.url=e,this.videoId=t,this.playerId=n,this.clickToPlay=i,this.element=document.createElement("div"),this.listeners={}}a.extend(e.prototype.options,{vimeoVideoIdProperty:"vimeo",vimeoPlayerUrl:"//player.vimeo.com/video/VIDEO_ID?api=1&player_id=PLAYER_ID",vimeoPlayerIdPrefix:"vimeo-player-",vimeoClickToPlay:!0});var o=e.prototype.textFactory||e.prototype.imageFactory,s=0;return a.extend(r.prototype,{canPlayType:function(){return!0},on:function(e,t){return this.listeners[e]=t,this},loadAPI:function(){var e,t,n=this,i="//f.vimeocdn.com/js/froogaloop2.min.js",r=document.getElementsByTagName("script"),o=r.length;function s(){!t&&n.playOnReady&&n.play(),t=!0}for(;o;)if(r[--o].src===i){e=r[o];break}e||((e=document.createElement("script")).src=i),a(e).on("load",s),r[0].parentNode.insertBefore(e,r[0]),/loaded|complete/.test(e.readyState)&&s()},onReady:function(){var e=this;this.ready=!0,this.player.addEvent("play",function(){e.hasPlayed=!0,e.onPlaying()}),this.player.addEvent("pause",function(){e.onPause()}),this.player.addEvent("finish",function(){e.onPause()}),this.playOnReady&&this.play()},onPlaying:function(){this.playStatus<2&&(this.listeners.playing(),this.playStatus=2)},onPause:function(){this.listeners.pause(),delete this.playStatus},insertIframe:function(){var e=document.createElement("iframe");e.src=this.url.replace("VIDEO_ID",this.videoId).replace("PLAYER_ID",this.playerId),e.id=this.playerId,this.element.parentNode.replaceChild(e,this.element),this.element=e},play:function(){var e=this;this.playStatus||(this.listeners.play(),this.playStatus=1),this.ready?!this.hasPlayed&&(this.clickToPlay||window.navigator&&/iP(hone|od|ad)/.test(window.navigator.platform))?this.onPlaying():this.player.api("play"):(this.playOnReady=!0,window.$f?this.player||(this.insertIframe(),this.player=$f(this.element),this.player.addEvent("ready",function(){e.onReady()})):this.loadAPI())},pause:function(){this.ready?this.player.api("pause"):this.playStatus&&(delete this.playOnReady,this.listeners.pause(),delete this.playStatus)}}),a.extend(e.prototype,{VimeoPlayer:r,textFactory:function(e,t){var n=this.options,i=this.getItemProperty(e,n.vimeoVideoIdProperty);return i?(void 0===this.getItemProperty(e,n.urlProperty)&&(e[n.urlProperty]="//vimeo.com/"+i),s+=1,this.videoFactory(e,t,new r(n.vimeoPlayerUrl,i,n.vimeoPlayerIdPrefix+s,n.vimeoClickToPlay))):o.call(this,e,t)}}),e}),function(e){"use strict";"function"==typeof define&&define.amd?define(["./blueimp-helper","./blueimp-gallery-video"],e):e(window.blueimp.helper||window.jQuery,window.blueimp.Gallery)}(function(e,t){"use strict";if(!window.postMessage)return t;function r(e,t,n){this.videoId=e,this.playerVars=t,this.clickToPlay=n,this.element=document.createElement("div"),this.listeners={}}e.extend(t.prototype.options,{youTubeVideoIdProperty:"youtube",youTubePlayerVars:{wmode:"transparent"},youTubeClickToPlay:!0});var o=t.prototype.textFactory||t.prototype.imageFactory;return e.extend(r.prototype,{canPlayType:function(){return!0},on:function(e,t){return this.listeners[e]=t,this},loadAPI:function(){var e,t=this,n=window.onYouTubeIframeAPIReady,i="//www.youtube.com/iframe_api",r=document.getElementsByTagName("script"),o=r.length;for(window.onYouTubeIframeAPIReady=function(){n&&n.apply(this),t.playOnReady&&t.play()};o;)if(r[--o].src===i)return;(e=document.createElement("script")).src=i,r[0].parentNode.insertBefore(e,r[0])},onReady:function(){this.ready=!0,this.playOnReady&&this.play()},onPlaying:function(){this.playStatus<2&&(this.listeners.playing(),this.playStatus=2)},onPause:function(){t.prototype.setTimeout.call(this,this.checkSeek,null,2e3)},checkSeek:function(){this.stateChange!==YT.PlayerState.PAUSED&&this.stateChange!==YT.PlayerState.ENDED||(this.listeners.pause(),delete this.playStatus)},onStateChange:function(e){switch(e.data){case YT.PlayerState.PLAYING:this.hasPlayed=!0,this.onPlaying();break;case YT.PlayerState.PAUSED:case YT.PlayerState.ENDED:this.onPause()}this.stateChange=e.data},onError:function(e){this.listeners.error(e)},play:function(){var t=this;this.playStatus||(this.listeners.play(),this.playStatus=1),this.ready?!this.hasPlayed&&(this.clickToPlay||window.navigator&&/iP(hone|od|ad)/.test(window.navigator.platform))?this.onPlaying():this.player.playVideo():(this.playOnReady=!0,window.YT&&YT.Player?this.player||(this.player=new YT.Player(this.element,{videoId:this.videoId,playerVars:this.playerVars,events:{onReady:function(){t.onReady()},onStateChange:function(e){t.onStateChange(e)},onError:function(e){t.onError(e)}}})):this.loadAPI())},pause:function(){this.ready?this.player.pauseVideo():this.playStatus&&(delete this.playOnReady,this.listeners.pause(),delete this.playStatus)}}),e.extend(t.prototype,{YouTubePlayer:r,textFactory:function(e,t){var n=this.options,i=this.getItemProperty(e,n.youTubeVideoIdProperty);return i?(void 0===this.getItemProperty(e,n.urlProperty)&&(e[n.urlProperty]="//www.youtube.com/watch?v="+i),void 0===this.getItemProperty(e,n.videoPosterProperty)&&(e[n.videoPosterProperty]="//img.youtube.com/vi/"+i+"/maxresdefault.jpg"),this.videoFactory(e,t,new r(i,n.youTubePlayerVars,n.youTubeClickToPlay))):o.call(this,e,t)}}),t});