if(function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){var d=[],h=C.document,u=d.slice,m=d.concat,s=d.push,o=d.indexOf,n={},t=n.toString,g=n.hasOwnProperty,v={},i="1.12.4",E=function(e,t){return new E.fn.init(e,t)},r=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,a=/^-ms-/,l=/-([\da-z])/gi,c=function(e,t){return t.toUpperCase()};function f(e){var t=!!e&&"length"in e&&e.length,n=E.type(e);return"function"!==n&&!E.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}E.fn=E.prototype={jquery:i,constructor:E,selector:"",length:0,toArray:function(){return u.call(this)},get:function(e){return null!=e?e<0?this[e+this.length]:this[e]:u.call(this)},pushStack:function(e){var t=E.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e){return E.each(this,e)},map:function(n){return this.pushStack(E.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(u.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:d.sort,splice:d.splice},E.extend=E.fn.extend=function(){var e,t,n,i,o,r,a=arguments[0]||{},s=1,l=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[s]||{},s++),"object"==typeof a||E.isFunction(a)||(a={}),s===l&&(a=this,s--);s<l;s++)if(null!=(o=arguments[s]))for(i in o)e=a[i],a!==(n=o[i])&&(c&&n&&(E.isPlainObject(n)||(t=E.isArray(n)))?(r=t?(t=!1,e&&E.isArray(e)?e:[]):e&&E.isPlainObject(e)?e:{},a[i]=E.extend(c,r,n)):void 0!==n&&(a[i]=n));return a},E.extend({expando:"jQuery"+(i+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===E.type(e)},isArray:Array.isArray||function(e){return"array"===E.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){var t=e&&e.toString();return!E.isArray(e)&&0<=t-parseFloat(t)+1},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},isPlainObject:function(e){var t;if(!e||"object"!==E.type(e)||e.nodeType||E.isWindow(e))return!1;try{if(e.constructor&&!g.call(e,"constructor")&&!g.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(e){return!1}if(!v.ownFirst)for(t in e)return g.call(e,t);for(t in e);return void 0===t||g.call(e,t)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[t.call(e)]||"object":typeof e},globalEval:function(e){e&&E.trim(e)&&(C.execScript||function(e){C.eval.call(C,e)})(e)},camelCase:function(e){return e.replace(a,"ms-").replace(l,c)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var n,i=0;if(f(e))for(n=e.length;i<n&&!1!==t.call(e[i],i,e[i]);i++);else for(i in e)if(!1===t.call(e[i],i,e[i]))break;return e},trim:function(e){return null==e?"":(e+"").replace(r,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(f(Object(e))?E.merge(n,"string"==typeof e?[e]:e):s.call(n,e)),n},inArray:function(e,t,n){var i;if(t){if(o)return o.call(t,e,n);for(i=t.length,n=n?n<0?Math.max(0,i+n):n:0;n<i;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,t){for(var n=+t.length,i=0,o=e.length;i<n;)e[o++]=t[i++];if(n!=n)for(;void 0!==t[i];)e[o++]=t[i++];return e.length=o,e},grep:function(e,t,n){for(var i=[],o=0,r=e.length,a=!n;o<r;o++)!t(e[o],o)!==a&&i.push(e[o]);return i},map:function(e,t,n){var i,o,r=0,a=[];if(f(e))for(i=e.length;r<i;r++)null!=(o=t(e[r],r,n))&&a.push(o);else for(r in e)null!=(o=t(e[r],r,n))&&a.push(o);return m.apply([],a)},guid:1,proxy:function(e,t){var n,i,o;if("string"==typeof t&&(o=e[t],t=e,e=o),E.isFunction(e))return n=u.call(arguments,2),(i=function(){return e.apply(t||this,n.concat(u.call(arguments)))}).guid=e.guid=e.guid||E.guid++,i},now:function(){return+new Date},support:v}),"function"==typeof Symbol&&(E.fn[Symbol.iterator]=d[Symbol.iterator]),E.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var p=function(n){var e,h,w,r,o,m,d,g,x,l,c,T,C,a,E,v,s,u,y,k="sizzle"+1*new Date,b=n.document,$=0,i=0,f=oe(),p=oe(),S=oe(),A=function(e,t){return e===t&&(c=!0),0},N={}.hasOwnProperty,t=[],D=t.pop,j=t.push,I=t.push,L=t.slice,O=function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1},H="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",_="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",F="\\["+M+"*("+_+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+_+"))|)"+M+"*\\]",R=":("+_+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+F+")*)|.*)\\)|)",P=new RegExp(M+"+","g"),q=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),B=new RegExp("^"+M+"*,"+M+"*"),z=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),W=new RegExp("="+M+"*([^\\]'\"]*?)"+M+"*\\]","g"),U=new RegExp(R),V=new RegExp("^"+_+"$"),X={ID:new RegExp("^#("+_+")"),CLASS:new RegExp("^\\.("+_+")"),TAG:new RegExp("^("+_+"|[*])"),ATTR:new RegExp("^"+F),PSEUDO:new RegExp("^"+R),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+H+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,Q=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,G=/[+~]/,K=/'|\\/g,ee=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),te=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,1023&i|56320)},ne=function(){T()};try{I.apply(t=L.call(b.childNodes),b.childNodes),t[b.childNodes.length].nodeType}catch(e){I={apply:t.length?function(e,t){j.apply(e,L.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}function ie(e,t,n,i){var o,r,a,s,l,c,u,d,f=t&&t.ownerDocument,p=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==p&&9!==p&&11!==p)return n;if(!i&&((t?t.ownerDocument||t:b)!==C&&T(t),t=t||C,E)){if(11!==p&&(c=J.exec(e)))if(o=c[1]){if(9===p){if(!(a=t.getElementById(o)))return n;if(a.id===o)return n.push(a),n}else if(f&&(a=f.getElementById(o))&&y(t,a)&&a.id===o)return n.push(a),n}else{if(c[2])return I.apply(n,t.getElementsByTagName(e)),n;if((o=c[3])&&h.getElementsByClassName&&t.getElementsByClassName)return I.apply(n,t.getElementsByClassName(o)),n}if(h.qsa&&!S[e+" "]&&(!v||!v.test(e))){if(1!==p)f=t,d=e;else if("object"!==t.nodeName.toLowerCase()){for((s=t.getAttribute("id"))?s=s.replace(K,"\\$&"):t.setAttribute("id",s=k),r=(u=m(e)).length,l=V.test(s)?"#"+s:"[id='"+s+"']";r--;)u[r]=l+" "+he(u[r]);d=u.join(","),f=G.test(e)&&fe(t.parentNode)||t}if(d)try{return I.apply(n,f.querySelectorAll(d)),n}catch(e){}finally{s===k&&t.removeAttribute("id")}}}return g(e.replace(q,"$1"),t,n,i)}function oe(){var i=[];return function e(t,n){return i.push(t+" ")>w.cacheLength&&delete e[i.shift()],e[t+" "]=n}}function re(e){return e[k]=!0,e}function ae(e){var t=C.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function se(e,t){for(var n=e.split("|"),i=n.length;i--;)w.attrHandle[n[i]]=t}function le(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||1<<31)-(~e.sourceIndex||1<<31);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function ce(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function ue(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function de(a){return re(function(r){return r=+r,re(function(e,t){for(var n,i=a([],e.length,r),o=i.length;o--;)e[n=i[o]]&&(e[n]=!(t[n]=e[n]))})})}function fe(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in h=ie.support={},o=ie.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},T=ie.setDocument=function(e){var t,n,i=e?e.ownerDocument||e:b;return i!==C&&9===i.nodeType&&i.documentElement&&(a=(C=i).documentElement,E=!o(C),(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",ne,!1):n.attachEvent&&n.attachEvent("onunload",ne)),h.attributes=ae(function(e){return e.className="i",!e.getAttribute("className")}),h.getElementsByTagName=ae(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),h.getElementsByClassName=Z.test(C.getElementsByClassName),h.getById=ae(function(e){return a.appendChild(e).id=k,!C.getElementsByName||!C.getElementsByName(k).length}),h.getById?(w.find.ID=function(e,t){if(void 0!==t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}},w.filter.ID=function(e){var t=e.replace(ee,te);return function(e){return e.getAttribute("id")===t}}):(delete w.find.ID,w.filter.ID=function(e){var n=e.replace(ee,te);return function(e){var t=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}}),w.find.TAG=h.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):h.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],o=0,r=t.getElementsByTagName(e);if("*"!==e)return r;for(;n=r[o++];)1===n.nodeType&&i.push(n);return i},w.find.CLASS=h.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(h.qsa=Z.test(C.querySelectorAll))&&(ae(function(e){a.appendChild(e).innerHTML="<a id='"+k+"'></a><select id='"+k+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+H+")"),e.querySelectorAll("[id~="+k+"-]").length||v.push("~="),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+k+"+*").length||v.push(".#.+[+~]")}),ae(function(e){var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(h.matchesSelector=Z.test(u=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ae(function(e){h.disconnectedMatch=u.call(e,"div"),u.call(e,"[s!='']:x"),s.push("!=",R)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=Z.test(a.compareDocumentPosition),y=t||Z.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},A=t?function(e,t){if(e===t)return c=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!h.sortDetached&&t.compareDocumentPosition(e)===n?e===C||e.ownerDocument===b&&y(b,e)?-1:t===C||t.ownerDocument===b&&y(b,t)?1:l?O(l,e)-O(l,t):0:4&n?-1:1)}:function(e,t){if(e===t)return c=!0,0;var n,i=0,o=e.parentNode,r=t.parentNode,a=[e],s=[t];if(!o||!r)return e===C?-1:t===C?1:o?-1:r?1:l?O(l,e)-O(l,t):0;if(o===r)return le(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[i]===s[i];)i++;return i?le(a[i],s[i]):a[i]===b?-1:s[i]===b?1:0}),C},ie.matches=function(e,t){return ie(e,null,null,t)},ie.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&T(e),t=t.replace(W,"='$1']"),h.matchesSelector&&E&&!S[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=u.call(e,t);if(n||h.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){}return 0<ie(t,C,null,[e]).length},ie.contains=function(e,t){return(e.ownerDocument||e)!==C&&T(e),y(e,t)},ie.attr=function(e,t){(e.ownerDocument||e)!==C&&T(e);var n=w.attrHandle[t.toLowerCase()],i=n&&N.call(w.attrHandle,t.toLowerCase())?n(e,t,!E):void 0;return void 0!==i?i:h.attributes||!E?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},ie.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ie.uniqueSort=function(e){var t,n=[],i=0,o=0;if(c=!h.detectDuplicates,l=!h.sortStable&&e.slice(0),e.sort(A),c){for(;t=e[o++];)t===e[o]&&(i=n.push(o));for(;i--;)e.splice(n[i],1)}return l=null,e},r=ie.getText=function(e){var t,n="",i=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=r(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[i++];)n+=r(t);return n},(w=ie.selectors={cacheLength:50,createPseudo:re,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ee,te),e[3]=(e[3]||e[4]||e[5]||"").replace(ee,te),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ie.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&ie.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return X.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&U.test(n)&&(t=m(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ee,te).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=f[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&f(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,i,o){return function(e){var t=ie.attr(e,n);return null==t?"!="===i:!i||(t+="","="===i?t===o:"!="===i?t!==o:"^="===i?o&&0===t.indexOf(o):"*="===i?o&&-1<t.indexOf(o):"$="===i?o&&t.slice(-o.length)===o:"~="===i?-1<(" "+t.replace(P," ")+" ").indexOf(o):"|="===i&&(t===o||t.slice(0,o.length+1)===o+"-"))}},CHILD:function(h,e,t,m,g){var v="nth"!==h.slice(0,3),y="last"!==h.slice(-4),b="of-type"===e;return 1===m&&0===g?function(e){return!!e.parentNode}:function(e,t,n){var i,o,r,a,s,l,c=v!==y?"nextSibling":"previousSibling",u=e.parentNode,d=b&&e.nodeName.toLowerCase(),f=!n&&!b,p=!1;if(u){if(v){for(;c;){for(a=e;a=a[c];)if(b?a.nodeName.toLowerCase()===d:1===a.nodeType)return!1;l=c="only"===h&&!l&&"nextSibling"}return!0}if(l=[y?u.firstChild:u.lastChild],y&&f){for(p=(s=(i=(o=(r=(a=u)[k]||(a[k]={}))[a.uniqueID]||(r[a.uniqueID]={}))[h]||[])[0]===$&&i[1])&&i[2],a=s&&u.childNodes[s];a=++s&&a&&a[c]||(p=s=0)||l.pop();)if(1===a.nodeType&&++p&&a===e){o[h]=[$,s,p];break}}else if(f&&(p=s=(i=(o=(r=(a=e)[k]||(a[k]={}))[a.uniqueID]||(r[a.uniqueID]={}))[h]||[])[0]===$&&i[1]),!1===p)for(;(a=++s&&a&&a[c]||(p=s=0)||l.pop())&&((b?a.nodeName.toLowerCase()!==d:1!==a.nodeType)||!++p||(f&&((o=(r=a[k]||(a[k]={}))[a.uniqueID]||(r[a.uniqueID]={}))[h]=[$,p]),a!==e)););return(p-=g)===m||p%m==0&&0<=p/m}}},PSEUDO:function(e,r){var t,a=w.pseudos[e]||w.setFilters[e.toLowerCase()]||ie.error("unsupported pseudo: "+e);return a[k]?a(r):1<a.length?(t=[e,e,"",r],w.setFilters.hasOwnProperty(e.toLowerCase())?re(function(e,t){for(var n,i=a(e,r),o=i.length;o--;)e[n=O(e,i[o])]=!(t[n]=i[o])}):function(e){return a(e,0,t)}):a}},pseudos:{not:re(function(e){var i=[],o=[],s=d(e.replace(q,"$1"));return s[k]?re(function(e,t,n,i){for(var o,r=s(e,null,i,[]),a=e.length;a--;)(o=r[a])&&(e[a]=!(t[a]=o))}):function(e,t,n){return i[0]=e,s(i,null,n,o),i[0]=null,!o.pop()}}),has:re(function(t){return function(e){return 0<ie(t,e).length}}),contains:re(function(t){return t=t.replace(ee,te),function(e){return-1<(e.textContent||e.innerText||r(e)).indexOf(t)}}),lang:re(function(n){return V.test(n||"")||ie.error("unsupported lang: "+n),n=n.replace(ee,te).toLowerCase(),function(e){var t;do{if(t=E?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=n.location&&n.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===a},focus:function(e){return e===C.activeElement&&(!C.hasFocus||C.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!w.pseudos.empty(e)},header:function(e){return Q.test(e.nodeName)},input:function(e){return Y.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:de(function(){return[0]}),last:de(function(e,t){return[t-1]}),eq:de(function(e,t,n){return[n<0?n+t:n]}),even:de(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:de(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:de(function(e,t,n){for(var i=n<0?n+t:n;0<=--i;)e.push(i);return e}),gt:de(function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e})}}).pseudos.nth=w.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})w.pseudos[e]=ce(e);for(e in{submit:!0,reset:!0})w.pseudos[e]=ue(e);function pe(){}function he(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function me(s,e,t){var l=e.dir,c=t&&"parentNode"===l,u=i++;return e.first?function(e,t,n){for(;e=e[l];)if(1===e.nodeType||c)return s(e,t,n)}:function(e,t,n){var i,o,r,a=[$,u];if(n){for(;e=e[l];)if((1===e.nodeType||c)&&s(e,t,n))return!0}else for(;e=e[l];)if(1===e.nodeType||c){if((i=(o=(r=e[k]||(e[k]={}))[e.uniqueID]||(r[e.uniqueID]={}))[l])&&i[0]===$&&i[1]===u)return a[2]=i[2];if((o[l]=a)[2]=s(e,t,n))return!0}}}function ge(o){return 1<o.length?function(e,t,n){for(var i=o.length;i--;)if(!o[i](e,t,n))return!1;return!0}:o[0]}function ve(e,t,n,i,o){for(var r,a=[],s=0,l=e.length,c=null!=t;s<l;s++)(r=e[s])&&(n&&!n(r,i,o)||(a.push(r),c&&t.push(s)));return a}function ye(p,h,m,g,v,e){return g&&!g[k]&&(g=ye(g)),v&&!v[k]&&(v=ye(v,e)),re(function(e,t,n,i){var o,r,a,s=[],l=[],c=t.length,u=e||function(e,t,n){for(var i=0,o=t.length;i<o;i++)ie(e,t[i],n);return n}(h||"*",n.nodeType?[n]:n,[]),d=!p||!e&&h?u:ve(u,s,p,n,i),f=m?v||(e?p:c||g)?[]:t:d;if(m&&m(d,f,n,i),g)for(o=ve(f,l),g(o,[],n,i),r=o.length;r--;)(a=o[r])&&(f[l[r]]=!(d[l[r]]=a));if(e){if(v||p){if(v){for(o=[],r=f.length;r--;)(a=f[r])&&o.push(d[r]=a);v(null,f=[],o,i)}for(r=f.length;r--;)(a=f[r])&&-1<(o=v?O(e,a):s[r])&&(e[o]=!(t[o]=a))}}else f=ve(f===t?f.splice(c,f.length):f),v?v(null,t,f,i):I.apply(t,f)})}function be(e){for(var o,t,n,i=e.length,r=w.relative[e[0].type],a=r||w.relative[" "],s=r?1:0,l=me(function(e){return e===o},a,!0),c=me(function(e){return-1<O(o,e)},a,!0),u=[function(e,t,n){var i=!r&&(n||t!==x)||((o=t).nodeType?l(e,t,n):c(e,t,n));return o=null,i}];s<i;s++)if(t=w.relative[e[s].type])u=[me(ge(u),t)];else{if((t=w.filter[e[s].type].apply(null,e[s].matches))[k]){for(n=++s;n<i&&!w.relative[e[n].type];n++);return ye(1<s&&ge(u),1<s&&he(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(q,"$1"),t,s<n&&be(e.slice(s,n)),n<i&&be(e=e.slice(n)),n<i&&he(e))}u.push(t)}return ge(u)}return pe.prototype=w.filters=w.pseudos,w.setFilters=new pe,m=ie.tokenize=function(e,t){var n,i,o,r,a,s,l,c=p[e+" "];if(c)return t?0:c.slice(0);for(a=e,s=[],l=w.preFilter;a;){for(r in n&&!(i=B.exec(a))||(i&&(a=a.slice(i[0].length)||a),s.push(o=[])),n=!1,(i=z.exec(a))&&(n=i.shift(),o.push({value:n,type:i[0].replace(q," ")}),a=a.slice(n.length)),w.filter)!(i=X[r].exec(a))||l[r]&&!(i=l[r](i))||(n=i.shift(),o.push({value:n,type:r,matches:i}),a=a.slice(n.length));if(!n)break}return t?a.length:a?ie.error(e):p(e,s).slice(0)},d=ie.compile=function(e,t){var n,g,v,y,b,i,o=[],r=[],a=S[e+" "];if(!a){for(t||(t=m(e)),n=t.length;n--;)(a=be(t[n]))[k]?o.push(a):r.push(a);(a=S(e,(g=r,y=0<(v=o).length,b=0<g.length,i=function(e,t,n,i,o){var r,a,s,l=0,c="0",u=e&&[],d=[],f=x,p=e||b&&w.find.TAG("*",o),h=$+=null==f?1:Math.random()||.1,m=p.length;for(o&&(x=t===C||t||o);c!==m&&null!=(r=p[c]);c++){if(b&&r){for(a=0,t||r.ownerDocument===C||(T(r),n=!E);s=g[a++];)if(s(r,t||C,n)){i.push(r);break}o&&($=h)}y&&((r=!s&&r)&&l--,e&&u.push(r))}if(l+=c,y&&c!==l){for(a=0;s=v[a++];)s(u,d,t,n);if(e){if(0<l)for(;c--;)u[c]||d[c]||(d[c]=D.call(i));d=ve(d)}I.apply(i,d),o&&!e&&0<d.length&&1<l+v.length&&ie.uniqueSort(i)}return o&&($=h,x=f),u},y?re(i):i))).selector=e}return a},g=ie.select=function(e,t,n,i){var o,r,a,s,l,c="function"==typeof e&&e,u=!i&&m(e=c.selector||e);if(n=n||[],1===u.length){if(2<(r=u[0]=u[0].slice(0)).length&&"ID"===(a=r[0]).type&&h.getById&&9===t.nodeType&&E&&w.relative[r[1].type]){if(!(t=(w.find.ID(a.matches[0].replace(ee,te),t)||[])[0]))return n;c&&(t=t.parentNode),e=e.slice(r.shift().value.length)}for(o=X.needsContext.test(e)?0:r.length;o--&&(a=r[o],!w.relative[s=a.type]);)if((l=w.find[s])&&(i=l(a.matches[0].replace(ee,te),G.test(r[0].type)&&fe(t.parentNode)||t))){if(r.splice(o,1),!(e=i.length&&he(r)))return I.apply(n,i),n;break}}return(c||d(e,u))(i,t,!E,n,!t||G.test(e)&&fe(t.parentNode)||t),n},h.sortStable=k.split("").sort(A).join("")===k,h.detectDuplicates=!!c,T(),h.sortDetached=ae(function(e){return 1&e.compareDocumentPosition(C.createElement("div"))}),ae(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||se("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),h.attributes&&ae(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||se("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ae(function(e){return null==e.getAttribute("disabled")})||se(H,function(e,t,n){var i;if(!n)return!0===e[t]?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null}),ie}(C);E.find=p,E.expr=p.selectors,E.expr[":"]=E.expr.pseudos,E.uniqueSort=E.unique=p.uniqueSort,E.text=p.getText,E.isXMLDoc=p.isXML,E.contains=p.contains;var y=function(e,t,n){for(var i=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&E(e).is(n))break;i.push(e)}return i},b=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},w=E.expr.match.needsContext,x=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,T=/^.[^:#\[\.,]*$/;function k(e,n,i){if(E.isFunction(n))return E.grep(e,function(e,t){return!!n.call(e,t,e)!==i});if(n.nodeType)return E.grep(e,function(e){return e===n!==i});if("string"==typeof n){if(T.test(n))return E.filter(n,e,i);n=E.filter(n,e)}return E.grep(e,function(e){return-1<E.inArray(e,n)!==i})}E.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?E.find.matchesSelector(i,e)?[i]:[]:E.find.matches(e,E.grep(t,function(e){return 1===e.nodeType}))},E.fn.extend({find:function(e){var t,n=[],i=this,o=i.length;if("string"!=typeof e)return this.pushStack(E(e).filter(function(){for(t=0;t<o;t++)if(E.contains(i[t],this))return!0}));for(t=0;t<o;t++)E.find(e,i[t],n);return(n=this.pushStack(1<o?E.unique(n):n)).selector=this.selector?this.selector+" "+e:e,n},filter:function(e){return this.pushStack(k(this,e||[],!1))},not:function(e){return this.pushStack(k(this,e||[],!0))},is:function(e){return!!k(this,"string"==typeof e&&w.test(e)?E(e):e||[],!1).length}});var $,S=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(E.fn.init=function(e,t,n){var i,o;if(!e)return this;if(n=n||$,"string"!=typeof e)return e.nodeType?(this.context=this[0]=e,this.length=1,this):E.isFunction(e)?void 0!==n.ready?n.ready(e):e(E):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),E.makeArray(e,this));if(!(i="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&3<=e.length?[null,e,null]:S.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof E?t[0]:t,E.merge(this,E.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:h,!0)),x.test(i[1])&&E.isPlainObject(t))for(i in t)E.isFunction(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}if((o=h.getElementById(i[2]))&&o.parentNode){if(o.id!==i[2])return $.find(e);this.length=1,this[0]=o}return this.context=h,this.selector=e,this}).prototype=E.fn,$=E(h);var A=/^(?:parents|prev(?:Until|All))/,N={children:!0,contents:!0,next:!0,prev:!0};function D(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}E.fn.extend({has:function(e){var t,n=E(e,this),i=n.length;return this.filter(function(){for(t=0;t<i;t++)if(E.contains(this,n[t]))return!0})},closest:function(e,t){for(var n,i=0,o=this.length,r=[],a=w.test(e)||"string"!=typeof e?E(e,t||this.context):0;i<o;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&E.find.matchesSelector(n,e))){r.push(n);break}return this.pushStack(1<r.length?E.uniqueSort(r):r)},index:function(e){return e?"string"==typeof e?E.inArray(this[0],E(e)):E.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(E.uniqueSort(E.merge(this.get(),E(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),E.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return y(e,"parentNode")},parentsUntil:function(e,t,n){return y(e,"parentNode",n)},next:function(e){return D(e,"nextSibling")},prev:function(e){return D(e,"previousSibling")},nextAll:function(e){return y(e,"nextSibling")},prevAll:function(e){return y(e,"previousSibling")},nextUntil:function(e,t,n){return y(e,"nextSibling",n)},prevUntil:function(e,t,n){return y(e,"previousSibling",n)},siblings:function(e){return b((e.parentNode||{}).firstChild,e)},children:function(e){return b(e.firstChild)},contents:function(e){return E.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:E.merge([],e.childNodes)}},function(i,o){E.fn[i]=function(e,t){var n=E.map(this,o,e);return"Until"!==i.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=E.filter(t,n)),1<this.length&&(N[i]||(n=E.uniqueSort(n)),A.test(i)&&(n=n.reverse())),this.pushStack(n)}});var j,I,L=/\S+/g;function O(){h.addEventListener?(h.removeEventListener("DOMContentLoaded",H),C.removeEventListener("load",H)):(h.detachEvent("onreadystatechange",H),C.detachEvent("onload",H))}function H(){(h.addEventListener||"load"===C.event.type||"complete"===h.readyState)&&(O(),E.ready())}for(I in E.Callbacks=function(i){var e,n;i="string"==typeof i?(e=i,n={},E.each(e.match(L)||[],function(e,t){n[t]=!0}),n):E.extend({},i);var o,t,r,a,s=[],l=[],c=-1,u=function(){for(a=i.once,r=o=!0;l.length;c=-1)for(t=l.shift();++c<s.length;)!1===s[c].apply(t[0],t[1])&&i.stopOnFalse&&(c=s.length,t=!1);i.memory||(t=!1),o=!1,a&&(s=t?[]:"")},d={add:function(){return s&&(t&&!o&&(c=s.length-1,l.push(t)),function n(e){E.each(e,function(e,t){E.isFunction(t)?i.unique&&d.has(t)||s.push(t):t&&t.length&&"string"!==E.type(t)&&n(t)})}(arguments),t&&!o&&u()),this},remove:function(){return E.each(arguments,function(e,t){for(var n;-1<(n=E.inArray(t,s,n));)s.splice(n,1),n<=c&&c--}),this},has:function(e){return e?-1<E.inArray(e,s):0<s.length},empty:function(){return s&&(s=[]),this},disable:function(){return a=l=[],s=t="",this},disabled:function(){return!s},lock:function(){return a=!0,t||d.disable(),this},locked:function(){return!!a},fireWith:function(e,t){return a||(t=[e,(t=t||[]).slice?t.slice():t],l.push(t),o||u()),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!r}};return d},E.extend({Deferred:function(e){var r=[["resolve","done",E.Callbacks("once memory"),"resolved"],["reject","fail",E.Callbacks("once memory"),"rejected"],["notify","progress",E.Callbacks("memory")]],o="pending",a={state:function(){return o},always:function(){return s.done(arguments).fail(arguments),this},then:function(){var o=arguments;return E.Deferred(function(i){E.each(r,function(e,t){var n=E.isFunction(o[e])&&o[e];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&E.isFunction(e.promise)?e.promise().progress(i.notify).done(i.resolve).fail(i.reject):i[t[0]+"With"](this===a?i.promise():this,n?[e]:arguments)})}),o=null}).promise()},promise:function(e){return null!=e?E.extend(e,a):a}},s={};return a.pipe=a.then,E.each(r,function(e,t){var n=t[2],i=t[3];a[t[1]]=n.add,i&&n.add(function(){o=i},r[1^e][2].disable,r[2][2].lock),s[t[0]]=function(){return s[t[0]+"With"](this===s?a:this,arguments),this},s[t[0]+"With"]=n.fireWith}),a.promise(s),e&&e.call(s,s),s},when:function(e){var o,t,n,i=0,r=u.call(arguments),a=r.length,s=1!==a||e&&E.isFunction(e.promise)?a:0,l=1===s?e:E.Deferred(),c=function(t,n,i){return function(e){n[t]=this,i[t]=1<arguments.length?u.call(arguments):e,i===o?l.notifyWith(n,i):--s||l.resolveWith(n,i)}};if(1<a)for(o=new Array(a),t=new Array(a),n=new Array(a);i<a;i++)r[i]&&E.isFunction(r[i].promise)?r[i].promise().progress(c(i,t,o)).done(c(i,n,r)).fail(l.reject):--s;return s||l.resolveWith(n,r),l.promise()}}),E.fn.ready=function(e){return E.ready.promise().done(e),this},E.extend({isReady:!1,readyWait:1,holdReady:function(e){e?E.readyWait++:E.ready(!0)},ready:function(e){(!0===e?--E.readyWait:E.isReady)||(E.isReady=!0)!==e&&0<--E.readyWait||(j.resolveWith(h,[E]),E.fn.triggerHandler&&(E(h).triggerHandler("ready"),E(h).off("ready")))}}),E.ready.promise=function(e){if(!j)if(j=E.Deferred(),"complete"===h.readyState||"loading"!==h.readyState&&!h.documentElement.doScroll)C.setTimeout(E.ready);else if(h.addEventListener)h.addEventListener("DOMContentLoaded",H),C.addEventListener("load",H);else{h.attachEvent("onreadystatechange",H),C.attachEvent("onload",H);var n=!1;try{n=null==C.frameElement&&h.documentElement}catch(e){}n&&n.doScroll&&function t(){if(!E.isReady){try{n.doScroll("left")}catch(e){return C.setTimeout(t,50)}O(),E.ready()}}()}return j.promise(e)},E.ready.promise(),E(v))break;v.ownFirst="0"===I,v.inlineBlockNeedsLayout=!1,E(function(){var e,t,n,i;(n=h.getElementsByTagName("body")[0])&&n.style&&(t=h.createElement("div"),(i=h.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(i).appendChild(t),void 0!==t.style.zoom&&(t.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",v.inlineBlockNeedsLayout=e=3===t.offsetWidth,e&&(n.style.zoom=1)),n.removeChild(i))}),function(){var e=h.createElement("div");v.deleteExpando=!0;try{delete e.test}catch(e){v.deleteExpando=!1}e=null}();var M,_=function(e){var t=E.noData[(e.nodeName+" ").toLowerCase()],n=+e.nodeType||1;return(1===n||9===n)&&(!t||!0!==t&&e.getAttribute("classid")===t)},F=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,R=/([A-Z])/g;function P(e,t,n){if(void 0===n&&1===e.nodeType){var i="data-"+t.replace(R,"-$1").toLowerCase();if("string"==typeof(n=e.getAttribute(i))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:F.test(n)?E.parseJSON(n):n)}catch(e){}E.data(e,t,n)}else n=void 0}return n}function q(e){var t;for(t in e)if(("data"!==t||!E.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function B(e,t,n,i){if(_(e)){var o,r,a=E.expando,s=e.nodeType,l=s?E.cache:e,c=s?e[a]:e[a]&&a;if(c&&l[c]&&(i||l[c].data)||void 0!==n||"string"!=typeof t)return c||(c=s?e[a]=d.pop()||E.guid++:a),l[c]||(l[c]=s?{}:{toJSON:E.noop}),"object"!=typeof t&&"function"!=typeof t||(i?l[c]=E.extend(l[c],t):l[c].data=E.extend(l[c].data,t)),r=l[c],i||(r.data||(r.data={}),r=r.data),void 0!==n&&(r[E.camelCase(t)]=n),"string"==typeof t?null==(o=r[t])&&(o=r[E.camelCase(t)]):o=r,o}}function z(e,t,n){if(_(e)){var i,o,r=e.nodeType,a=r?E.cache:e,s=r?e[E.expando]:E.expando;if(a[s]){if(t&&(i=n?a[s]:a[s].data)){o=(t=E.isArray(t)?t.concat(E.map(t,E.camelCase)):t in i?[t]:(t=E.camelCase(t))in i?[t]:t.split(" ")).length;for(;o--;)delete i[t[o]];if(n?!q(i):!E.isEmptyObject(i))return}(n||(delete a[s].data,q(a[s])))&&(r?E.cleanData([e],!0):v.deleteExpando||a!=a.window?delete a[s]:a[s]=void 0)}}}E.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return!!(e=e.nodeType?E.cache[e[E.expando]]:e[E.expando])&&!q(e)},data:function(e,t,n){return B(e,t,n)},removeData:function(e,t){return z(e,t)},_data:function(e,t,n){return B(e,t,n,!0)},_removeData:function(e,t){return z(e,t,!0)}}),E.fn.extend({data:function(e,t){var n,i,o,r=this[0],a=r&&r.attributes;if(void 0!==e)return"object"==typeof e?this.each(function(){E.data(this,e)}):1<arguments.length?this.each(function(){E.data(this,e,t)}):r?P(r,e,E.data(r,e)):void 0;if(this.length&&(o=E.data(r),1===r.nodeType&&!E._data(r,"parsedAttrs"))){for(n=a.length;n--;)a[n]&&0===(i=a[n].name).indexOf("data-")&&P(r,i=E.camelCase(i.slice(5)),o[i]);E._data(r,"parsedAttrs",!0)}return o},removeData:function(e){return this.each(function(){E.removeData(this,e)})}}),E.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=E._data(e,t),n&&(!i||E.isArray(n)?i=E._data(e,t,E.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=E.queue(e,t),i=n.length,o=n.shift(),r=E._queueHooks(e,t);"inprogress"===o&&(o=n.shift(),i--),o&&("fx"===t&&n.unshift("inprogress"),delete r.stop,o.call(e,function(){E.dequeue(e,t)},r)),!i&&r&&r.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return E._data(e,n)||E._data(e,n,{empty:E.Callbacks("once memory").add(function(){E._removeData(e,t+"queue"),E._removeData(e,n)})})}}),E.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?E.queue(this[0],t):void 0===n?this:this.each(function(){var e=E.queue(this,t,n);E._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&E.dequeue(this,t)})},dequeue:function(e){return this.each(function(){E.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,o=E.Deferred(),r=this,a=this.length,s=function(){--i||o.resolveWith(r,[r])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=E._data(r[a],e+"queueHooks"))&&n.empty&&(i++,n.empty.add(s));return s(),o.promise(t)}}),v.shrinkWrapBlocks=function(){return null!=M?M:(M=!1,(t=h.getElementsByTagName("body")[0])&&t.style?(e=h.createElement("div"),(n=h.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",t.appendChild(n).appendChild(e),void 0!==e.style.zoom&&(e.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",e.appendChild(h.createElement("div")).style.width="5px",M=3!==e.offsetWidth),t.removeChild(n),M):void 0);var e,t,n};var W=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,U=new RegExp("^(?:([+-])=|)("+W+")([a-z%]*)$","i"),V=["Top","Right","Bottom","Left"],X=function(e,t){return e=t||e,"none"===E.css(e,"display")||!E.contains(e.ownerDocument,e)};function Y(e,t,n,i){var o,r=1,a=20,s=i?function(){return i.cur()}:function(){return E.css(e,t,"")},l=s(),c=n&&n[3]||(E.cssNumber[t]?"":"px"),u=(E.cssNumber[t]||"px"!==c&&+l)&&U.exec(E.css(e,t));if(u&&u[3]!==c)for(c=c||u[3],n=n||[],u=+l||1;u/=r=r||".5",E.style(e,t,u+c),r!==(r=s()/l)&&1!==r&&--a;);return n&&(u=+u||+l||0,o=n[1]?u+(n[1]+1)*n[2]:+n[2],i&&(i.unit=c,i.start=u,i.end=o)),o}var Q,Z,J,G=function(e,t,n,i,o,r,a){var s=0,l=e.length,c=null==n;if("object"===E.type(n))for(s in o=!0,n)G(e,t,s,n[s],!0,r,a);else if(void 0!==i&&(o=!0,E.isFunction(i)||(a=!0),c&&(t=a?(t.call(e,i),null):(c=t,function(e,t,n){return c.call(E(e),n)})),t))for(;s<l;s++)t(e[s],n,a?i:i.call(e[s],s,t(e[s],n)));return o?e:c?t.call(e):l?t(e[0],n):r},K=/^(?:checkbox|radio)$/i,ee=/<([\w:-]+)/,te=/^$|\/(?:java|ecma)script/i,ne=/^\s+/,ie="abbr|article|aside|audio|bdi|canvas|data|datalist|details|dialog|figcaption|figure|footer|header|hgroup|main|mark|meter|nav|output|picture|progress|section|summary|template|time|video";function oe(e){var t=ie.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}Q=h.createElement("div"),Z=h.createDocumentFragment(),J=h.createElement("input"),Q.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",v.leadingWhitespace=3===Q.firstChild.nodeType,v.tbody=!Q.getElementsByTagName("tbody").length,v.htmlSerialize=!!Q.getElementsByTagName("link").length,v.html5Clone="<:nav></:nav>"!==h.createElement("nav").cloneNode(!0).outerHTML,J.type="checkbox",J.checked=!0,Z.appendChild(J),v.appendChecked=J.checked,Q.innerHTML="<textarea>x</textarea>",v.noCloneChecked=!!Q.cloneNode(!0).lastChild.defaultValue,Z.appendChild(Q),(J=h.createElement("input")).setAttribute("type","radio"),J.setAttribute("checked","checked"),J.setAttribute("name","t"),Q.appendChild(J),v.checkClone=Q.cloneNode(!0).cloneNode(!0).lastChild.checked,v.noCloneEvent=!!Q.addEventListener,Q[E.expando]=1,v.attributes=!Q.getAttribute(E.expando);var re={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:v.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]};function ae(e,t){var n,i,o=0,r=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):void 0;if(!r)for(r=[],n=e.childNodes||e;null!=(i=n[o]);o++)!t||E.nodeName(i,t)?r.push(i):E.merge(r,ae(i,t));return void 0===t||t&&E.nodeName(e,t)?E.merge([e],r):r}function se(e,t){for(var n,i=0;null!=(n=e[i]);i++)E._data(n,"globalEval",!t||E._data(t[i],"globalEval"))}re.optgroup=re.option,re.tbody=re.tfoot=re.colgroup=re.caption=re.thead,re.th=re.td;var le=/<|&#?\w+;/,ce=/<tbody/i;function ue(e){K.test(e.type)&&(e.defaultChecked=e.checked)}function de(e,t,n,i,o){for(var r,a,s,l,c,u,d,f=e.length,p=oe(t),h=[],m=0;m<f;m++)if((a=e[m])||0===a)if("object"===E.type(a))E.merge(h,a.nodeType?[a]:a);else if(le.test(a)){for(l=l||p.appendChild(t.createElement("div")),c=(ee.exec(a)||["",""])[1].toLowerCase(),d=re[c]||re._default,l.innerHTML=d[1]+E.htmlPrefilter(a)+d[2],r=d[0];r--;)l=l.lastChild;if(!v.leadingWhitespace&&ne.test(a)&&h.push(t.createTextNode(ne.exec(a)[0])),!v.tbody)for(r=(a="table"!==c||ce.test(a)?"<table>"!==d[1]||ce.test(a)?0:l:l.firstChild)&&a.childNodes.length;r--;)E.nodeName(u=a.childNodes[r],"tbody")&&!u.childNodes.length&&a.removeChild(u);for(E.merge(h,l.childNodes),l.textContent="";l.firstChild;)l.removeChild(l.firstChild);l=p.lastChild}else h.push(t.createTextNode(a));for(l&&p.removeChild(l),v.appendChecked||E.grep(ae(h,"input"),ue),m=0;a=h[m++];)if(i&&-1<E.inArray(a,i))o&&o.push(a);else if(s=E.contains(a.ownerDocument,a),l=ae(p.appendChild(a),"script"),s&&se(l),n)for(r=0;a=l[r++];)te.test(a.type||"")&&n.push(a);return l=null,p}!function(){var e,t,n=h.createElement("div");for(e in{submit:!0,change:!0,focusin:!0})t="on"+e,(v[e]=t in C)||(n.setAttribute(t,"t"),v[e]=!1===n.attributes[t].expando);n=null}();var fe=/^(?:input|select|textarea)$/i,pe=/^key/,he=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,me=/^(?:focusinfocus|focusoutblur)$/,ge=/^([^.]*)(?:\.(.+)|)/;function ve(){return!0}function ye(){return!1}function be(){try{return h.activeElement}catch(e){}}function we(e,t,n,i,o,r){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(i=i||n,n=void 0),t)we(e,s,n,i,t[s],r);return e}if(null==i&&null==o?(o=n,i=n=void 0):null==o&&("string"==typeof n?(o=i,i=void 0):(o=i,i=n,n=void 0)),!1===o)o=ye;else if(!o)return e;return 1===r&&(a=o,(o=function(e){return E().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=E.guid++)),e.each(function(){E.event.add(this,t,o,i,n)})}E.event={global:{},add:function(e,t,n,i,o){var r,a,s,l,c,u,d,f,p,h,m,g=E._data(e);if(g){for(n.handler&&(n=(l=n).handler,o=l.selector),n.guid||(n.guid=E.guid++),(a=g.events)||(a=g.events={}),(u=g.handle)||((u=g.handle=function(e){return void 0===E||e&&E.event.triggered===e.type?void 0:E.event.dispatch.apply(u.elem,arguments)}).elem=e),s=(t=(t||"").match(L)||[""]).length;s--;)p=m=(r=ge.exec(t[s])||[])[1],h=(r[2]||"").split(".").sort(),p&&(c=E.event.special[p]||{},p=(o?c.delegateType:c.bindType)||p,c=E.event.special[p]||{},d=E.extend({type:p,origType:m,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&E.expr.match.needsContext.test(o),namespace:h.join(".")},l),(f=a[p])||((f=a[p]=[]).delegateCount=0,c.setup&&!1!==c.setup.call(e,i,h,u)||(e.addEventListener?e.addEventListener(p,u,!1):e.attachEvent&&e.attachEvent("on"+p,u))),c.add&&(c.add.call(e,d),d.handler.guid||(d.handler.guid=n.guid)),o?f.splice(f.delegateCount++,0,d):f.push(d),E.event.global[p]=!0);e=null}},remove:function(e,t,n,i,o){var r,a,s,l,c,u,d,f,p,h,m,g=E.hasData(e)&&E._data(e);if(g&&(u=g.events)){for(c=(t=(t||"").match(L)||[""]).length;c--;)if(p=m=(s=ge.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),p){for(d=E.event.special[p]||{},f=u[p=(i?d.delegateType:d.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=r=f.length;r--;)a=f[r],!o&&m!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||i&&i!==a.selector&&("**"!==i||!a.selector)||(f.splice(r,1),a.selector&&f.delegateCount--,d.remove&&d.remove.call(e,a));l&&!f.length&&(d.teardown&&!1!==d.teardown.call(e,h,g.handle)||E.removeEvent(e,p,g.handle),delete u[p])}else for(p in u)E.event.remove(e,p+t[c],n,i,!0);E.isEmptyObject(u)&&(delete g.handle,E._removeData(e,"events"))}},trigger:function(e,t,n,i){var o,r,a,s,l,c,u,d=[n||h],f=g.call(e,"type")?e.type:e,p=g.call(e,"namespace")?e.namespace.split("."):[];if(a=c=n=n||h,3!==n.nodeType&&8!==n.nodeType&&!me.test(f+E.event.triggered)&&(-1<f.indexOf(".")&&(f=(p=f.split(".")).shift(),p.sort()),r=f.indexOf(":")<0&&"on"+f,(e=e[E.expando]?e:new E.Event(f,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=p.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:E.makeArray(t,[e]),l=E.event.special[f]||{},i||!l.trigger||!1!==l.trigger.apply(n,t))){if(!i&&!l.noBubble&&!E.isWindow(n)){for(s=l.delegateType||f,me.test(s+f)||(a=a.parentNode);a;a=a.parentNode)d.push(a),c=a;c===(n.ownerDocument||h)&&d.push(c.defaultView||c.parentWindow||C)}for(u=0;(a=d[u++])&&!e.isPropagationStopped();)e.type=1<u?s:l.bindType||f,(o=(E._data(a,"events")||{})[e.type]&&E._data(a,"handle"))&&o.apply(a,t),(o=r&&a[r])&&o.apply&&_(a)&&(e.result=o.apply(a,t),!1===e.result&&e.preventDefault());if(e.type=f,!i&&!e.isDefaultPrevented()&&(!l._default||!1===l._default.apply(d.pop(),t))&&_(n)&&r&&n[f]&&!E.isWindow(n)){(c=n[r])&&(n[r]=null),E.event.triggered=f;try{n[f]()}catch(e){}E.event.triggered=void 0,c&&(n[r]=c)}return e.result}},dispatch:function(e){e=E.event.fix(e);var t,n,i,o,r,a,s=u.call(arguments),l=(E._data(this,"events")||{})[e.type]||[],c=E.event.special[e.type]||{};if((s[0]=e).delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,e)){for(a=E.event.handlers.call(this,e,l),t=0;(o=a[t++])&&!e.isPropagationStopped();)for(e.currentTarget=o.elem,n=0;(r=o.handlers[n++])&&!e.isImmediatePropagationStopped();)e.rnamespace&&!e.rnamespace.test(r.namespace)||(e.handleObj=r,e.data=r.data,void 0!==(i=((E.event.special[r.origType]||{}).handle||r.handler).apply(o.elem,s))&&!1===(e.result=i)&&(e.preventDefault(),e.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,i,o,r,a=[],s=t.delegateCount,l=e.target;if(s&&l.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==e.type)){for(i=[],n=0;n<s;n++)void 0===i[o=(r=t[n]).selector+" "]&&(i[o]=r.needsContext?-1<E(o,this).index(l):E.find(o,this,null,[l]).length),i[o]&&i.push(r);i.length&&a.push({elem:l,handlers:i})}return s<t.length&&a.push({elem:this,handlers:t.slice(s)}),a},fix:function(e){if(e[E.expando])return e;var t,n,i,o=e.type,r=e,a=this.fixHooks[o];for(a||(this.fixHooks[o]=a=he.test(o)?this.mouseHooks:pe.test(o)?this.keyHooks:{}),i=a.props?this.props.concat(a.props):this.props,e=new E.Event(r),t=i.length;t--;)e[n=i[t]]=r[n];return e.target||(e.target=r.srcElement||h),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,a.filter?a.filter(e,r):e},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,i,o,r=t.button,a=t.fromElement;return null==e.pageX&&null!=t.clientX&&(o=(i=e.target.ownerDocument||h).documentElement,n=i.body,e.pageX=t.clientX+(o&&o.scrollLeft||n&&n.scrollLeft||0)-(o&&o.clientLeft||n&&n.clientLeft||0),e.pageY=t.clientY+(o&&o.scrollTop||n&&n.scrollTop||0)-(o&&o.clientTop||n&&n.clientTop||0)),!e.relatedTarget&&a&&(e.relatedTarget=a===e.target?t.toElement:a),e.which||void 0===r||(e.which=1&r?1:2&r?3:4&r?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==be()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){if(this===be()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(E.nodeName(this,"input")&&"checkbox"===this.type&&this.click)return this.click(),!1},_default:function(e){return E.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n){var i=E.extend(new E.Event,n,{type:e,isSimulated:!0});E.event.trigger(i,null,t),i.isDefaultPrevented()&&n.preventDefault()}},E.removeEvent=h.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)}:function(e,t,n){var i="on"+t;e.detachEvent&&(void 0===e[i]&&(e[i]=null),e.detachEvent(i,n))},E.Event=function(e,t){if(!(this instanceof E.Event))return new E.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?ve:ye):this.type=e,t&&E.extend(this,t),this.timeStamp=e&&e.timeStamp||E.now(),this[E.expando]=!0},E.Event.prototype={constructor:E.Event,isDefaultPrevented:ye,isPropagationStopped:ye,isImmediatePropagationStopped:ye,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=ve,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=ve,e&&!this.isSimulated&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=ve,e&&e.stopImmediatePropagation&&e.stopImmediatePropagation(),this.stopPropagation()}},E.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,o){E.event.special[e]={delegateType:o,bindType:o,handle:function(e){var t,n=e.relatedTarget,i=e.handleObj;return n&&(n===this||E.contains(this,n))||(e.type=i.origType,t=i.handler.apply(this,arguments),e.type=o),t}}}),v.submit||(E.event.special.submit={setup:function(){if(E.nodeName(this,"form"))return!1;E.event.add(this,"click._submit keypress._submit",function(e){var t=e.target,n=E.nodeName(t,"input")||E.nodeName(t,"button")?E.prop(t,"form"):void 0;n&&!E._data(n,"submit")&&(E.event.add(n,"submit._submit",function(e){e._submitBubble=!0}),E._data(n,"submit",!0))})},postDispatch:function(e){e._submitBubble&&(delete e._submitBubble,this.parentNode&&!e.isTrigger&&E.event.simulate("submit",this.parentNode,e))},teardown:function(){if(E.nodeName(this,"form"))return!1;E.event.remove(this,"._submit")}}),v.change||(E.event.special.change={setup:function(){if(fe.test(this.nodeName))return"checkbox"!==this.type&&"radio"!==this.type||(E.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._justChanged=!0)}),E.event.add(this,"click._change",function(e){this._justChanged&&!e.isTrigger&&(this._justChanged=!1),E.event.simulate("change",this,e)})),!1;E.event.add(this,"beforeactivate._change",function(e){var t=e.target;fe.test(t.nodeName)&&!E._data(t,"change")&&(E.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||E.event.simulate("change",this.parentNode,e)}),E._data(t,"change",!0))})},handle:function(e){var t=e.target;if(this!==t||e.isSimulated||e.isTrigger||"radio"!==t.type&&"checkbox"!==t.type)return e.handleObj.handler.apply(this,arguments)},teardown:function(){return E.event.remove(this,"._change"),!fe.test(this.nodeName)}}),v.focusin||E.each({focus:"focusin",blur:"focusout"},function(n,i){var o=function(e){E.event.simulate(i,e.target,E.event.fix(e))};E.event.special[i]={setup:function(){var e=this.ownerDocument||this,t=E._data(e,i);t||e.addEventListener(n,o,!0),E._data(e,i,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this,t=E._data(e,i)-1;t?E._data(e,i,t):(e.removeEventListener(n,o,!0),E._removeData(e,i))}}}),E.fn.extend({on:function(e,t,n,i){return we(this,e,t,n,i)},one:function(e,t,n,i){return we(this,e,t,n,i,1)},off:function(e,t,n){var i,o;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,E(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"!=typeof e)return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=ye),this.each(function(){E.event.remove(this,e,n,t)});for(o in e)this.off(o,t,e[o]);return this},trigger:function(e,t){return this.each(function(){E.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return E.event.trigger(e,t,n,!0)}});var xe=/ jQuery\d+="(?:null|\d+)"/g,Te=new RegExp("<(?:"+ie+")[\\s/>]","i"),Ce=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,Ee=/<script|<style|<link/i,ke=/checked\s*(?:[^=]|=\s*.checked.)/i,$e=/^true\/(.*)/,Se=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,Ae=oe(h).appendChild(h.createElement("div"));function Ne(e,t){return E.nodeName(e,"table")&&E.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function De(e){return e.type=(null!==E.find.attr(e,"type"))+"/"+e.type,e}function je(e){var t=$e.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function Ie(e,t){if(1===t.nodeType&&E.hasData(e)){var n,i,o,r=E._data(e),a=E._data(t,r),s=r.events;if(s)for(n in delete a.handle,a.events={},s)for(i=0,o=s[n].length;i<o;i++)E.event.add(t,n,s[n][i]);a.data&&(a.data=E.extend({},a.data))}}function Le(e,t){var n,i,o;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!v.noCloneEvent&&t[E.expando]){for(i in(o=E._data(t)).events)E.removeEvent(t,i,o.handle);t.removeAttribute(E.expando)}"script"===n&&t.text!==e.text?(De(t).text=e.text,je(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),v.html5Clone&&e.innerHTML&&!E.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&K.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}}function Oe(n,i,o,r){i=m.apply([],i);var e,t,a,s,l,c,u=0,d=n.length,f=d-1,p=i[0],h=E.isFunction(p);if(h||1<d&&"string"==typeof p&&!v.checkClone&&ke.test(p))return n.each(function(e){var t=n.eq(e);h&&(i[0]=p.call(this,e,t.html())),Oe(t,i,o,r)});if(d&&(e=(c=de(i,n[0].ownerDocument,!1,n,r)).firstChild,1===c.childNodes.length&&(c=e),e||r)){for(a=(s=E.map(ae(c,"script"),De)).length;u<d;u++)t=c,u!==f&&(t=E.clone(t,!0,!0),a&&E.merge(s,ae(t,"script"))),o.call(n[u],t,u);if(a)for(l=s[s.length-1].ownerDocument,E.map(s,je),u=0;u<a;u++)t=s[u],te.test(t.type||"")&&!E._data(t,"globalEval")&&E.contains(l,t)&&(t.src?E._evalUrl&&E._evalUrl(t.src):E.globalEval((t.text||t.textContent||t.innerHTML||"").replace(Se,"")));c=e=null}return n}function He(e,t,n){for(var i,o=t?E.filter(t,e):e,r=0;null!=(i=o[r]);r++)n||1!==i.nodeType||E.cleanData(ae(i)),i.parentNode&&(n&&E.contains(i.ownerDocument,i)&&se(ae(i,"script")),i.parentNode.removeChild(i));return e}E.extend({htmlPrefilter:function(e){return e.replace(Ce,"<$1></$2>")},clone:function(e,t,n){var i,o,r,a,s,l=E.contains(e.ownerDocument,e);if(v.html5Clone||E.isXMLDoc(e)||!Te.test("<"+e.nodeName+">")?r=e.cloneNode(!0):(Ae.innerHTML=e.outerHTML,Ae.removeChild(r=Ae.firstChild)),!(v.noCloneEvent&&v.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||E.isXMLDoc(e)))for(i=ae(r),s=ae(e),a=0;null!=(o=s[a]);++a)i[a]&&Le(o,i[a]);if(t)if(n)for(s=s||ae(e),i=i||ae(r),a=0;null!=(o=s[a]);a++)Ie(o,i[a]);else Ie(e,r);return 0<(i=ae(r,"script")).length&&se(i,!l&&ae(e,"script")),i=s=o=null,r},cleanData:function(e,t){for(var n,i,o,r,a=0,s=E.expando,l=E.cache,c=v.attributes,u=E.event.special;null!=(n=e[a]);a++)if((t||_(n))&&(r=(o=n[s])&&l[o])){if(r.events)for(i in r.events)u[i]?E.event.remove(n,i):E.removeEvent(n,i,r.handle);l[o]&&(delete l[o],c||void 0===n.removeAttribute?n[s]=void 0:n.removeAttribute(s),d.push(o))}}}),E.fn.extend({domManip:Oe,detach:function(e){return He(this,e,!0)},remove:function(e){return He(this,e)},text:function(e){return G(this,function(e){return void 0===e?E.text(this):this.empty().append((this[0]&&this[0].ownerDocument||h).createTextNode(e))},null,e,arguments.length)},append:function(){return Oe(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ne(this,e).appendChild(e)})},prepend:function(){return Oe(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Ne(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Oe(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Oe(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&E.cleanData(ae(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&E.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return E.clone(this,e,t)})},html:function(e){return G(this,function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e)return 1===t.nodeType?t.innerHTML.replace(xe,""):void 0;if("string"==typeof e&&!Ee.test(e)&&(v.htmlSerialize||!Te.test(e))&&(v.leadingWhitespace||!ne.test(e))&&!re[(ee.exec(e)||["",""])[1].toLowerCase()]){e=E.htmlPrefilter(e);try{for(;n<i;n++)1===(t=this[n]||{}).nodeType&&(E.cleanData(ae(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return Oe(this,arguments,function(e){var t=this.parentNode;E.inArray(this,n)<0&&(E.cleanData(ae(this)),t&&t.replaceChild(e,this))},n)}}),E.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){E.fn[e]=function(e){for(var t,n=0,i=[],o=E(e),r=o.length-1;n<=r;n++)t=n===r?this:this.clone(!0),E(o[n])[a](t),s.apply(i,t.get());return this.pushStack(i)}});var Me,_e={HTML:"block",BODY:"block"};function Fe(e,t){var n=E(t.createElement(e)).appendTo(t.body),i=E.css(n[0],"display");return n.detach(),i}function Re(e){var t=h,n=_e[e];return n||("none"!==(n=Fe(e,t))&&n||((t=((Me=(Me||E("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement))[0].contentWindow||Me[0].contentDocument).document).write(),t.close(),n=Fe(e,t),Me.detach()),_e[e]=n),n}var Pe=/^margin/,qe=new RegExp("^("+W+")(?!px)[a-z%]+$","i"),Be=function(e,t,n,i){var o,r,a={};for(r in t)a[r]=e.style[r],e.style[r]=t[r];for(r in o=n.apply(e,i||[]),t)e.style[r]=a[r];return o},ze=h.documentElement;!function(){var i,o,r,a,s,l,c=h.createElement("div"),u=h.createElement("div");function e(){var e,t,n=h.documentElement;n.appendChild(c),u.style.cssText="-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",i=r=l=!1,o=s=!0,C.getComputedStyle&&(t=C.getComputedStyle(u),i="1%"!==(t||{}).top,l="2px"===(t||{}).marginLeft,r="4px"===(t||{width:"4px"}).width,u.style.marginRight="50%",o="4px"===(t||{marginRight:"4px"}).marginRight,(e=u.appendChild(h.createElement("div"))).style.cssText=u.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",e.style.marginRight=e.style.width="0",u.style.width="1px",s=!parseFloat((C.getComputedStyle(e)||{}).marginRight),u.removeChild(e)),u.style.display="none",(a=0===u.getClientRects().length)&&(u.style.display="",u.innerHTML="<table><tr><td></td><td>t</td></tr></table>",u.childNodes[0].style.borderCollapse="separate",(e=u.getElementsByTagName("td"))[0].style.cssText="margin:0;border:0;padding:0;display:none",(a=0===e[0].offsetHeight)&&(e[0].style.display="",e[1].style.display="none",a=0===e[0].offsetHeight)),n.removeChild(c)}u.style&&(u.style.cssText="float:left;opacity:.5",v.opacity="0.5"===u.style.opacity,v.cssFloat=!!u.style.cssFloat,u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",v.clearCloneStyle="content-box"===u.style.backgroundClip,(c=h.createElement("div")).style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",u.innerHTML="",c.appendChild(u),v.boxSizing=""===u.style.boxSizing||""===u.style.MozBoxSizing||""===u.style.WebkitBoxSizing,E.extend(v,{reliableHiddenOffsets:function(){return null==i&&e(),a},boxSizingReliable:function(){return null==i&&e(),r},pixelMarginRight:function(){return null==i&&e(),o},pixelPosition:function(){return null==i&&e(),i},reliableMarginRight:function(){return null==i&&e(),s},reliableMarginLeft:function(){return null==i&&e(),l}}))}();var We,Ue,Ve=/^(top|right|bottom|left)$/;function Xe(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}C.getComputedStyle?(We=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=C),t.getComputedStyle(e)},Ue=function(e,t,n){var i,o,r,a,s=e.style;return""!==(a=(n=n||We(e))?n.getPropertyValue(t)||n[t]:void 0)&&void 0!==a||E.contains(e.ownerDocument,e)||(a=E.style(e,t)),n&&!v.pixelMarginRight()&&qe.test(a)&&Pe.test(t)&&(i=s.width,o=s.minWidth,r=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=i,s.minWidth=o,s.maxWidth=r),void 0===a?a:a+""}):ze.currentStyle&&(We=function(e){return e.currentStyle},Ue=function(e,t,n){var i,o,r,a,s=e.style;return null==(a=(n=n||We(e))?n[t]:void 0)&&s&&s[t]&&(a=s[t]),qe.test(a)&&!Ve.test(t)&&(i=s.left,(r=(o=e.runtimeStyle)&&o.left)&&(o.left=e.currentStyle.left),s.left="fontSize"===t?"1em":a,a=s.pixelLeft+"px",s.left=i,r&&(o.left=r)),void 0===a?a:a+""||"auto"});var Ye=/alpha\([^)]*\)/i,Qe=/opacity\s*=\s*([^)]*)/i,Ze=/^(none|table(?!-c[ea]).+)/,Je=new RegExp("^("+W+")(.*)$","i"),Ge={position:"absolute",visibility:"hidden",display:"block"},Ke={letterSpacing:"0",fontWeight:"400"},et=["Webkit","O","Moz","ms"],tt=h.createElement("div").style;function nt(e){if(e in tt)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=et.length;n--;)if((e=et[n]+t)in tt)return e}function it(e,t){for(var n,i,o,r=[],a=0,s=e.length;a<s;a++)(i=e[a]).style&&(r[a]=E._data(i,"olddisplay"),n=i.style.display,t?(r[a]||"none"!==n||(i.style.display=""),""===i.style.display&&X(i)&&(r[a]=E._data(i,"olddisplay",Re(i.nodeName)))):(o=X(i),(n&&"none"!==n||!o)&&E._data(i,"olddisplay",o?n:E.css(i,"display"))));for(a=0;a<s;a++)(i=e[a]).style&&(t&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=t?r[a]||"":"none"));return e}function ot(e,t,n){var i=Je.exec(t);return i?Math.max(0,i[1]-(n||0))+(i[2]||"px"):t}function rt(e,t,n,i,o){for(var r=n===(i?"border":"content")?4:"width"===t?1:0,a=0;r<4;r+=2)"margin"===n&&(a+=E.css(e,n+V[r],!0,o)),i?("content"===n&&(a-=E.css(e,"padding"+V[r],!0,o)),"margin"!==n&&(a-=E.css(e,"border"+V[r]+"Width",!0,o))):(a+=E.css(e,"padding"+V[r],!0,o),"padding"!==n&&(a+=E.css(e,"border"+V[r]+"Width",!0,o)));return a}function at(e,t,n){var i=!0,o="width"===t?e.offsetWidth:e.offsetHeight,r=We(e),a=v.boxSizing&&"border-box"===E.css(e,"boxSizing",!1,r);if(o<=0||null==o){if(((o=Ue(e,t,r))<0||null==o)&&(o=e.style[t]),qe.test(o))return o;i=a&&(v.boxSizingReliable()||o===e.style[t]),o=parseFloat(o)||0}return o+rt(e,t,n||(a?"border":"content"),i,r)+"px"}function st(e,t,n,i,o){return new st.prototype.init(e,t,n,i,o)}E.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ue(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:v.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,r,a,s=E.camelCase(t),l=e.style;if(t=E.cssProps[s]||(E.cssProps[s]=nt(s)||s),a=E.cssHooks[t]||E.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(o=a.get(e,!1,i))?o:l[t];if("string"===(r=typeof n)&&(o=U.exec(n))&&o[1]&&(n=Y(e,t,o),r="number"),null!=n&&n==n&&("number"===r&&(n+=o&&o[3]||(E.cssNumber[s]?"":"px")),v.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),!(a&&"set"in a&&void 0===(n=a.set(e,n,i)))))try{l[t]=n}catch(e){}}},css:function(e,t,n,i){var o,r,a,s=E.camelCase(t);return t=E.cssProps[s]||(E.cssProps[s]=nt(s)||s),(a=E.cssHooks[t]||E.cssHooks[s])&&"get"in a&&(r=a.get(e,!0,n)),void 0===r&&(r=Ue(e,t,i)),"normal"===r&&t in Ke&&(r=Ke[t]),""===n||n?(o=parseFloat(r),!0===n||isFinite(o)?o||0:r):r}}),E.each(["height","width"],function(e,o){E.cssHooks[o]={get:function(e,t,n){if(t)return Ze.test(E.css(e,"display"))&&0===e.offsetWidth?Be(e,Ge,function(){return at(e,o,n)}):at(e,o,n)},set:function(e,t,n){var i=n&&We(e);return ot(0,t,n?rt(e,o,n,v.boxSizing&&"border-box"===E.css(e,"boxSizing",!1,i),i):0)}}}),v.opacity||(E.cssHooks.opacity={get:function(e,t){return Qe.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,i=e.currentStyle,o=E.isNumeric(t)?"alpha(opacity="+100*t+")":"",r=i&&i.filter||n.filter||"";((n.zoom=1)<=t||""===t)&&""===E.trim(r.replace(Ye,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||i&&!i.filter)||(n.filter=Ye.test(r)?r.replace(Ye,o):r+" "+o)}}),E.cssHooks.marginRight=Xe(v.reliableMarginRight,function(e,t){if(t)return Be(e,{display:"inline-block"},Ue,[e,"marginRight"])}),E.cssHooks.marginLeft=Xe(v.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Ue(e,"marginLeft"))||(E.contains(e.ownerDocument,e)?e.getBoundingClientRect().left-Be(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}):0))+"px"}),E.each({margin:"",padding:"",border:"Width"},function(o,r){E.cssHooks[o+r]={expand:function(e){for(var t=0,n={},i="string"==typeof e?e.split(" "):[e];t<4;t++)n[o+V[t]+r]=i[t]||i[t-2]||i[0];return n}},Pe.test(o)||(E.cssHooks[o+r].set=ot)}),E.fn.extend({css:function(e,t){return G(this,function(e,t,n){var i,o,r={},a=0;if(E.isArray(t)){for(i=We(e),o=t.length;a<o;a++)r[t[a]]=E.css(e,t[a],!1,i);return r}return void 0!==n?E.style(e,t,n):E.css(e,t)},e,t,1<arguments.length)},show:function(){return it(this,!0)},hide:function(){return it(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){X(this)?E(this).show():E(this).hide()})}}),((E.Tween=st).prototype={constructor:st,init:function(e,t,n,i,o,r){this.elem=e,this.prop=n,this.easing=o||E.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=r||(E.cssNumber[n]?"":"px")},cur:function(){var e=st.propHooks[this.prop];return e&&e.get?e.get(this):st.propHooks._default.get(this)},run:function(e){var t,n=st.propHooks[this.prop];return this.options.duration?this.pos=t=E.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):st.propHooks._default.set(this),this}}).init.prototype=st.prototype,(st.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=E.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){E.fx.step[e.prop]?E.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[E.cssProps[e.prop]]&&!E.cssHooks[e.prop]?e.elem[e.prop]=e.now:E.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=st.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},E.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},E.fx=st.prototype.init,E.fx.step={};var lt,ct,ut,dt,ft,pt,ht,mt=/^(?:toggle|show|hide)$/,gt=/queueHooks$/;function vt(){return C.setTimeout(function(){lt=void 0}),lt=E.now()}function yt(e,t){var n,i={height:e},o=0;for(t=t?1:0;o<4;o+=2-t)i["margin"+(n=V[o])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function bt(e,t,n){for(var i,o=(wt.tweeners[t]||[]).concat(wt.tweeners["*"]),r=0,a=o.length;r<a;r++)if(i=o[r].call(n,t,e))return i}function wt(r,e,t){var n,a,i=0,o=wt.prefilters.length,s=E.Deferred().always(function(){delete l.elem}),l=function(){if(a)return!1;for(var e=lt||vt(),t=Math.max(0,c.startTime+c.duration-e),n=1-(t/c.duration||0),i=0,o=c.tweens.length;i<o;i++)c.tweens[i].run(n);return s.notifyWith(r,[c,n,t]),n<1&&o?t:(s.resolveWith(r,[c]),!1)},c=s.promise({elem:r,props:E.extend({},e),opts:E.extend(!0,{specialEasing:{},easing:E.easing._default},t),originalProperties:e,originalOptions:t,startTime:lt||vt(),duration:t.duration,tweens:[],createTween:function(e,t){var n=E.Tween(r,c.opts,e,t,c.opts.specialEasing[e]||c.opts.easing);return c.tweens.push(n),n},stop:function(e){var t=0,n=e?c.tweens.length:0;if(a)return this;for(a=!0;t<n;t++)c.tweens[t].run(1);return e?(s.notifyWith(r,[c,1,0]),s.resolveWith(r,[c,e])):s.rejectWith(r,[c,e]),this}}),u=c.props;for(!function(e,t){var n,i,o,r,a;for(n in e)if(o=t[i=E.camelCase(n)],r=e[n],E.isArray(r)&&(o=r[1],r=e[n]=r[0]),n!==i&&(e[i]=r,delete e[n]),(a=E.cssHooks[i])&&"expand"in a)for(n in r=a.expand(r),delete e[i],r)n in e||(e[n]=r[n],t[n]=o);else t[i]=o}(u,c.opts.specialEasing);i<o;i++)if(n=wt.prefilters[i].call(c,r,u,c.opts))return E.isFunction(n.stop)&&(E._queueHooks(c.elem,c.opts.queue).stop=E.proxy(n.stop,n)),n;return E.map(u,bt,c),E.isFunction(c.opts.start)&&c.opts.start.call(r,c),E.fx.timer(E.extend(l,{elem:r,anim:c,queue:c.opts.queue})),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always)}E.Animation=E.extend(wt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return Y(n.elem,e,U.exec(t),n),n}]},tweener:function(e,t){for(var n,i=0,o=(e=E.isFunction(e)?(t=e,["*"]):e.match(L)).length;i<o;i++)n=e[i],wt.tweeners[n]=wt.tweeners[n]||[],wt.tweeners[n].unshift(t)},prefilters:[function(t,e,n){var i,o,r,a,s,l,c,u=this,d={},f=t.style,p=t.nodeType&&X(t),h=E._data(t,"fxshow");for(i in n.queue||(null==(s=E._queueHooks(t,"fx")).unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,u.always(function(){u.always(function(){s.unqueued--,E.queue(t,"fx").length||s.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],"inline"===("none"===(c=E.css(t,"display"))?E._data(t,"olddisplay")||Re(t.nodeName):c)&&"none"===E.css(t,"float")&&(v.inlineBlockNeedsLayout&&"inline"!==Re(t.nodeName)?f.zoom=1:f.display="inline-block")),n.overflow&&(f.overflow="hidden",v.shrinkWrapBlocks()||u.always(function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]})),e)if(o=e[i],mt.exec(o)){if(delete e[i],r=r||"toggle"===o,o===(p?"hide":"show")){if("show"!==o||!h||void 0===h[i])continue;p=!0}d[i]=h&&h[i]||E.style(t,i)}else c=void 0;if(E.isEmptyObject(d))"inline"===("none"===c?Re(t.nodeName):c)&&(f.display=c);else for(i in h?"hidden"in h&&(p=h.hidden):h=E._data(t,"fxshow",{}),r&&(h.hidden=!p),p?E(t).show():u.done(function(){E(t).hide()}),u.done(function(){var e;for(e in E._removeData(t,"fxshow"),d)E.style(t,e,d[e])}),d)a=bt(p?h[i]:0,i,u),i in h||(h[i]=a.start,p&&(a.end=a.start,a.start="width"===i||"height"===i?1:0))}],prefilter:function(e,t){t?wt.prefilters.unshift(e):wt.prefilters.push(e)}}),E.speed=function(e,t,n){var i=e&&"object"==typeof e?E.extend({},e):{complete:n||!n&&t||E.isFunction(e)&&e,duration:e,easing:n&&t||t&&!E.isFunction(t)&&t};return i.duration=E.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in E.fx.speeds?E.fx.speeds[i.duration]:E.fx.speeds._default,null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){E.isFunction(i.old)&&i.old.call(this),i.queue&&E.dequeue(this,i.queue)},i},E.fn.extend({fadeTo:function(e,t,n,i){return this.filter(X).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(t,e,n,i){var o=E.isEmptyObject(t),r=E.speed(e,n,i),a=function(){var e=wt(this,E.extend({},t),r);(o||E._data(this,"finish"))&&e.stop(!0)};return a.finish=a,o||!1===r.queue?this.each(a):this.queue(r.queue,a)},stop:function(o,e,r){var a=function(e){var t=e.stop;delete e.stop,t(r)};return"string"!=typeof o&&(r=e,e=o,o=void 0),e&&!1!==o&&this.queue(o||"fx",[]),this.each(function(){var e=!0,t=null!=o&&o+"queueHooks",n=E.timers,i=E._data(this);if(t)i[t]&&i[t].stop&&a(i[t]);else for(t in i)i[t]&&i[t].stop&&gt.test(t)&&a(i[t]);for(t=n.length;t--;)n[t].elem!==this||null!=o&&n[t].queue!==o||(n[t].anim.stop(r),e=!1,n.splice(t,1));!e&&r||E.dequeue(this,o)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var e,t=E._data(this),n=t[a+"queue"],i=t[a+"queueHooks"],o=E.timers,r=n?n.length:0;for(t.finish=!0,E.queue(this,a,[]),i&&i.stop&&i.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===a&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;e<r;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),E.each(["toggle","show","hide"],function(e,i){var o=E.fn[i];E.fn[i]=function(e,t,n){return null==e||"boolean"==typeof e?o.apply(this,arguments):this.animate(yt(i,!0),e,t,n)}}),E.each({slideDown:yt("show"),slideUp:yt("hide"),slideToggle:yt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,i){E.fn[e]=function(e,t,n){return this.animate(i,e,t,n)}}),E.timers=[],E.fx.tick=function(){var e,t=E.timers,n=0;for(lt=E.now();n<t.length;n++)(e=t[n])()||t[n]!==e||t.splice(n--,1);t.length||E.fx.stop(),lt=void 0},E.fx.timer=function(e){E.timers.push(e),e()?E.fx.start():E.timers.pop()},E.fx.interval=13,E.fx.start=function(){ct||(ct=C.setInterval(E.fx.tick,E.fx.interval))},E.fx.stop=function(){C.clearInterval(ct),ct=null},E.fx.speeds={slow:600,fast:200,_default:400},E.fn.delay=function(i,e){return i=E.fx&&E.fx.speeds[i]||i,e=e||"fx",this.queue(e,function(e,t){var n=C.setTimeout(e,i);t.stop=function(){C.clearTimeout(n)}})},dt=h.createElement("input"),ft=h.createElement("div"),pt=h.createElement("select"),ht=pt.appendChild(h.createElement("option")),(ft=h.createElement("div")).setAttribute("className","t"),ft.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",ut=ft.getElementsByTagName("a")[0],dt.setAttribute("type","checkbox"),ft.appendChild(dt),(ut=ft.getElementsByTagName("a")[0]).style.cssText="top:1px",v.getSetAttribute="t"!==ft.className,v.style=/top/.test(ut.getAttribute("style")),v.hrefNormalized="/a"===ut.getAttribute("href"),v.checkOn=!!dt.value,v.optSelected=ht.selected,v.enctype=!!h.createElement("form").enctype,pt.disabled=!0,v.optDisabled=!ht.disabled,(dt=h.createElement("input")).setAttribute("value",""),v.input=""===dt.getAttribute("value"),dt.value="t",dt.setAttribute("type","radio"),v.radioValue="t"===dt.value;var xt=/\r/g,Tt=/[\x20\t\r\n\f]+/g;E.fn.extend({val:function(n){var i,e,o,t=this[0];return arguments.length?(o=E.isFunction(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=o?n.call(this,e,E(this).val()):n)?t="":"number"==typeof t?t+="":E.isArray(t)&&(t=E.map(t,function(e){return null==e?"":e+""})),(i=E.valHooks[this.type]||E.valHooks[this.nodeName.toLowerCase()])&&"set"in i&&void 0!==i.set(this,t,"value")||(this.value=t))})):t?(i=E.valHooks[t.type]||E.valHooks[t.nodeName.toLowerCase()])&&"get"in i&&void 0!==(e=i.get(t,"value"))?e:"string"==typeof(e=t.value)?e.replace(xt,""):null==e?"":e:void 0}}),E.extend({valHooks:{option:{get:function(e){var t=E.find.attr(e,"value");return null!=t?t:E.trim(E.text(e)).replace(Tt," ")}},select:{get:function(e){for(var t,n,i=e.options,o=e.selectedIndex,r="select-one"===e.type||o<0,a=r?null:[],s=r?o+1:i.length,l=o<0?s:r?o:0;l<s;l++)if(((n=i[l]).selected||l===o)&&(v.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!E.nodeName(n.parentNode,"optgroup"))){if(t=E(n).val(),r)return t;a.push(t)}return a},set:function(e,t){for(var n,i,o=e.options,r=E.makeArray(t),a=o.length;a--;)if(i=o[a],-1<E.inArray(E.valHooks.option.get(i),r))try{i.selected=n=!0}catch(e){i.scrollHeight}else i.selected=!1;return n||(e.selectedIndex=-1),o}}}}),E.each(["radio","checkbox"],function(){E.valHooks[this]={set:function(e,t){if(E.isArray(t))return e.checked=-1<E.inArray(E(e).val(),t)}},v.checkOn||(E.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Ct,Et,kt=E.expr.attrHandle,$t=/^(?:checked|selected)$/i,St=v.getSetAttribute,At=v.input;E.fn.extend({attr:function(e,t){return G(this,E.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){E.removeAttr(this,e)})}}),E.extend({attr:function(e,t,n){var i,o,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return void 0===e.getAttribute?E.prop(e,t,n):(1===r&&E.isXMLDoc(e)||(t=t.toLowerCase(),o=E.attrHooks[t]||(E.expr.match.bool.test(t)?Et:Ct)),void 0!==n?null===n?void E.removeAttr(e,t):o&&"set"in o&&void 0!==(i=o.set(e,n,t))?i:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(i=o.get(e,t))?i:null==(i=E.find.attr(e,t))?void 0:i)},attrHooks:{type:{set:function(e,t){if(!v.radioValue&&"radio"===t&&E.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i,o=0,r=t&&t.match(L);if(r&&1===e.nodeType)for(;n=r[o++];)i=E.propFix[n]||n,E.expr.match.bool.test(n)?At&&St||!$t.test(n)?e[i]=!1:e[E.camelCase("default-"+n)]=e[i]=!1:E.attr(e,n,""),e.removeAttribute(St?n:i)}}),Et={set:function(e,t,n){return!1===t?E.removeAttr(e,n):At&&St||!$t.test(n)?e.setAttribute(!St&&E.propFix[n]||n,n):e[E.camelCase("default-"+n)]=e[n]=!0,n}},E.each(E.expr.match.bool.source.match(/\w+/g),function(e,t){var r=kt[t]||E.find.attr;At&&St||!$t.test(t)?kt[t]=function(e,t,n){var i,o;return n||(o=kt[t],kt[t]=i,i=null!=r(e,t,n)?t.toLowerCase():null,kt[t]=o),i}:kt[t]=function(e,t,n){if(!n)return e[E.camelCase("default-"+t)]?t.toLowerCase():null}}),At&&St||(E.attrHooks.value={set:function(e,t,n){if(!E.nodeName(e,"input"))return Ct&&Ct.set(e,t,n);e.defaultValue=t}}),St||(Ct={set:function(e,t,n){var i=e.getAttributeNode(n);if(i||e.setAttributeNode(i=e.ownerDocument.createAttribute(n)),i.value=t+="","value"===n||t===e.getAttribute(n))return t}},kt.id=kt.name=kt.coords=function(e,t,n){var i;if(!n)return(i=e.getAttributeNode(t))&&""!==i.value?i.value:null},E.valHooks.button={get:function(e,t){var n=e.getAttributeNode(t);if(n&&n.specified)return n.value},set:Ct.set},E.attrHooks.contenteditable={set:function(e,t,n){Ct.set(e,""!==t&&t,n)}},E.each(["width","height"],function(e,n){E.attrHooks[n]={set:function(e,t){if(""===t)return e.setAttribute(n,"auto"),t}}})),v.style||(E.attrHooks.style={get:function(e){return e.style.cssText||void 0},set:function(e,t){return e.style.cssText=t+""}});var Nt=/^(?:input|select|textarea|button|object)$/i,Dt=/^(?:a|area)$/i;E.fn.extend({prop:function(e,t){return G(this,E.prop,e,t,1<arguments.length)},removeProp:function(e){return e=E.propFix[e]||e,this.each(function(){try{this[e]=void 0,delete this[e]}catch(e){}})}}),E.extend({prop:function(e,t,n){var i,o,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return 1===r&&E.isXMLDoc(e)||(t=E.propFix[t]||t,o=E.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(i=o.set(e,n,t))?i:e[t]=n:o&&"get"in o&&null!==(i=o.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=E.find.attr(e,"tabindex");return t?parseInt(t,10):Nt.test(e.nodeName)||Dt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),v.hrefNormalized||E.each(["href","src"],function(e,t){E.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),v.optSelected||(E.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),E.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){E.propFix[this.toLowerCase()]=this}),v.enctype||(E.propFix.enctype="encoding");var jt=/[\t\r\n\f]/g;function It(e){return E.attr(e,"class")||""}E.fn.extend({addClass:function(t){var e,n,i,o,r,a,s,l=0;if(E.isFunction(t))return this.each(function(e){E(this).addClass(t.call(this,e,It(this)))});if("string"==typeof t&&t)for(e=t.match(L)||[];n=this[l++];)if(o=It(n),i=1===n.nodeType&&(" "+o+" ").replace(jt," ")){for(a=0;r=e[a++];)i.indexOf(" "+r+" ")<0&&(i+=r+" ");o!==(s=E.trim(i))&&E.attr(n,"class",s)}return this},removeClass:function(t){var e,n,i,o,r,a,s,l=0;if(E.isFunction(t))return this.each(function(e){E(this).removeClass(t.call(this,e,It(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof t&&t)for(e=t.match(L)||[];n=this[l++];)if(o=It(n),i=1===n.nodeType&&(" "+o+" ").replace(jt," ")){for(a=0;r=e[a++];)for(;-1<i.indexOf(" "+r+" ");)i=i.replace(" "+r+" "," ");o!==(s=E.trim(i))&&E.attr(n,"class",s)}return this},toggleClass:function(o,t){var r=typeof o;return"boolean"==typeof t&&"string"===r?t?this.addClass(o):this.removeClass(o):E.isFunction(o)?this.each(function(e){E(this).toggleClass(o.call(this,e,It(this),t),t)}):this.each(function(){var e,t,n,i;if("string"===r)for(t=0,n=E(this),i=o.match(L)||[];e=i[t++];)n.hasClass(e)?n.removeClass(e):n.addClass(e);else void 0!==o&&"boolean"!==r||((e=It(this))&&E._data(this,"__className__",e),E.attr(this,"class",e||!1===o?"":E._data(this,"__className__")||""))})},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&-1<(" "+It(n)+" ").replace(jt," ").indexOf(t))return!0;return!1}}),E.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,n){E.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}}),E.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}});var Lt=C.location,Ot=E.now(),Ht=/\?/,Mt=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;E.parseJSON=function(e){if(C.JSON&&C.JSON.parse)return C.JSON.parse(e+"");var o,r=null,t=E.trim(e+"");return t&&!E.trim(t.replace(Mt,function(e,t,n,i){return o&&t&&(r=0),0===r?e:(o=n||t,r+=!i-!n,"")}))?Function("return "+t)():E.error("Invalid JSON: "+e)},E.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{C.DOMParser?t=(new C.DOMParser).parseFromString(e,"text/xml"):((t=new C.ActiveXObject("Microsoft.XMLDOM")).async="false",t.loadXML(e))}catch(e){t=void 0}return t&&t.documentElement&&!t.getElementsByTagName("parsererror").length||E.error("Invalid XML: "+e),t};var _t=/#.*$/,Ft=/([?&])_=[^&]*/,Rt=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Pt=/^(?:GET|HEAD)$/,qt=/^\/\//,Bt=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,zt={},Wt={},Ut="*/".concat("*"),Vt=Lt.href,Xt=Bt.exec(Vt.toLowerCase())||[];function Yt(r){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,i=0,o=e.toLowerCase().match(L)||[];if(E.isFunction(t))for(;n=o[i++];)"+"===n.charAt(0)?(n=n.slice(1)||"*",(r[n]=r[n]||[]).unshift(t)):(r[n]=r[n]||[]).push(t)}}function Qt(t,o,r,a){var s={},l=t===Wt;function c(e){var i;return s[e]=!0,E.each(t[e]||[],function(e,t){var n=t(o,r,a);return"string"!=typeof n||l||s[n]?l?!(i=n):void 0:(o.dataTypes.unshift(n),c(n),!1)}),i}return c(o.dataTypes[0])||!s["*"]&&c("*")}function Zt(e,t){var n,i,o=E.ajaxSettings.flatOptions||{};for(i in t)void 0!==t[i]&&((o[i]?e:n||(n={}))[i]=t[i]);return n&&E.extend(!0,e,n),e}E.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Vt,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Xt[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ut,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":E.parseJSON,"text xml":E.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Zt(Zt(e,E.ajaxSettings),t):Zt(E.ajaxSettings,e)},ajaxPrefilter:Yt(zt),ajaxTransport:Yt(Wt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,i,u,d,f,p,h,o,m=E.ajaxSetup({},t),g=m.context||m,v=m.context&&(g.nodeType||g.jquery)?E(g):E.event,y=E.Deferred(),b=E.Callbacks("once memory"),w=m.statusCode||{},r={},a={},x=0,s="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(2===x){if(!o)for(o={};t=Rt.exec(d);)o[t[1].toLowerCase()]=t[2];t=o[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===x?d:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return x||(e=a[n]=a[n]||e,r[e]=t),this},overrideMimeType:function(e){return x||(m.mimeType=e),this},statusCode:function(e){var t;if(e)if(x<2)for(t in e)w[t]=[w[t],e[t]];else T.always(e[T.status]);return this},abort:function(e){var t=e||s;return h&&h.abort(t),l(0,t),this}};if(y.promise(T).complete=b.add,T.success=T.done,T.error=T.fail,m.url=((e||m.url||Vt)+"").replace(_t,"").replace(qt,Xt[1]+"//"),m.type=t.method||t.type||m.method||m.type,m.dataTypes=E.trim(m.dataType||"*").toLowerCase().match(L)||[""],null==m.crossDomain&&(n=Bt.exec(m.url.toLowerCase()),m.crossDomain=!(!n||n[1]===Xt[1]&&n[2]===Xt[2]&&(n[3]||("http:"===n[1]?"80":"443"))===(Xt[3]||("http:"===Xt[1]?"80":"443")))),m.data&&m.processData&&"string"!=typeof m.data&&(m.data=E.param(m.data,m.traditional)),Qt(zt,m,t,T),2===x)return T;for(i in(p=E.event&&m.global)&&0==E.active++&&E.event.trigger("ajaxStart"),m.type=m.type.toUpperCase(),m.hasContent=!Pt.test(m.type),u=m.url,m.hasContent||(m.data&&(u=m.url+=(Ht.test(u)?"&":"?")+m.data,delete m.data),!1===m.cache&&(m.url=Ft.test(u)?u.replace(Ft,"$1_="+Ot++):u+(Ht.test(u)?"&":"?")+"_="+Ot++)),m.ifModified&&(E.lastModified[u]&&T.setRequestHeader("If-Modified-Since",E.lastModified[u]),E.etag[u]&&T.setRequestHeader("If-None-Match",E.etag[u])),(m.data&&m.hasContent&&!1!==m.contentType||t.contentType)&&T.setRequestHeader("Content-Type",m.contentType),T.setRequestHeader("Accept",m.dataTypes[0]&&m.accepts[m.dataTypes[0]]?m.accepts[m.dataTypes[0]]+("*"!==m.dataTypes[0]?", "+Ut+"; q=0.01":""):m.accepts["*"]),m.headers)T.setRequestHeader(i,m.headers[i]);if(m.beforeSend&&(!1===m.beforeSend.call(g,T,m)||2===x))return T.abort();for(i in s="abort",{success:1,error:1,complete:1})T[i](m[i]);if(h=Qt(Wt,m,t,T)){if(T.readyState=1,p&&v.trigger("ajaxSend",[T,m]),2===x)return T;m.async&&0<m.timeout&&(f=C.setTimeout(function(){T.abort("timeout")},m.timeout));try{x=1,h.send(r,l)}catch(e){if(!(x<2))throw e;l(-1,e)}}else l(-1,"No Transport");function l(e,t,n,i){var o,r,a,s,l,c=t;2!==x&&(x=2,f&&C.clearTimeout(f),h=void 0,d=i||"",T.readyState=0<e?4:0,o=200<=e&&e<300||304===e,n&&(s=function(e,t,n){for(var i,o,r,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===o&&(o=e.mimeType||t.getResponseHeader("Content-Type"));if(o)for(a in s)if(s[a]&&s[a].test(o)){l.unshift(a);break}if(l[0]in n)r=l[0];else{for(a in n){if(!l[0]||e.converters[a+" "+l[0]]){r=a;break}i||(i=a)}r=r||i}if(r)return r!==l[0]&&l.unshift(r),n[r]}(m,T,n)),s=function(e,t,n,i){var o,r,a,s,l,c={},u=e.dataTypes.slice();if(u[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(r=u.shift();r;)if(e.responseFields[r]&&(n[e.responseFields[r]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=r,r=u.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(!(a=c[l+" "+r]||c["* "+r]))for(o in c)if((s=o.split(" "))[1]===r&&(a=c[l+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[o]:!0!==c[o]&&(r=s[0],u.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+l+" to "+r}}}return{state:"success",data:t}}(m,s,T,o),o?(m.ifModified&&((l=T.getResponseHeader("Last-Modified"))&&(E.lastModified[u]=l),(l=T.getResponseHeader("etag"))&&(E.etag[u]=l)),204===e||"HEAD"===m.type?c="nocontent":304===e?c="notmodified":(c=s.state,r=s.data,o=!(a=s.error))):(a=c,!e&&c||(c="error",e<0&&(e=0))),T.status=e,T.statusText=(t||c)+"",o?y.resolveWith(g,[r,c,T]):y.rejectWith(g,[T,c,a]),T.statusCode(w),w=void 0,p&&v.trigger(o?"ajaxSuccess":"ajaxError",[T,m,o?r:a]),b.fireWith(g,[T,c]),p&&(v.trigger("ajaxComplete",[T,m]),--E.active||E.event.trigger("ajaxStop")))}return T},getJSON:function(e,t,n){return E.get(e,t,n,"json")},getScript:function(e,t){return E.get(e,void 0,t,"script")}}),E.each(["get","post"],function(e,o){E[o]=function(e,t,n,i){return E.isFunction(t)&&(i=i||n,n=t,t=void 0),E.ajax(E.extend({url:e,type:o,dataType:i,data:t,success:n},E.isPlainObject(e)&&e))}}),E._evalUrl=function(e){return E.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},E.fn.extend({wrapAll:function(t){if(E.isFunction(t))return this.each(function(e){E(this).wrapAll(t.call(this,e))});if(this[0]){var e=E(t,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(n){return E.isFunction(n)?this.each(function(e){E(this).wrapInner(n.call(this,e))}):this.each(function(){var e=E(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=E.isFunction(t);return this.each(function(e){E(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(){return this.parent().each(function(){E.nodeName(this,"body")||E(this).replaceWith(this.childNodes)}).end()}}),E.expr.filters.hidden=function(e){return v.reliableHiddenOffsets()?e.offsetWidth<=0&&e.offsetHeight<=0&&!e.getClientRects().length:function(e){if(!E.contains(e.ownerDocument||h,e))return!0;for(;e&&1===e.nodeType;){if("none"===((t=e).style&&t.style.display||E.css(t,"display"))||"hidden"===e.type)return!0;e=e.parentNode}var t;return!1}(e)},E.expr.filters.visible=function(e){return!E.expr.filters.hidden(e)};var Jt=/%20/g,Gt=/\[\]$/,Kt=/\r?\n/g,en=/^(?:submit|button|image|reset|file)$/i,tn=/^(?:input|select|textarea|keygen)/i;function nn(n,e,i,o){var t;if(E.isArray(e))E.each(e,function(e,t){i||Gt.test(n)?o(n,t):nn(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,i,o)});else if(i||"object"!==E.type(e))o(n,e);else for(t in e)nn(n+"["+t+"]",e[t],i,o)}E.param=function(e,t){var n,i=[],o=function(e,t){t=E.isFunction(t)?t():null==t?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=E.ajaxSettings&&E.ajaxSettings.traditional),E.isArray(e)||e.jquery&&!E.isPlainObject(e))E.each(e,function(){o(this.name,this.value)});else for(n in e)nn(n,e[n],t,o);return i.join("&").replace(Jt,"+")},E.fn.extend({serialize:function(){return E.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=E.prop(this,"elements");return e?E.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!E(this).is(":disabled")&&tn.test(this.nodeName)&&!en.test(e)&&(this.checked||!K.test(e))}).map(function(e,t){var n=E(this).val();return null==n?null:E.isArray(n)?E.map(n,function(e){return{name:t.name,value:e.replace(Kt,"\r\n")}}):{name:t.name,value:n.replace(Kt,"\r\n")}}).get()}}),E.ajaxSettings.xhr=void 0!==C.ActiveXObject?function(){return this.isLocal?ln():8<h.documentMode?sn():/^(get|post|head|put|delete|options)$/i.test(this.type)&&sn()||ln()}:sn;var on=0,rn={},an=E.ajaxSettings.xhr();function sn(){try{return new C.XMLHttpRequest}catch(e){}}function ln(){try{return new C.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}C.attachEvent&&C.attachEvent("onunload",function(){for(var e in rn)rn[e](void 0,!0)}),v.cors=!!an&&"withCredentials"in an,(an=v.ajax=!!an)&&E.ajaxTransport(function(l){var c;if(!l.crossDomain||v.cors)return{send:function(e,r){var t,a=l.xhr(),s=++on;if(a.open(l.type,l.url,l.async,l.username,l.password),l.xhrFields)for(t in l.xhrFields)a[t]=l.xhrFields[t];for(t in l.mimeType&&a.overrideMimeType&&a.overrideMimeType(l.mimeType),l.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)void 0!==e[t]&&a.setRequestHeader(t,e[t]+"");a.send(l.hasContent&&l.data||null),c=function(e,t){var n,i,o;if(c&&(t||4===a.readyState))if(delete rn[s],c=void 0,a.onreadystatechange=E.noop,t)4!==a.readyState&&a.abort();else{o={},n=a.status,"string"==typeof a.responseText&&(o.text=a.responseText);try{i=a.statusText}catch(e){i=""}n||!l.isLocal||l.crossDomain?1223===n&&(n=204):n=o.text?200:404}o&&r(n,i,o,a.getAllResponseHeaders())},l.async?4===a.readyState?C.setTimeout(c):a.onreadystatechange=rn[s]=c:c()},abort:function(){c&&c(void 0,!0)}}}),E.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return E.globalEval(e),e}}}),E.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),E.ajaxTransport("script",function(t){if(t.crossDomain){var i,o=h.head||E("head")[0]||h.documentElement;return{send:function(e,n){(i=h.createElement("script")).async=!0,t.scriptCharset&&(i.charset=t.scriptCharset),i.src=t.url,i.onload=i.onreadystatechange=function(e,t){(t||!i.readyState||/loaded|complete/.test(i.readyState))&&(i.onload=i.onreadystatechange=null,i.parentNode&&i.parentNode.removeChild(i),i=null,t||n(200,"success"))},o.insertBefore(i,o.firstChild)},abort:function(){i&&i.onload(void 0,!0)}}}});var cn=[],un=/(=)\?(?=&|$)|\?\?/;E.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=cn.pop()||E.expando+"_"+Ot++;return this[e]=!0,e}}),E.ajaxPrefilter("json jsonp",function(e,t,n){var i,o,r,a=!1!==e.jsonp&&(un.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&un.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=E.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(un,"$1"+i):!1!==e.jsonp&&(e.url+=(Ht.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return r||E.error(i+" was not called"),r[0]},e.dataTypes[0]="json",o=C[i],C[i]=function(){r=arguments},n.always(function(){void 0===o?E(C).removeProp(i):C[i]=o,e[i]&&(e.jsonpCallback=t.jsonpCallback,cn.push(i)),r&&E.isFunction(o)&&o(r[0]),r=o=void 0}),"script"}),E.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||h;var i=x.exec(e),o=!n&&[];return i?[t.createElement(i[1])]:(i=de([e],t,o),o&&o.length&&E(o).remove(),E.merge([],i.childNodes))};var dn=E.fn.load;function fn(e){return E.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}E.fn.load=function(e,t,n){if("string"!=typeof e&&dn)return dn.apply(this,arguments);var i,o,r,a=this,s=e.indexOf(" ");return-1<s&&(i=E.trim(e.slice(s,e.length)),e=e.slice(0,s)),E.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),0<a.length&&E.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done(function(e){r=arguments,a.html(i?E("<div>").append(E.parseHTML(e)).find(i):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,r||[e.responseText,t,e])})}),this},E.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){E.fn[t]=function(e){return this.on(t,e)}}),E.expr.filters.animated=function(t){return E.grep(E.timers,function(e){return t===e.elem}).length},E.offset={setOffset:function(e,t,n){var i,o,r,a,s,l,c=E.css(e,"position"),u=E(e),d={};"static"===c&&(e.style.position="relative"),s=u.offset(),r=E.css(e,"top"),l=E.css(e,"left"),o=("absolute"===c||"fixed"===c)&&-1<E.inArray("auto",[r,l])?(a=(i=u.position()).top,i.left):(a=parseFloat(r)||0,parseFloat(l)||0),E.isFunction(t)&&(t=t.call(e,n,E.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+o),"using"in t?t.using.call(e,d):u.css(d)}},E.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){E.offset.setOffset(this,t,e)});var e,n,i={top:0,left:0},o=this[0],r=o&&o.ownerDocument;return r?(e=r.documentElement,E.contains(e,o)?(void 0!==o.getBoundingClientRect&&(i=o.getBoundingClientRect()),n=fn(r),{top:i.top+(n.pageYOffset||e.scrollTop)-(e.clientTop||0),left:i.left+(n.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}):i):void 0},position:function(){if(this[0]){var e,t,n={top:0,left:0},i=this[0];return"fixed"===E.css(i,"position")?t=i.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),E.nodeName(e[0],"html")||(n=e.offset()),n.top+=E.css(e[0],"borderTopWidth",!0),n.left+=E.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-E.css(i,"marginTop",!0),left:t.left-n.left-E.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&!E.nodeName(e,"html")&&"static"===E.css(e,"position");)e=e.offsetParent;return e||ze})}}),E.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,o){var r=/Y/.test(o);E.fn[t]=function(e){return G(this,function(e,t,n){var i=fn(e);if(void 0===n)return i?o in i?i[o]:i.document.documentElement[t]:e[t];i?i.scrollTo(r?E(i).scrollLeft():n,r?n:E(i).scrollTop()):e[t]=n},t,e,arguments.length,null)}}),E.each(["top","left"],function(e,n){E.cssHooks[n]=Xe(v.pixelPosition,function(e,t){if(t)return t=Ue(e,n),qe.test(t)?E(e).position()[n]+"px":t})}),E.each({Height:"height",Width:"width"},function(r,a){E.each({padding:"inner"+r,content:a,"":"outer"+r},function(i,e){E.fn[e]=function(e,t){var n=arguments.length&&(i||"boolean"!=typeof e),o=i||(!0===e||!0===t?"margin":"border");return G(this,function(e,t,n){var i;return E.isWindow(e)?e.document.documentElement["client"+r]:9===e.nodeType?(i=e.documentElement,Math.max(e.body["scroll"+r],i["scroll"+r],e.body["offset"+r],i["offset"+r],i["client"+r])):void 0===n?E.css(e,t,o):E.style(e,t,n,o)},a,n?e:void 0,n,null)}})}),E.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),E.fn.size=function(){return this.length},E.fn.andSelf=E.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return E});var pn=C.jQuery,hn=C.$;return E.noConflict=function(e){return C.$===E&&(C.$=hn),e&&C.jQuery===E&&(C.jQuery=pn),E},e||(C.jQuery=C.$=E),E}),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");!function(e){"use strict";var t=jQuery.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1==t[0]&&9==t[1]&&t[2]<1||3<t[0])throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(),function(i){"use strict";i.fn.emulateTransitionEnd=function(e){var t=!1,n=this;i(this).one("bsTransitionEnd",function(){t=!0});return setTimeout(function(){t||i(n).trigger(i.support.transition.end)},e),this},i(function(){i.support.transition=function(){var e=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in t)if(void 0!==e.style[n])return{end:t[n]};return!1}(),i.support.transition&&(i.event.special.bsTransitionEnd={bindType:i.support.transition.end,delegateType:i.support.transition.end,handle:function(e){if(i(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}})})}(jQuery),function(r){"use strict";var t='[data-dismiss="alert"]',a=function(e){r(e).on("click",t,this.close)};a.VERSION="3.4.1",a.TRANSITION_DURATION=150,a.prototype.close=function(e){var t=r(this),n=t.attr("data-target");n||(n=(n=t.attr("href"))&&n.replace(/.*(?=#[^\s]*$)/,"")),n="#"===n?[]:n;var i=r(document).find(n);function o(){i.detach().trigger("closed.bs.alert").remove()}e&&e.preventDefault(),i.length||(i=t.closest(".alert")),i.trigger(e=r.Event("close.bs.alert")),e.isDefaultPrevented()||(i.removeClass("in"),r.support.transition&&i.hasClass("fade")?i.one("bsTransitionEnd",o).emulateTransitionEnd(a.TRANSITION_DURATION):o())};var e=r.fn.alert;r.fn.alert=function(n){return this.each(function(){var e=r(this),t=e.data("bs.alert");t||e.data("bs.alert",t=new a(this)),"string"==typeof n&&t[n].call(e)})},r.fn.alert.Constructor=a,r.fn.alert.noConflict=function(){return r.fn.alert=e,this},r(document).on("click.bs.alert.data-api",t,a.prototype.close)}(jQuery),function(r){"use strict";var o=function(e,t){this.$element=r(e),this.options=r.extend({},o.DEFAULTS,t),this.isLoading=!1};function n(i){return this.each(function(){var e=r(this),t=e.data("bs.button"),n="object"==typeof i&&i;t||e.data("bs.button",t=new o(this,n)),"toggle"==i?t.toggle():i&&t.setState(i)})}o.VERSION="3.4.1",o.DEFAULTS={loadingText:"loading..."},o.prototype.setState=function(e){var t="disabled",n=this.$element,i=n.is("input")?"val":"html",o=n.data();e+="Text",null==o.resetText&&n.data("resetText",n[i]()),setTimeout(r.proxy(function(){n[i](null==o[e]?this.options[e]:o[e]),"loadingText"==e?(this.isLoading=!0,n.addClass(t).attr(t,t).prop(t,!0)):this.isLoading&&(this.isLoading=!1,n.removeClass(t).removeAttr(t).prop(t,!1))},this),0)},o.prototype.toggle=function(){var e=!0,t=this.$element.closest('[data-toggle="buttons"]');if(t.length){var n=this.$element.find("input");"radio"==n.prop("type")?(n.prop("checked")&&(e=!1),t.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==n.prop("type")&&(n.prop("checked")!==this.$element.hasClass("active")&&(e=!1),this.$element.toggleClass("active")),n.prop("checked",this.$element.hasClass("active")),e&&n.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var e=r.fn.button;r.fn.button=n,r.fn.button.Constructor=o,r.fn.button.noConflict=function(){return r.fn.button=e,this},r(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(e){var t=r(e.target).closest(".btn");n.call(t,"toggle"),r(e.target).is('input[type="radio"], input[type="checkbox"]')||(e.preventDefault(),t.is("input,button")?t.trigger("focus"):t.find("input:visible,button:visible").first().trigger("focus"))}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(e){r(e.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(e.type))})}(jQuery),function(d){"use strict";var f=function(e,t){this.$element=d(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=t,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",d.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",d.proxy(this.pause,this)).on("mouseleave.bs.carousel",d.proxy(this.cycle,this))};function s(o){return this.each(function(){var e=d(this),t=e.data("bs.carousel"),n=d.extend({},f.DEFAULTS,e.data(),"object"==typeof o&&o),i="string"==typeof o?o:n.slide;t||e.data("bs.carousel",t=new f(this,n)),"number"==typeof o?t.to(o):i?t[i]():n.interval&&t.pause().cycle()})}f.VERSION="3.4.1",f.TRANSITION_DURATION=600,f.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},f.prototype.keydown=function(e){if(!/input|textarea/i.test(e.target.tagName)){switch(e.which){case 37:this.prev();break;case 39:this.next();break;default:return}e.preventDefault()}},f.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(d.proxy(this.next,this),this.options.interval)),this},f.prototype.getItemIndex=function(e){return this.$items=e.parent().children(".item"),this.$items.index(e||this.$active)},f.prototype.getItemForDirection=function(e,t){var n=this.getItemIndex(t);if(("prev"==e&&0===n||"next"==e&&n==this.$items.length-1)&&!this.options.wrap)return t;var i=(n+("prev"==e?-1:1))%this.$items.length;return this.$items.eq(i)},f.prototype.to=function(e){var t=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(e>this.$items.length-1||e<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){t.to(e)}):n==e?this.pause().cycle():this.slide(n<e?"next":"prev",this.$items.eq(e))},f.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&d.support.transition&&(this.$element.trigger(d.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},f.prototype.next=function(){if(!this.sliding)return this.slide("next")},f.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},f.prototype.slide=function(e,t){var n=this.$element.find(".item.active"),i=t||this.getItemForDirection(e,n),o=this.interval,r="next"==e?"left":"right",a=this;if(i.hasClass("active"))return this.sliding=!1;var s=i[0],l=d.Event("slide.bs.carousel",{relatedTarget:s,direction:r});if(this.$element.trigger(l),!l.isDefaultPrevented()){if(this.sliding=!0,o&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var c=d(this.$indicators.children()[this.getItemIndex(i)]);c&&c.addClass("active")}var u=d.Event("slid.bs.carousel",{relatedTarget:s,direction:r});return d.support.transition&&this.$element.hasClass("slide")?(i.addClass(e),"object"==typeof i&&i.length&&i[0].offsetWidth,n.addClass(r),i.addClass(r),n.one("bsTransitionEnd",function(){i.removeClass([e,r].join(" ")).addClass("active"),n.removeClass(["active",r].join(" ")),a.sliding=!1,setTimeout(function(){a.$element.trigger(u)},0)}).emulateTransitionEnd(f.TRANSITION_DURATION)):(n.removeClass("active"),i.addClass("active"),this.sliding=!1,this.$element.trigger(u)),o&&this.cycle(),this}};var e=d.fn.carousel;d.fn.carousel=s,d.fn.carousel.Constructor=f,d.fn.carousel.noConflict=function(){return d.fn.carousel=e,this};var t=function(e){var t=d(this),n=t.attr("href");n&&(n=n.replace(/.*(?=#[^\s]+$)/,""));var i=t.attr("data-target")||n,o=d(document).find(i);if(o.hasClass("carousel")){var r=d.extend({},o.data(),t.data()),a=t.attr("data-slide-to");a&&(r.interval=!1),s.call(o,r),a&&o.data("bs.carousel").to(a),e.preventDefault()}};d(document).on("click.bs.carousel.data-api","[data-slide]",t).on("click.bs.carousel.data-api","[data-slide-to]",t),d(window).on("load",function(){d('[data-ride="carousel"]').each(function(){var e=d(this);s.call(e,e.data())})})}(jQuery),function(a){"use strict";var s=function(e,t){this.$element=a(e),this.options=a.extend({},s.DEFAULTS,t),this.$trigger=a('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};function o(e){var t,n=e.attr("data-target")||(t=e.attr("href"))&&t.replace(/.*(?=#[^\s]+$)/,"");return a(document).find(n)}function l(i){return this.each(function(){var e=a(this),t=e.data("bs.collapse"),n=a.extend({},s.DEFAULTS,e.data(),"object"==typeof i&&i);!t&&n.toggle&&/show|hide/.test(i)&&(n.toggle=!1),t||e.data("bs.collapse",t=new s(this,n)),"string"==typeof i&&t[i]()})}s.VERSION="3.4.1",s.TRANSITION_DURATION=350,s.DEFAULTS={toggle:!0},s.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},s.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var e,t=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(t&&t.length&&(e=t.data("bs.collapse"))&&e.transitioning)){var n=a.Event("show.bs.collapse");if(this.$element.trigger(n),!n.isDefaultPrevented()){t&&t.length&&(l.call(t,"hide"),e||t.data("bs.collapse",null));var i=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[i](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var o=function(){this.$element.removeClass("collapsing").addClass("collapse in")[i](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return o.call(this);var r=a.camelCase(["scroll",i].join("-"));this.$element.one("bsTransitionEnd",a.proxy(o,this)).emulateTransitionEnd(s.TRANSITION_DURATION)[i](this.$element[0][r])}}}},s.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var e=a.Event("hide.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){var t=this.dimension();this.$element[t](this.$element[t]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var n=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!a.support.transition)return n.call(this);this.$element[t](0).one("bsTransitionEnd",a.proxy(n,this)).emulateTransitionEnd(s.TRANSITION_DURATION)}}},s.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},s.prototype.getParent=function(){return a(document).find(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(a.proxy(function(e,t){var n=a(t);this.addAriaAndCollapsedClass(o(n),n)},this)).end()},s.prototype.addAriaAndCollapsedClass=function(e,t){var n=e.hasClass("in");e.attr("aria-expanded",n),t.toggleClass("collapsed",!n).attr("aria-expanded",n)};var e=a.fn.collapse;a.fn.collapse=l,a.fn.collapse.Constructor=s,a.fn.collapse.noConflict=function(){return a.fn.collapse=e,this},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(e){var t=a(this);t.attr("data-target")||e.preventDefault();var n=o(t),i=n.data("bs.collapse")?"toggle":t.data();l.call(n,i)})}(jQuery),function(a){"use strict";var s='[data-toggle="dropdown"]',i=function(e){a(e).on("click.bs.dropdown",this.toggle)};function l(e){var t=e.attr("data-target");t||(t=(t=e.attr("href"))&&/#[A-Za-z]/.test(t)&&t.replace(/.*(?=#[^\s]*$)/,""));var n="#"!==t?a(document).find(t):null;return n&&n.length?n:e.parent()}function r(i){i&&3===i.which||(a(".dropdown-backdrop").remove(),a(s).each(function(){var e=a(this),t=l(e),n={relatedTarget:this};t.hasClass("open")&&(i&&"click"==i.type&&/input|textarea/i.test(i.target.tagName)&&a.contains(t[0],i.target)||(t.trigger(i=a.Event("hide.bs.dropdown",n)),i.isDefaultPrevented()||(e.attr("aria-expanded","false"),t.removeClass("open").trigger(a.Event("hidden.bs.dropdown",n)))))}))}i.VERSION="3.4.1",i.prototype.toggle=function(e){var t=a(this);if(!t.is(".disabled, :disabled")){var n=l(t),i=n.hasClass("open");if(r(),!i){"ontouchstart"in document.documentElement&&!n.closest(".navbar-nav").length&&a(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(a(this)).on("click",r);var o={relatedTarget:this};if(n.trigger(e=a.Event("show.bs.dropdown",o)),e.isDefaultPrevented())return;t.trigger("focus").attr("aria-expanded","true"),n.toggleClass("open").trigger(a.Event("shown.bs.dropdown",o))}return!1}},i.prototype.keydown=function(e){if(/(38|40|27|32)/.test(e.which)&&!/input|textarea/i.test(e.target.tagName)){var t=a(this);if(e.preventDefault(),e.stopPropagation(),!t.is(".disabled, :disabled")){var n=l(t),i=n.hasClass("open");if(!i&&27!=e.which||i&&27==e.which)return 27==e.which&&n.find(s).trigger("focus"),t.trigger("click");var o=n.find(".dropdown-menu li:not(.disabled):visible a");if(o.length){var r=o.index(e.target);38==e.which&&0<r&&r--,40==e.which&&r<o.length-1&&r++,~r||(r=0),o.eq(r).trigger("focus")}}}};var e=a.fn.dropdown;a.fn.dropdown=function(n){return this.each(function(){var e=a(this),t=e.data("bs.dropdown");t||e.data("bs.dropdown",t=new i(this)),"string"==typeof n&&t[n].call(e)})},a.fn.dropdown.Constructor=i,a.fn.dropdown.noConflict=function(){return a.fn.dropdown=e,this},a(document).on("click.bs.dropdown.data-api",r).on("click.bs.dropdown.data-api",".dropdown form",function(e){e.stopPropagation()}).on("click.bs.dropdown.data-api",s,i.prototype.toggle).on("keydown.bs.dropdown.data-api",s,i.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",i.prototype.keydown)}(jQuery),function(a){"use strict";var r=function(e,t){this.options=t,this.$body=a(document.body),this.$element=a(e),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.fixedContent=".navbar-fixed-top, .navbar-fixed-bottom",this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,a.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};function s(i,o){return this.each(function(){var e=a(this),t=e.data("bs.modal"),n=a.extend({},r.DEFAULTS,e.data(),"object"==typeof i&&i);t||e.data("bs.modal",t=new r(this,n)),"string"==typeof i?t[i](o):n.show&&t.show(o)})}r.VERSION="3.4.1",r.TRANSITION_DURATION=300,r.BACKDROP_TRANSITION_DURATION=150,r.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},r.prototype.toggle=function(e){return this.isShown?this.hide():this.show(e)},r.prototype.show=function(n){var i=this,e=a.Event("show.bs.modal",{relatedTarget:n});this.$element.trigger(e),this.isShown||e.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',a.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){i.$element.one("mouseup.dismiss.bs.modal",function(e){a(e.target).is(i.$element)&&(i.ignoreBackdropClick=!0)})}),this.backdrop(function(){var e=a.support.transition&&i.$element.hasClass("fade");i.$element.parent().length||i.$element.appendTo(i.$body),i.$element.show().scrollTop(0),i.adjustDialog(),e&&i.$element[0].offsetWidth,i.$element.addClass("in"),i.enforceFocus();var t=a.Event("shown.bs.modal",{relatedTarget:n});e?i.$dialog.one("bsTransitionEnd",function(){i.$element.trigger("focus").trigger(t)}).emulateTransitionEnd(r.TRANSITION_DURATION):i.$element.trigger("focus").trigger(t)}))},r.prototype.hide=function(e){e&&e.preventDefault(),e=a.Event("hide.bs.modal"),this.$element.trigger(e),this.isShown&&!e.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),a(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),a.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",a.proxy(this.hideModal,this)).emulateTransitionEnd(r.TRANSITION_DURATION):this.hideModal())},r.prototype.enforceFocus=function(){a(document).off("focusin.bs.modal").on("focusin.bs.modal",a.proxy(function(e){document===e.target||this.$element[0]===e.target||this.$element.has(e.target).length||this.$element.trigger("focus")},this))},r.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",a.proxy(function(e){27==e.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},r.prototype.resize=function(){this.isShown?a(window).on("resize.bs.modal",a.proxy(this.handleUpdate,this)):a(window).off("resize.bs.modal")},r.prototype.hideModal=function(){var e=this;this.$element.hide(),this.backdrop(function(){e.$body.removeClass("modal-open"),e.resetAdjustments(),e.resetScrollbar(),e.$element.trigger("hidden.bs.modal")})},r.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},r.prototype.backdrop=function(e){var t=this,n=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var i=a.support.transition&&n;if(this.$backdrop=a(document.createElement("div")).addClass("modal-backdrop "+n).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",a.proxy(function(e){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:e.target===e.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide())},this)),i&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!e)return;i?this.$backdrop.one("bsTransitionEnd",e).emulateTransitionEnd(r.BACKDROP_TRANSITION_DURATION):e()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var o=function(){t.removeBackdrop(),e&&e()};a.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",o).emulateTransitionEnd(r.BACKDROP_TRANSITION_DURATION):o()}else e&&e()},r.prototype.handleUpdate=function(){this.adjustDialog()},r.prototype.adjustDialog=function(){var e=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&e?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!e?this.scrollbarWidth:""})},r.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},r.prototype.checkScrollbar=function(){var e=window.innerWidth;if(!e){var t=document.documentElement.getBoundingClientRect();e=t.right-Math.abs(t.left)}this.bodyIsOverflowing=document.body.clientWidth<e,this.scrollbarWidth=this.measureScrollbar()},r.prototype.setScrollbar=function(){var e=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"";var o=this.scrollbarWidth;this.bodyIsOverflowing&&(this.$body.css("padding-right",e+o),a(this.fixedContent).each(function(e,t){var n=t.style.paddingRight,i=a(t).css("padding-right");a(t).data("padding-right",n).css("padding-right",parseFloat(i)+o+"px")}))},r.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad),a(this.fixedContent).each(function(e,t){var n=a(t).data("padding-right");a(t).removeData("padding-right"),t.style.paddingRight=n||""})},r.prototype.measureScrollbar=function(){var e=document.createElement("div");e.className="modal-scrollbar-measure",this.$body.append(e);var t=e.offsetWidth-e.clientWidth;return this.$body[0].removeChild(e),t};var e=a.fn.modal;a.fn.modal=s,a.fn.modal.Constructor=r,a.fn.modal.noConflict=function(){return a.fn.modal=e,this},a(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(e){var t=a(this),n=t.attr("href"),i=t.attr("data-target")||n&&n.replace(/.*(?=#[^\s]+$)/,""),o=a(document).find(i),r=o.data("bs.modal")?"toggle":a.extend({remote:!/#/.test(n)&&n},o.data(),t.data());t.is("a")&&e.preventDefault(),o.one("show.bs.modal",function(e){e.isDefaultPrevented()||o.one("hidden.bs.modal",function(){t.is(":visible")&&t.trigger("focus")})}),s.call(o,r,this)})}(jQuery),function(m){"use strict";var i=["sanitize","whiteList","sanitizeFn"],a=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],e={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},s=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,l=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function h(e,t){var n=e.nodeName.toLowerCase();if(-1!==m.inArray(n,t))return-1===m.inArray(n,a)||Boolean(e.nodeValue.match(s)||e.nodeValue.match(l));for(var i=m(t).filter(function(e,t){return t instanceof RegExp}),o=0,r=i.length;o<r;o++)if(n.match(i[o]))return!0;return!1}function o(e,t,n){if(0===e.length)return e;if(n&&"function"==typeof n)return n(e);if(!document.implementation||!document.implementation.createHTMLDocument)return e;var i=document.implementation.createHTMLDocument("sanitization");i.body.innerHTML=e;for(var o=m.map(t,function(e,t){return t}),r=m(i.body).find("*"),a=0,s=r.length;a<s;a++){var l=r[a],c=l.nodeName.toLowerCase();if(-1!==m.inArray(c,o))for(var u=m.map(l.attributes,function(e){return e}),d=[].concat(t["*"]||[],t[c]||[]),f=0,p=u.length;f<p;f++)h(u[f],d)||l.removeAttribute(u[f].nodeName);else l.parentNode.removeChild(l)}return i.body.innerHTML}var g=function(e,t){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",e,t)};g.VERSION="3.4.1",g.TRANSITION_DURATION=150,g.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0},sanitize:!0,sanitizeFn:null,whiteList:e},g.prototype.init=function(e,t,n){if(this.enabled=!0,this.type=e,this.$element=m(t),this.options=this.getOptions(n),this.$viewport=this.options.viewport&&m(document).find(m.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var i=this.options.trigger.split(" "),o=i.length;o--;){var r=i[o];if("click"==r)this.$element.on("click."+this.type,this.options.selector,m.proxy(this.toggle,this));else if("manual"!=r){var a="hover"==r?"mouseenter":"focusin",s="hover"==r?"mouseleave":"focusout";this.$element.on(a+"."+this.type,this.options.selector,m.proxy(this.enter,this)),this.$element.on(s+"."+this.type,this.options.selector,m.proxy(this.leave,this))}}this.options.selector?this._options=m.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},g.prototype.getDefaults=function(){return g.DEFAULTS},g.prototype.getOptions=function(e){var t=this.$element.data();for(var n in t)t.hasOwnProperty(n)&&-1!==m.inArray(n,i)&&delete t[n];return(e=m.extend({},this.getDefaults(),t,e)).delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e.sanitize&&(e.template=o(e.template,e.whiteList,e.sanitizeFn)),e},g.prototype.getDelegateOptions=function(){var n={},i=this.getDefaults();return this._options&&m.each(this._options,function(e,t){i[e]!=t&&(n[e]=t)}),n},g.prototype.enter=function(e){var t=e instanceof this.constructor?e:m(e.currentTarget).data("bs."+this.type);if(t||(t=new this.constructor(e.currentTarget,this.getDelegateOptions()),m(e.currentTarget).data("bs."+this.type,t)),e instanceof m.Event&&(t.inState["focusin"==e.type?"focus":"hover"]=!0),t.tip().hasClass("in")||"in"==t.hoverState)t.hoverState="in";else{if(clearTimeout(t.timeout),t.hoverState="in",!t.options.delay||!t.options.delay.show)return t.show();t.timeout=setTimeout(function(){"in"==t.hoverState&&t.show()},t.options.delay.show)}},g.prototype.isInStateTrue=function(){for(var e in this.inState)if(this.inState[e])return!0;return!1},g.prototype.leave=function(e){var t=e instanceof this.constructor?e:m(e.currentTarget).data("bs."+this.type);if(t||(t=new this.constructor(e.currentTarget,this.getDelegateOptions()),m(e.currentTarget).data("bs."+this.type,t)),e instanceof m.Event&&(t.inState["focusout"==e.type?"focus":"hover"]=!1),!t.isInStateTrue()){if(clearTimeout(t.timeout),t.hoverState="out",!t.options.delay||!t.options.delay.hide)return t.hide();t.timeout=setTimeout(function(){"out"==t.hoverState&&t.hide()},t.options.delay.hide)}},g.prototype.show=function(){var e=m.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(e);var t=m.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(e.isDefaultPrevented()||!t)return;var n=this,i=this.tip(),o=this.getUID(this.type);this.setContent(),i.attr("id",o),this.$element.attr("aria-describedby",o),this.options.animation&&i.addClass("fade");var r="function"==typeof this.options.placement?this.options.placement.call(this,i[0],this.$element[0]):this.options.placement,a=/\s?auto?\s?/i,s=a.test(r);s&&(r=r.replace(a,"")||"top"),i.detach().css({top:0,left:0,display:"block"}).addClass(r).data("bs."+this.type,this),this.options.container?i.appendTo(m(document).find(this.options.container)):i.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var l=this.getPosition(),c=i[0].offsetWidth,u=i[0].offsetHeight;if(s){var d=r,f=this.getPosition(this.$viewport);r="bottom"==r&&l.bottom+u>f.bottom?"top":"top"==r&&l.top-u<f.top?"bottom":"right"==r&&l.right+c>f.width?"left":"left"==r&&l.left-c<f.left?"right":r,i.removeClass(d).addClass(r)}var p=this.getCalculatedOffset(r,l,c,u);this.applyPlacement(p,r);var h=function(){var e=n.hoverState;n.$element.trigger("shown.bs."+n.type),n.hoverState=null,"out"==e&&n.leave(n)};m.support.transition&&this.$tip.hasClass("fade")?i.one("bsTransitionEnd",h).emulateTransitionEnd(g.TRANSITION_DURATION):h()}},g.prototype.applyPlacement=function(e,t){var n=this.tip(),i=n[0].offsetWidth,o=n[0].offsetHeight,r=parseInt(n.css("margin-top"),10),a=parseInt(n.css("margin-left"),10);isNaN(r)&&(r=0),isNaN(a)&&(a=0),e.top+=r,e.left+=a,m.offset.setOffset(n[0],m.extend({using:function(e){n.css({top:Math.round(e.top),left:Math.round(e.left)})}},e),0),n.addClass("in");var s=n[0].offsetWidth,l=n[0].offsetHeight;"top"==t&&l!=o&&(e.top=e.top+o-l);var c=this.getViewportAdjustedDelta(t,e,s,l);c.left?e.left+=c.left:e.top+=c.top;var u=/top|bottom/.test(t),d=u?2*c.left-i+s:2*c.top-o+l,f=u?"offsetWidth":"offsetHeight";n.offset(e),this.replaceArrow(d,n[0][f],u)},g.prototype.replaceArrow=function(e,t,n){this.arrow().css(n?"left":"top",50*(1-e/t)+"%").css(n?"top":"left","")},g.prototype.setContent=function(){var e=this.tip(),t=this.getTitle();this.options.html?(this.options.sanitize&&(t=o(t,this.options.whiteList,this.options.sanitizeFn)),e.find(".tooltip-inner").html(t)):e.find(".tooltip-inner").text(t),e.removeClass("fade in top bottom left right")},g.prototype.hide=function(e){var t=this,n=m(this.$tip),i=m.Event("hide.bs."+this.type);function o(){"in"!=t.hoverState&&n.detach(),t.$element&&t.$element.removeAttr("aria-describedby").trigger("hidden.bs."+t.type),e&&e()}if(this.$element.trigger(i),!i.isDefaultPrevented())return n.removeClass("in"),m.support.transition&&n.hasClass("fade")?n.one("bsTransitionEnd",o).emulateTransitionEnd(g.TRANSITION_DURATION):o(),this.hoverState=null,this},g.prototype.fixTitle=function(){var e=this.$element;(e.attr("title")||"string"!=typeof e.attr("data-original-title"))&&e.attr("data-original-title",e.attr("title")||"").attr("title","")},g.prototype.hasContent=function(){return this.getTitle()},g.prototype.getPosition=function(e){var t=(e=e||this.$element)[0],n="BODY"==t.tagName,i=t.getBoundingClientRect();null==i.width&&(i=m.extend({},i,{width:i.right-i.left,height:i.bottom-i.top}));var o=window.SVGElement&&t instanceof window.SVGElement,r=n?{top:0,left:0}:o?null:e.offset(),a={scroll:n?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},s=n?{width:m(window).width(),height:m(window).height()}:null;return m.extend({},i,a,s,r)},g.prototype.getCalculatedOffset=function(e,t,n,i){return"bottom"==e?{top:t.top+t.height,left:t.left+t.width/2-n/2}:"top"==e?{top:t.top-i,left:t.left+t.width/2-n/2}:"left"==e?{top:t.top+t.height/2-i/2,left:t.left-n}:{top:t.top+t.height/2-i/2,left:t.left+t.width}},g.prototype.getViewportAdjustedDelta=function(e,t,n,i){var o={top:0,left:0};if(!this.$viewport)return o;var r=this.options.viewport&&this.options.viewport.padding||0,a=this.getPosition(this.$viewport);if(/right|left/.test(e)){var s=t.top-r-a.scroll,l=t.top+r-a.scroll+i;s<a.top?o.top=a.top-s:l>a.top+a.height&&(o.top=a.top+a.height-l)}else{var c=t.left-r,u=t.left+r+n;c<a.left?o.left=a.left-c:u>a.right&&(o.left=a.left+a.width-u)}return o},g.prototype.getTitle=function(){var e=this.$element,t=this.options;return e.attr("data-original-title")||("function"==typeof t.title?t.title.call(e[0]):t.title)},g.prototype.getUID=function(e){for(;e+=~~(1e6*Math.random()),document.getElementById(e););return e},g.prototype.tip=function(){if(!this.$tip&&(this.$tip=m(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},g.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},g.prototype.enable=function(){this.enabled=!0},g.prototype.disable=function(){this.enabled=!1},g.prototype.toggleEnabled=function(){this.enabled=!this.enabled},g.prototype.toggle=function(e){var t=this;e&&((t=m(e.currentTarget).data("bs."+this.type))||(t=new this.constructor(e.currentTarget,this.getDelegateOptions()),m(e.currentTarget).data("bs."+this.type,t))),e?(t.inState.click=!t.inState.click,t.isInStateTrue()?t.enter(t):t.leave(t)):t.tip().hasClass("in")?t.leave(t):t.enter(t)},g.prototype.destroy=function(){var e=this;clearTimeout(this.timeout),this.hide(function(){e.$element.off("."+e.type).removeData("bs."+e.type),e.$tip&&e.$tip.detach(),e.$tip=null,e.$arrow=null,e.$viewport=null,e.$element=null})},g.prototype.sanitizeHtml=function(e){return o(e,this.options.whiteList,this.options.sanitizeFn)};var t=m.fn.tooltip;m.fn.tooltip=function(i){return this.each(function(){var e=m(this),t=e.data("bs.tooltip"),n="object"==typeof i&&i;!t&&/destroy|hide/.test(i)||(t||e.data("bs.tooltip",t=new g(this,n)),"string"==typeof i&&t[i]())})},m.fn.tooltip.Constructor=g,m.fn.tooltip.noConflict=function(){return m.fn.tooltip=t,this}}(jQuery),function(o){"use strict";var r=function(e,t){this.init("popover",e,t)};if(!o.fn.tooltip)throw new Error("Popover requires tooltip.js");r.VERSION="3.4.1",r.DEFAULTS=o.extend({},o.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),((r.prototype=o.extend({},o.fn.tooltip.Constructor.prototype)).constructor=r).prototype.getDefaults=function(){return r.DEFAULTS},r.prototype.setContent=function(){var e=this.tip(),t=this.getTitle(),n=this.getContent();if(this.options.html){var i=typeof n;this.options.sanitize&&(t=this.sanitizeHtml(t),"string"===i&&(n=this.sanitizeHtml(n))),e.find(".popover-title").html(t),e.find(".popover-content").children().detach().end()["string"===i?"html":"append"](n)}else e.find(".popover-title").text(t),e.find(".popover-content").children().detach().end().text(n);e.removeClass("fade top bottom left right in"),e.find(".popover-title").html()||e.find(".popover-title").hide()},r.prototype.hasContent=function(){return this.getTitle()||this.getContent()},r.prototype.getContent=function(){var e=this.$element,t=this.options;return e.attr("data-content")||("function"==typeof t.content?t.content.call(e[0]):t.content)},r.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var e=o.fn.popover;o.fn.popover=function(i){return this.each(function(){var e=o(this),t=e.data("bs.popover"),n="object"==typeof i&&i;!t&&/destroy|hide/.test(i)||(t||e.data("bs.popover",t=new r(this,n)),"string"==typeof i&&t[i]())})},o.fn.popover.Constructor=r,o.fn.popover.noConflict=function(){return o.fn.popover=e,this}}(jQuery),function(r){"use strict";function o(e,t){this.$body=r(document.body),this.$scrollElement=r(e).is(document.body)?r(window):r(e),this.options=r.extend({},o.DEFAULTS,t),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",r.proxy(this.process,this)),this.refresh(),this.process()}function t(i){return this.each(function(){var e=r(this),t=e.data("bs.scrollspy"),n="object"==typeof i&&i;t||e.data("bs.scrollspy",t=new o(this,n)),"string"==typeof i&&t[i]()})}o.VERSION="3.4.1",o.DEFAULTS={offset:10},o.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},o.prototype.refresh=function(){var e=this,i="offset",o=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),r.isWindow(this.$scrollElement[0])||(i="position",o=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var e=r(this),t=e.data("target")||e.attr("href"),n=/^#./.test(t)&&r(t);return n&&n.length&&n.is(":visible")&&[[n[i]().top+o,t]]||null}).sort(function(e,t){return e[0]-t[0]}).each(function(){e.offsets.push(this[0]),e.targets.push(this[1])})},o.prototype.process=function(){var e,t=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),i=this.options.offset+n-this.$scrollElement.height(),o=this.offsets,r=this.targets,a=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),i<=t)return a!=(e=r[r.length-1])&&this.activate(e);if(a&&t<o[0])return this.activeTarget=null,this.clear();for(e=o.length;e--;)a!=r[e]&&t>=o[e]&&(void 0===o[e+1]||t<o[e+1])&&this.activate(r[e])},o.prototype.activate=function(e){this.activeTarget=e,this.clear();var t=this.selector+'[data-target="'+e+'"],'+this.selector+'[href="'+e+'"]',n=r(t).parents("li").addClass("active");n.parent(".dropdown-menu").length&&(n=n.closest("li.dropdown").addClass("active")),n.trigger("activate.bs.scrollspy")},o.prototype.clear=function(){r(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var e=r.fn.scrollspy;r.fn.scrollspy=t,r.fn.scrollspy.Constructor=o,r.fn.scrollspy.noConflict=function(){return r.fn.scrollspy=e,this},r(window).on("load.bs.scrollspy.data-api",function(){r('[data-spy="scroll"]').each(function(){var e=r(this);t.call(e,e.data())})})}(jQuery),function(s){"use strict";var a=function(e){this.element=s(e)};function t(n){return this.each(function(){var e=s(this),t=e.data("bs.tab");t||e.data("bs.tab",t=new a(this)),"string"==typeof n&&t[n]()})}a.VERSION="3.4.1",a.TRANSITION_DURATION=150,a.prototype.show=function(){var e=this.element,t=e.closest("ul:not(.dropdown-menu)"),n=e.data("target");if(n||(n=(n=e.attr("href"))&&n.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var i=t.find(".active:last a"),o=s.Event("hide.bs.tab",{relatedTarget:e[0]}),r=s.Event("show.bs.tab",{relatedTarget:i[0]});if(i.trigger(o),e.trigger(r),!r.isDefaultPrevented()&&!o.isDefaultPrevented()){var a=s(document).find(n);this.activate(e.closest("li"),t),this.activate(a,a.parent(),function(){i.trigger({type:"hidden.bs.tab",relatedTarget:e[0]}),e.trigger({type:"shown.bs.tab",relatedTarget:i[0]})})}}},a.prototype.activate=function(e,t,n){var i=t.find("> .active"),o=n&&s.support.transition&&(i.length&&i.hasClass("fade")||!!t.find("> .fade").length);function r(){i.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),e.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),o?(e[0].offsetWidth,e.addClass("in")):e.removeClass("fade"),e.parent(".dropdown-menu").length&&e.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),n&&n()}i.length&&o?i.one("bsTransitionEnd",r).emulateTransitionEnd(a.TRANSITION_DURATION):r(),i.removeClass("in")};var e=s.fn.tab;s.fn.tab=t,s.fn.tab.Constructor=a,s.fn.tab.noConflict=function(){return s.fn.tab=e,this};var n=function(e){e.preventDefault(),t.call(s(this),"show")};s(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',n).on("click.bs.tab.data-api",'[data-toggle="pill"]',n)}(jQuery),function(l){"use strict";var c=function(e,t){this.options=l.extend({},c.DEFAULTS,t);var n=this.options.target===c.DEFAULTS.target?l(this.options.target):l(document).find(this.options.target);this.$target=n.on("scroll.bs.affix.data-api",l.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",l.proxy(this.checkPositionWithEventLoop,this)),this.$element=l(e),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};function n(i){return this.each(function(){var e=l(this),t=e.data("bs.affix"),n="object"==typeof i&&i;t||e.data("bs.affix",t=new c(this,n)),"string"==typeof i&&t[i]()})}c.VERSION="3.4.1",c.RESET="affix affix-top affix-bottom",c.DEFAULTS={offset:0,target:window},c.prototype.getState=function(e,t,n,i){var o=this.$target.scrollTop(),r=this.$element.offset(),a=this.$target.height();if(null!=n&&"top"==this.affixed)return o<n&&"top";if("bottom"==this.affixed)return null!=n?!(o+this.unpin<=r.top)&&"bottom":!(o+a<=e-i)&&"bottom";var s=null==this.affixed,l=s?o:r.top;return null!=n&&o<=n?"top":null!=i&&e-i<=l+(s?a:t)&&"bottom"},c.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(c.RESET).addClass("affix");var e=this.$target.scrollTop(),t=this.$element.offset();return this.pinnedOffset=t.top-e},c.prototype.checkPositionWithEventLoop=function(){setTimeout(l.proxy(this.checkPosition,this),1)},c.prototype.checkPosition=function(){if(this.$element.is(":visible")){var e=this.$element.height(),t=this.options.offset,n=t.top,i=t.bottom,o=Math.max(l(document).height(),l(document.body).height());"object"!=typeof t&&(i=n=t),"function"==typeof n&&(n=t.top(this.$element)),"function"==typeof i&&(i=t.bottom(this.$element));var r=this.getState(o,e,n,i);if(this.affixed!=r){null!=this.unpin&&this.$element.css("top","");var a="affix"+(r?"-"+r:""),s=l.Event(a+".bs.affix");if(this.$element.trigger(s),s.isDefaultPrevented())return;this.affixed=r,this.unpin="bottom"==r?this.getPinnedOffset():null,this.$element.removeClass(c.RESET).addClass(a).trigger(a.replace("affix","affixed")+".bs.affix")}"bottom"==r&&this.$element.offset({top:o-e-i})}};var e=l.fn.affix;l.fn.affix=n,l.fn.affix.Constructor=c,l.fn.affix.noConflict=function(){return l.fn.affix=e,this},l(window).on("load",function(){l('[data-spy="affix"]').each(function(){var e=l(this),t=e.data();t.offset=t.offset||{},null!=t.offsetBottom&&(t.offset.bottom=t.offsetBottom),null!=t.offsetTop&&(t.offset.top=t.offsetTop),n.call(e,t)})})}(jQuery),function(a,v){var u,d,f,y=a,b=y.document,c=y.navigator,o=y.setTimeout,e=y.clearTimeout,p=y.setInterval,t=y.clearInterval,l=y.getComputedStyle,s=y.encodeURIComponent,h=y.ActiveXObject,r=y.Error,n=y.Number.parseInt||y.parseInt,m=y.Number.parseFloat||y.parseFloat,i=y.Number.isNaN||y.isNaN,g=y.Date.now,w=y.Object.keys,x=y.Object.prototype.hasOwnProperty,T=y.Array.prototype.slice,C=function(){var e=function(e){return e};if("function"==typeof y.wrap&&"function"==typeof y.unwrap)try{var t=b.createElement("div"),n=y.unwrap(t);1===t.nodeType&&n&&1===n.nodeType&&(e=y.unwrap)}catch(e){}return e}(),E=function(e){return T.call(e,0)},k=function(){var e,t,n,i,o,r=E(arguments),a=r[0]||{};for(e=1,t=r.length;e<t;e++)if(null!=(n=r[e]))for(i in n)x.call(n,i)&&(a[i],a!==(o=n[i])&&o!==v&&(a[i]=o));return a},$=function(e){var t,n,i,o;if("object"!=typeof e||null==e||"number"==typeof e.nodeType)t=e;else if("number"==typeof e.length)for(t=[],n=0,i=e.length;n<i;n++)x.call(e,n)&&(t[n]=$(e[n]));else for(o in t={},e)x.call(e,o)&&(t[o]=$(e[o]));return t},S=function(e,t){if(e&&1===e.nodeType&&e.ownerDocument&&t&&(1===t.nodeType&&t.ownerDocument&&t.ownerDocument===e.ownerDocument||9===t.nodeType&&!t.ownerDocument&&t===e.ownerDocument))do{if(e===t)return!0;e=e.parentNode}while(e);return!1},A=function(e){var t;return"string"==typeof e&&e&&(t=e.split("#")[0].split("?")[0],t=e.slice(0,e.lastIndexOf("/")+1)),t},N=function(){var e,t,n;if(b.currentScript&&(e=b.currentScript.src))return e;if(1===(t=b.getElementsByTagName("script")).length)return t[0].src||v;if("readyState"in(t[0]||document.createElement("script")))for(n=t.length;n--;)if("interactive"===t[n].readyState&&(e=t[n].src))return e;return"loading"===b.readyState&&(e=t[t.length-1].src)?e:(e=function(){var e,t,n,i,o;try{throw new r}catch(e){t=e}return t&&(e=t.sourceURL||t.fileName||("string"==typeof(n=t.stack)&&n&&((o=n.match(/^(?:|[^:@]*@|.+\)@(?=http[s]?|file)|.+?\s+(?: at |@)(?:[^:\(]+ )*[\(]?)((?:http[s]?|file):\/\/[\/]?.+?\/[^:\)]*?)(?::\d+)(?::\d+)?/))&&o[1]?i=o[1]:(o=n.match(/\)@((?:http[s]?|file):\/\/[\/]?.+?\/[^:\)]*?)(?::\d+)(?::\d+)?/))&&o[1]&&(i=o[1])),i)),e}())?e:v},D=null==y.opener&&(!!y.top&&y!=y.top||!!y.parent&&y!=y.parent),j="html"===b.documentElement.nodeName,I={bridge:null,version:"0.0.0",pluginType:"unknown",sandboxed:null,disabled:null,outdated:null,insecure:null,unavailable:null,degraded:null,deactivated:null,overdue:null,ready:null},L={},O={},H=null,M=0,_=0,F={ready:"Flash communication is established",error:{"flash-sandboxed":"Attempting to run Flash in a sandboxed iframe, which is impossible","flash-disabled":"Flash is disabled or not installed. May also be attempting to run Flash in a sandboxed iframe, which is impossible.","flash-outdated":"Flash is too outdated to support ZeroClipboard","flash-insecure":"Flash will be unable to communicate due to a protocol mismatch between your `swfPath` configuration and the page","flash-unavailable":"Flash is unable to communicate bidirectionally with JavaScript","flash-degraded":"Flash is unable to preserve data fidelity when communicating with JavaScript","flash-deactivated":"Flash is too outdated for your browser and/or is configured as click-to-activate.\nThis may also mean that the ZeroClipboard SWF object could not be loaded, so please check your `swfPath` configuration and/or network connectivity.\nMay also be attempting to run Flash in a sandboxed iframe, which is impossible.","flash-overdue":"Flash communication was established but NOT within the acceptable time limit","version-mismatch":"ZeroClipboard JS version number does not match ZeroClipboard SWF version number","clipboard-error":"At least one error was thrown while ZeroClipboard was attempting to inject your data into the clipboard","config-mismatch":"ZeroClipboard configuration does not match Flash's reality","swf-not-found":"The ZeroClipboard SWF object could not be loaded, so please check your `swfPath` configuration and/or network connectivity","browser-unsupported":"The browser does not support the required HTML DOM and JavaScript features"}},R=["flash-unavailable","flash-degraded","flash-overdue","version-mismatch","config-mismatch","clipboard-error"],P=["flash-sandboxed","flash-disabled","flash-outdated","flash-insecure","flash-unavailable","flash-degraded","flash-deactivated","flash-overdue"],q=new RegExp("^flash-("+P.map(function(e){return e.replace(/^flash-/,"")}).join("|")+")$"),B=new RegExp("^flash-("+P.filter(function(e){return"flash-disabled"!==e}).map(function(e){return e.replace(/^flash-/,"")}).join("|")+")$"),z={swfPath:(A(N())||function(){var e,t,n,i=b.getElementsByTagName("script");for(e=i.length;e--;){if(!(n=i[e].src)){t=null;break}if(n=A(n),null==t)t=n;else if(t!==n){t=null;break}}return t||v}()||"")+"ZeroClipboard.swf",trustedDomains:y.location.host?[y.location.host]:[],cacheBust:!0,forceEnhancedClipboard:!1,flashLoadTimeout:3e4,autoActivate:!0,bubbleEvents:!0,fixLineEndings:!0,containerId:"global-zeroclipboard-html-bridge",containerClass:"global-zeroclipboard-container",swfObjectId:"global-zeroclipboard-flash-bridge",hoverClass:!1,activeClass:!1,forceHandCursor:!1,title:null,zIndex:999999999},W=function(){return!!(b.addEventListener&&y.Object.keys&&y.Array.prototype.map)},U=function(){var e=z.swfPath||"",t=e.slice(0,2),n=e.slice(0,e.indexOf("://")+1);return"\\\\"===t?"file:":"//"===t||""===n?y.location.protocol:n},V=function(e){void 0===e?(!function(e){if(e)for(var t in e)x.call(e,t)&&delete e[t]}(O),H=null):"string"==typeof e&&x.call(O,e)&&delete O[e]},X=function(e){return"string"==typeof e&&e&&/^[A-Za-z][A-Za-z0-9_:\-\.]*$/.test(e)},Y=function(e){var t;if("string"==typeof e&&e?(t=e,e={}):"object"==typeof e&&e&&"string"==typeof e.type&&e.type&&(t=e.type),t){t=t.toLowerCase(),!e.target&&(/^(copy|aftercopy|_click)$/.test(t)||"error"===t&&"clipboard-error"===e.name)&&(e.target=f),k(e,{type:t,target:e.target||d||null,relatedTarget:e.relatedTarget||null,currentTarget:I&&I.bridge||null,timeStamp:e.timeStamp||g()||null});var n=F[e.type];return"error"===e.type&&e.name&&n&&(n=n[e.name]),n&&(e.message=n),"ready"===e.type&&k(e,{target:null,version:I.version}),"error"===e.type&&(q.test(e.name)&&k(e,{target:null,minimumVersion:"11.0.0"}),B.test(e.name)&&k(e,{version:I.version}),"flash-insecure"===e.name&&k(e,{pageProtocol:y.location.protocol,swfProtocol:U()})),"copy"===e.type&&(e.clipboardData={setData:ke.setData,clearData:ke.clearData}),"aftercopy"===e.type&&(e=se(e,H)),e.target&&!e.relatedTarget&&(e.relatedTarget=Q(e.target)),Z(e)}},Q=function(e){var t=e&&e.getAttribute&&e.getAttribute("data-clipboard-target");return t?b.getElementById(t):null},Z=function(e){if(e&&/^_(?:click|mouse(?:over|out|down|up|move))$/.test(e.type)){var t=e.target,n="_mouseover"===e.type&&e.relatedTarget?e.relatedTarget:v,i="_mouseout"===e.type&&e.relatedTarget?e.relatedTarget:v,o=ge(t),r=y.screenLeft||y.screenX||0,a=y.screenTop||y.screenY||0,s=b.body.scrollLeft+b.documentElement.scrollLeft,l=b.body.scrollTop+b.documentElement.scrollTop,c=o.left+("number"==typeof e._stageX?e._stageX:0),u=o.top+("number"==typeof e._stageY?e._stageY:0),d=c-s,f=u-l,p=r+d,h=a+f,m="number"==typeof e.movementX?e.movementX:0,g="number"==typeof e.movementY?e.movementY:0;delete e._stageX,delete e._stageY,k(e,{srcElement:t,fromElement:n,toElement:i,screenX:p,screenY:h,pageX:c,pageY:u,clientX:d,clientY:f,x:d,y:f,movementX:m,movementY:g,offsetX:0,offsetY:0,layerX:0,layerY:0})}return e},J=function(e){var t=e&&"string"==typeof e.type&&e.type||"";return!/^(?:(?:before)?copy|destroy)$/.test(t)},G=function(e,t,n,i){i?o(function(){e.apply(t,n)},0):e.apply(t,n)},K=function(e){if("object"==typeof e&&e&&e.type){var t=J(e),n=L["*"]||[],i=L[e.type]||[],o=n.concat(i);if(o&&o.length){var r,a,s,l,c;for(r=0,a=o.length;r<a;r++)l=this,"string"==typeof(s=o[r])&&"function"==typeof y[s]&&(s=y[s]),"object"==typeof s&&s&&"function"==typeof s.handleEvent&&(s=(l=s).handleEvent),"function"==typeof s&&(c=k({},e),G(s,l,[c],t))}return this}},ee=function(e){var t,n,i=e.target||d||null,o="swf"===e._source;switch(delete e._source,e.type){case"error":var r="flash-sandboxed"===e.name||(t=e,n=null,(!1===D||t&&"error"===t.type&&t.name&&-1!==R.indexOf(t.name))&&(n=!1),n);"boolean"==typeof r&&(I.sandboxed=r),"browser-unsupported"===e.name?k(I,{disabled:!1,outdated:!1,unavailable:!1,degraded:!1,deactivated:!1,overdue:!1,ready:!1}):-1!==P.indexOf(e.name)?k(I,{disabled:"flash-disabled"===e.name,outdated:"flash-outdated"===e.name,insecure:"flash-insecure"===e.name,unavailable:"flash-unavailable"===e.name,degraded:"flash-degraded"===e.name,deactivated:"flash-deactivated"===e.name,overdue:"flash-overdue"===e.name,ready:!1}):"version-mismatch"===e.name&&(u=e.swfVersion,k(I,{disabled:!1,outdated:!1,insecure:!1,unavailable:!1,degraded:!1,deactivated:!1,overdue:!1,ready:!1})),ye();break;case"ready":u=e.swfVersion;var a=!0===I.deactivated;k(I,{sandboxed:!1,disabled:!1,outdated:!1,insecure:!1,unavailable:!1,degraded:!1,deactivated:!1,overdue:a,ready:!a}),ye();break;case"beforecopy":f=i;break;case"copy":var s,l,c=e.relatedTarget;!O["text/html"]&&!O["text/plain"]&&c&&(l=c.value||c.outerHTML||c.innerHTML)&&(s=c.value||c.textContent||c.innerText)?(e.clipboardData.clearData(),e.clipboardData.setData("text/plain",s),l!==s&&e.clipboardData.setData("text/html",l)):!O["text/plain"]&&e.target&&(s=e.target.getAttribute("data-clipboard-text"))&&(e.clipboardData.clearData(),e.clipboardData.setData("text/plain",s));break;case"aftercopy":te(e),ke.clearData(),i&&i!==fe()&&i.focus&&i.focus();break;case"_mouseover":ke.focus(i),!0===z.bubbleEvents&&o&&(i&&i!==e.relatedTarget&&!S(e.relatedTarget,i)&&ne(k({},e,{type:"mouseenter",bubbles:!1,cancelable:!1})),ne(k({},e,{type:"mouseover"})));break;case"_mouseout":ke.blur(),!0===z.bubbleEvents&&o&&(i&&i!==e.relatedTarget&&!S(e.relatedTarget,i)&&ne(k({},e,{type:"mouseleave",bubbles:!1,cancelable:!1})),ne(k({},e,{type:"mouseout"})));break;case"_mousedown":pe(i,z.activeClass),!0===z.bubbleEvents&&o&&ne(k({},e,{type:e.type.slice(1)}));break;case"_mouseup":he(i,z.activeClass),!0===z.bubbleEvents&&o&&ne(k({},e,{type:e.type.slice(1)}));break;case"_click":!(f=null)===z.bubbleEvents&&o&&ne(k({},e,{type:e.type.slice(1)}));break;case"_mousemove":!0===z.bubbleEvents&&o&&ne(k({},e,{type:e.type.slice(1)}))}if(/^_(?:click|mouse(?:over|out|down|up|move))$/.test(e.type))return!0},te=function(e){if(e.errors&&0<e.errors.length){var t=$(e);k(t,{type:"error",name:"clipboard-error"}),delete t.success,o(function(){ke.emit(t)},0)}},ne=function(e){if(e&&"string"==typeof e.type&&e){var t,n=e.target||null,i=n&&n.ownerDocument||b,o={view:i.defaultView||y,canBubble:!0,cancelable:!0,detail:"click"===e.type?1:0,button:"number"==typeof e.which?e.which-1:"number"==typeof e.button?e.button:i.createEvent?0:1},r=k(o,e);n&&i.createEvent&&n.dispatchEvent&&(r=[r.type,r.canBubble,r.cancelable,r.view,r.detail,r.screenX,r.screenY,r.clientX,r.clientY,r.ctrlKey,r.altKey,r.shiftKey,r.metaKey,r.button,r.relatedTarget],(t=i.createEvent("MouseEvents")).initMouseEvent&&(t.initMouseEvent.apply(t,r),t._source="js",n.dispatchEvent(t)))}},ie=function(e){for(var t=e&&e.parentNode;t&&"OBJECT"===t.nodeName&&t.parentNode;)t=t.parentNode;return t||null},oe=function(){var e,t,n,i=I.bridge,o=ie(i);if(!i){var r=de(y.location.host,z),a="never"===r?"none":"all",s=ce(k({jsVersion:ke.version},z)),l=z.swfPath+le(z.swfPath,z);j&&(l="string"==typeof(n=l)&&n?n.replace(/["&'<>]/g,function(e){switch(e){case'"':return"&quot;";case"&":return"&amp;";case"'":return"&apos;";case"<":return"&lt;";case">":return"&gt;";default:return e}}):n),(t=b.createElement("div")).id=z.containerId,t.className=z.containerClass,t.style.position="absolute",t.style.left="0px",t.style.top="-9999px",t.style.width="1px",t.style.height="1px",t.style.zIndex=""+xe(z.zIndex),o=t;var c=b.createElement("div");o.appendChild(c),b.body.appendChild(o);var u=b.createElement("div"),d="activex"===I.pluginType;u.innerHTML='<object id="'+z.swfObjectId+'" name="'+z.swfObjectId+'" width="100%" height="100%" '+(d?'classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"':'type="application/x-shockwave-flash" data="'+l+'"')+">"+(d?'<param name="movie" value="'+l+'"/>':"")+'<param name="allowScriptAccess" value="'+r+'"/><param name="allowNetworking" value="'+a+'"/><param name="menu" value="false"/><param name="wmode" value="transparent"/><param name="flashvars" value="'+s+'"/><div id="'+z.swfObjectId+'_fallbackContent">&nbsp;</div></object>',i=u.firstChild,u=null,C(i).ZeroClipboard=ke,o.replaceChild(i,c),function(){var e=z.flashLoadTimeout;if("number"==typeof e&&0<=e){var t=Math.min(1e3,e/10),n=z.swfObjectId+"_fallbackContent";_=p(function(){var e=b.getElementById(n);ve(e)&&(ye(),I.deactivated=null,ke.emit({type:"error",name:"swf-not-found"}))},t)}}()}return i||((i=b[z.swfObjectId])&&(e=i.length)&&(i=i[e-1]),!i&&o&&(i=o.firstChild)),I.bridge=i||null,i},re=function(){var n=I.bridge;if(n){var i=ie(n);i&&("activex"===I.pluginType&&"readyState"in n?(n.style.display="none",function e(){if(4===n.readyState){for(var t in n)"function"==typeof n[t]&&(n[t]=null);n.parentNode&&n.parentNode.removeChild(n),i.parentNode&&i.parentNode.removeChild(i)}else o(e,10)}()):(n.parentNode&&n.parentNode.removeChild(n),i.parentNode&&i.parentNode.removeChild(i))),ye(),I.ready=null,I.bridge=null,I.deactivated=null,I.insecure=null,u=v}},ae=function(e){var t={},n={};if("object"==typeof e&&e){for(var i in e)if(i&&x.call(e,i)&&"string"==typeof e[i]&&e[i])switch(i.toLowerCase()){case"text/plain":case"text":case"air:text":case"flash:text":t.text=e[i],n.text=i;break;case"text/html":case"html":case"air:html":case"flash:html":t.html=e[i],n.html=i;break;case"application/rtf":case"text/rtf":case"rtf":case"richtext":case"air:rtf":case"flash:rtf":t.rtf=e[i],n.rtf=i}return{data:t,formatMap:n}}},se=function(e,t){if("object"!=typeof e||!e||"object"!=typeof t||!t)return e;var n={};for(var i in e)if(x.call(e,i))if("errors"===i){n[i]=e[i]?e[i].slice():[];for(var o=0,r=n[i].length;o<r;o++)n[i][o].format=t[n[i][o].format]}else if("success"!==i&&"data"!==i)n[i]=e[i];else{n[i]={};var a=e[i];for(var s in a)s&&x.call(a,s)&&x.call(t,s)&&(n[i][t[s]]=a[s])}return n},le=function(e,t){return null==t||t&&!0===t.cacheBust?(-1===e.indexOf("?")?"?":"&")+"noCache="+g():""},ce=function(e){var t,n,i,o,r="",a=[];if(e.trustedDomains&&("string"==typeof e.trustedDomains?o=[e.trustedDomains]:"object"==typeof e.trustedDomains&&"length"in e.trustedDomains&&(o=e.trustedDomains)),o&&o.length)for(t=0,n=o.length;t<n;t++)if(x.call(o,t)&&o[t]&&"string"==typeof o[t]){if(!(i=ue(o[t])))continue;if("*"===i){a.length=0,a.push(i);break}a.push.apply(a,[i,"//"+i,y.location.protocol+"//"+i])}return a.length&&(r+="trustedOrigins="+s(a.join(","))),!0===e.forceEnhancedClipboard&&(r+=(r?"&":"")+"forceEnhancedClipboard=true"),"string"==typeof e.swfObjectId&&e.swfObjectId&&(r+=(r?"&":"")+"swfObjectId="+s(e.swfObjectId)),"string"==typeof e.jsVersion&&e.jsVersion&&(r+=(r?"&":"")+"jsVersion="+s(e.jsVersion)),r},ue=function(e){if(null==e||""===e)return null;if(""===(e=e.replace(/^\s+|\s+$/g,"")))return null;var t=e.indexOf("//"),n=(e=-1===t?e:e.slice(t+2)).indexOf("/");return(e=-1===n?e:-1===t||0===n?null:e.slice(0,n))&&".swf"===e.slice(-4).toLowerCase()?null:e||null},de=function(e,t){var n=ue(t.swfPath);null===n&&(n=e);var i=function(e){var t,n,i,o=[];if("string"==typeof e&&(e=[e]),"object"!=typeof e||!e||"number"!=typeof e.length)return o;for(t=0,n=e.length;t<n;t++)if(x.call(e,t)&&(i=ue(e[t]))){if("*"===i){o.length=0,o.push("*");break}-1===o.indexOf(i)&&o.push(i)}return o}(t.trustedDomains),o=i.length;if(0<o){if(1===o&&"*"===i[0])return"always";if(-1!==i.indexOf(e))return 1===o&&e===n?"sameDomain":"always"}return"never"},fe=function(){try{return b.activeElement}catch(e){return null}},pe=function(e,t){var n,i,o,r=[];if("string"==typeof t&&t&&(r=t.split(/\s+/)),e&&1===e.nodeType&&0<r.length){for(o=(" "+(e.className||"")+" ").replace(/[\t\r\n\f]/g," "),n=0,i=r.length;n<i;n++)-1===o.indexOf(" "+r[n]+" ")&&(o+=r[n]+" ");(o=o.replace(/^\s+|\s+$/g,""))!==e.className&&(e.className=o)}return e},he=function(e,t){var n,i,o,r=[];if("string"==typeof t&&t&&(r=t.split(/\s+/)),e&&1===e.nodeType&&0<r.length&&e.className){for(o=(" "+e.className+" ").replace(/[\t\r\n\f]/g," "),n=0,i=r.length;n<i;n++)o=o.replace(" "+r[n]+" "," ");(o=o.replace(/^\s+|\s+$/g,""))!==e.className&&(e.className=o)}return e},me=function(e,t){var n=l(e,null).getPropertyValue(t);return"cursor"!==t||n&&"auto"!==n||"A"!==e.nodeName?n:"pointer"},ge=function(e){var t={left:0,top:0,width:0,height:0};if(e.getBoundingClientRect){var n=e.getBoundingClientRect(),i=y.pageXOffset,o=y.pageYOffset,r=b.documentElement.clientLeft||0,a=b.documentElement.clientTop||0,s=0,l=0;if("relative"===me(b.body,"position")){var c=b.body.getBoundingClientRect(),u=b.documentElement.getBoundingClientRect();s=c.left-u.left||0,l=c.top-u.top||0}t.left=n.left+i-r-s,t.top=n.top+o-a-l,t.width="width"in n?n.width:n.right-n.left,t.height="height"in n?n.height:n.bottom-n.top}return t},ve=function(e){if(!e)return!1;var t=l(e,null);if(!t)return!1;var n=0<m(t.height),i=0<m(t.width),o=0<=m(t.top),r=0<=m(t.left),a=n&&i&&o&&r,s=a?null:ge(e);return"none"!==t.display&&"collapse"!==t.visibility&&(a||!!s&&(n||0<s.height)&&(i||0<s.width)&&(o||0<=s.top)&&(r||0<=s.left))},ye=function(){e(M),M=0,t(_),_=0},be=function(){var e;if(d&&(e=ie(I.bridge))){var t=ge(d);k(e.style,{width:t.width+"px",height:t.height+"px",top:t.top+"px",left:t.left+"px",zIndex:""+xe(z.zIndex)})}},we=function(e){!0===I.ready&&(I.bridge&&"function"==typeof I.bridge.setHandCursor?I.bridge.setHandCursor(e):I.ready=!1)},xe=function(e){return/^(?:auto|inherit)$/.test(e)?e:("number"!=typeof e||i(e)?"string"==typeof e&&(t=xe(n(e,10))):t=e,"number"==typeof t?t:"auto");var t},Te=function(e){var t,n=/(\r\n|\r|\n)/g;return"string"==typeof e&&!0===z.fixLineEndings&&(t=/win(dows|[\s]?(nt|me|ce|xp|vista|[\d]+))/i,c&&(t.test(c.appVersion||"")||t.test(c.platform||"")||-1!==(c.userAgent||"").indexOf("Windows"))?/((^|[^\r])\n|\r([^\n]|$))/.test(e)&&(e=e.replace(n,"\r\n")):/\r/.test(e)&&(e=e.replace(n,"\n"))),e},Ce=function(e){var t,n,i,o=I.sandboxed,r=null;if(e=!0===e,!1===D)r=!1;else{try{n=a.frameElement||null}catch(e){i={name:e.name,message:e.message}}if(n&&1===n.nodeType&&"IFRAME"===n.nodeName)try{r=n.hasAttribute("sandbox")}catch(e){r=null}else{try{t=document.domain||null}catch(e){t=null}(null===t||i&&"SecurityError"===i.name&&/(^|[\s\(\[@])sandbox(es|ed|ing|[\s\.,!\)\]@]|$)/.test(i.message.toLowerCase()))&&(r=!0)}}return o===(I.sandboxed=r)||e||Ee(h),r},Ee=function(t){var n,e,i=!1,o=!1,r=!1,a="";function s(e){var t=e.match(/[\d]+/g);return t.length=3,t.join(".")}function l(e){var t;e&&(i=!0,e.version&&(a=s(e.version)),!a&&e.description&&(a=s(e.description)),e.filename&&(t=e.filename,r=!!t&&(t=t.toLowerCase())&&(/^(pepflashplayer\.dll|libpepflashplayer\.so|pepperflashplayer\.plugin)$/.test(t)||"chrome.plugin"===t.slice(-13))))}if(c.plugins&&c.plugins.length)l(c.plugins["Shockwave Flash"]),c.plugins["Shockwave Flash 2.0"]&&(i=!0,a="2.0.0.11");else if(c.mimeTypes&&c.mimeTypes.length)l((e=c.mimeTypes["application/x-shockwave-flash"])&&e.enabledPlugin);else if(void 0!==t){o=!0;try{n=new t("ShockwaveFlash.ShockwaveFlash.7"),i=!0,a=s(n.GetVariable("$version"))}catch(e){try{n=new t("ShockwaveFlash.ShockwaveFlash.6"),i=!0,a="6.0.21"}catch(e){try{n=new t("ShockwaveFlash.ShockwaveFlash"),i=!0,a=s(n.GetVariable("$version"))}catch(e){o=!1}}}}I.disabled=!0!==i,I.outdated=a&&m(a)<m("11.0.0"),I.version=a||"0.0.0",I.pluginType=r?"pepper":o?"activex":i?"netscape":"unknown"};Ee(h),Ce(!0);var ke=function(){if(!(this instanceof ke))return new ke;"function"==typeof ke._createClient&&ke._createClient.apply(this,E(arguments))};ke.version="2.4.0-beta.1",ke.config=function(){return function(t){return"object"!=typeof t||!t||"length"in t||w(t).forEach(function(e){if(/^(?:forceHandCursor|title|zIndex|bubbleEvents|fixLineEndings)$/.test(e))z[e]=t[e];else if(null==I.bridge)if("containerId"===e||"swfObjectId"===e){if(!X(t[e]))throw new Error("The specified `"+e+"` value is not valid as an HTML4 Element ID");z[e]=t[e]}else z[e]=t[e]}),"string"==typeof t&&t?x.call(z,t)?z[t]:void 0:$(z)}.apply(this,E(arguments))},ke.state=function(){return function(){return Ce(),{browser:k(function(e,t){for(var n={},i=0,o=t.length;i<o;i++)t[i]in e&&(n[t[i]]=e[t[i]]);return n}(c,["userAgent","platform","appName","appVersion"]),{isSupported:W()}),flash:function(e,t){var n={};for(var i in e)-1===t.indexOf(i)&&(n[i]=e[i]);return n}(I,["bridge"]),zeroclipboard:{version:ke.version,config:ke.config()}}}.apply(this,E(arguments))},ke.isFlashUnusable=function(){return function(){return!!(I.sandboxed||I.disabled||I.outdated||I.unavailable||I.degraded||I.deactivated)}.apply(this,E(arguments))},ke.on=function(){return function(n,e){var t,i,o,r={};if("string"==typeof n&&n?o=n.toLowerCase().split(/\s+/):"object"!=typeof n||!n||"length"in n||void 0!==e||w(n).forEach(function(e){var t=n[e];"function"==typeof t&&ke.on(e,t)}),o&&o.length&&e){for(t=0,i=o.length;t<i;t++)r[n=o[t].replace(/^on/,"")]=!0,L[n]||(L[n]=[]),L[n].push(e);if(r.ready&&I.ready&&ke.emit({type:"ready"}),r.error){for(W()||ke.emit({type:"error",name:"browser-unsupported"}),t=0,i=P.length;t<i;t++)if(!0===I[P[t].replace(/^flash-/,"")]){ke.emit({type:"error",name:P[t]});break}u!==v&&ke.version!==u&&ke.emit({type:"error",name:"version-mismatch",jsVersion:ke.version,swfVersion:u})}}return ke}.apply(this,E(arguments))},ke.off=function(){return function(n,e){var t,i,o,r,a;if(0===arguments.length?r=w(L):"string"==typeof n&&n?r=n.toLowerCase().split(/\s+/):"object"!=typeof n||!n||"length"in n||void 0!==e||w(n).forEach(function(e){var t=n[e];"function"==typeof t&&ke.off(e,t)}),r&&r.length)for(t=0,i=r.length;t<i;t++)if(n=r[t].replace(/^on/,""),(a=L[n])&&a.length)if(e)for(o=a.indexOf(e);-1!==o;)a.splice(o,1),o=a.indexOf(e,o);else a.length=0;return ke}.apply(this,E(arguments))},ke.handlers=function(){return function(e){return"string"==typeof e&&e?$(L[e])||null:$(L)}.apply(this,E(arguments))},ke.emit=function(){return function(e){var t,n,i;if((e=Y(e))&&!ee(e))return"ready"===e.type&&!0===I.overdue?ke.emit({type:"error",name:"flash-overdue"}):(t=k({},e),K.call(this,t),"copy"===e.type&&(n=(i=ae(O)).data,H=i.formatMap),n)}.apply(this,E(arguments))},ke.create=function(){return function(){var e,t,n=I.sandboxed;if(!W())return I.ready=!1,void ke.emit({type:"error",name:"browser-unsupported"});Ce(),"boolean"!=typeof I.ready&&(I.ready=!1),I.sandboxed!==n&&!0===I.sandboxed?(I.ready=!1,ke.emit({type:"error",name:"flash-sandboxed"})):ke.isFlashUnusable()||null!==I.bridge||((t=U())&&t!==y.location.protocol?ke.emit({type:"error",name:"flash-insecure"}):("number"==typeof(e=z.flashLoadTimeout)&&0<=e&&(M=o(function(){"boolean"!=typeof I.deactivated&&(I.deactivated=!0),!0===I.deactivated&&ke.emit({type:"error",name:"flash-deactivated"})},e)),I.overdue=!1,oe()))}.apply(this,E(arguments))},ke.destroy=function(){return function(){ke.clearData(),ke.blur(),ke.emit("destroy"),re(),ke.off()}.apply(this,E(arguments))},ke.setData=function(){return function(e,t){var n;if("object"==typeof e&&e&&void 0===t)n=e,ke.clearData();else{if("string"!=typeof e||!e)return;(n={})[e]=t}for(var i in n)"string"==typeof i&&i&&x.call(n,i)&&"string"==typeof n[i]&&n[i]&&(O[i]=Te(n[i]))}.apply(this,E(arguments))},ke.clearData=function(){return V.apply(this,E(arguments))},ke.getData=function(){return function(e){return void 0===e?$(O):"string"==typeof e&&x.call(O,e)?O[e]:void 0}.apply(this,E(arguments))},ke.focus=ke.activate=function(){return function(e){if(e&&1===e.nodeType){d&&(he(d,z.activeClass),d!==e&&he(d,z.hoverClass)),pe(d=e,z.hoverClass);var t=e.getAttribute("title")||z.title;if("string"==typeof t&&t){var n=ie(I.bridge);n&&n.setAttribute("title",t)}var i=!0===z.forceHandCursor||"pointer"===me(e,"cursor");we(i),be()}}.apply(this,E(arguments))},ke.blur=ke.deactivate=function(){return function(){var e=ie(I.bridge);e&&(e.removeAttribute("title"),e.style.left="0px",e.style.top="-9999px",e.style.width="1px",e.style.height="1px"),d&&(he(d,z.hoverClass),he(d,z.activeClass),d=null)}.apply(this,E(arguments))},ke.activeElement=function(){return function(){return d||null}.apply(this,E(arguments))};var $e=0,Se={},Ae=0,Ne={},De={};k(z,{autoActivate:!0});var je=function(e){if(!e||!e.type)return!1;if(e.client&&e.client!==this)return!1;var t=Se[this.id],n=t&&t.elements,i=!!n&&0<n.length,o=!e.target||i&&-1!==n.indexOf(e.target),r=e.relatedTarget&&i&&-1!==n.indexOf(e.relatedTarget),a=e.client&&e.client===this;return!(!t||!(o||r||a))},Ie=function(e){var t=Se[this.id];if("object"==typeof e&&e&&e.type&&t){var n=J(e),i=t&&t.handlers["*"]||[],o=t&&t.handlers[e.type]||[],r=i.concat(o);if(r&&r.length){var a,s,l,c,u;for(a=0,s=r.length;a<s;a++)c=this,"string"==typeof(l=r[a])&&"function"==typeof y[l]&&(l=y[l]),"object"==typeof l&&l&&"function"==typeof l.handleEvent&&(l=(c=l).handleEvent),"function"==typeof l&&(u=k({},e),G(l,c,[u],n))}}},Le=function(e){return"string"==typeof e&&(e=[]),"number"!=typeof e.length?[e]:e},Oe=function(t){if(t&&1===t.nodeType){var n=function(e){(e||(e=y.event))&&("js"!==e._source&&(e.stopImmediatePropagation(),e.preventDefault()),delete e._source)},e=function(e){(e||(e=y.event))&&(n(e),ke.focus(t))};t.addEventListener("mouseover",e,!1),t.addEventListener("mouseout",n,!1),t.addEventListener("mouseenter",n,!1),t.addEventListener("mouseleave",n,!1),t.addEventListener("mousemove",n,!1),De[t.zcClippingId]={mouseover:e,mouseout:n,mouseenter:n,mouseleave:n,mousemove:n}}},He=function(e){if(e&&1===e.nodeType){var t=De[e.zcClippingId];if("object"==typeof t&&t){for(var n,i,o=["move","leave","enter","out","over"],r=0,a=o.length;r<a;r++)"function"==typeof(i=t[n="mouse"+o[r]])&&e.removeEventListener(n,i,!1);delete De[e.zcClippingId]}}};ke._createClient=function(){(function(e){var t,n=this;n.id=""+$e++,t={instance:n,elements:[],handlers:{},coreWildcardHandler:function(e){return n.emit(e)}},Se[n.id]=t,e&&n.clip(e),ke.on("*",t.coreWildcardHandler),ke.on("destroy",function(){n.destroy()}),ke.create()}).apply(this,E(arguments))},ke.prototype.on=function(){return function(n,e){var t,i,o,r={},a=this,s=Se[a.id],l=s&&s.handlers;if(!s)throw new Error("Attempted to add new listener(s) to a destroyed ZeroClipboard client instance");if("string"==typeof n&&n?o=n.toLowerCase().split(/\s+/):"object"!=typeof n||!n||"length"in n||void 0!==e||w(n).forEach(function(e){var t=n[e];"function"==typeof t&&a.on(e,t)}),o&&o.length&&e){for(t=0,i=o.length;t<i;t++)r[n=o[t].replace(/^on/,"")]=!0,l[n]||(l[n]=[]),l[n].push(e);if(r.ready&&I.ready&&this.emit({type:"ready",client:this}),r.error){for(t=0,i=P.length;t<i;t++)if(I[P[t].replace(/^flash-/,"")]){this.emit({type:"error",name:P[t],client:this});break}u!==v&&ke.version!==u&&this.emit({type:"error",name:"version-mismatch",jsVersion:ke.version,swfVersion:u})}}return a}.apply(this,E(arguments))},ke.prototype.off=function(){return function(n,e){var t,i,o,r,a,s=this,l=Se[s.id],c=l&&l.handlers;if(!c)return s;if(0===arguments.length?r=w(c):"string"==typeof n&&n?r=n.split(/\s+/):"object"!=typeof n||!n||"length"in n||void 0!==e||w(n).forEach(function(e){var t=n[e];"function"==typeof t&&s.off(e,t)}),r&&r.length)for(t=0,i=r.length;t<i;t++)if((a=c[n=r[t].toLowerCase().replace(/^on/,"")])&&a.length)if(e)for(o=a.indexOf(e);-1!==o;)a.splice(o,1),o=a.indexOf(e,o);else a.length=0;return s}.apply(this,E(arguments))},ke.prototype.handlers=function(){return function(e){var t=null,n=Se[this.id]&&Se[this.id].handlers;return n&&(t="string"==typeof e&&e?n[e]?n[e].slice(0):[]:$(n)),t}.apply(this,E(arguments))},ke.prototype.emit=function(){return function(e){var t;return je.call(this,e)&&("object"==typeof e&&e&&"string"==typeof e.type&&e.type&&(e=k({},e)),t=k({},Y(e),{client:this}),Ie.call(this,t)),this}.apply(this,E(arguments))},ke.prototype.clip=function(){return function(e){if(!Se[this.id])throw new Error("Attempted to clip element(s) to a destroyed ZeroClipboard client instance");e=Le(e);for(var t=0;t<e.length;t++)if(x.call(e,t)&&e[t]&&1===e[t].nodeType){e[t].zcClippingId?-1===Ne[e[t].zcClippingId].indexOf(this.id)&&Ne[e[t].zcClippingId].push(this.id):(e[t].zcClippingId="zcClippingId_"+Ae++,Ne[e[t].zcClippingId]=[this.id],!0===z.autoActivate&&Oe(e[t]));var n=Se[this.id]&&Se[this.id].elements;-1===n.indexOf(e[t])&&n.push(e[t])}return this}.apply(this,E(arguments))},ke.prototype.unclip=function(){return function(e){var t=Se[this.id];if(!t)return this;for(var n,i=t.elements,o=(e=void 0===e?i.slice(0):Le(e)).length;o--;)if(x.call(e,o)&&e[o]&&1===e[o].nodeType){for(n=0;-1!==(n=i.indexOf(e[o],n));)i.splice(n,1);var r=Ne[e[o].zcClippingId];if(r){for(n=0;-1!==(n=r.indexOf(this.id,n));)r.splice(n,1);0===r.length&&(!0===z.autoActivate&&He(e[o]),delete e[o].zcClippingId)}}return this}.apply(this,E(arguments))},ke.prototype.elements=function(){return function(){var e=Se[this.id];return e&&e.elements?e.elements.slice(0):[]}.apply(this,E(arguments))},ke.prototype.destroy=function(){return function(){var e=Se[this.id];e&&(this.unclip(),this.off(),ke.off("*",e.coreWildcardHandler),delete Se[this.id])}.apply(this,E(arguments))},ke.prototype.setText=function(e){if(!Se[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return ke.setData("text/plain",e),this},ke.prototype.setHtml=function(e){if(!Se[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return ke.setData("text/html",e),this},ke.prototype.setRichText=function(e){if(!Se[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return ke.setData("application/rtf",e),this},ke.prototype.setData=function(){if(!Se[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return ke.setData.apply(this,E(arguments)),this},ke.prototype.clearData=function(){if(!Se[this.id])throw new Error("Attempted to clear pending clipboard data from a destroyed ZeroClipboard client instance");return ke.clearData.apply(this,E(arguments)),this},ke.prototype.getData=function(){if(!Se[this.id])throw new Error("Attempted to get pending clipboard data from a destroyed ZeroClipboard client instance");return ke.getData.apply(this,E(arguments))},"function"==typeof define&&define.amd?define(function(){return ke}):"object"==typeof module&&module&&"object"==typeof module.exports&&module.exports?module.exports=ke:a.ZeroClipboard=ke}(function(){return this||window}()),function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Clipboard=e()}}(function(){return function r(a,s,l){function c(n,e){if(!s[n]){if(!a[n]){var t="function"==typeof require&&require;if(!e&&t)return t(n,!0);if(u)return u(n,!0);var i=new Error("Cannot find module '"+n+"'");throw i.code="MODULE_NOT_FOUND",i}var o=s[n]={exports:{}};a[n][0].call(o.exports,function(e){var t=a[n][1][e];return c(t||e)},o,o.exports,r,a,s,l)}return s[n].exports}for(var u="function"==typeof require&&require,e=0;e<l.length;e++)c(l[e]);return c}({1:[function(e,t,n){if("undefined"!=typeof Element&&!Element.prototype.matches){var i=Element.prototype;i.matches=i.matchesSelector||i.mozMatchesSelector||i.msMatchesSelector||i.oMatchesSelector||i.webkitMatchesSelector}t.exports=function(e,t){for(;e&&9!==e.nodeType;){if(e.matches(t))return e;e=e.parentNode}}},{}],2:[function(e,t,n){var a=e("./closest");t.exports=function(e,t,n,i,o){var r=function(t,n,e,i){return function(e){e.delegateTarget=a(e.target,n),e.delegateTarget&&i.call(t,e)}}.apply(this,arguments);return e.addEventListener(n,r,o),{destroy:function(){e.removeEventListener(n,r,o)}}}},{"./closest":1}],3:[function(e,t,n){n.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},n.nodeList=function(e){var t=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===t||"[object HTMLCollection]"===t)&&"length"in e&&(0===e.length||n.node(e[0]))},n.string=function(e){return"string"==typeof e||e instanceof String},n.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},{}],4:[function(e,t,n){var f=e("./is"),p=e("delegate");t.exports=function(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!f.string(t))throw new TypeError("Second argument must be a String");if(!f.fn(n))throw new TypeError("Third argument must be a Function");if(f.node(e))return u=t,d=n,(c=e).addEventListener(u,d),{destroy:function(){c.removeEventListener(u,d)}};if(f.nodeList(e))return a=e,s=t,l=n,Array.prototype.forEach.call(a,function(e){e.addEventListener(s,l)}),{destroy:function(){Array.prototype.forEach.call(a,function(e){e.removeEventListener(s,l)})}};if(f.string(e))return i=e,o=t,r=n,p(document.body,i,o,r);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList");var i,o,r,a,s,l,c,u,d}},{"./is":3,delegate:2}],5:[function(e,t,n){t.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var i=window.getSelection(),o=document.createRange();o.selectNodeContents(e),i.removeAllRanges(),i.addRange(o),t=i.toString()}return t}},{}],6:[function(e,t,n){function i(){}i.prototype={on:function(e,t,n){var i=this.e||(this.e={});return(i[e]||(i[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var i=this;function o(){i.off(e,o),t.apply(n,arguments)}return o._=t,this.on(e,o,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),i=0,o=n.length;i<o;i++)n[i].fn.apply(n[i].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),i=n[e],o=[];if(i&&t)for(var r=0,a=i.length;r<a;r++)i[r].fn!==t&&i[r].fn._!==t&&o.push(i[r]);return o.length?n[e]=o:delete n[e],this}},t.exports=i},{}],7:[function(i,o,r){!function(e,t){if(void 0!==r)t(o,i("select"));else{var n={exports:{}};t(n,e.select),e.clipboardAction=n.exports}}(this,function(e,t){var n,i=(n=t)&&n.__esModule?n:{default:n};var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var r=function(){function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}}(),a=function(){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.resolveOptions(e),this.initSelection()}return r(t,[{key:"resolveOptions",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.action=e.action,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var e=this,t="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=document.body.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,document.body.appendChild(this.fakeElem),this.selectedText=(0,i.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(document.body.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(document.body.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,i.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var t=void 0;try{t=document.execCommand(this.action)}catch(e){t=!1}this.handleResult(t)}},{key:"handleResult",value:function(e){this.emitter.emit(e?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.target&&this.target.blur(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(e){if(void 0!==e){if(!e||"object"!==(void 0===e?"undefined":o(e))||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=e}},get:function(){return this._target}}]),t}();e.exports=a})},{select:5}],8:[function(i,o,r){!function(e,t){if(void 0!==r)t(o,i("./clipboard-action"),i("tiny-emitter"),i("good-listener"));else{var n={exports:{}};t(n,e.clipboardAction,e.tinyEmitter,e.goodListener),e.clipboard=n.exports}}(this,function(e,t,n,i){var o=s(t),r=s(n),a=s(i);function s(e){return e&&e.__esModule?e:{default:e}}var l=function(){function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}}();var c=function(e){function i(e,t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(i.__proto__||Object.getPrototypeOf(i)).call(this));return n.resolveOptions(t),n.listenClick(e),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,r.default),l(i,[{key:"resolveOptions",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText}},{key:"listenClick",value:function(e){var t=this;this.listener=(0,a.default)(e,"click",function(e){return t.onClick(e)})}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new o.default({action:this.action(t),target:this.target(t),text:this.text(t),trigger:t,emitter:this})}},{key:"defaultAction",value:function(e){return u("action",e)}},{key:"defaultTarget",value:function(e){var t=u("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return u("text",e)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,n=!!document.queryCommandSupported;return t.forEach(function(e){n=n&&!!document.queryCommandSupported(e)}),n}}]),i}();function u(e,t){var n="data-clipboard-"+e;if(t.hasAttribute(n))return t.getAttribute(n)}e.exports=c})},{"./clipboard-action":7,"good-listener":4,"tiny-emitter":6}]},{},[8])(8)});var Article={TopBinder:[],Init:function(){Article.SetScreen();var e=$("#articleText"),t=e.offset(),n=$(".articleMenu").width();$(".articleSection",e);$(".ModalTables").on("shown.bs.modal",function(){var e=$(".modal-body",this),t=$("table",e),n=e.outerWidth(),i=t.outerWidth();e.is("cached")||(t.addClass("table"),n<i?t.addClass("autoWidth"):t.removeClass("autoWidth")),e.addClass("cached")});var i=function(e){var t=$(".xref",e),n=t.next("span:eq(0)"),i=e.position(),o=(t.outerHeight(),i.left),r=e.closest("li");0<r.length&&r.addClass("zindexFix"),n.removeClass("closed").addClass("opened").css({left:300<o?-o/3:0}).fadeIn("fast")},o=function(e){var t=$(".xref",e).next("span:eq(0)"),n=e.closest("li");0<n.length&&n.removeClass("zindexFix"),t.removeClass("opened").addClass("closed")};if(Article.IsTablet||Article.IsMobile){var r=!1,a=null;$("html").on("touchstart",function(e){$(".ref").each(function(){var e=$(this);o(e),r=!1})}),$(".ref").on("touchstart",function(e){e.stopPropagation();var t=$(this);null!==a&&t.get(0)===a.get(0)?r?r&&(o(t),r=!1):(i(a=t),r=!0):(null!==a&&o(a),i(a=t),r=!0)}),$("ul.floatingMenuMobile").on("click",function(){$(this).find(".fm-button-child").each(function(){$(this).addClass("tooltip-mobile-on")})})}else $(".ref").on("mouseenter mouseleave",function(e){e.preventDefault();var t=$(this);"mouseenter"===e.type?i(t):o(t)});$(".thumb").on("mouseenter mouseleave",function(e){var t=$(this).parent().parent().find(".preview");"mouseenter"==e.type?t.fadeIn("fast"):"mouseleave"==e.type&&t.fadeOut("fast")}),$(".ModalTables").on("shown.bs.modal",function(){0==$("table td[colspan], table td[rowspan]",this).length&&$("table",this).addClass("table-hover")}),$(".collapseTitle").on("click",function(){var e=$(this).next(),t=$(this).find(".collapseIcon");e.is(":visible")?(e.slideUp("fast"),t.removeClass("opened")):(e.slideDown("fast"),t.addClass("opened"))}),$(".expandReduceText").on("click",function(e){e.preventDefault();var t=$("#articleText .ref"),n=$("#articleText .text"),i=$(this).data("expandreducetext");void 0===$(this).data("defaultwidth")&&$(this).data("defaultwidth",n.outerWidth()),1==i?(t.hide(),n.outerWidth("100%"),$(this).data("expandreducetext",!1)):(n.width(""),t.show(),$(this).data("expandreducetext",!0));var o=$(window).scrollTop();setTimeout(function(){Article.ArticleStructureBuilder(),Article.ArticleStructureSelect(o)},100)}),$(".articleTxt .xref:not(.big)").on("click",function(){var e=$(this).text();$(".ref-list");-1==e.indexOf(",")||(e=(e=e.split(","))[0]),parseInt(e),e--}),Article.ArticleStructureBuilder(),t.top=t.top-25;var s=e.outerHeight(),l=$(".articleMenu").height();if(hbodyText=$(".articleTxt").height(),vbodyText=hbodyText+100+"px",vbodyTextMobile=hbodyText+150+"px",window.setTimeout(function(){l=$(".articleMenu").height()},200),hbodyText<750&&$(".floatingMenu, .floatingMenuItem, .floatingMenuMobile").css({bottom:"auto",top:Article.IsTablet?vbodyTextMobile:vbodyText}),window.setTimeout(function(){$(".floatingMenu, .floatingMenuItem, .floatingMenuMobile").css({opacity:"1"})},200),$(window).scroll(function(){var e=$(window).scrollTop();Article.isScrolledIntoView(".floatingMenuCtt")?($(".floatingMenuItem").css({position:"absolute"}),$(".floatingMenu").css({position:"absolute"})):($(".floatingMenuItem").css({position:"fixed"}),$(".floatingMenu").css({position:"fixed"})),e>t.top?($(".articleMenu").addClass("fixed").width(n),e>s+t.top-l-46?$(".articleMenu").addClass("fixedBottom"):$(".articleMenu").removeClass("fixedBottom")):$(".articleMenu").removeClass("fixed"),Article.ArticleStructureSelect(e),$(".alternativeHeader").stop(!1,!1)}),""!=window.location.hash){var c=window.location.hash,u=window.scrollY;$(c).modal("toggle").on("hidden.bs.modal",function(){window.location.hash="",$("body,html").scrollTop(u)})}$("[data-toggle='modal']").on("click",function(){var e=$(this).data("target"),t=window.scrollY;"undefined"==e&&""==e||(window.location.hash=e),$(e).on("hidden.bs.modal",function(){window.location.hash="",$("body,html").scrollTop(t)})});var d=$(".downloadOptions li.group"),f=100/d.length;d.css("width",f+"%"),Article.fechaAutores();var p=!1;$(".short-link").mouseenter(function(e){if(!p){if(-1!==(t=window.location.href).indexOf("localhost"))var t="http://www.scielo.br";$.ajax({type:"GET",async:!1,url:"http://ref.scielo.org/api/v1/shorten",data:"url="+encodeURI(t),dataType:"jsonp",success:function(e){result=e,p=!0}})}});var h=new Clipboard(".short-link",{text:function(e){return result}});h.on("success",function(e){var t=$(e.trigger);t.addClass("copyFeedback"),setTimeout(function(){t.removeClass("copyFeedback")},2e3)}),h.on("error",function(e){var t=$(e.trigger);t.addClass("copyFeedbackError"),setTimeout(function(){t.removeClass("copyFeedbackError")},2e3)}),$("ul.floatingMenuMobile").on("click",function(){$(this).find(".fm-button-child").each(function(){$(this).addClass("tooltip-mobile-on")})});var m=!0;$("ul.floatingMenuMobile").on("focusout click",function(e){if(m){if("focusout"===e.type)return;m=!1,$(this).find(".fm-list").children("li").removeAttr("style"),$(this).find(".fm-button-main").addClass("fm-button-main-mobile-open")}else m=!0,$(this).find(".fm-list").children("li").css({opacity:0}),$(this).find(".fm-button-main").removeClass("fm-button-main-mobile-open")})},isScrolledIntoView:function(e){var t=$(window).scrollTop(),n=t+$(window).height(),i=$(e).offset().top;return i+$(e).height()<=n&&t<=i},ArticleStructureBuilder:function(){var e=$(".articleMenu"),t=$("#articleText .articleSection"),o=0,r="";Article.TopBinder=[],t.each(function(){var e=$(this).data("anchor"),t=$(this).find(".articleSectionTitle"),n=$(this).offset();if(0==$(this).find("a[name='articleSection"+o+"']").length&&$(this).prepend("<a name='articleSection"+o+"'></a>"),0==o?Article.TopBinder.push(0):Article.TopBinder.push(n.top),void 0===e)return!0;if(r+="<li "+(0==o?'class="selected"':"")+">",r+='\t<a href="#articleSection'+o+'">'+e+"</a>",1<t.length){var i=0;r+="<ul>",t.each(function(){var e=$(this).offset();Article.TopBinder.push(e.top),0==$(this).prev("a[name='as"+o+"-heading"+i+"']").length&&$(this).before("<a name='as"+o+"-heading"+i+"'></a>"),r+="<li>",r+='\t<a href="#as'+o+"-heading"+i+'">'+$(this).text()+"</a>",r+="</li>",i++}),r+="</ul>"}r+="</li>",o++}),e.html(r),$("a",e).on("click",function(e){e.preventDefault();var t=$(this).attr("href");t=t.replace("#","");var n=$("a[name="+t+"]").offset();$("html,body").animate({scrollTop:n.top-60},500)})},ArticleStructureSelect:function(e){for(var t=$(".articleMenu"),n=0,i=Article.TopBinder.length;n<i;n++){if(n==i-1&&e>=Article.TopBinder[n]-100){t.find("li").removeClass("selected"),t.find("li:eq("+n+")").addClass("selected");break}if(e<=Article.TopBinder[n]-100){t.find("li").removeClass("selected"),t.find("li:eq("+(n-1)+")").addClass("selected");break}}},Bindings:function(e){void 0===e&&(e=".article")},fechaAutores:function(){var t=$(".contribGroup"),n=$(".contribGroup .dropdown"),i=n.length;if(10<=i){var o=null,r=$(".outlineFadeLink"),e=n[0],a=n[i-1],s=$('<a data-toggle="tooltip" data-placement="top" title="+'+(i-2)+'"></a>');s.text("[...]"),s.css({padding:"10px",cursor:"pointer"});var l=$("<div></div>"),c=$("<a></a>");c.addClass("btn-fechar");var u=$("<span></span>");u.addClass("sci-ico-floatingMenuClose"),c.append(u),l.append(c);var d=$("<div></div>");d.append(e),d.append(s),d.append(a),d.append(r),t.text(""),t.append(d),s.on("click",function(){o.tooltip("disable"),t.textContent="";for(var e=0;e<i;e++)t.append(n[e]);t.append(r),t.append(l)}),c.on("click",function(){o.tooltip("enable"),Article.fechaAutores()}),o=$('[data-toggle="tooltip"]').tooltip()}t.css("opacity","1")},IsMobile:!1,IsTablet:!1,IsTabletPortrait:!1,IsDesktop:!1,IsHD:!1,isOldIE:!1,DetectMobile:function(e){var t={detectMobileBrowsers:{fullPattern:/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,shortPattern:/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i}};return t.detectMobileBrowsers.fullPattern.test(e)||t.detectMobileBrowsers.shortPattern.test(e.substr(0,4))},DetectTablet:function(e){var t={detectMobileBrowsers:{tabletPattern:/android|ipad|playbook|silk/i}};return t.detectMobileBrowsers.tabletPattern.test(e)},SetScreen:function(){var e=$(window).innerWidth(),t=window.matchMedia("(orientation: portrait)").matches;990<e&&(Article.IsDesktop=!0),1206<e&&(Article.IsHD=!0),Article.DetectMobile(navigator.userAgent)&&(Article.IsMobile=!0),Article.DetectTablet(navigator.userAgent)&&(Article.IsTablet=!0,Article.IsTabletPortrait=!!t,window.addEventListener("orientationchange",function(){0==screen.orientation.angle?Article.IsTabletPortrait=!0:Article.IsTabletPortrait=!1})),-1<navigator.appVersion.indexOf("MSIE 8")&&(Article.IsMobile=!1,Article.IsTablet=!1,Article.IsDesktop=!0,Article.IsOldIE=!0,Article.IsHD=!1)}};$(function(){$("body.article").length&&Article.Init()});
//# sourceMappingURL=../maps/scielo-article-standalone-min.js.map
