text: (function(e,t){if(typeof module==="object"&&typeof module.exports==="object"){module.exports=e.document?t(e,true):function(e){if(!e.document){throw new Error("jQuery requires a window with a document")}return t(e)}}else{t(e)}})(typeof window!=="undefined"?window:this,function(e,t){var n=[];var i=n.slice;var r=n.concat;var o=n.push;var a=n.indexOf;var s={};var u=s.toString;var l=s.hasOwnProperty;var f="".trim;var c={};var d=e.document,p="2.1.0",h=function(e,t){return new h.fn.init(e,t)},g=/^-ms-/,m=/-([\da-z])/gi,v=function(e,t){return t.toUpperCase()};h.fn=h.prototype={jquery:p,constructor:h,selector:"",length:0,toArray:function(){return i.call(this)},get:function(e){return e!=null?e<0?this[e+this.length]:this[e]:i.call(this)},pushStack:function(e){var t=h.merge(this.constructor(),e);t.prevObject=this;t.context=this.context;return t},each:function(e,t){return h.each(this,e,t)},map:function(e){return this.pushStack(h.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(i.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:o,sort:n.sort,splice:n.splice};h.extend=h.fn.extend=function(){var e,t,n,i,r,o,a=arguments[0]||{},s=1,u=arguments.length,l=false;if(typeof a==="boolean"){l=a;a=arguments[s]||{};s++}if(typeof a!=="object"&&!h.isFunction(a)){a={}}if(s===u){a=this;s--}for(;s<u;s++){if((e=arguments[s])!=null){for(t in e){n=a[t];i=e[t];if(a===i){continue}if(l&&i&&(h.isPlainObject(i)||(r=h.isArray(i)))){if(r){r=false;o=n&&h.isArray(n)?n:[]}else{o=n&&h.isPlainObject(n)?n:{}}a[t]=h.extend(l,o,i)}else if(i!==undefined){a[t]=i}}}}return a};h.extend({expando:"jQuery"+(p+Math.random()).replace(/\D/g,""),isReady:true,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return h.type(e)==="function"},isArray:Array.isArray,isWindow:function(e){return e!=null&&e===e.window},isNumeric:function(e){return e-parseFloat(e)>=0},isPlainObject:function(e){if(h.type(e)!=="object"||e.nodeType||h.isWindow(e)){return false}try{if(e.constructor&&!l.call(e.constructor.prototype,"isPrototypeOf")){return false}}catch(t){return false}return true},isEmptyObject:function(e){var t;for(t in e){return false}return true},type:function(e){if(e==null){return e+""}return typeof e==="object"||typeof e==="function"?s[u.call(e)]||"object":typeof e},globalEval:function(e){var t,n=eval;e=h.trim(e);if(e){if(e.indexOf("use strict")===1){t=d.createElement("script");t.text=e;d.head.appendChild(t).parentNode.removeChild(t)}else{n(e)}}},camelCase:function(e){return e.replace(g,"ms-").replace(m,v)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var i,r=0,o=e.length,a=y(e);if(n){if(a){for(;r<o;r++){i=t.apply(e[r],n);if(i===false){break}}}else{for(r in e){i=t.apply(e[r],n);if(i===false){break}}}}else{if(a){for(;r<o;r++){i=t.call(e[r],r,e[r]);if(i===false){break}}}else{for(r in e){i=t.call(e[r],r,e[r]);if(i===false){break}}}}return e},trim:function(e){return e==null?"":f.call(e)},makeArray:function(e,t){var n=t||[];if(e!=null){if(y(Object(e))){h.merge(n,typeof e==="string"?[e]:e)}else{o.call(n,e)}}return n},inArray:function(e,t,n){return t==null?-1:a.call(t,e,n)},merge:function(e,t){var n=+t.length,i=0,r=e.length;for(;i<n;i++){e[r++]=t[i]}e.length=r;return e},grep:function(e,t,n){var i,r=[],o=0,a=e.length,s=!n;for(;o<a;o++){i=!t(e[o],o);if(i!==s){r.push(e[o])}}return r},map:function(e,t,n){var i,o=0,a=e.length,s=y(e),u=[];if(s){for(;o<a;o++){i=t(e[o],o,n);if(i!=null){u.push(i)}}}else{for(o in e){i=t(e[o],o,n);if(i!=null){u.push(i)}}}return r.apply([],u)},guid:1,proxy:function(e,t){var n,r,o;if(typeof t==="string"){n=e[t];t=e;e=n}if(!h.isFunction(e)){return undefined}r=i.call(arguments,2);o=function(){return e.apply(t||this,r.concat(i.call(arguments)))};o.guid=e.guid=e.guid||h.guid++;return o},now:Date.now,support:c});h.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){s["[object "+t+"]"]=t.toLowerCase()});function y(e){var t=e.length,n=h.type(e);if(n==="function"||h.isWindow(e)){return false}if(e.nodeType===1&&t){return true}return n==="array"||t===0||typeof t==="number"&&t>0&&t-1 in e}var x=function(e){var t,n,i,r,o,a,s,u,l,f,c,d,p,h,g,m,v,y="sizzle"+-new Date,x=e.document,b=0,w=0,C=rt(),k=rt(),T=rt(),N=function(e,t){if(e===t){l=true}return 0},E=typeof undefined,S=1<<31,D={}.hasOwnProperty,j=[],A=j.pop,L=j.push,O=j.push,q=j.slice,H=j.indexOf||function(e){var t=0,n=this.length;for(;t<n;t++){if(this[t]===e){return t}}return-1},M="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",F="[\\x20\\t\\r\\n\\f]",P="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",$=P.replace("w","w#"),R="\\["+F+"*("+P+")"+F+"*(?:([*^$|!~]?=)"+F+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+$+")|)|)"+F+"*\\]",I=":("+P+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+R.replace(3,8)+")*)|.*)\\)|)",z=new RegExp("^"+F+"+|((?:^|[^\\\\])(?:\\\\.)*)"+F+"+$","g"),W=new RegExp("^"+F+"*,"+F+"*"),B=new RegExp("^"+F+"*([>+~]|"+F+")"+F+"*"),_=new RegExp("="+F+"*([^\\]'\"]*?)"+F+"*\\]","g"),X=new RegExp(I),U=new RegExp("^"+$+"$"),V={ID:new RegExp("^#("+P+")"),CLASS:new RegExp("^\\.("+P+")"),TAG:new RegExp("^("+P.replace("w","w*")+")"),ATTR:new RegExp("^"+R),PSEUDO:new RegExp("^"+I),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+F+"*(even|odd|(([+-]|)(\\d*)n|)"+F+"*(?:([+-]|)"+F+"*(\\d+)|))"+F+"*\\)|)","i"),bool:new RegExp("^(?:"+M+")$","i"),needsContext:new RegExp("^"+F+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+F+"*((?:-\\d)?\\d*)"+F+"*\\)|)(?=[^-]|$)","i")},Q=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,G=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,J=/[+~]/,Z=/'|\\/g,et=new RegExp("\\\\([\\da-f]{1,6}"+F+"?|("+F+")|.)","ig"),tt=function(e,t,n){var i="0x"+t-65536;return i!==i||n?t:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,i&1023|56320)};try{O.apply(j=q.call(x.childNodes),x.childNodes);j[x.childNodes.length].nodeType}catch(nt){O={apply:j.length?function(e,t){L.apply(e,q.call(t))}:function(e,t){var n=e.length,i=0;while(e[n++]=t[i++]){}e.length=n-1}}}function it(e,t,i,r){var o,a,s,u,l,d,g,m,b,w;if((t?t.ownerDocument||t:x)!==c){f(t)}t=t||c;i=i||[];if(!e||typeof e!=="string"){return i}if((u=t.nodeType)!==1&&u!==9){return[]}if(p&&!r){if(o=G.exec(e)){if(s=o[1]){if(u===9){a=t.getElementById(s);if(a&&a.parentNode){if(a.id===s){i.push(a);return i}}else{return i}}else{if(t.ownerDocument&&(a=t.ownerDocument.getElementById(s))&&v(t,a)&&a.id===s){i.push(a);return i}}}else if(o[2]){O.apply(i,t.getElementsByTagName(e));return i}else if((s=o[3])&&n.getElementsByClassName&&t.getElementsByClassName){O.apply(i,t.getElementsByClassName(s));return i}}if(n.qsa&&(!h||!h.test(e))){m=g=y;b=t;w=u===9&&e;if(u===1&&t.nodeName.toLowerCase()!=="object"){d=ht(e);if(g=t.getAttribute("id")){m=g.replace(Z,"\\$&")}else{t.setAttribute("id",m)}m="[id='"+m+"'] ";l=d.length;while(l--){d[l]=m+gt(d[l])}b=J.test(e)&&dt(t.parentNode)||t;w=d.join(",")}if(w){try{O.apply(i,b.querySelectorAll(w));return i}catch(C){}finally{if(!g){t.removeAttribute("id")}}}}}return kt(e.replace(z,"$1"),t,i,r)}function rt(){var e=[];function t(n,r){if(e.push(n+" ")>i.cacheLength){delete t[e.shift()]}return t[n+" "]=r}return t}function ot(e){e[y]=true;return e}function at(e){var t=c.createElement("div");try{return!!e(t)}catch(n){return false}finally{if(t.parentNode){t.parentNode.removeChild(t)}t=null}}function st(e,t){var n=e.split("|"),r=e.length;while(r--){i.attrHandle[n[r]]=t}}function ut(e,t){var n=t&&e,i=n&&e.nodeType===1&&t.nodeType===1&&(~t.sourceIndex||S)-(~e.sourceIndex||S);if(i){return i}if(n){while(n=n.nextSibling){if(n===t){return-1}}}return e?1:-1}function lt(e){return function(t){var n=t.nodeName.toLowerCase();return n==="input"&&t.type===e}}function ft(e){return function(t){var n=t.nodeName.toLowerCase();return(n==="input"||n==="button")&&t.type===e}}function ct(e){return ot(function(t){t=+t;return ot(function(n,i){var r,o=e([],n.length,t),a=o.length;while(a--){if(n[r=o[a]]){n[r]=!(i[r]=n[r])}}})})}function dt(e){return e&&typeof e.getElementsByTagName!==E&&e}n=it.support={};o=it.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?t.nodeName!=="HTML":false};f=it.setDocument=function(e){var t,r=e?e.ownerDocument||e:x,a=r.defaultView;if(r===c||r.nodeType!==9||!r.documentElement){return c}c=r;d=r.documentElement;p=!o(r);if(a&&a!==a.top){if(a.addEventListener){a.addEventListener("unload",function(){f()},false)}else if(a.attachEvent){a.attachEvent("onunload",function(){f()})}}n.attributes=at(function(e){e.className="i";return!e.getAttribute("className")});n.getElementsByTagName=at(function(e){e.appendChild(r.createComment(""));return!e.getElementsByTagName("*").length});n.getElementsByClassName=K.test(r.getElementsByClassName)&&at(function(e){e.innerHTML="<div class='a'></div><div class='a i'></div>";e.firstChild.className="i";return e.getElementsByClassName("i").length===2});n.getById=at(function(e){d.appendChild(e).id=y;return!r.getElementsByName||!r.getElementsByName(y).length});if(n.getById){i.find["ID"]=function(e,t){if(typeof t.getElementById!==E&&p){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}};i.filter["ID"]=function(e){var t=e.replace(et,tt);return function(e){return e.getAttribute("id")===t}}}else{delete i.find["ID"];i.filter["ID"]=function(e){var t=e.replace(et,tt);return function(e){var n=typeof e.getAttributeNode!==E&&e.getAttributeNode("id");return n&&n.value===t}}}i.find["TAG"]=n.getElementsByTagName?function(e,t){if(typeof t.getElementsByTagName!==E){return t.getElementsByTagName(e)}}:function(e,t){var n,i=[],r=0,o=t.getElementsByTagName(e);if(e==="*"){while(n=o[r++]){if(n.nodeType===1){i.push(n)}}return i}return o};i.find["CLASS"]=n.getElementsByClassName&&function(e,t){if(typeof t.getElementsByClassName!==E&&p){return t.getElementsByClassName(e)}};g=[];h=[];if(n.qsa=K.test(r.querySelectorAll)){at(function(e){e.innerHTML="<select t=''><option selected=''></option></select>";if(e.querySelectorAll("[t^='']").length){h.push("[*^$]="+F+"*(?:''|\"\")")}if(!e.querySelectorAll("[selected]").length){h.push("\\["+F+"*(?:value|"+M+")")}if(!e.querySelectorAll(":checked").length){h.push(":checked")}});at(function(e){var t=r.createElement("input");t.setAttribute("type","hidden");e.appendChild(t).setAttribute("name","D");if(e.querySelectorAll("[name=d]").length){h.push("name"+F+"*[*^$|!~]?=")}if(!e.querySelectorAll(":enabled").length){h.push(":enabled",":disabled")}e.querySelectorAll("*,:x");h.push(",.*:")})}if(n.matchesSelector=K.test(m=d.webkitMatchesSelector||d.mozMatchesSelector||d.oMatchesSelector||d.msMatchesSelector)){at(function(e){n.disconnectedMatch=m.call(e,"div");m.call(e,"[s!='']:x");g.push("!=",I)})}h=h.length&&new RegExp(h.join("|"));g=g.length&&new RegExp(g.join("|"));t=K.test(d.compareDocumentPosition);v=t||K.test(d.contains)?function(e,t){var n=e.nodeType===9?e.documentElement:e,i=t&&t.parentNode;return e===i||!!(i&&i.nodeType===1&&(n.contains?n.contains(i):e.compareDocumentPosition&&e.compareDocumentPosition(i)&16))}:function(e,t){if(t){while(t=t.parentNode){if(t===e){return true}}}return false};N=t?function(e,t){if(e===t){l=true;return 0}var i=!e.compareDocumentPosition-!t.compareDocumentPosition;if(i){return i}i=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1;if(i&1||!n.sortDetached&&t.compareDocumentPosition(e)===i){if(e===r||e.ownerDocument===x&&v(x,e)){return-1}if(t===r||t.ownerDocument===x&&v(x,t)){return 1}return u?H.call(u,e)-H.call(u,t):0}return i&4?-1:1}:function(e,t){if(e===t){l=true;return 0}var n,i=0,o=e.parentNode,a=t.parentNode,s=[e],f=[t];if(!o||!a){return e===r?-1:t===r?1:o?-1:a?1:u?H.call(u,e)-H.call(u,t):0}else if(o===a){return ut(e,t)}n=e;while(n=n.parentNode){s.unshift(n)}n=t;while(n=n.parentNode){f.unshift(n)}while(s[i]===f[i]){i++}return i?ut(s[i],f[i]):s[i]===x?-1:f[i]===x?1:0};return r};it.matches=function(e,t){return it(e,null,null,t)};it.matchesSelector=function(e,t){if((e.ownerDocument||e)!==c){f(e)}t=t.replace(_,"='$1']");if(n.matchesSelector&&p&&(!g||!g.test(t))&&(!h||!h.test(t))){try{var i=m.call(e,t);if(i||n.disconnectedMatch||e.document&&e.document.nodeType!==11){return i}}catch(r){}}return it(t,c,null,[e]).length>0};it.contains=function(e,t){if((e.ownerDocument||e)!==c){f(e)}return v(e,t)};it.attr=function(e,t){if((e.ownerDocument||e)!==c){f(e)}var r=i.attrHandle[t.toLowerCase()],o=r&&D.call(i.attrHandle,t.toLowerCase())?r(e,t,!p):undefined;return o!==undefined?o:n.attributes||!p?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null};it.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)};it.uniqueSort=function(e){var t,i=[],r=0,o=0;l=!n.detectDuplicates;u=!n.sortStable&&e.slice(0);e.sort(N);if(l){while(t=e[o++]){if(t===e[o]){r=i.push(o)}}while(r--){e.splice(i[r],1)}}u=null;return e};r=it.getText=function(e){var t,n="",i=0,o=e.nodeType;if(!o){while(t=e[i++]){n+=r(t)}}else if(o===1||o===9||o===11){if(typeof e.textContent==="string"){return e.textContent}else{for(e=e.firstChild;e;e=e.nextSibling){n+=r(e)}}}else if(o===3||o===4){return e.nodeValue}return n};i=it.selectors={cacheLength:50,createPseudo:ot,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:true}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:true},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){e[1]=e[1].replace(et,tt);e[3]=(e[4]||e[5]||"").replace(et,tt);if(e[2]==="~="){e[3]=" "+e[3]+" "}return e.slice(0,4)},CHILD:function(e){e[1]=e[1].toLowerCase();if(e[1].slice(0,3)==="nth"){if(!e[3]){it.error(e[0])}e[4]=+(e[4]?e[5]+(e[6]||1):2*(e[3]==="even"||e[3]==="odd"));e[5]=+(e[7]+e[8]||e[3]==="odd")}else if(e[3]){it.error(e[0])}return e},PSEUDO:function(e){var t,n=!e[5]&&e[2];if(V["CHILD"].test(e[0])){return null}if(e[3]&&e[4]!==undefined){e[2]=e[4]}else if(n&&X.test(n)&&(t=ht(n,true))&&(t=n.indexOf(")",n.length-t)-n.length)){e[0]=e[0].slice(0,t);e[2]=n.slice(0,t)}return e.slice(0,3)}},filter:{TAG:function(e){var t=e.replace(et,tt).toLowerCase();return e==="*"?function(){return true}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=C[e+" "];return t||(t=new RegExp("(^|"+F+")"+e+"("+F+"|$)"))&&C(e,function(e){return t.test(typeof e.className==="string"&&e.className||typeof e.getAttribute!==E&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(i){var r=it.attr(i,e);if(r==null){return t==="!="}if(!t){return true}r+="";return t==="="?r===n:t==="!="?r!==n:t==="^="?n&&r.indexOf(n)===0:t==="*="?n&&r.indexOf(n)>-1:t==="$="?n&&r.slice(-n.length)===n:t==="~="?(" "+r+" ").indexOf(n)>-1:t==="|="?r===n||r.slice(0,n.length+1)===n+"-":false}},CHILD:function(e,t,n,i,r){var o=e.slice(0,3)!=="nth",a=e.slice(-4)!=="last",s=t==="of-type";return i===1&&r===0?function(e){return!!e.parentNode}:function(t,n,u){var l,f,c,d,p,h,g=o!==a?"nextSibling":"previousSibling",m=t.parentNode,v=s&&t.nodeName.toLowerCase(),x=!u&&!s;if(m){if(o){while(g){c=t;while(c=c[g]){if(s?c.nodeName.toLowerCase()===v:c.nodeType===1){return false}}h=g=e==="only"&&!h&&"nextSibling"}return true}h=[a?m.firstChild:m.lastChild];if(a&&x){f=m[y]||(m[y]={});l=f[e]||[];p=l[0]===b&&l[1];d=l[0]===b&&l[2];c=p&&m.childNodes[p];while(c=++p&&c&&c[g]||(d=p=0)||h.pop()){if(c.nodeType===1&&++d&&c===t){f[e]=[b,p,d];break}}}else if(x&&(l=(t[y]||(t[y]={}))[e])&&l[0]===b){d=l[1]}else{while(c=++p&&c&&c[g]||(d=p=0)||h.pop()){if((s?c.nodeName.toLowerCase()===v:c.nodeType===1)&&++d){if(x){(c[y]||(c[y]={}))[e]=[b,d]}if(c===t){break}}}}d-=r;return d===i||d%i===0&&d/i>=0}}},PSEUDO:function(e,t){var n,r=i.pseudos[e]||i.setFilters[e.toLowerCase()]||it.error("unsupported pseudo: "+e);if(r[y]){return r(t)}if(r.length>1){n=[e,e,"",t];return i.setFilters.hasOwnProperty(e.toLowerCase())?ot(function(e,n){var i,o=r(e,t),a=o.length;while(a--){i=H.call(e,o[a]);e[i]=!(n[i]=o[a])}}):function(e){return r(e,0,n)}}return r}},pseudos:{not:ot(function(e){var t=[],n=[],i=a(e.replace(z,"$1"));return i[y]?ot(function(e,t,n,r){var o,a=i(e,null,r,[]),s=e.length;while(s--){if(o=a[s]){e[s]=!(t[s]=o)}}}):function(e,r,o){t[0]=e;i(t,null,o,n);return!n.pop()}}),has:ot(function(e){return function(t){return it(e,t).length>0}}),contains:ot(function(e){return function(t){return(t.textContent||t.innerText||r(t)).indexOf(e)>-1}}),lang:ot(function(e){if(!U.test(e||"")){it.error("unsupported lang: "+e)}e=e.replace(et,tt).toLowerCase();return function(t){var n;do{if(n=p?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang")){n=n.toLowerCase();return n===e||n.indexOf(e+"-")===0}}while((t=t.parentNode)&&t.nodeType===1);return false}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===d},focus:function(e){return e===c.activeElement&&(!c.hasFocus||c.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===false},disabled:function(e){return e.disabled===true},checked:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&!!e.checked||t==="option"&&!!e.selected},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex}return e.selected===true},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling){if(e.nodeType<6){return false}}return true},parent:function(e){return!i.pseudos["empty"](e)},header:function(e){return Y.test(e.nodeName)},input:function(e){return Q.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&e.type==="button"||t==="button"},text:function(e){var t;return e.nodeName.toLowerCase()==="input"&&e.type==="text"&&((t=e.getAttribute("type"))==null||t.toLowerCase()==="text")},first:ct(function(){return[0]}),last:ct(function(e,t){return[t-1]}),eq:ct(function(e,t,n){return[n<0?n+t:n]}),even:ct(function(e,t){var n=0;for(;n<t;n+=2){e.push(n)}return e}),odd:ct(function(e,t){var n=1;for(;n<t;n+=2){e.push(n)}return e}),lt:ct(function(e,t,n){var i=n<0?n+t:n;for(;--i>=0;){e.push(i)}return e}),gt:ct(function(e,t,n){var i=n<0?n+t:n;for(;++i<t;){e.push(i)}return e})}};i.pseudos["nth"]=i.pseudos["eq"];for(t in{radio:true,checkbox:true,file:true,password:true,image:true}){i.pseudos[t]=lt(t)}for(t in{submit:true,reset:true}){i.pseudos[t]=ft(t)}function pt(){}pt.prototype=i.filters=i.pseudos;i.setFilters=new pt;function ht(e,t){var n,r,o,a,s,u,l,f=k[e+" "];if(f){return t?0:f.slice(0)}s=e;u=[];l=i.preFilter;while(s){if(!n||(r=W.exec(s))){if(r){s=s.slice(r[0].length)||s}u.push(o=[])}n=false;if(r=B.exec(s)){n=r.shift();o.push({value:n,type:r[0].replace(z," ")});s=s.slice(n.length)}for(a in i.filter){if((r=V[a].exec(s))&&(!l[a]||(r=l[a](r)))){n=r.shift();o.push({value:n,type:a,matches:r});s=s.slice(n.length)}}if(!n){break}}return t?s.length:s?it.error(e):k(e,u).slice(0)}function gt(e){var t=0,n=e.length,i="";for(;t<n;t++){i+=e[t].value}return i}function mt(e,t,n){var i=t.dir,r=n&&i==="parentNode",o=w++;return t.first?function(t,n,o){while(t=t[i]){if(t.nodeType===1||r){return e(t,n,o)}}}:function(t,n,a){var s,u,l=[b,o];if(a){while(t=t[i]){if(t.nodeType===1||r){if(e(t,n,a)){return true}}}}else{while(t=t[i]){if(t.nodeType===1||r){u=t[y]||(t[y]={});if((s=u[i])&&s[0]===b&&s[1]===o){return l[2]=s[2]}else{u[i]=l;if(l[2]=e(t,n,a)){return true}}}}}}}function vt(e){return e.length>1?function(t,n,i){var r=e.length;while(r--){if(!e[r](t,n,i)){return false}}return true}:e[0]}function yt(e,t,n,i,r){var o,a=[],s=0,u=e.length,l=t!=null;for(;s<u;s++){if(o=e[s]){if(!n||n(o,i,r)){a.push(o);if(l){t.push(s)}}}}return a}function xt(e,t,n,i,r,o){if(i&&!i[y]){i=xt(i)}if(r&&!r[y]){r=xt(r,o)}return ot(function(o,a,s,u){var l,f,c,d=[],p=[],h=a.length,g=o||Ct(t||"*",s.nodeType?[s]:s,[]),m=e&&(o||!t)?yt(g,d,e,s,u):g,v=n?r||(o?e:h||i)?[]:a:m;if(n){n(m,v,s,u)}if(i){l=yt(v,p);i(l,[],s,u);f=l.length;while(f--){if(c=l[f]){v[p[f]]=!(m[p[f]]=c)}}}if(o){if(r||e){if(r){l=[];f=v.length;while(f--){if(c=v[f]){l.push(m[f]=c)}}r(null,v=[],l,u)}f=v.length;while(f--){if((c=v[f])&&(l=r?H.call(o,c):d[f])>-1){o[l]=!(a[l]=c)}}}}else{v=yt(v===a?v.splice(h,v.length):v);if(r){r(null,a,v,u)}else{O.apply(a,v)}}})}function bt(e){var t,n,r,o=e.length,a=i.relative[e[0].type],u=a||i.relative[" "],l=a?1:0,f=mt(function(e){return e===t},u,true),c=mt(function(e){return H.call(t,e)>-1},u,true),d=[function(e,n,i){return!a&&(i||n!==s)||((t=n).nodeType?f(e,n,i):c(e,n,i))}];for(;l<o;l++){if(n=i.relative[e[l].type]){d=[mt(vt(d),n)]}else{n=i.filter[e[l].type].apply(null,e[l].matches);if(n[y]){r=++l;for(;r<o;r++){if(i.relative[e[r].type]){break}}return xt(l>1&&vt(d),l>1&&gt(e.slice(0,l-1).concat({value:e[l-2].type===" "?"*":""})).replace(z,"$1"),n,l<r&&bt(e.slice(l,r)),r<o&&bt(e=e.slice(r)),r<o&&gt(e))}d.push(n)}}return vt(d)}function wt(e,t){var n=t.length>0,r=e.length>0,o=function(o,a,u,l,f){var d,p,h,g=0,m="0",v=o&&[],y=[],x=s,w=o||r&&i.find["TAG"]("*",f),C=b+=x==null?1:Math.random()||.1,k=w.length;if(f){s=a!==c&&a}for(;m!==k&&(d=w[m])!=null;m++){if(r&&d){p=0;while(h=e[p++]){if(h(d,a,u)){l.push(d);break}}if(f){b=C}}if(n){if(d=!h&&d){g--}if(o){v.push(d)}}}g+=m;if(n&&m!==g){p=0;while(h=t[p++]){h(v,y,a,u)}if(o){if(g>0){while(m--){if(!(v[m]||y[m])){y[m]=A.call(l)}}}y=yt(y)}O.apply(l,y);if(f&&!o&&y.length>0&&g+t.length>1){it.uniqueSort(l)}}if(f){b=C;s=x}return v};return n?ot(o):o}a=it.compile=function(e,t){var n,i=[],r=[],o=T[e+" "];if(!o){if(!t){t=ht(e)}n=t.length;while(n--){o=bt(t[n]);if(o[y]){i.push(o)}else{r.push(o)}}o=T(e,wt(r,i))}return o};function Ct(e,t,n){var i=0,r=t.length;for(;i<r;i++){it(e,t[i],n)}return n}function kt(e,t,r,o){var s,u,l,f,c,d=ht(e);if(!o){if(d.length===1){u=d[0]=d[0].slice(0);if(u.length>2&&(l=u[0]).type==="ID"&&n.getById&&t.nodeType===9&&p&&i.relative[u[1].type]){t=(i.find["ID"](l.matches[0].replace(et,tt),t)||[])[0];if(!t){return r}e=e.slice(u.shift().value.length)}s=V["needsContext"].test(e)?0:u.length;while(s--){l=u[s];if(i.relative[f=l.type]){break}if(c=i.find[f]){if(o=c(l.matches[0].replace(et,tt),J.test(u[0].type)&&dt(t.parentNode)||t)){u.splice(s,1);e=o.length&&gt(u);if(!e){O.apply(r,o);return r}break}}}}}a(e,d)(o,t,!p,r,J.test(e)&&dt(t.parentNode)||t);return r}n.sortStable=y.split("").sort(N).join("")===y;n.detectDuplicates=!!l;f();n.sortDetached=at(function(e){return e.compareDocumentPosition(c.createElement("div"))&1});if(!at(function(e){e.innerHTML="<a href='#'></a>";return e.firstChild.getAttribute("href")==="#"})){st("type|href|height|width",function(e,t,n){if(!n){return e.getAttribute(t,t.toLowerCase()==="type"?1:2)}})}if(!n.attributes||!at(function(e){e.innerHTML="<input/>";e.firstChild.setAttribute("value","");return e.firstChild.getAttribute("value")===""})){st("value",function(e,t,n){if(!n&&e.nodeName.toLowerCase()==="input"){return e.defaultValue}})}if(!at(function(e){return e.getAttribute("disabled")==null})){st(M,function(e,t,n){var i;if(!n){return e[t]===true?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null}})}return it}(e);h.find=x;h.expr=x.selectors;h.expr[":"]=h.expr.pseudos;h.unique=x.uniqueSort;h.text=x.getText;h.isXMLDoc=x.isXML;h.contains=x.contains;var b=h.expr.match.needsContext;var w=/^<(\w+)\s*\/?>(?:<\/\1>|)$/;var C=/^.[^:#\[\.,]*$/;function k(e,t,n){if(h.isFunction(t)){return h.grep(e,function(e,i){return!!t.call(e,i,e)!==n})}if(t.nodeType){return h.grep(e,function(e){return e===t!==n})}if(typeof t==="string"){if(C.test(t)){return h.filter(t,e,n)}t=h.filter(t,e)}return h.grep(e,function(e){return a.call(t,e)>=0!==n})}h.filter=function(e,t,n){var i=t[0];if(n){e=":not("+e+")"}return t.length===1&&i.nodeType===1?h.find.matchesSelector(i,e)?[i]:[]:h.find.matches(e,h.grep(t,function(e){return e.nodeType===1}))};h.fn.extend({find:function(e){var t,n=this.length,i=[],r=this;if(typeof e!=="string"){return this.pushStack(h(e).filter(function(){for(t=0;t<n;t++){if(h.contains(r[t],this)){return true}}}))}for(t=0;t<n;t++){h.find(e,r[t],i)}i=this.pushStack(n>1?h.unique(i):i);i.selector=this.selector?this.selector+" "+e:e;return i},filter:function(e){return this.pushStack(k(this,e||[],false))},not:function(e){return this.pushStack(k(this,e||[],true))},is:function(e){return!!k(this,typeof e==="string"&&b.test(e)?h(e):e||[],false).length}});var T,N=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,E=h.fn.init=function(e,t){var n,i;if(!e){return this}if(typeof e==="string"){if(e[0]==="<"&&e[e.length-1]===">"&&e.length>=3){n=[null,e,null]}else{n=N.exec(e)}if(n&&(n[1]||!t)){if(n[1]){t=t instanceof h?t[0]:t;h.merge(this,h.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:d,true));if(w.test(n[1])&&h.isPlainObject(t)){for(n in t){if(h.isFunction(this[n])){this[n](t[n])}else{this.attr(n,t[n])}}}return this}else{i=d.getElementById(n[2]);if(i&&i.parentNode){this.length=1;this[0]=i}this.context=d;this.selector=e;return this}}else if(!t||t.jquery){return(t||T).find(e)}else{return this.constructor(t).find(e)}}else if(e.nodeType){this.context=this[0]=e;this.length=1;return this}else if(h.isFunction(e)){return typeof T.ready!=="undefined"?T.ready(e):e(h)}if(e.selector!==undefined){this.selector=e.selector;this.context=e.context}return h.makeArray(e,this)};E.prototype=h.fn;T=h(d);var S=/^(?:parents|prev(?:Until|All))/,D={children:true,contents:true,next:true,prev:true};h.extend({dir:function(e,t,n){var i=[],r=n!==undefined;while((e=e[t])&&e.nodeType!==9){if(e.nodeType===1){if(r&&h(e).is(n)){break}i.push(e)}}return i},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling){if(e.nodeType===1&&e!==t){n.push(e)}}return n}});h.fn.extend({has:function(e){var t=h(e,this),n=t.length;return this.filter(function(){var e=0;for(;e<n;e++){if(h.contains(this,t[e])){return true}}})},closest:function(e,t){var n,i=0,r=this.length,o=[],a=b.test(e)||typeof e!=="string"?h(e,t||this.context):0;for(;i<r;i++){for(n=this[i];n&&n!==t;n=n.parentNode){if(n.nodeType<11&&(a?a.index(n)>-1:n.nodeType===1&&h.find.matchesSelector(n,e))){o.push(n);break}}}return this.pushStack(o.length>1?h.unique(o):o)},index:function(e){if(!e){return this[0]&&this[0].parentNode?this.first().prevAll().length:-1}if(typeof e==="string"){return a.call(h(e),this[0])}return a.call(this,e.jquery?e[0]:e)},add:function(e,t){return this.pushStack(h.unique(h.merge(this.get(),h(e,t))))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}});function j(e,t){while((e=e[t])&&e.nodeType!==1){}return e}h.each({parent:function(e){var t=e.parentNode;return t&&t.nodeType!==11?t:null},parents:function(e){return h.dir(e,"parentNode")},parentsUntil:function(e,t,n){return h.dir(e,"parentNode",n)},next:function(e){return j(e,"nextSibling")},prev:function(e){return j(e,"previousSibling")},nextAll:function(e){return h.dir(e,"nextSibling")},prevAll:function(e){return h.dir(e,"previousSibling")},nextUntil:function(e,t,n){return h.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return h.dir(e,"previousSibling",n)},siblings:function(e){return h.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return h.sibling(e.firstChild)},contents:function(e){return e.contentDocument||h.merge([],e.childNodes)}},function(e,t){h.fn[e]=function(n,i){var r=h.map(this,t,n);if(e.slice(-5)!=="Until"){i=n}if(i&&typeof i==="string"){r=h.filter(i,r)}if(this.length>1){if(!D[e]){h.unique(r)}if(S.test(e)){r.reverse()}}return this.pushStack(r)}});var A=/\S+/g;var L={};function O(e){var t=L[e]={};h.each(e.match(A)||[],function(e,n){t[n]=true});return t}h.Callbacks=function(e){e=typeof e==="string"?L[e]||O(e):h.extend({},e);var t,n,i,r,o,a,s=[],u=!e.once&&[],l=function(c){t=e.memory&&c;n=true;a=r||0;r=0;o=s.length;i=true;for(;s&&a<o;a++){if(s[a].apply(c[0],c[1])===false&&e.stopOnFalse){t=false;break}}i=false;if(s){if(u){if(u.length){l(u.shift())}}else if(t){s=[]}else{f.disable()}}},f={add:function(){if(s){var n=s.length;(function a(t){h.each(t,function(t,n){var i=h.type(n);if(i==="function"){if(!e.unique||!f.has(n)){s.push(n)}}else if(n&&n.length&&i!=="string"){a(n)}})})(arguments);if(i){o=s.length}else if(t){r=n;l(t)}}return this},remove:function(){if(s){h.each(arguments,function(e,t){var n;while((n=h.inArray(t,s,n))>-1){s.splice(n,1);if(i){if(n<=o){o--}if(n<=a){a--}}}})}return this},has:function(e){return e?h.inArray(e,s)>-1:!!(s&&s.length)},empty:function(){s=[];o=0;return this},disable:function(){s=u=t=undefined;return this},disabled:function(){return!s},lock:function(){u=undefined;if(!t){f.disable()}return this},locked:function(){return!u},fireWith:function(e,t){if(s&&(!n||u)){t=t||[];t=[e,t.slice?t.slice():t];if(i){u.push(t)}else{l(t)}}return this},fire:function(){f.fireWith(this,arguments);return this},fired:function(){return!!n}};return f};h.extend({Deferred:function(e){var t=[["resolve","done",h.Callbacks("once memory"),"resolved"],["reject","fail",h.Callbacks("once memory"),"rejected"],["notify","progress",h.Callbacks("memory")]],n="pending",i={state:function(){return n},always:function(){r.done(arguments).fail(arguments);return this},then:function(){var e=arguments;return h.Deferred(function(n){h.each(t,function(t,o){var a=h.isFunction(e[t])&&e[t];r[o[1]](function(){var e=a&&a.apply(this,arguments);if(e&&h.isFunction(e.promise)){e.promise().done(n.resolve).fail(n.reject).progress(n.notify)}else{n[o[0]+"With"](this===i?n.promise():this,a?[e]:arguments)}})});e=null}).promise()},promise:function(e){return e!=null?h.extend(e,i):i}},r={};i.pipe=i.then;h.each(t,function(e,o){var a=o[2],s=o[3];i[o[1]]=a.add;if(s){a.add(function(){n=s},t[e^1][2].disable,t[2][2].lock)}r[o[0]]=function(){r[o[0]+"With"](this===r?i:this,arguments);return this};r[o[0]+"With"]=a.fireWith});i.promise(r);if(e){e.call(r,r)}return r},when:function(e){var t=0,n=i.call(arguments),r=n.length,o=r!==1||e&&h.isFunction(e.promise)?r:0,a=o===1?e:h.Deferred(),s=function(e,t,n){return function(r){t[e]=this;n[e]=arguments.length>1?i.call(arguments):r;if(n===u){a.notifyWith(t,n)}else if(!--o){a.resolveWith(t,n)}}},u,l,f;if(r>1){u=new Array(r);l=new Array(r);f=new Array(r);for(;t<r;t++){if(n[t]&&h.isFunction(n[t].promise)){n[t].promise().done(s(t,f,n)).fail(a.reject).progress(s(t,l,u))}else{--o}}}if(!o){a.resolveWith(f,n)}return a.promise()}});var q;h.fn.ready=function(e){h.ready.promise().done(e);return this};h.extend({isReady:false,readyWait:1,holdReady:function(e){if(e){h.readyWait++}else{h.ready(true)}},ready:function(e){if(e===true?--h.readyWait:h.isReady){return}h.isReady=true;if(e!==true&&--h.readyWait>0){return}q.resolveWith(d,[h]);if(h.fn.trigger){h(d).trigger("ready").off("ready")}}});function H(){d.removeEventListener("DOMContentLoaded",H,false);e.removeEventListener("load",H,false);h.ready()}h.ready.promise=function(t){if(!q){q=h.Deferred();if(d.readyState==="complete"){setTimeout(h.ready)}else{d.addEventListener("DOMContentLoaded",H,false);e.addEventListener("load",H,false)}}return q.promise(t)};h.ready.promise();var M=h.access=function(e,t,n,i,r,o,a){var s=0,u=e.length,l=n==null;if(h.type(n)==="object"){r=true;for(s in n){h.access(e,t,s,n[s],true,o,a)}}else if(i!==undefined){r=true;if(!h.isFunction(i)){a=true}if(l){if(a){t.call(e,i);t=null}else{l=t;t=function(e,t,n){return l.call(h(e),n)}}}if(t){for(;s<u;s++){t(e[s],n,a?i:i.call(e[s],s,t(e[s],n)))}}}return r?e:l?t.call(e):u?t(e[0],n):o};h.acceptData=function(e){return e.nodeType===1||e.nodeType===9||!+e.nodeType};function F(){Object.defineProperty(this.cache={},0,{get:function(){return{}}});this.expando=h.expando+Math.random()}F.uid=1;F.accepts=h.acceptData;F.prototype={key:function(e){if(!F.accepts(e)){return 0}var t={},n=e[this.expando];if(!n){n=F.uid++;try{t[this.expando]={value:n};Object.defineProperties(e,t)}catch(i){t[this.expando]=n;h.extend(e,t)}}if(!this.cache[n]){this.cache[n]={}}return n},set:function(e,t,n){var i,r=this.key(e),o=this.cache[r];if(typeof t==="string"){o[t]=n}else{if(h.isEmptyObject(o)){h.extend(this.cache[r],t)}else{for(i in t){o[i]=t[i]}}}return o},get:function(e,t){var n=this.cache[this.key(e)];
  return t===undefined?n:n[t]},access:function(e,t,n){var i;if(t===undefined||t&&typeof t==="string"&&n===undefined){i=this.get(e,t);return i!==undefined?i:this.get(e,h.camelCase(t))}this.set(e,t,n);return n!==undefined?n:t},remove:function(e,t){var n,i,r,o=this.key(e),a=this.cache[o];if(t===undefined){this.cache[o]={}}else{if(h.isArray(t)){i=t.concat(t.map(h.camelCase))}else{r=h.camelCase(t);if(t in a){i=[t,r]}else{i=r;i=i in a?[i]:i.match(A)||[]}}n=i.length;while(n--){delete a[i[n]]}}},hasData:function(e){return!h.isEmptyObject(this.cache[e[this.expando]]||{})},discard:function(e){if(e[this.expando]){delete this.cache[e[this.expando]]}}};var P=new F;var $=new F;var R=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,I=/([A-Z])/g;function z(e,t,n){var i;if(n===undefined&&e.nodeType===1){i="data-"+t.replace(I,"-$1").toLowerCase();n=e.getAttribute(i);if(typeof n==="string"){try{n=n==="true"?true:n==="false"?false:n==="null"?null:+n+""===n?+n:R.test(n)?h.parseJSON(n):n}catch(r){}$.set(e,t,n)}else{n=undefined}}return n}h.extend({hasData:function(e){return $.hasData(e)||P.hasData(e)},data:function(e,t,n){return $.access(e,t,n)},removeData:function(e,t){$.remove(e,t)},_data:function(e,t,n){return P.access(e,t,n)},_removeData:function(e,t){P.remove(e,t)}});h.fn.extend({data:function(e,t){var n,i,r,o=this[0],a=o&&o.attributes;if(e===undefined){if(this.length){r=$.get(o);if(o.nodeType===1&&!P.get(o,"hasDataAttrs")){n=a.length;while(n--){i=a[n].name;if(i.indexOf("data-")===0){i=h.camelCase(i.slice(5));z(o,i,r[i])}}P.set(o,"hasDataAttrs",true)}}return r}if(typeof e==="object"){return this.each(function(){$.set(this,e)})}return M(this,function(t){var n,i=h.camelCase(e);if(o&&t===undefined){n=$.get(o,e);if(n!==undefined){return n}n=$.get(o,i);if(n!==undefined){return n}n=z(o,i,undefined);if(n!==undefined){return n}return}this.each(function(){var n=$.get(this,i);$.set(this,i,t);if(e.indexOf("-")!==-1&&n!==undefined){$.set(this,e,t)}})},null,t,arguments.length>1,null,true)},removeData:function(e){return this.each(function(){$.remove(this,e)})}});h.extend({queue:function(e,t,n){var i;if(e){t=(t||"fx")+"queue";i=P.get(e,t);if(n){if(!i||h.isArray(n)){i=P.access(e,t,h.makeArray(n))}else{i.push(n)}}return i||[]}},dequeue:function(e,t){t=t||"fx";var n=h.queue(e,t),i=n.length,r=n.shift(),o=h._queueHooks(e,t),a=function(){h.dequeue(e,t)};if(r==="inprogress"){r=n.shift();i--}if(r){if(t==="fx"){n.unshift("inprogress")}delete o.stop;r.call(e,a,o)}if(!i&&o){o.empty.fire()}},_queueHooks:function(e,t){var n=t+"queueHooks";return P.get(e,n)||P.access(e,n,{empty:h.Callbacks("once memory").add(function(){P.remove(e,[t+"queue",n])})})}});h.fn.extend({queue:function(e,t){var n=2;if(typeof e!=="string"){t=e;e="fx";n--}if(arguments.length<n){return h.queue(this[0],e)}return t===undefined?this:this.each(function(){var n=h.queue(this,e,t);h._queueHooks(this,e);if(e==="fx"&&n[0]!=="inprogress"){h.dequeue(this,e)}})},dequeue:function(e){return this.each(function(){h.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,r=h.Deferred(),o=this,a=this.length,s=function(){if(!--i){r.resolveWith(o,[o])}};if(typeof e!=="string"){t=e;e=undefined}e=e||"fx";while(a--){n=P.get(o[a],e+"queueHooks");if(n&&n.empty){i++;n.empty.add(s)}}s();return r.promise(t)}});var W=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source;var B=["Top","Right","Bottom","Left"];var _=function(e,t){e=t||e;return h.css(e,"display")==="none"||!h.contains(e.ownerDocument,e)};var X=/^(?:checkbox|radio)$/i;(function(){var e=d.createDocumentFragment(),t=e.appendChild(d.createElement("div"));t.innerHTML="<input type='radio' checked='checked' name='t'/>";c.checkClone=t.cloneNode(true).cloneNode(true).lastChild.checked;t.innerHTML="<textarea>x</textarea>";c.noCloneChecked=!!t.cloneNode(true).lastChild.defaultValue})();var U=typeof undefined;c.focusinBubbles="onfocusin"in e;var V=/^key/,Q=/^(?:mouse|contextmenu)|click/,Y=/^(?:focusinfocus|focusoutblur)$/,K=/^([^.]*)(?:\.(.+)|)$/;function G(){return true}function J(){return false}function Z(){try{return d.activeElement}catch(e){}}h.event={global:{},add:function(e,t,n,i,r){var o,a,s,u,l,f,c,d,p,g,m,v=P.get(e);if(!v){return}if(n.handler){o=n;n=o.handler;r=o.selector}if(!n.guid){n.guid=h.guid++}if(!(u=v.events)){u=v.events={}}if(!(a=v.handle)){a=v.handle=function(t){return typeof h!==U&&h.event.triggered!==t.type?h.event.dispatch.apply(e,arguments):undefined}}t=(t||"").match(A)||[""];l=t.length;while(l--){s=K.exec(t[l])||[];p=m=s[1];g=(s[2]||"").split(".").sort();if(!p){continue}c=h.event.special[p]||{};p=(r?c.delegateType:c.bindType)||p;c=h.event.special[p]||{};f=h.extend({type:p,origType:m,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&h.expr.match.needsContext.test(r),namespace:g.join(".")},o);if(!(d=u[p])){d=u[p]=[];d.delegateCount=0;if(!c.setup||c.setup.call(e,i,g,a)===false){if(e.addEventListener){e.addEventListener(p,a,false)}}}if(c.add){c.add.call(e,f);if(!f.handler.guid){f.handler.guid=n.guid}}if(r){d.splice(d.delegateCount++,0,f)}else{d.push(f)}h.event.global[p]=true}},remove:function(e,t,n,i,r){var o,a,s,u,l,f,c,d,p,g,m,v=P.hasData(e)&&P.get(e);if(!v||!(u=v.events)){return}t=(t||"").match(A)||[""];l=t.length;while(l--){s=K.exec(t[l])||[];p=m=s[1];g=(s[2]||"").split(".").sort();if(!p){for(p in u){h.event.remove(e,p+t[l],n,i,true)}continue}c=h.event.special[p]||{};p=(i?c.delegateType:c.bindType)||p;d=u[p]||[];s=s[2]&&new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)");a=o=d.length;while(o--){f=d[o];if((r||m===f.origType)&&(!n||n.guid===f.guid)&&(!s||s.test(f.namespace))&&(!i||i===f.selector||i==="**"&&f.selector)){d.splice(o,1);if(f.selector){d.delegateCount--}if(c.remove){c.remove.call(e,f)}}}if(a&&!d.length){if(!c.teardown||c.teardown.call(e,g,v.handle)===false){h.removeEvent(e,p,v.handle)}delete u[p]}}if(h.isEmptyObject(u)){delete v.handle;P.remove(e,"events")}},trigger:function(t,n,i,r){var o,a,s,u,f,c,p,g=[i||d],m=l.call(t,"type")?t.type:t,v=l.call(t,"namespace")?t.namespace.split("."):[];a=s=i=i||d;if(i.nodeType===3||i.nodeType===8){return}if(Y.test(m+h.event.triggered)){return}if(m.indexOf(".")>=0){v=m.split(".");m=v.shift();v.sort()}f=m.indexOf(":")<0&&"on"+m;t=t[h.expando]?t:new h.Event(m,typeof t==="object"&&t);t.isTrigger=r?2:3;t.namespace=v.join(".");t.namespace_re=t.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null;t.result=undefined;if(!t.target){t.target=i}n=n==null?[t]:h.makeArray(n,[t]);p=h.event.special[m]||{};if(!r&&p.trigger&&p.trigger.apply(i,n)===false){return}if(!r&&!p.noBubble&&!h.isWindow(i)){u=p.delegateType||m;if(!Y.test(u+m)){a=a.parentNode}for(;a;a=a.parentNode){g.push(a);s=a}if(s===(i.ownerDocument||d)){g.push(s.defaultView||s.parentWindow||e)}}o=0;while((a=g[o++])&&!t.isPropagationStopped()){t.type=o>1?u:p.bindType||m;c=(P.get(a,"events")||{})[t.type]&&P.get(a,"handle");if(c){c.apply(a,n)}c=f&&a[f];if(c&&c.apply&&h.acceptData(a)){t.result=c.apply(a,n);if(t.result===false){t.preventDefault()}}}t.type=m;if(!r&&!t.isDefaultPrevented()){if((!p._default||p._default.apply(g.pop(),n)===false)&&h.acceptData(i)){if(f&&h.isFunction(i[m])&&!h.isWindow(i)){s=i[f];if(s){i[f]=null}h.event.triggered=m;i[m]();h.event.triggered=undefined;if(s){i[f]=s}}}}return t.result},dispatch:function(e){e=h.event.fix(e);var t,n,r,o,a,s=[],u=i.call(arguments),l=(P.get(this,"events")||{})[e.type]||[],f=h.event.special[e.type]||{};u[0]=e;e.delegateTarget=this;if(f.preDispatch&&f.preDispatch.call(this,e)===false){return}s=h.event.handlers.call(this,e,l);t=0;while((o=s[t++])&&!e.isPropagationStopped()){e.currentTarget=o.elem;n=0;while((a=o.handlers[n++])&&!e.isImmediatePropagationStopped()){if(!e.namespace_re||e.namespace_re.test(a.namespace)){e.handleObj=a;e.data=a.data;r=((h.event.special[a.origType]||{}).handle||a.handler).apply(o.elem,u);if(r!==undefined){if((e.result=r)===false){e.preventDefault();e.stopPropagation()}}}}}if(f.postDispatch){f.postDispatch.call(this,e)}return e.result},handlers:function(e,t){var n,i,r,o,a=[],s=t.delegateCount,u=e.target;if(s&&u.nodeType&&(!e.button||e.type!=="click")){for(;u!==this;u=u.parentNode||this){if(u.disabled!==true||e.type!=="click"){i=[];for(n=0;n<s;n++){o=t[n];r=o.selector+" ";if(i[r]===undefined){i[r]=o.needsContext?h(r,this).index(u)>=0:h.find(r,this,null,[u]).length}if(i[r]){i.push(o)}}if(i.length){a.push({elem:u,handlers:i})}}}}if(s<t.length){a.push({elem:this,handlers:t.slice(s)})}return a},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){if(e.which==null){e.which=t.charCode!=null?t.charCode:t.keyCode}return e}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,i,r,o=t.button;if(e.pageX==null&&t.clientX!=null){n=e.target.ownerDocument||d;i=n.documentElement;r=n.body;e.pageX=t.clientX+(i&&i.scrollLeft||r&&r.scrollLeft||0)-(i&&i.clientLeft||r&&r.clientLeft||0);e.pageY=t.clientY+(i&&i.scrollTop||r&&r.scrollTop||0)-(i&&i.clientTop||r&&r.clientTop||0)}if(!e.which&&o!==undefined){e.which=o&1?1:o&2?3:o&4?2:0}return e}},fix:function(e){if(e[h.expando]){return e}var t,n,i,r=e.type,o=e,a=this.fixHooks[r];if(!a){this.fixHooks[r]=a=Q.test(r)?this.mouseHooks:V.test(r)?this.keyHooks:{}}i=a.props?this.props.concat(a.props):this.props;e=new h.Event(o);t=i.length;while(t--){n=i[t];e[n]=o[n]}if(!e.target){e.target=d}if(e.target.nodeType===3){e.target=e.target.parentNode}return a.filter?a.filter(e,o):e},special:{load:{noBubble:true},focus:{trigger:function(){if(this!==Z()&&this.focus){this.focus();return false}},delegateType:"focusin"},blur:{trigger:function(){if(this===Z()&&this.blur){this.blur();return false}},delegateType:"focusout"},click:{trigger:function(){if(this.type==="checkbox"&&this.click&&h.nodeName(this,"input")){this.click();return false}},_default:function(e){return h.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){if(e.result!==undefined){e.originalEvent.returnValue=e.result}}}},simulate:function(e,t,n,i){var r=h.extend(new h.Event,n,{type:e,isSimulated:true,originalEvent:{}});if(i){h.event.trigger(r,null,t)}else{h.event.dispatch.call(t,r)}if(r.isDefaultPrevented()){n.preventDefault()}}};h.removeEvent=function(e,t,n){if(e.removeEventListener){e.removeEventListener(t,n,false)}};h.Event=function(e,t){if(!(this instanceof h.Event)){return new h.Event(e,t)}if(e&&e.type){this.originalEvent=e;this.type=e.type;this.isDefaultPrevented=e.defaultPrevented||e.defaultPrevented===undefined&&e.getPreventDefault&&e.getPreventDefault()?G:J}else{this.type=e}if(t){h.extend(this,t)}this.timeStamp=e&&e.timeStamp||h.now();this[h.expando]=true};h.Event.prototype={isDefaultPrevented:J,isPropagationStopped:J,isImmediatePropagationStopped:J,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=G;if(e&&e.preventDefault){e.preventDefault()}},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=G;if(e&&e.stopPropagation){e.stopPropagation()}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=G;this.stopPropagation()}};h.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){h.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=this,r=e.relatedTarget,o=e.handleObj;if(!r||r!==i&&!h.contains(i,r)){e.type=o.origType;n=o.handler.apply(this,arguments);e.type=t}return n}}});if(!c.focusinBubbles){h.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){h.event.simulate(t,e.target,h.event.fix(e),true)};h.event.special[t]={setup:function(){var i=this.ownerDocument||this,r=P.access(i,t);if(!r){i.addEventListener(e,n,true)}P.access(i,t,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this,r=P.access(i,t)-1;if(!r){i.removeEventListener(e,n,true);P.remove(i,t)}else{P.access(i,t,r)}}}})}h.fn.extend({on:function(e,t,n,i,r){var o,a;if(typeof e==="object"){if(typeof t!=="string"){n=n||t;t=undefined}for(a in e){this.on(a,t,n,e[a],r)}return this}if(n==null&&i==null){i=t;n=t=undefined}else if(i==null){if(typeof t==="string"){i=n;n=undefined}else{i=n;n=t;t=undefined}}if(i===false){i=J}else if(!i){return this}if(r===1){o=i;i=function(e){h().off(e);return o.apply(this,arguments)};i.guid=o.guid||(o.guid=h.guid++)}return this.each(function(){h.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){i=e.handleObj;h(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler);return this}if(typeof e==="object"){for(r in e){this.off(r,t,e[r])}return this}if(t===false||typeof t==="function"){n=t;t=undefined}if(n===false){n=J}return this.each(function(){h.event.remove(this,e,n,t)})},trigger:function(e,t){return this.each(function(){h.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n){return h.event.trigger(e,t,n,true)}}});var et=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,tt=/<([\w:]+)/,nt=/<|&#?\w+;/,it=/<(?:script|style|link)/i,rt=/checked\s*(?:[^=]|=\s*.checked.)/i,ot=/^$|\/(?:java|ecma)script/i,at=/^true\/(.*)/,st=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,ut={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};ut.optgroup=ut.option;ut.tbody=ut.tfoot=ut.colgroup=ut.caption=ut.thead;ut.th=ut.td;function lt(e,t){return h.nodeName(e,"table")&&h.nodeName(t.nodeType!==11?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function ft(e){e.type=(e.getAttribute("type")!==null)+"/"+e.type;return e}function ct(e){var t=at.exec(e.type);if(t){e.type=t[1]}else{e.removeAttribute("type")}return e}function dt(e,t){var n=0,i=e.length;for(;n<i;n++){P.set(e[n],"globalEval",!t||P.get(t[n],"globalEval"))}}function pt(e,t){var n,i,r,o,a,s,u,l;if(t.nodeType!==1){return}if(P.hasData(e)){o=P.access(e);a=P.set(t,o);l=o.events;if(l){delete a.handle;a.events={};for(r in l){for(n=0,i=l[r].length;n<i;n++){h.event.add(t,r,l[r][n])}}}}if($.hasData(e)){s=$.access(e);u=h.extend({},s);$.set(t,u)}}function ht(e,t){var n=e.getElementsByTagName?e.getElementsByTagName(t||"*"):e.querySelectorAll?e.querySelectorAll(t||"*"):[];return t===undefined||t&&h.nodeName(e,t)?h.merge([e],n):n}function gt(e,t){var n=t.nodeName.toLowerCase();if(n==="input"&&X.test(e.type)){t.checked=e.checked}else if(n==="input"||n==="textarea"){t.defaultValue=e.defaultValue}}h.extend({clone:function(e,t,n){var i,r,o,a,s=e.cloneNode(true),u=h.contains(e.ownerDocument,e);if(!c.noCloneChecked&&(e.nodeType===1||e.nodeType===11)&&!h.isXMLDoc(e)){a=ht(s);o=ht(e);for(i=0,r=o.length;i<r;i++){gt(o[i],a[i])}}if(t){if(n){o=o||ht(e);a=a||ht(s);for(i=0,r=o.length;i<r;i++){pt(o[i],a[i])}}else{pt(e,s)}}a=ht(s,"script");if(a.length>0){dt(a,!u&&ht(e,"script"))}return s},buildFragment:function(e,t,n,i){var r,o,a,s,u,l,f=t.createDocumentFragment(),c=[],d=0,p=e.length;for(;d<p;d++){r=e[d];if(r||r===0){if(h.type(r)==="object"){h.merge(c,r.nodeType?[r]:r)}else if(!nt.test(r)){c.push(t.createTextNode(r))}else{o=o||f.appendChild(t.createElement("div"));a=(tt.exec(r)||["",""])[1].toLowerCase();s=ut[a]||ut._default;o.innerHTML=s[1]+r.replace(et,"<$1></$2>")+s[2];l=s[0];while(l--){o=o.lastChild}h.merge(c,o.childNodes);o=f.firstChild;o.textContent=""}}}f.textContent="";d=0;while(r=c[d++]){if(i&&h.inArray(r,i)!==-1){continue}u=h.contains(r.ownerDocument,r);o=ht(f.appendChild(r),"script");if(u){dt(o)}if(n){l=0;while(r=o[l++]){if(ot.test(r.type||"")){n.push(r)}}}}return f},cleanData:function(e){var t,n,i,r,o,a,s=h.event.special,u=0;for(;(n=e[u])!==undefined;u++){if(h.acceptData(n)){o=n[P.expando];if(o&&(t=P.cache[o])){i=Object.keys(t.events||{});if(i.length){for(a=0;(r=i[a])!==undefined;a++){if(s[r]){h.event.remove(n,r)}else{h.removeEvent(n,r,t.handle)}}}if(P.cache[o]){delete P.cache[o]}}}delete $.cache[n[$.expando]]}}});h.fn.extend({text:function(e){return M(this,function(e){return e===undefined?h.text(this):this.empty().each(function(){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){this.textContent=e}})},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=lt(this,e);t.appendChild(e)}})},prepend:function(){return this.domManip(arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=lt(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){if(this.parentNode){this.parentNode.insertBefore(e,this)}})},after:function(){return this.domManip(arguments,function(e){if(this.parentNode){this.parentNode.insertBefore(e,this.nextSibling)}})},remove:function(e,t){var n,i=e?h.filter(e,this):this,r=0;for(;(n=i[r])!=null;r++){if(!t&&n.nodeType===1){h.cleanData(ht(n))}if(n.parentNode){if(t&&h.contains(n.ownerDocument,n)){dt(ht(n,"script"))}n.parentNode.removeChild(n)}}return this},empty:function(){var e,t=0;for(;(e=this[t])!=null;t++){if(e.nodeType===1){h.cleanData(ht(e,false));e.textContent=""}}return this},clone:function(e,t){e=e==null?false:e;t=t==null?e:t;return this.map(function(){return h.clone(this,e,t)})},html:function(e){return M(this,function(e){var t=this[0]||{},n=0,i=this.length;if(e===undefined&&t.nodeType===1){return t.innerHTML}if(typeof e==="string"&&!it.test(e)&&!ut[(tt.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(et,"<$1></$2>");try{for(;n<i;n++){t=this[n]||{};if(t.nodeType===1){h.cleanData(ht(t,false));t.innerHTML=e}}t=0}catch(r){}}if(t){this.empty().append(e)}},null,e,arguments.length)},replaceWith:function(){var e=arguments[0];this.domManip(arguments,function(t){e=this.parentNode;h.cleanData(ht(this));if(e){e.replaceChild(t,this)}});return e&&(e.length||e.nodeType)?this:this.remove()},detach:function(e){return this.remove(e,true)},domManip:function(e,t){e=r.apply([],e);var n,i,o,a,s,u,l=0,f=this.length,d=this,p=f-1,g=e[0],m=h.isFunction(g);if(m||f>1&&typeof g==="string"&&!c.checkClone&&rt.test(g)){return this.each(function(n){var i=d.eq(n);if(m){e[0]=g.call(this,n,i.html())}i.domManip(e,t)})}if(f){n=h.buildFragment(e,this[0].ownerDocument,false,this);i=n.firstChild;if(n.childNodes.length===1){n=i}if(i){o=h.map(ht(n,"script"),ft);a=o.length;for(;l<f;l++){s=n;if(l!==p){s=h.clone(s,true,true);if(a){h.merge(o,ht(s,"script"))}}t.call(this[l],s,l)}if(a){u=o[o.length-1].ownerDocument;h.map(o,ct);for(l=0;l<a;l++){s=o[l];if(ot.test(s.type||"")&&!P.access(s,"globalEval")&&h.contains(u,s)){if(s.src){if(h._evalUrl){h._evalUrl(s.src)}}else{h.globalEval(s.textContent.replace(st,""))}}}}}}return this}});h.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){h.fn[e]=function(e){var n,i=[],r=h(e),a=r.length-1,s=0;for(;s<=a;s++){n=s===a?this:this.clone(true);h(r[s])[t](n);o.apply(i,n.get())}return this.pushStack(i)}});var mt,vt={};function yt(t,n){var i=h(n.createElement(t)).appendTo(n.body),r=e.getDefaultComputedStyle?e.getDefaultComputedStyle(i[0]).display:h.css(i[0],"display");i.detach();return r}function xt(e){var t=d,n=vt[e];if(!n){n=yt(e,t);if(n==="none"||!n){mt=(mt||h("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement);t=mt[0].contentDocument;t.write();t.close();n=yt(e,t);mt.detach()}vt[e]=n}return n}var bt=/^margin/;var wt=new RegExp("^("+W+")(?!px)[a-z%]+$","i");var Ct=function(e){return e.ownerDocument.defaultView.getComputedStyle(e,null)};function kt(e,t,n){var i,r,o,a,s=e.style;n=n||Ct(e);if(n){a=n.getPropertyValue(t)||n[t]}if(n){if(a===""&&!h.contains(e.ownerDocument,e)){a=h.style(e,t)}if(wt.test(a)&&bt.test(t)){i=s.width;r=s.minWidth;o=s.maxWidth;s.minWidth=s.maxWidth=s.width=a;a=n.width;s.width=i;s.minWidth=r;s.maxWidth=o}}return a!==undefined?a+"":a}function Tt(e,t){return{get:function(){if(e()){delete this.get;return}return(this.get=t).apply(this,arguments)}}}(function(){var t,n,i="padding:0;margin:0;border:0;display:block;-webkit-box-sizing:content-box;"+"-moz-box-sizing:content-box;box-sizing:content-box",r=d.documentElement,o=d.createElement("div"),a=d.createElement("div");a.style.backgroundClip="content-box";a.cloneNode(true).style.backgroundClip="";c.clearCloneStyle=a.style.backgroundClip==="content-box";o.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;"+"margin-top:1px";o.appendChild(a);function s(){a.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;"+"box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;"+"position:absolute;top:1%";r.appendChild(o);var i=e.getComputedStyle(a,null);t=i.top!=="1%";n=i.width==="4px";r.removeChild(o)}if(e.getComputedStyle){h.extend(c,{pixelPosition:function(){s();return t},boxSizingReliable:function(){if(n==null){s()}return n},reliableMarginRight:function(){var t,n=a.appendChild(d.createElement("div"));n.style.cssText=a.style.cssText=i;n.style.marginRight=n.style.width="0";a.style.width="1px";r.appendChild(o);t=!parseFloat(e.getComputedStyle(n,null).marginRight);r.removeChild(o);a.innerHTML="";return t}})}})();h.swap=function(e,t,n,i){var r,o,a={};for(o in t){a[o]=e.style[o];e.style[o]=t[o]}r=n.apply(e,i||[]);for(o in t){e.style[o]=a[o]}return r};var Nt=/^(none|table(?!-c[ea]).+)/,Et=new RegExp("^("+W+")(.*)$","i"),St=new RegExp("^([+-])=("+W+")","i"),Dt={position:"absolute",visibility:"hidden",display:"block"},jt={letterSpacing:0,fontWeight:400},At=["Webkit","O","Moz","ms"];function Lt(e,t){if(t in e){return t}var n=t[0].toUpperCase()+t.slice(1),i=t,r=At.length;while(r--){t=At[r]+n;if(t in e){return t}}return i}function Ot(e,t,n){var i=Et.exec(t);return i?Math.max(0,i[1]-(n||0))+(i[2]||"px"):t}function qt(e,t,n,i,r){var o=n===(i?"border":"content")?4:t==="width"?1:0,a=0;for(;o<4;o+=2){if(n==="margin"){a+=h.css(e,n+B[o],true,r)}if(i){if(n==="content"){a-=h.css(e,"padding"+B[o],true,r)}if(n!=="margin"){a-=h.css(e,"border"+B[o]+"Width",true,r)}}else{a+=h.css(e,"padding"+B[o],true,r);if(n!=="padding"){a+=h.css(e,"border"+B[o]+"Width",true,r)}}}return a}function Ht(e,t,n){var i=true,r=t==="width"?e.offsetWidth:e.offsetHeight,o=Ct(e),a=h.css(e,"boxSizing",false,o)==="border-box";if(r<=0||r==null){r=kt(e,t,o);if(r<0||r==null){r=e.style[t]}if(wt.test(r)){return r}i=a&&(c.boxSizingReliable()||r===e.style[t]);r=parseFloat(r)||0}return r+qt(e,t,n||(a?"border":"content"),i,o)+"px"}function Mt(e,t){var n,i,r,o=[],a=0,s=e.length;for(;a<s;a++){i=e[a];if(!i.style){continue}o[a]=P.get(i,"olddisplay");n=i.style.display;if(t){if(!o[a]&&n==="none"){i.style.display=""}if(i.style.display===""&&_(i)){o[a]=P.access(i,"olddisplay",xt(i.nodeName))}}else{if(!o[a]){r=_(i);if(n&&n!=="none"||!r){P.set(i,"olddisplay",r?n:h.css(i,"display"))}}}}for(a=0;a<s;a++){i=e[a];if(!i.style){continue}if(!t||i.style.display==="none"||i.style.display===""){i.style.display=t?o[a]||"":"none"}}return e}h.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=kt(e,"opacity");return n===""?"1":n}}}},cssNumber:{columnCount:true,fillOpacity:true,fontWeight:true,lineHeight:true,opacity:true,order:true,orphans:true,widows:true,zIndex:true,zoom:true},cssProps:{"float":"cssFloat"},style:function(e,t,n,i){if(!e||e.nodeType===3||e.nodeType===8||!e.style){return}var r,o,a,s=h.camelCase(t),u=e.style;t=h.cssProps[s]||(h.cssProps[s]=Lt(u,s));a=h.cssHooks[t]||h.cssHooks[s];if(n!==undefined){o=typeof n;if(o==="string"&&(r=St.exec(n))){n=(r[1]+1)*r[2]+parseFloat(h.css(e,t));o="number"}if(n==null||n!==n){return}if(o==="number"&&!h.cssNumber[s]){n+="px"}if(!c.clearCloneStyle&&n===""&&t.indexOf("background")===0){u[t]="inherit"}if(!a||!("set"in a)||(n=a.set(e,n,i))!==undefined){u[t]="";u[t]=n}}else{if(a&&"get"in a&&(r=a.get(e,false,i))!==undefined){return r}return u[t]}},css:function(e,t,n,i){var r,o,a,s=h.camelCase(t);t=h.cssProps[s]||(h.cssProps[s]=Lt(e.style,s));a=h.cssHooks[t]||h.cssHooks[s];if(a&&"get"in a){r=a.get(e,true,n)}if(r===undefined){r=kt(e,t,i)}if(r==="normal"&&t in jt){r=jt[t]}if(n===""||n){o=parseFloat(r);return n===true||h.isNumeric(o)?o||0:r}return r}});h.each(["height","width"],function(e,t){h.cssHooks[t]={get:function(e,n,i){if(n){return e.offsetWidth===0&&Nt.test(h.css(e,"display"))?h.swap(e,Dt,function(){return Ht(e,t,i)}):Ht(e,t,i)}},set:function(e,n,i){var r=i&&Ct(e);return Ot(e,n,i?qt(e,t,i,h.css(e,"boxSizing",false,r)==="border-box",r):0)}}});h.cssHooks.marginRight=Tt(c.reliableMarginRight,function(e,t){if(t){return h.swap(e,{display:"inline-block"},kt,[e,"marginRight"])}});h.each({margin:"",padding:"",border:"Width"},function(e,t){h.cssHooks[e+t]={expand:function(n){var i=0,r={},o=typeof n==="string"?n.split(" "):[n];for(;i<4;i++){r[e+B[i]+t]=o[i]||o[i-2]||o[0]}return r}};if(!bt.test(e)){h.cssHooks[e+t].set=Ot}});h.fn.extend({css:function(e,t){return M(this,function(e,t,n){var i,r,o={},a=0;if(h.isArray(t)){i=Ct(e);r=t.length;for(;a<r;a++){o[t[a]]=h.css(e,t[a],false,i)}return o}return n!==undefined?h.style(e,t,n):h.css(e,t)},e,t,arguments.length>1)},show:function(){return Mt(this,true)},hide:function(){return Mt(this)},toggle:function(e){if(typeof e==="boolean"){return e?this.show():this.hide()}return this.each(function(){if(_(this)){h(this).show()}else{h(this).hide()}})}});function Ft(e,t,n,i,r){return new Ft.prototype.init(e,t,n,i,r)}h.Tween=Ft;Ft.prototype={constructor:Ft,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||(h.cssNumber[n]?"":"px")},cur:function(){var e=Ft.propHooks[this.prop];return e&&e.get?e.get(this):Ft.propHooks._default.get(this)},run:function(e){var t,n=Ft.propHooks[this.prop];if(this.options.duration){this.pos=t=h.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration)}else{this.pos=t=e}this.now=(this.end-this.start)*t+this.start;if(this.options.step){this.options.step.call(this.elem,this.now,this)}if(n&&n.set){n.set(this)}else{Ft.propHooks._default.set(this)}return this}};Ft.prototype.init.prototype=Ft.prototype;Ft.propHooks={_default:{get:function(e){var t;if(e.elem[e.prop]!=null&&(!e.elem.style||e.elem.style[e.prop]==null)){return e.elem[e.prop]}t=h.css(e.elem,e.prop,"");return!t||t==="auto"?0:t},set:function(e){if(h.fx.step[e.prop]){h.fx.step[e.prop](e)}else if(e.elem.style&&(e.elem.style[h.cssProps[e.prop]]!=null||h.cssHooks[e.prop])){h.style(e.elem,e.prop,e.now+e.unit)}else{e.elem[e.prop]=e.now}}}};Ft.propHooks.scrollTop=Ft.propHooks.scrollLeft={set:function(e){if(e.elem.nodeType&&e.elem.parentNode){e.elem[e.prop]=e.now}}};h.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}};h.fx=Ft.prototype.init;h.fx.step={};var Pt,$t,Rt=/^(?:toggle|show|hide)$/,It=new RegExp("^(?:([+-])=|)("+W+")([a-z%]*)$","i"),zt=/queueHooks$/,Wt=[Vt],Bt={"*":[function(e,t){var n=this.createTween(e,t),i=n.cur(),r=It.exec(t),o=r&&r[3]||(h.cssNumber[e]?"":"px"),a=(h.cssNumber[e]||o!=="px"&&+i)&&It.exec(h.css(n.elem,e)),s=1,u=20;if(a&&a[3]!==o){o=o||a[3];r=r||[];a=+i||1;do{s=s||".5";a=a/s;h.style(n.elem,e,a+o)}while(s!==(s=n.cur()/i)&&s!==1&&--u)}if(r){a=n.start=+a||+i||0;n.unit=o;n.end=r[1]?a+(r[1]+1)*r[2]:+r[2]}return n}]};function _t(){setTimeout(function(){Pt=undefined});return Pt=h.now()}function Xt(e,t){var n,i=0,r={height:e};t=t?1:0;for(;i<4;i+=2-t){n=B[i];r["margin"+n]=r["padding"+n]=e}if(t){r.opacity=r.width=e}return r}function Ut(e,t,n){var i,r=(Bt[t]||[]).concat(Bt["*"]),o=0,a=r.length;for(;o<a;o++){if(i=r[o].call(n,t,e)){return i}}}function Vt(e,t,n){var i,r,o,a,s,u,l,f=this,c={},d=e.style,p=e.nodeType&&_(e),g=P.get(e,"fxshow");if(!n.queue){s=h._queueHooks(e,"fx");if(s.unqueued==null){s.unqueued=0;u=s.empty.fire;s.empty.fire=function(){if(!s.unqueued){u()}}}s.unqueued++;f.always(function(){f.always(function(){s.unqueued--;if(!h.queue(e,"fx").length){s.empty.fire()}})})}if(e.nodeType===1&&("height"in t||"width"in t)){n.overflow=[d.overflow,d.overflowX,d.overflowY];l=h.css(e,"display");if(l==="none"){l=xt(e.nodeName)}if(l==="inline"&&h.css(e,"float")==="none"){d.display="inline-block"}}if(n.overflow){d.overflow="hidden";f.always(function(){d.overflow=n.overflow[0];d.overflowX=n.overflow[1];d.overflowY=n.overflow[2]})}for(i in t){r=t[i];if(Rt.exec(r)){delete t[i];o=o||r==="toggle";if(r===(p?"hide":"show")){if(r==="show"&&g&&g[i]!==undefined){p=true}else{continue}}c[i]=g&&g[i]||h.style(e,i)}}if(!h.isEmptyObject(c)){if(g){if("hidden"in g){p=g.hidden}}else{g=P.access(e,"fxshow",{})}if(o){g.hidden=!p}if(p){h(e).show()}else{f.done(function(){h(e).hide()})}f.done(function(){var t;P.remove(e,"fxshow");for(t in c){h.style(e,t,c[t])}});for(i in c){a=Ut(p?g[i]:0,i,f);if(!(i in g)){g[i]=a.start;if(p){a.end=a.start;a.start=i==="width"||i==="height"?1:0}}}}}function Qt(e,t){var n,i,r,o,a;for(n in e){i=h.camelCase(n);r=t[i];o=e[n];if(h.isArray(o)){r=o[1];o=e[n]=o[0]}if(n!==i){e[i]=o;delete e[n]}a=h.cssHooks[i];if(a&&"expand"in a){o=a.expand(o);delete e[i];for(n in o){if(!(n in e)){e[n]=o[n];t[n]=r}}}else{t[i]=r}}}function Yt(e,t,n){var i,r,o=0,a=Wt.length,s=h.Deferred().always(function(){delete u.elem}),u=function(){if(r){return false}var t=Pt||_t(),n=Math.max(0,l.startTime+l.duration-t),i=n/l.duration||0,o=1-i,a=0,u=l.tweens.length;for(;a<u;a++){l.tweens[a].run(o)}s.notifyWith(e,[l,o,n]);if(o<1&&u){return n}else{s.resolveWith(e,[l]);return false}},l=s.promise({elem:e,props:h.extend({},t),opts:h.extend(true,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:Pt||_t(),duration:n.duration,tweens:[],createTween:function(t,n){var i=h.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);l.tweens.push(i);return i},stop:function(t){var n=0,i=t?l.tweens.length:0;if(r){return this}r=true;for(;n<i;n++){l.tweens[n].run(1)}if(t){s.resolveWith(e,[l,t])}else{s.rejectWith(e,[l,t])}return this}}),f=l.props;Qt(f,l.opts.specialEasing);for(;o<a;o++){i=Wt[o].call(l,e,f,l.opts);if(i){return i}}h.map(f,Ut,l);if(h.isFunction(l.opts.start)){l.opts.start.call(e,l)}h.fx.timer(h.extend(u,{elem:e,anim:l,queue:l.opts.queue}));return l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always)}h.Animation=h.extend(Yt,{tweener:function(e,t){if(h.isFunction(e)){t=e;e=["*"]}else{e=e.split(" ")}var n,i=0,r=e.length;for(;i<r;i++){n=e[i];Bt[n]=Bt[n]||[];Bt[n].unshift(t)}},prefilter:function(e,t){if(t){Wt.unshift(e)}else{Wt.push(e)}}});h.speed=function(e,t,n){var i=e&&typeof e==="object"?h.extend({},e):{complete:n||!n&&t||h.isFunction(e)&&e,duration:e,easing:n&&t||t&&!h.isFunction(t)&&t};i.duration=h.fx.off?0:typeof i.duration==="number"?i.duration:i.duration in h.fx.speeds?h.fx.speeds[i.duration]:h.fx.speeds._default;if(i.queue==null||i.queue===true){i.queue="fx"}i.old=i.complete;i.complete=function(){if(h.isFunction(i.old)){i.old.call(this)}if(i.queue){h.dequeue(this,i.queue)}};return i};h.fn.extend({fadeTo:function(e,t,n,i){return this.filter(_).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var r=h.isEmptyObject(e),o=h.speed(t,n,i),a=function(){var t=Yt(this,h.extend({},e),o);if(r||P.get(this,"finish")){t.stop(true)}};a.finish=a;return r||o.queue===false?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var i=function(e){var t=e.stop;delete e.stop;t(n)};if(typeof e!=="string"){n=t;t=e;e=undefined}if(t&&e!==false){this.queue(e||"fx",[])}return this.each(function(){var t=true,r=e!=null&&e+"queueHooks",o=h.timers,a=P.get(this);if(r){if(a[r]&&a[r].stop){i(a[r])}}else{for(r in a){if(a[r]&&a[r].stop&&zt.test(r)){i(a[r])}}}for(r=o.length;r--;){if(o[r].elem===this&&(e==null||o[r].queue===e)){o[r].anim.stop(n);t=false;o.splice(r,1)}}if(t||!n){h.dequeue(this,e)}})},finish:function(e){if(e!==false){e=e||"fx"}return this.each(function(){var t,n=P.get(this),i=n[e+"queue"],r=n[e+"queueHooks"],o=h.timers,a=i?i.length:0;
  n.finish=true;h.queue(this,e,[]);if(r&&r.stop){r.stop.call(this,true)}for(t=o.length;t--;){if(o[t].elem===this&&o[t].queue===e){o[t].anim.stop(true);o.splice(t,1)}}for(t=0;t<a;t++){if(i[t]&&i[t].finish){i[t].finish.call(this)}}delete n.finish})}});h.each(["toggle","show","hide"],function(e,t){var n=h.fn[t];h.fn[t]=function(e,i,r){return e==null||typeof e==="boolean"?n.apply(this,arguments):this.animate(Xt(t,true),e,i,r)}});h.each({slideDown:Xt("show"),slideUp:Xt("hide"),slideToggle:Xt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){h.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}});h.timers=[];h.fx.tick=function(){var e,t=0,n=h.timers;Pt=h.now();for(;t<n.length;t++){e=n[t];if(!e()&&n[t]===e){n.splice(t--,1)}}if(!n.length){h.fx.stop()}Pt=undefined};h.fx.timer=function(e){h.timers.push(e);if(e()){h.fx.start()}else{h.timers.pop()}};h.fx.interval=13;h.fx.start=function(){if(!$t){$t=setInterval(h.fx.tick,h.fx.interval)}};h.fx.stop=function(){clearInterval($t);$t=null};h.fx.speeds={slow:600,fast:200,_default:400};h.fn.delay=function(e,t){e=h.fx?h.fx.speeds[e]||e:e;t=t||"fx";return this.queue(t,function(t,n){var i=setTimeout(t,e);n.stop=function(){clearTimeout(i)}})};(function(){var e=d.createElement("input"),t=d.createElement("select"),n=t.appendChild(d.createElement("option"));e.type="checkbox";c.checkOn=e.value!=="";c.optSelected=n.selected;t.disabled=true;c.optDisabled=!n.disabled;e=d.createElement("input");e.value="t";e.type="radio";c.radioValue=e.value==="t"})();var Kt,Gt,Jt=h.expr.attrHandle;h.fn.extend({attr:function(e,t){return M(this,h.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){h.removeAttr(this,e)})}});h.extend({attr:function(e,t,n){var i,r,o=e.nodeType;if(!e||o===3||o===8||o===2){return}if(typeof e.getAttribute===U){return h.prop(e,t,n)}if(o!==1||!h.isXMLDoc(e)){t=t.toLowerCase();i=h.attrHooks[t]||(h.expr.match.bool.test(t)?Gt:Kt)}if(n!==undefined){if(n===null){h.removeAttr(e,t)}else if(i&&"set"in i&&(r=i.set(e,n,t))!==undefined){return r}else{e.setAttribute(t,n+"");return n}}else if(i&&"get"in i&&(r=i.get(e,t))!==null){return r}else{r=h.find.attr(e,t);return r==null?undefined:r}},removeAttr:function(e,t){var n,i,r=0,o=t&&t.match(A);if(o&&e.nodeType===1){while(n=o[r++]){i=h.propFix[n]||n;if(h.expr.match.bool.test(n)){e[i]=false}e.removeAttribute(n)}}},attrHooks:{type:{set:function(e,t){if(!c.radioValue&&t==="radio"&&h.nodeName(e,"input")){var n=e.value;e.setAttribute("type",t);if(n){e.value=n}return t}}}}});Gt={set:function(e,t,n){if(t===false){h.removeAttr(e,n)}else{e.setAttribute(n,n)}return n}};h.each(h.expr.match.bool.source.match(/\w+/g),function(e,t){var n=Jt[t]||h.find.attr;Jt[t]=function(e,t,i){var r,o;if(!i){o=Jt[t];Jt[t]=r;r=n(e,t,i)!=null?t.toLowerCase():null;Jt[t]=o}return r}});var Zt=/^(?:input|select|textarea|button)$/i;h.fn.extend({prop:function(e,t){return M(this,h.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[h.propFix[e]||e]})}});h.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(e,t,n){var i,r,o,a=e.nodeType;if(!e||a===3||a===8||a===2){return}o=a!==1||!h.isXMLDoc(e);if(o){t=h.propFix[t]||t;r=h.propHooks[t]}if(n!==undefined){return r&&"set"in r&&(i=r.set(e,n,t))!==undefined?i:e[t]=n}else{return r&&"get"in r&&(i=r.get(e,t))!==null?i:e[t]}},propHooks:{tabIndex:{get:function(e){return e.hasAttribute("tabindex")||Zt.test(e.nodeName)||e.href?e.tabIndex:-1}}}});if(!c.optSelected){h.propHooks.selected={get:function(e){var t=e.parentNode;if(t&&t.parentNode){t.parentNode.selectedIndex}return null}}}h.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){h.propFix[this.toLowerCase()]=this});var en=/[\t\r\n\f]/g;h.fn.extend({addClass:function(e){var t,n,i,r,o,a,s=typeof e==="string"&&e,u=0,l=this.length;if(h.isFunction(e)){return this.each(function(t){h(this).addClass(e.call(this,t,this.className))})}if(s){t=(e||"").match(A)||[];for(;u<l;u++){n=this[u];i=n.nodeType===1&&(n.className?(" "+n.className+" ").replace(en," "):" ");if(i){o=0;while(r=t[o++]){if(i.indexOf(" "+r+" ")<0){i+=r+" "}}a=h.trim(i);if(n.className!==a){n.className=a}}}}return this},removeClass:function(e){var t,n,i,r,o,a,s=arguments.length===0||typeof e==="string"&&e,u=0,l=this.length;if(h.isFunction(e)){return this.each(function(t){h(this).removeClass(e.call(this,t,this.className))})}if(s){t=(e||"").match(A)||[];for(;u<l;u++){n=this[u];i=n.nodeType===1&&(n.className?(" "+n.className+" ").replace(en," "):"");if(i){o=0;while(r=t[o++]){while(i.indexOf(" "+r+" ")>=0){i=i.replace(" "+r+" "," ")}}a=e?h.trim(i):"";if(n.className!==a){n.className=a}}}}return this},toggleClass:function(e,t){var n=typeof e;if(typeof t==="boolean"&&n==="string"){return t?this.addClass(e):this.removeClass(e)}if(h.isFunction(e)){return this.each(function(n){h(this).toggleClass(e.call(this,n,this.className,t),t)})}return this.each(function(){if(n==="string"){var t,i=0,r=h(this),o=e.match(A)||[];while(t=o[i++]){if(r.hasClass(t)){r.removeClass(t)}else{r.addClass(t)}}}else if(n===U||n==="boolean"){if(this.className){P.set(this,"__className__",this.className)}this.className=this.className||e===false?"":P.get(this,"__className__")||""}})},hasClass:function(e){var t=" "+e+" ",n=0,i=this.length;for(;n<i;n++){if(this[n].nodeType===1&&(" "+this[n].className+" ").replace(en," ").indexOf(t)>=0){return true}}return false}});var tn=/\r/g;h.fn.extend({val:function(e){var t,n,i,r=this[0];if(!arguments.length){if(r){t=h.valHooks[r.type]||h.valHooks[r.nodeName.toLowerCase()];if(t&&"get"in t&&(n=t.get(r,"value"))!==undefined){return n}n=r.value;return typeof n==="string"?n.replace(tn,""):n==null?"":n}return}i=h.isFunction(e);return this.each(function(n){var r;if(this.nodeType!==1){return}if(i){r=e.call(this,n,h(this).val())}else{r=e}if(r==null){r=""}else if(typeof r==="number"){r+=""}else if(h.isArray(r)){r=h.map(r,function(e){return e==null?"":e+""})}t=h.valHooks[this.type]||h.valHooks[this.nodeName.toLowerCase()];if(!t||!("set"in t)||t.set(this,r,"value")===undefined){this.value=r}})}});h.extend({valHooks:{select:{get:function(e){var t,n,i=e.options,r=e.selectedIndex,o=e.type==="select-one"||r<0,a=o?null:[],s=o?r+1:i.length,u=r<0?s:o?r:0;for(;u<s;u++){n=i[u];if((n.selected||u===r)&&(c.optDisabled?!n.disabled:n.getAttribute("disabled")===null)&&(!n.parentNode.disabled||!h.nodeName(n.parentNode,"optgroup"))){t=h(n).val();if(o){return t}a.push(t)}}return a},set:function(e,t){var n,i,r=e.options,o=h.makeArray(t),a=r.length;while(a--){i=r[a];if(i.selected=h.inArray(h(i).val(),o)>=0){n=true}}if(!n){e.selectedIndex=-1}return o}}}});h.each(["radio","checkbox"],function(){h.valHooks[this]={set:function(e,t){if(h.isArray(t)){return e.checked=h.inArray(h(e).val(),t)>=0}}};if(!c.checkOn){h.valHooks[this].get=function(e){return e.getAttribute("value")===null?"on":e.value}}});h.each(("blur focus focusin focusout load resize scroll unload click dblclick "+"mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave "+"change select submit keydown keypress keyup error contextmenu").split(" "),function(e,t){h.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}});h.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 arguments.length===1?this.off(e,"**"):this.off(t,e||"**",n)}});var nn=h.now();var rn=/\?/;h.parseJSON=function(e){return JSON.parse(e+"")};h.parseXML=function(e){var t,n;if(!e||typeof e!=="string"){return null}try{n=new DOMParser;t=n.parseFromString(e,"text/xml")}catch(i){t=undefined}if(!t||t.getElementsByTagName("parsererror").length){h.error("Invalid XML: "+e)}return t};var on,an,sn=/#.*$/,un=/([?&])_=[^&]*/,ln=/^(.*?):[ \t]*([^\r\n]*)$/gm,fn=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,cn=/^(?:GET|HEAD)$/,dn=/^\/\//,pn=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,hn={},gn={},mn="*/".concat("*");try{an=location.href}catch(vn){an=d.createElement("a");an.href="";an=an.href}on=pn.exec(an.toLowerCase())||[];function yn(e){return function(t,n){if(typeof t!=="string"){n=t;t="*"}var i,r=0,o=t.toLowerCase().match(A)||[];if(h.isFunction(n)){while(i=o[r++]){if(i[0]==="+"){i=i.slice(1)||"*";(e[i]=e[i]||[]).unshift(n)}else{(e[i]=e[i]||[]).push(n)}}}}}function xn(e,t,n,i){var r={},o=e===gn;function a(s){var u;r[s]=true;h.each(e[s]||[],function(e,s){var l=s(t,n,i);if(typeof l==="string"&&!o&&!r[l]){t.dataTypes.unshift(l);a(l);return false}else if(o){return!(u=l)}});return u}return a(t.dataTypes[0])||!r["*"]&&a("*")}function bn(e,t){var n,i,r=h.ajaxSettings.flatOptions||{};for(n in t){if(t[n]!==undefined){(r[n]?e:i||(i={}))[n]=t[n]}}if(i){h.extend(true,e,i)}return e}function wn(e,t,n){var i,r,o,a,s=e.contents,u=e.dataTypes;while(u[0]==="*"){u.shift();if(i===undefined){i=e.mimeType||t.getResponseHeader("Content-Type")}}if(i){for(r in s){if(s[r]&&s[r].test(i)){u.unshift(r);break}}}if(u[0]in n){o=u[0]}else{for(r in n){if(!u[0]||e.converters[r+" "+u[0]]){o=r;break}if(!a){a=r}}o=o||a}if(o){if(o!==u[0]){u.unshift(o)}return n[o]}}function Cn(e,t,n,i){var r,o,a,s,u,l={},f=e.dataTypes.slice();if(f[1]){for(a in e.converters){l[a.toLowerCase()]=e.converters[a]}}o=f.shift();while(o){if(e.responseFields[o]){n[e.responseFields[o]]=t}if(!u&&i&&e.dataFilter){t=e.dataFilter(t,e.dataType)}u=o;o=f.shift();if(o){if(o==="*"){o=u}else if(u!=="*"&&u!==o){a=l[u+" "+o]||l["* "+o];if(!a){for(r in l){s=r.split(" ");if(s[1]===o){a=l[u+" "+s[0]]||l["* "+s[0]];if(a){if(a===true){a=l[r]}else if(l[r]!==true){o=s[0];f.unshift(s[1])}break}}}}if(a!==true){if(a&&e["throws"]){t=a(t)}else{try{t=a(t)}catch(c){return{state:"parsererror",error:a?c:"No conversion from "+u+" to "+o}}}}}}}return{state:"success",data:t}}h.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:an,type:"GET",isLocal:fn.test(on[1]),global:true,processData:true,async:true,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":mn,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":true,"text json":h.parseJSON,"text xml":h.parseXML},flatOptions:{url:true,context:true}},ajaxSetup:function(e,t){return t?bn(bn(e,h.ajaxSettings),t):bn(h.ajaxSettings,e)},ajaxPrefilter:yn(hn),ajaxTransport:yn(gn),ajax:function(e,t){if(typeof e==="object"){t=e;e=undefined}t=t||{};var n,i,r,o,a,s,u,l,f=h.ajaxSetup({},t),c=f.context||f,d=f.context&&(c.nodeType||c.jquery)?h(c):h.event,p=h.Deferred(),g=h.Callbacks("once memory"),m=f.statusCode||{},v={},y={},x=0,b="canceled",w={readyState:0,getResponseHeader:function(e){var t;if(x===2){if(!o){o={};while(t=ln.exec(r)){o[t[1].toLowerCase()]=t[2]}}t=o[e.toLowerCase()]}return t==null?null:t},getAllResponseHeaders:function(){return x===2?r:null},setRequestHeader:function(e,t){var n=e.toLowerCase();if(!x){e=y[n]=y[n]||e;v[e]=t}return this},overrideMimeType:function(e){if(!x){f.mimeType=e}return this},statusCode:function(e){var t;if(e){if(x<2){for(t in e){m[t]=[m[t],e[t]]}}else{w.always(e[w.status])}}return this},abort:function(e){var t=e||b;if(n){n.abort(t)}k(0,t);return this}};p.promise(w).complete=g.add;w.success=w.done;w.error=w.fail;f.url=((e||f.url||an)+"").replace(sn,"").replace(dn,on[1]+"//");f.type=t.method||t.type||f.method||f.type;f.dataTypes=h.trim(f.dataType||"*").toLowerCase().match(A)||[""];if(f.crossDomain==null){s=pn.exec(f.url.toLowerCase());f.crossDomain=!!(s&&(s[1]!==on[1]||s[2]!==on[2]||(s[3]||(s[1]==="http:"?"80":"443"))!==(on[3]||(on[1]==="http:"?"80":"443"))))}if(f.data&&f.processData&&typeof f.data!=="string"){f.data=h.param(f.data,f.traditional)}xn(hn,f,t,w);if(x===2){return w}u=f.global;if(u&&h.active++===0){h.event.trigger("ajaxStart")}f.type=f.type.toUpperCase();f.hasContent=!cn.test(f.type);i=f.url;if(!f.hasContent){if(f.data){i=f.url+=(rn.test(i)?"&":"?")+f.data;delete f.data}if(f.cache===false){f.url=un.test(i)?i.replace(un,"$1_="+nn++):i+(rn.test(i)?"&":"?")+"_="+nn++}}if(f.ifModified){if(h.lastModified[i]){w.setRequestHeader("If-Modified-Since",h.lastModified[i])}if(h.etag[i]){w.setRequestHeader("If-None-Match",h.etag[i])}}if(f.data&&f.hasContent&&f.contentType!==false||t.contentType){w.setRequestHeader("Content-Type",f.contentType)}w.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+(f.dataTypes[0]!=="*"?", "+mn+"; q=0.01":""):f.accepts["*"]);for(l in f.headers){w.setRequestHeader(l,f.headers[l])}if(f.beforeSend&&(f.beforeSend.call(c,w,f)===false||x===2)){return w.abort()}b="abort";for(l in{success:1,error:1,complete:1}){w[l](f[l])}n=xn(gn,f,t,w);if(!n){k(-1,"No Transport")}else{w.readyState=1;if(u){d.trigger("ajaxSend",[w,f])}if(f.async&&f.timeout>0){a=setTimeout(function(){w.abort("timeout")},f.timeout)}try{x=1;n.send(v,k)}catch(C){if(x<2){k(-1,C)}else{throw C}}}function k(e,t,o,s){var l,v,y,b,C,k=t;if(x===2){return}x=2;if(a){clearTimeout(a)}n=undefined;r=s||"";w.readyState=e>0?4:0;l=e>=200&&e<300||e===304;if(o){b=wn(f,w,o)}b=Cn(f,b,w,l);if(l){if(f.ifModified){C=w.getResponseHeader("Last-Modified");if(C){h.lastModified[i]=C}C=w.getResponseHeader("etag");if(C){h.etag[i]=C}}if(e===204||f.type==="HEAD"){k="nocontent"}else if(e===304){k="notmodified"}else{k=b.state;v=b.data;y=b.error;l=!y}}else{y=k;if(e||!k){k="error";if(e<0){e=0}}}w.status=e;w.statusText=(t||k)+"";if(l){p.resolveWith(c,[v,k,w])}else{p.rejectWith(c,[w,k,y])}w.statusCode(m);m=undefined;if(u){d.trigger(l?"ajaxSuccess":"ajaxError",[w,f,l?v:y])}g.fireWith(c,[w,k]);if(u){d.trigger("ajaxComplete",[w,f]);if(!--h.active){h.event.trigger("ajaxStop")}}}return w},getJSON:function(e,t,n){return h.get(e,t,n,"json")},getScript:function(e,t){return h.get(e,undefined,t,"script")}});h.each(["get","post"],function(e,t){h[t]=function(e,n,i,r){if(h.isFunction(n)){r=r||i;i=n;n=undefined}return h.ajax({url:e,type:t,dataType:r,data:n,success:i})}});h.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){h.fn[t]=function(e){return this.on(t,e)}});h._evalUrl=function(e){return h.ajax({url:e,type:"GET",dataType:"script",async:false,global:false,"throws":true})};h.fn.extend({wrapAll:function(e){var t;if(h.isFunction(e)){return this.each(function(t){h(this).wrapAll(e.call(this,t))})}if(this[0]){t=h(e,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){t.insertBefore(this[0])}t.map(function(){var e=this;while(e.firstElementChild){e=e.firstElementChild}return e}).append(this)}return this},wrapInner:function(e){if(h.isFunction(e)){return this.each(function(t){h(this).wrapInner(e.call(this,t))})}return this.each(function(){var t=h(this),n=t.contents();if(n.length){n.wrapAll(e)}else{t.append(e)}})},wrap:function(e){var t=h.isFunction(e);return this.each(function(n){h(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){if(!h.nodeName(this,"body")){h(this).replaceWith(this.childNodes)}}).end()}});h.expr.filters.hidden=function(e){return e.offsetWidth<=0&&e.offsetHeight<=0};h.expr.filters.visible=function(e){return!h.expr.filters.hidden(e)};var kn=/%20/g,Tn=/\[\]$/,Nn=/\r?\n/g,En=/^(?:submit|button|image|reset|file)$/i,Sn=/^(?:input|select|textarea|keygen)/i;function Dn(e,t,n,i){var r;if(h.isArray(t)){h.each(t,function(t,r){if(n||Tn.test(e)){i(e,r)}else{Dn(e+"["+(typeof r==="object"?t:"")+"]",r,n,i)}})}else if(!n&&h.type(t)==="object"){for(r in t){Dn(e+"["+r+"]",t[r],n,i)}}else{i(e,t)}}h.param=function(e,t){var n,i=[],r=function(e,t){t=h.isFunction(t)?t():t==null?"":t;i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(t===undefined){t=h.ajaxSettings&&h.ajaxSettings.traditional}if(h.isArray(e)||e.jquery&&!h.isPlainObject(e)){h.each(e,function(){r(this.name,this.value)})}else{for(n in e){Dn(n,e[n],t,r)}}return i.join("&").replace(kn,"+")};h.fn.extend({serialize:function(){return h.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=h.prop(this,"elements");return e?h.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!h(this).is(":disabled")&&Sn.test(this.nodeName)&&!En.test(e)&&(this.checked||!X.test(e))}).map(function(e,t){var n=h(this).val();return n==null?null:h.isArray(n)?h.map(n,function(e){return{name:t.name,value:e.replace(Nn,"\r\n")}}):{name:t.name,value:n.replace(Nn,"\r\n")}}).get()}});h.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(e){}};var jn=0,An={},Ln={0:200,1223:204},On=h.ajaxSettings.xhr();if(e.ActiveXObject){h(e).on("unload",function(){for(var e in An){An[e]()}})}c.cors=!!On&&"withCredentials"in On;c.ajax=On=!!On;h.ajaxTransport(function(e){var t;if(c.cors||On&&!e.crossDomain){return{send:function(n,i){var r,o=e.xhr(),a=++jn;o.open(e.type,e.url,e.async,e.username,e.password);if(e.xhrFields){for(r in e.xhrFields){o[r]=e.xhrFields[r]}}if(e.mimeType&&o.overrideMimeType){o.overrideMimeType(e.mimeType)}if(!e.crossDomain&&!n["X-Requested-With"]){n["X-Requested-With"]="XMLHttpRequest"}for(r in n){o.setRequestHeader(r,n[r])}t=function(e){return function(){if(t){delete An[a];t=o.onload=o.onerror=null;if(e==="abort"){o.abort()}else if(e==="error"){i(o.status,o.statusText)}else{i(Ln[o.status]||o.status,o.statusText,typeof o.responseText==="string"?{text:o.responseText}:undefined,o.getAllResponseHeaders())}}}};o.onload=t();o.onerror=t("error");t=An[a]=t("abort");o.send(e.hasContent&&e.data||null)},abort:function(){if(t){t()}}}}});h.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){h.globalEval(e);return e}}});h.ajaxPrefilter("script",function(e){if(e.cache===undefined){e.cache=false}if(e.crossDomain){e.type="GET"}});h.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(i,r){t=h("<script>").prop({async:true,charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove();n=null;if(e){r(e.type==="error"?404:200,e.type)}});d.head.appendChild(t[0])},abort:function(){if(n){n()}}}}});var qn=[],Hn=/(=)\?(?=&|$)|\?\?/;h.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=qn.pop()||h.expando+"_"+nn++;this[e]=true;return e}});h.ajaxPrefilter("json jsonp",function(t,n,i){var r,o,a,s=t.jsonp!==false&&(Hn.test(t.url)?"url":typeof t.data==="string"&&!(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Hn.test(t.data)&&"data");if(s||t.dataTypes[0]==="jsonp"){r=t.jsonpCallback=h.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback;if(s){t[s]=t[s].replace(Hn,"$1"+r)}else if(t.jsonp!==false){t.url+=(rn.test(t.url)?"&":"?")+t.jsonp+"="+r}t.converters["script json"]=function(){if(!a){h.error(r+" was not called")}return a[0]};t.dataTypes[0]="json";o=e[r];e[r]=function(){a=arguments};i.always(function(){e[r]=o;if(t[r]){t.jsonpCallback=n.jsonpCallback;qn.push(r)}if(a&&h.isFunction(o)){o(a[0])}a=o=undefined});return"script"}});h.parseHTML=function(e,t,n){if(!e||typeof e!=="string"){return null}if(typeof t==="boolean"){n=t;t=false}t=t||d;var i=w.exec(e),r=!n&&[];if(i){return[t.createElement(i[1])]}i=h.buildFragment([e],t,r);if(r&&r.length){h(r).remove()}return h.merge([],i.childNodes)};var Mn=h.fn.load;h.fn.load=function(e,t,n){if(typeof e!=="string"&&Mn){return Mn.apply(this,arguments)}var i,r,o,a=this,s=e.indexOf(" ");if(s>=0){i=e.slice(s);e=e.slice(0,s)}if(h.isFunction(t)){n=t;t=undefined}else if(t&&typeof t==="object"){r="POST"}if(a.length>0){h.ajax({url:e,type:r,dataType:"html",data:t}).done(function(e){o=arguments;a.html(i?h("<div>").append(h.parseHTML(e)).find(i):e)}).complete(n&&function(e,t){a.each(n,o||[e.responseText,t,e])})}return this};h.expr.filters.animated=function(e){return h.grep(h.timers,function(t){return e===t.elem}).length};var Fn=e.document.documentElement;function Pn(e){return h.isWindow(e)?e:e.nodeType===9&&e.defaultView}h.offset={setOffset:function(e,t,n){var i,r,o,a,s,u,l,f=h.css(e,"position"),c=h(e),d={};if(f==="static"){e.style.position="relative"}s=c.offset();o=h.css(e,"top");u=h.css(e,"left");l=(f==="absolute"||f==="fixed")&&(o+u).indexOf("auto")>-1;if(l){i=c.position();a=i.top;r=i.left}else{a=parseFloat(o)||0;r=parseFloat(u)||0}if(h.isFunction(t)){t=t.call(e,n,s)}if(t.top!=null){d.top=t.top-s.top+a}if(t.left!=null){d.left=t.left-s.left+r}if("using"in t){t.using.call(e,d)}else{c.css(d)}}};h.fn.extend({offset:function(e){if(arguments.length){return e===undefined?this:this.each(function(t){h.offset.setOffset(this,e,t)})}var t,n,i=this[0],r={top:0,left:0},o=i&&i.ownerDocument;if(!o){return}t=o.documentElement;if(!h.contains(t,i)){return r}if(typeof i.getBoundingClientRect!==U){r=i.getBoundingClientRect()}n=Pn(o);return{top:r.top+n.pageYOffset-t.clientTop,left:r.left+n.pageXOffset-t.clientLeft}},position:function(){if(!this[0]){return}var e,t,n=this[0],i={top:0,left:0};if(h.css(n,"position")==="fixed"){t=n.getBoundingClientRect()}else{e=this.offsetParent();t=this.offset();if(!h.nodeName(e[0],"html")){i=e.offset()}i.top+=h.css(e[0],"borderTopWidth",true);i.left+=h.css(e[0],"borderLeftWidth",true)}return{top:t.top-i.top-h.css(n,"marginTop",true),left:t.left-i.left-h.css(n,"marginLeft",true)}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||Fn;while(e&&(!h.nodeName(e,"html")&&h.css(e,"position")==="static")){e=e.offsetParent}return e||Fn})}});h.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,n){var i="pageYOffset"===n;h.fn[t]=function(r){return M(this,function(t,r,o){var a=Pn(t);if(o===undefined){return a?a[n]:t[r]}if(a){a.scrollTo(!i?o:e.pageXOffset,i?o:e.pageYOffset)}else{t[r]=o}},t,r,arguments.length,null)}});h.each(["top","left"],function(e,t){h.cssHooks[t]=Tt(c.pixelPosition,function(e,n){if(n){n=kt(e,t);return wt.test(n)?h(e).position()[t]+"px":n}})});h.each({Height:"height",Width:"width"},function(e,t){h.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,i){h.fn[i]=function(i,r){var o=arguments.length&&(n||typeof i!=="boolean"),a=n||(i===true||r===true?"margin":"border");return M(this,function(t,n,i){var r;if(h.isWindow(t)){return t.document.documentElement["client"+e]}if(t.nodeType===9){r=t.documentElement;return Math.max(t.body["scroll"+e],r["scroll"+e],t.body["offset"+e],r["offset"+e],r["client"+e])}return i===undefined?h.css(t,n,a):h.style(t,n,i,a)},t,o?i:undefined,o,null)}})});h.fn.size=function(){return this.length};h.fn.andSelf=h.fn.addBack;if(typeof define==="function"&&define.amd){define("jquery",[],function(){return h})}var $n=e.jQuery,Rn=e.$;h.noConflict=function(t){if(e.$===h){e.$=Rn}if(t&&e.jQuery===h){e.jQuery=$n}return h};if(typeof t===U){e.jQuery=e.$=h}return h});(function(e,t,n){"use strict";var i="focused";var r=function(){};n.fn.mozMenu=function(e){var t=n.extend({showDelay:100,hideDelay:100,fadeInSpeed:null,fadeOutSpeed:null,submenu:null,focusOnOpen:false,brickOnClick:false,onOpen:r,onClose:r},e);var o;var a;return this.each(function(){var e=n(this);var r=e.parent();var s;var f=e.submenu=t.submenu||r.find(".submenu");var c=t.brickOnClick;if(c&&f.length){e.on("click",function(e){if(typeof c==="function"&&c(e)||c)e.preventDefault()})}e.settings=f.settings=t;var d=false;e.on("touchstart mouseenter focus",function(t){if(t.type==="touchstart"){t.stopImmediatePropagation();if(e.submenu.length){t.preventDefault()}d=true}if(f.ignoreFocus)return;if(!f.length){u(a);if(n.fn.mozMenu.$openMenu)l(n.fn.mozMenu.$openMenu.submenu);return}if(!s){s=1;var r=n('<button type="button" class="submenu-close transparent">'+'<span class="offscreen">'+gettext("Close submenu")+"</span>"+'<i aria-hidden="true" class="icon-remove-sign"></i>'+"</button>").appendTo(f);e.on("mouseleave focusout",function(){u(a);l(f)});f.on("mouseleave focusout",function(e){if(e.type==="focusout"&&e.target!==f.get(0))return;u(a);l(f)});if(!d){f.on("mouseenter focusin",function(){u(o)})}f.on("keyup",function(t){if(t.keyCode===27){l(f);f.ignoreFocus=true;setTimeout(function(){f.ignoreFocus=false},10);e[0].focus()}});r.on("click",function(){l(f||n(this).parent())})}if(n.fn.mozMenu.$openMenu&&n.fn.mozMenu.$openMenu!==e){u(a);l(n.fn.mozMenu.$openMenu.submenu)}else if(n.fn.mozMenu.$openMenu===e){u(o)}n.fn.mozMenu.$openMenu=e;a=setTimeout(function(){f.css("z-index",99999).addClass("open").attr("aria-hidden","false").fadeIn(f.settings.fadeInSpeed);if(f.settings.focusOnOpen){var e=f.find("a").get(0);if(e){try{n(e).addClass(i);e.focus()}catch(t){console.log("Menu focus exception! ",t)}}}f.settings.onOpen()},f.settings.showDelay)})});function s(){return n.fn.mozMenu.$openMenu.submenu}function u(e){if(e)clearTimeout(e)}function l(e){o=setTimeout(function(){if(e){e.css("z-index",99998).removeClass("open").attr("aria-hidden","true").fadeOut(e.settings.fadeOutSpeed,function(){e.settings.onClose()})}},e.settings.hideDelay)}};n.fn.mozKeyboardNav=function(e){var o=n.extend({itemSelector:"a",onEnterKey:r,alwaysCollectItems:false},e);var a;return this.each(function(){var e=n(this).find(o.itemSelector);if(!e.length)return;var r=n(this);r.on("keydown",function(r){var u=r.keyCode;var l=r.charCode;var f=49;if(o.alwaysCollectItems){e=n(this).find(o.itemSelector);a=null}if(u===38||u===40){r.preventDefault();r.stopPropagation();a=e.filter("."+i).removeClass(i);var c=e.index(a);var d=t.activeElement&&e.index(t.activeElement);if(d>-1){c=d}if(c<0){c=0}var p=n(e.get(c+1));var h=n(e.get(c-1));if(u===38){if(h.length)s(h)}else if(u===40){s(p.length?p:e.first())}}else if(l>=f&&l<=57){var g=e.get(l-f);if(g)s(g)}else if(u===13){o.onEnterKey(a)}})});function s(e){n(e).addClass(i).get(0).focus();a=e}};n.fn.mozTogglers=function(e){var t=n.extend({onOpen:r,slideCallback:r,duration:200},e);this.each(function(){var e=n(this);var i=a(e);var r="data-closed";if(e.hasClass("closed")){e.attr(r,"true").removeClass("closed");i.$container.hide()}s(i.$toggler,e);i.$toggler.attr("aria-haspopup",true);e.on("keyup",".toggle-container",function(e){e.preventDefault();e.stopPropagation();if(e.keyCode===27){n(this).siblings("a").trigger("mdn:click").focus()}});e.on("click mdn:click",".toggler",function(i){i.preventDefault();i.stopPropagation();t.onOpen.call(this);if(i.type==="click"){n(this).attr("data-clicked",true)}var r=e.closest("ol, ul");if(r.hasClass("accordion")){var a=r.find("> .current");if(a.length&&a.get(0)!==e.get(0)){o(a,true)}}o(e)});if(e.attr("data-default-state")==="open"){o(e)}function o(e,n){var i=a(e);if(!u(e)||n){e.attr(r,"true").removeClass("current");i.$container.attr("aria-expanded",false);i.$container.slideUp(t.duration,t.slideCallback)}else{e.attr(r,"").addClass("current");i.$container.attr("aria-expanded",true);i.$container.slideDown(t.duration,t.slideCallback)}s(i.$toggler,e)}function a(e){return{$container:e.find("> .toggle-container"),$toggler:e.find("> .toggler")}}function s(e,t){var n=e.attr("data-open-icon")||"icon-caret-right";var i=e.attr("data-closed-icon")||"icon-caret-down";e.find("i").attr("class",u(t)?n:i)}function u(e){return e.attr(r)}})};n.fn.mozContextMenu=function(e){return this.on("contextmenu",function(t){e(t.target,n("#"+n(this).attr("contextmenu")))})};n.fn.mozLazyloadImage=function(){return this.each(function(){var e=n("<img />");var t=n(this).data("alt");e.on("load",function(){n(this).attr("alt",t).addClass("loaded")});n.each(n(this).data(),function(t,n){if(t!=="alt"){e.attr(t,n)}});n(this).after(e).remove()})};n.fn.toggleMessage=function(e){var t=n.extend({event:"click",toggleCallback:r},e);return this.each(function(){n(this).on(t.event,function(e){var i=n(this);e.preventDefault();var r=i.text();var o=i.attr("data-alternate-message");i.attr("data-alternate-message",r).html(o);t.toggleCallback()})})};e.mdn.Notifier=function(){var i;var r={classes:"",closable:false,level:"info",duration:3e3,url:null,onclick:null,onclose:null};var o="data-processed";var a={state:"info",className:"info",iconName:"icon-info-sign"};var s=[{state:"success",className:"success",iconName:"icon-smile"},{state:"error",className:"error",iconName:"icon-frown"},{state:"warning",className:"warning",iconName:"icon-warning-sign"},a];var u={};n.each(s,function(){u[this.state]=this});function l(e,t){e.fadeOut(300,function(){e.addClass("closed");if(t)t.apply(e,null)})}function f(e,t){e.find(".notification-message").html(t)}function c(t,i){if(t.attr(o)){return}t.attr(o,true);var s=n('<div class="notification-message"></div>');var f=t.get(0).childNodes;while(f&&f.length){s.get(0).appendChild(f[0])}s.appendTo(t);var c=a.iconName;if(u[i.level]){c=u[i.level].iconName}if(i.level){t.addClass(i.level)}t.prepend('<div class="notification-img"><i aria-hidden="true" class="'+c+'"></i></div>');if(i.url){t.addClass("clickable").on("click",function(){e.location=r.url})}t.addClass(i.classes);if(i.closable){n('<button class="close" title="'+gettext("Close notification")+'"><i class="icon-remove" aria-hidden="true"></i></button>').on("click",function(e){e.stopPropagation();e.preventDefault();l(t,i.onclose)}).appendTo(t)}if(i.onclick){t.addClass("clickable").on("click",i.onclick)}if(i.duration)setTimeout(function(){l(t,i.onclose)},i.duration)}return{discover:function(e){var i=n(e||t.body).find(".notification:not(["+o+"])");i.each(function(){var e=n(this);c(e,e.data())});return i},growl:function(e,o){if(!i){i=n('<div class="notification-tray" role="status" aria-live="polite"></div>').appendTo(t.body)}o=n.extend({},r,o||{});var a=n('<div class="notification">'+e+"</div>");c(a,o);a.prependTo(i);var u={item:a,options:o,updateMessage:function(e){f(this.item,e);return this},close:function(e,t){a=this.item;e=e||o.duration;t=t||o.onclose;if(e){setTimeout(function(){l(a,t)},e)}else{l(a,t)}return this}};n.each(s,function(){var e=this;var t=this.state;var n=this.className;var i=this.iconName;u[t]=function(t,i){var r=u.item;r.addClass(n);r.find(".notification-img i").attr("class",e.iconName);if(t)f(r,t);if(i)this.close(i);return this}});return u}}}()})(window,document,jQuery);(function(e,t,n){"use strict";var i=mdn.analytics={trackEvent:function(t,n){var i=e.ga;var r={hitType:"event",eventCategory:t.category||"",eventAction:t.action||"",eventLabel:t.label||"",eventValue:t.value||0,hitCallback:n||null};if(i&&i.create){i("send",r)}else if(n){n()}},trackOutboundLinks:function(t){t=t||document.body;n(t).on("click","a",function(t){var r=n(this);if(r.hasClass("no-track")){return}var o=this.hostname;if(o&&o!==location.hostname){var a=this.target==="_blank"||t.metaKey||t.ctrlKey;var s=this.href;var u=function(){e.location=s};var l={category:"Outbound Links",action:s};if(a){i.trackEvent(l)}else{t.preventDefault();l.hitCallback=u;i.trackEvent(l,u)}}})},trackClientErrors:function(){n(e).on("error",function(e){var t=e.originalEvent;i.trackError(" JavaScript Error: "+t.message+" ; "+t.filename+":"+t.lineno)});n(t).ajaxError(function(e,t,n){i.trackError("AJAX Error: "+n.url+" : "+e.result)})},trackError:function(t){if(e.ga&&ga.create){ga("send","exception",{exDescription:t})}}}})(window,document,jQuery);(function(e,t,n){"use strict";mdn.analytics.trackClientErrors();(function(){var e=n("#main-nav > ul > li");e.find("> a").mozMenu();e.find(".submenu").mozKeyboardNav()})();(function(){var e=n("#main-nav");var t=e.find("ul > li:not(.nav-search-link, .main-nav-search)");var i=e.find(".main-nav-search");var r=e.find(".search-wrap");var o=r.find("input");var a=r.find(".search-trigger");var s=o.attr("placeholder");a.on("click",function(e){o.get(0).focus()});var u;var l=function(n,a){return function(s){if(i.css("display")==="block"){return}if(s)s.preventDefault();if(u)clearTimeout(u);u=setTimeout(function(){if(a){t.fadeOut(100,function(){t.css("display","none");r.addClass("expanded");e.addClass("expand");setTimeout(function(){o.attr("placeholder",o.attr("data-placeholder"));
  o.val(o.attr("data-value"))},100)})}else{e.removeClass("expand");o.attr("placeholder","");o.attr("data-value",o.val());o.val("");u=setTimeout(function(){r.removeClass("expanded");t.fadeIn(400)},500)}},n)}};o.on("focus",l(200,true)).on("blur",l(600))})();n(".nav-search-link a").on("click",function(e){e.preventDefault();n(".main-nav-search").css("display","block").find("#main-q").get(0).focus();n(this).css("display","none")});n("select.autosubmit").on("change",function(){this.form.submit()});(function(){var e="disabled";n("form").on("submit",function(t){var i=n(this);if(i.hasClass("nodisable"))return;if(i.data(e)){t.preventDefault()}else{i.data(e,true).addClass(e)}i.ajaxComplete(function(){i.data(e,false).removeClass(e);i.unbind("ajaxComplete")})})})();n(t).ajaxSend(function(e,n,i){function r(e){var n=null;if(t.cookie&&t.cookie!==""){var i=t.cookie.split(";");for(var r=0;r<i.length;r++){var o=jQuery.trim(i[r]);if(o.substring(0,e.length+1)===e+"="){n=decodeURIComponent(o.substring(e.length+1));break}}}return n}function o(e){var n=t.location.host;var i=t.location.protocol;var r="//"+n;var o=i+r;return e===o||e.slice(0,o.length+1)===o+"/"||(e===r||e.slice(0,r.length+1)===r+"/")||!/^(\/\/|http:|https:).*/.test(e)}function a(e){return/^(GET|HEAD|OPTIONS|TRACE)$/.test(e)}if(!a(i.type)&&o(i.url)){n.setRequestHeader("X-CSRFToken",r("csrftoken"))}});n("#skip-search").on("click",function(e){e.preventDefault();n("input[name=q]").last().get(0).focus()});n("#skip-main").each(function(){var e=this.href.split("#")[1];if(e)n("#"+e).attr("role","main")});n("#skip-language").on("click",function(e){e.preventDefault();n("#language").get(0).focus()});(function(){var e=n("#advanced-menu, #languages-menu");e.mozMenu();e.parent().find(".submenu").mozKeyboardNav()})();(function(){var e;n.each([{selector:"#wikiArticle",method:"prependTo"},{selector:"#home",method:"prependTo"},{selector:"h1",method:"insertAfter"},{selector:"body",method:"prependTo"}],function(){if(!e&&n(this.selector).length){e=this}});n.each(mdn.notifications||[],function(){n('<div class="notification '+this.level+" "+this.tags+'" data-level="'+this.level+'">'+this.message+"</div>")[e.method](e.selector)});mdn.Notifier.discover()})();if(n("#tabzilla").length){n.ajax({url:"//mozorg.cdn.mozilla.net/en-US/tabzilla/tabzilla.js",dataType:"script",cache:true})}})(window,document,jQuery);(function(e,t,n){"use strict";var i=n(t);function r(e,t){var i=n("#_persona_login");n("#_persona_next_url").val(e||"");n("#_persona_process").val(t);navigator.id.watch({onlogin:function(e){n.get(i.data("csrf-token-url")).then(function(t){n("#_persona_csrf_token").val(t);n("#_persona_assertion").val(e);i.trigger("submit")})}});try{navigator.id.request(i.data("request"))}catch(r){}}(function(){var i=n(".oauth-login-container");var o=i.find(".oauth-login-options");var a="active";var s=300;var u=i.find(".oauth-login-options-text-no-icons");var l=function(){return u.css("display")!=="none"};o.mozMenu({fadeInSpeed:s,fadeOutSpeed:s,onOpen:function(){o.addClass(a);if(l()){i.find(".submenu-close").attr("tabIndex",-1).appendTo(o)}},onClose:function(){if(l()){i.find(".submenu-close").removeAttr("tabIndex").appendTo(i.find(".oauth-login-picker"))}o.removeClass(a)}});var f=function(){var e=n(this).data("service").toLowerCase();mdn.analytics.trackEvent({category:"Authentication",action:"Started sign-in",label:e});mdn.optimizely.push(["trackEvent","click-login-button-"+e])};n(".login-link").on("click",f);i.find(".oauth-github").on("click",function(t){t.stopPropagation();f.apply(this,arguments);e.location=n(this).data("href")});n(t.body).on("click",".launch-persona-login",function(e){e.preventDefault();var t=n(this);r(t.data("next"),t.data("process")||"login")})})();i.on("mdn:login",function(e,t){mdn.optimizely.push(["trackEvent","login"]);mdn.optimizely.push(["trackEvent","login-"+t]);mdn.analytics.trackEvent({category:"Authentication",action:"Finished sign-in",label:t})});i.on("mdn:logout",function(e,t){mdn.optimizely.push(["trackEvent","logout"]);mdn.optimizely.push(["trackEvent","logout-"+t]);mdn.analytics.trackEvent({category:"Authentication",action:"Signed out",label:t})});if("localStorage"in e)(function(){try{var e=n("#browser_register");var t="account-match-for";var r=e.data(t);var o=localStorage.getItem(t);if(r&&!o){localStorage.setItem(t,r)}else if(!r&&o&&e.length){localStorage.removeItem(t)}else if(!r&&o){i.on("mdn:login",function(e){mdn.Notifier.growl("You can now use "+o+" to sign in to this MDN profile.",{duration:0,closable:true}).success()});localStorage.removeItem(t)}}catch(a){}})();if("localStorage"in e)(function(){var e,r;var o="login-service";var a=localStorage.getItem(o);var s=n(t.body).data(o);try{if(s&&!a){localStorage.setItem(o,s);i.trigger("mdn:login",[s])}else if(!s&&a){localStorage.removeItem(o);i.trigger("mdn:logout",[a])}}catch(u){}})()})(window,document,jQuery);(function(e,t){"use strict";(function(){var e=t("#badges-tray");var n=function(){e.removeClass("show")};var i;var r=5e3;if(e.length){e.addClass("show");i=setTimeout(n,r)}e.on("mouseenter",function(){clearTimeout(i)}).on("mouseleave",function(){setTimeout(n,r/2)}).on("transitionend webkitTransitionEnd",function(t,n,i){if(!parseInt(e.css("opacity"),10)){e.addClass("hidden")}})})();t("form.obi_issuer button.issue").on("click",function(){var n=t('head link[rel="alternate"][type="application/json"]').attr("href");e.OpenBadges.issue([n],function(e,t){if(e.length){console.log("Failed to add award to backpack")}if(t.length){console.log("Award successfully added to backpack")}});return false})})(window,jQuery);