text: /*!
   * jQuery JavaScript Library v2.1.4
   * http://jquery.com/
   *
   * Includes Sizzle.js
   * http://sizzlejs.com/
   *
   * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors
   * Released under the MIT license
   * http://jquery.org/license
   *
   * Date: 2015-04-28T16:01Z
   */
  (function(e,t){if(typeof module==="object"&&typeof module.exports==="object"){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)}}
  else{t(e)}}(typeof window!=="undefined"?window:this,function(t,n){var g=[],p=g.slice,ge=g.concat,G=g.push,E=g.indexOf,F={};var It=F.toString,ee=F.hasOwnProperty,o={};var r=t.document,he="2.1.4",e=function(t,n){return new e.fn.init(t,n)},Et=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,Dt=/^-ms-/,jt=/-([\da-z])/gi,St=function(e,t){return t.toUpperCase()};e.fn=e.prototype={jquery:he,constructor:e,selector:"",length:0,toArray:function(){return p.call(this)},get:function(e){return e!=null?(e<0?this[e+this.length]:this[e]):p.call(this)},pushStack:function(t){var n=e.merge(this.constructor(),t);n.prevObject=this;n.context=this.context;return n},each:function(t,n){return e.each(this,t,n)},map:function(t){return this.pushStack(e.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(p.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var n=this.length,t=+e+(e<0?n:0);return this.pushStack(t>=0&&t<n?[this[t]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:G,sort:g.sort,splice:g.splice};e.extend=e.fn.extend=function(){var f,o,r,n,a,u,t=arguments[0]||{},i=1,l=arguments.length,s=!1;if(typeof t==="boolean"){s=t;t=arguments[i]||{};i++};if(typeof t!=="object"&&!e.isFunction(t)){t={}};if(i===l){t=this;i--};for(;i<l;i++){if((f=arguments[i])!=null){for(o in f){r=t[o];n=f[o];if(t===n){continue};if(s&&n&&(e.isPlainObject(n)||(a=e.isArray(n)))){if(a){a=!1;u=r&&e.isArray(r)?r:[]}
  else{u=r&&e.isPlainObject(r)?r:{}};t[o]=e.extend(s,u,n)}
  else if(n!==undefined){t[o]=n}}}};return t};e.extend({expando:"jQuery"+(he+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(t){return e.type(t)==="function"},isArray:Array.isArray,isWindow:function(e){return e!=null&&e===e.window},isNumeric:function(t){return!e.isArray(t)&&(t-parseFloat(t)+1)>=0},isPlainObject:function(t){if(e.type(t)!=="object"||t.nodeType||e.isWindow(t)){return!1};if(t.constructor&&!ee.call(t.constructor.prototype,"isPrototypeOf")){return!1};return!0},isEmptyObject:function(e){var t;for(t in e){return!1};return!0},type:function(e){if(e==null){return e+""};return typeof e==="object"||typeof e==="function"?F[It.call(e)]||"object":typeof e},globalEval:function(t){var n,i=eval;t=e.trim(t);if(t){if(t.indexOf("use strict")===1){n=r.createElement("script");n.text=t;r.head.appendChild(n).parentNode.removeChild(n)}
  else{i(t)}}},camelCase:function(e){return e.replace(Dt,"ms-").replace(jt,St)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r,i=0,s=e.length,o=Y(e);if(n){if(o){for(;i<s;i++){r=t.apply(e[i],n);if(r===!1){break}}}
  else{for(i in e){r=t.apply(e[i],n);if(r===!1){break}}}}
  else{if(o){for(;i<s;i++){r=t.call(e[i],i,e[i]);if(r===!1){break}}}
  else{for(i in e){r=t.call(e[i],i,e[i]);if(r===!1){break}}}};return e},trim:function(e){return e==null?"":(e+"").replace(Et,"")},makeArray:function(t,n){var i=n||[];if(t!=null){if(Y(Object(t))){e.merge(i,typeof t==="string"?[t]:t)}
  else{G.call(i,t)}};return i},inArray:function(e,t,n){return t==null?-1:E.call(t,e,n)},merge:function(e,t){var r=+t.length,n=0,i=e.length;for(;n<r;n++){e[i++]=t[n]};e.length=i;return e},grep:function(e,t,n){var r,o=[],i=0,a=e.length,s=!n;for(;i<a;i++){r=!t(e[i],i);if(r!==s){o.push(e[i])}};return o},map:function(e,t,n){var r,i=0,a=e.length,s=Y(e),o=[];if(s){for(;i<a;i++){r=t(e[i],i,n);if(r!=null){o.push(r)}}}
  else{for(i in e){r=t(e[i],i,n);if(r!=null){o.push(r)}}};return ge.apply([],o)},guid:1,proxy:function(t,n){var r,o,i;if(typeof n==="string"){r=t[n];n=t;t=r};if(!e.isFunction(t)){return undefined};o=p.call(arguments,2);i=function(){return t.apply(n||this,o.concat(p.call(arguments)))};i.guid=t.guid=t.guid||e.guid++;return i},now:Date.now,support:o});e.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){F["[object "+t+"]"]=t.toLowerCase()});function Y(t){var n="length" in t&&t.length,i=e.type(t);if(i==="function"||e.isWindow(t)){return!1};if(t.nodeType===1&&n){return!0};return i==="array"||n===0||typeof n==="number"&&n>0&&(n-1)in t};var y=
  /*!
   * Sizzle CSS Selector Engine v2.2.0-pre
   * http://sizzlejs.com/
   *
   * Copyright 2008, 2014 jQuery Foundation, Inc. and other contributors
   * Released under the MIT license
   * http://jquery.org/license
   *
   * Date: 2014-12-16
   */
  (function(e){var E,r,t,F,se,j,U,oe,A,v,k,T,a,c,p,s,b,L,S,o="sizzle"+1*new Date(),f=e.document,d=0,pe=0,te=M(),ie=M(),ue=M(),Y=function(e,t){if(e===t){k=!0};return 0},ae=1<<31,fe=({}).hasOwnProperty,x=[],le=x.pop,he=x.push,y=x.push,ne=x.slice,C=function(e,t){var n=0,i=e.length;for(;n<i;n++){if(e[n]===t){return n}};return-1},Q="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",n="[\\x20\\t\\r\\n\\f]",N="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ee=N.replace("w","w#"),re="\\["+n+"*("+N+")(?:"+n+"*([*^$|!~]?=)"+n+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+ee+"))|)"+n+"*\\]",R=":("+N+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+re+")*)|.*)\\)|)",Ce=new RegExp(n+"+","g"),q=new RegExp("^"+n+"+|((?:^|[^\\\\])(?:\\\\.)*)"+n+"+$","g"),ke=new RegExp("^"+n+"*,"+n+"*"),Ne=new RegExp("^"+n+"*([>+~]|"+n+")"+n+"*"),be=new RegExp("="+n+"*([^\\]'\"]*?)"+n+"*\\]","g"),we=new RegExp(R),me=new RegExp("^"+ee+"$"),H={"ID":new RegExp("^#("+N+")"),"CLASS":new RegExp("^\\.("+N+")"),"TAG":new RegExp("^("+N.replace("w","w*")+")"),"ATTR":new RegExp("^"+re),"PSEUDO":new RegExp("^"+R),"CHILD":new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+n+"*(even|odd|(([+-]|)(\\d*)n|)"+n+"*(?:([+-]|)"+n+"*(\\d+)|))"+n+"*\\)|)","i"),"bool":new RegExp("^(?:"+Q+")$","i"),"needsContext":new RegExp("^"+n+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+n+"*((?:-\\d)?\\d*)"+n+"*\\)|)(?=[^-]|$)","i")},ye=/^(?:input|select|textarea|button)$/i,xe=/^h\d$/i,D=/^[^{]+\{\s*\[native \w/,Te=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,W=/[+~]/,ve=/'|\\/g,m=new RegExp("\\\\([\\da-f]{1,6}"+n+"?|("+n+")|.)","ig"),g=function(e,t,n){var i="0x"+t-0x10000;return i!==i||n?t:i<0?String.fromCharCode(i+0x10000):String.fromCharCode(i>>10|0xD800,i&0x3FF|0xDC00)},Z=function(){T()};try{y.apply((x=ne.call(f.childNodes)),f.childNodes);x[f.childNodes.length].nodeType}catch(u){y={apply:x.length?function(e,t){he.apply(e,ne.call(t))}:function(e,t){var n=e.length,i=0;while((e[n++]=t[i++])){};e.length=n-1}}};function i(e,t,n,i){var m,l,d,c,w,g,x,h,b,v;if((t?t.ownerDocument||t:f)!==a){T(t)};t=t||a;n=n||[];c=t.nodeType;if(typeof e!=="string"||!e||c!==1&&c!==9&&c!==11){return n};if(!i&&p){if(c!==11&&(m=Te.exec(e))){if((d=m[1])){if(c===9){l=t.getElementById(d);if(l&&l.parentNode){if(l.id===d){n.push(l);return n}}
  else{return n}}
  else{if(t.ownerDocument&&(l=t.ownerDocument.getElementById(d))&&S(t,l)&&l.id===d){n.push(l);return n}}}
  else if(m[2]){y.apply(n,t.getElementsByTagName(e));return n}
  else if((d=m[3])&&r.getElementsByClassName){y.apply(n,t.getElementsByClassName(d));return n}};if(r.qsa&&(!s||!s.test(e))){h=x=o;b=t;v=c!==1&&e;if(c===1&&t.nodeName.toLowerCase()!=="object"){g=j(e);if((x=t.getAttribute("id"))){h=x.replace(ve,"\\$&")}
  else{t.setAttribute("id",h)};h="[id='"+h+"'] ";w=g.length;while(w--){g[w]=h+P(g[w])};b=W.test(e)&&G(t.parentNode)||t;v=g.join(",")};if(v){try{y.apply(n,b.querySelectorAll(v));return n}catch(u){}finally{if(!x){t.removeAttribute("id")}}}}};return oe(e.replace(q,"$1"),t,n,i)};function M(){var n=[];function e(i,r){if(n.push(i+" ")>t.cacheLength){delete e[n.shift()]};return(e[i+" "]=r)};return e};function l(e){e[o]=!0;return e};function h(e){var n=a.createElement("div");try{return!!e(n)}catch(t){return!1}finally{if(n.parentNode){n.parentNode.removeChild(n)};n=null}};function V(e,n){var r=e.split("|"),i=e.length;while(i--){t.attrHandle[r[i]]=n}};function K(e,t){var n=t&&e,i=n&&e.nodeType===1&&t.nodeType===1&&(~t.sourceIndex||ae)-(~e.sourceIndex||ae);if(i){return i};if(n){while((n=n.nextSibling)){if(n===t){return-1}}};return e?1:-1};function ge(e){return function(t){var n=t.nodeName.toLowerCase();return n==="input"&&t.type===e}};function Ee(e){return function(t){var n=t.nodeName.toLowerCase();return(n==="input"||n==="button")&&t.type===e}};function w(e){return l(function(t){t=+t;return l(function(n,i){var r,s=e([],n.length,t),o=s.length;while(o--){if(n[(r=s[o])]){n[r]=!(i[r]=n[r])}}})})};function G(e){return e&&typeof e.getElementsByTagName!=="undefined"&&e};r=i.support={};se=i.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?t.nodeName!=="HTML":!1};T=i.setDocument=function(e){var l,u,i=e?e.ownerDocument||e:f;if(i===a||i.nodeType!==9||!i.documentElement){return a};a=i;c=i.documentElement;u=i.defaultView;if(u&&u!==u.top){if(u.addEventListener){u.addEventListener("unload",Z,!1)}
  else if(u.attachEvent){u.attachEvent("onunload",Z)}};p=!se(i);r.attributes=h(function(e){e.className="i";return!e.getAttribute("className")});r.getElementsByTagName=h(function(e){e.appendChild(i.createComment(""));return!e.getElementsByTagName("*").length});r.getElementsByClassName=D.test(i.getElementsByClassName);r.getById=h(function(e){c.appendChild(e).id=o;return!i.getElementsByName||!i.getElementsByName(o).length});if(r.getById){t.find["ID"]=function(e,t){if(typeof t.getElementById!=="undefined"&&p){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}};t.filter["ID"]=function(e){var t=e.replace(m,g);return function(e){return e.getAttribute("id")===t}}}
  else{delete t.find["ID"];t.filter["ID"]=function(e){var t=e.replace(m,g);return function(e){var n=typeof e.getAttributeNode!=="undefined"&&e.getAttributeNode("id");return n&&n.value===t}}};t.find["TAG"]=r.getElementsByTagName?function(e,t){if(typeof t.getElementsByTagName!=="undefined"){return t.getElementsByTagName(e)}
  else if(r.qsa){return t.querySelectorAll(e)}}:function(e,t){var n,i=[],o=0,r=t.getElementsByTagName(e);if(e==="*"){while((n=r[o++])){if(n.nodeType===1){i.push(n)}};return i};return r};t.find["CLASS"]=r.getElementsByClassName&&function(e,t){if(p){return t.getElementsByClassName(e)}};b=[];s=[];if((r.qsa=D.test(i.querySelectorAll))){h(function(e){c.appendChild(e).innerHTML="<a id='"+o+"'></a><select id='"+o+"-\f]' msallowcapture=''><option selected=''></option></select>";if(e.querySelectorAll("[msallowcapture^='']").length){s.push("[*^$]="+n+"*(?:''|\"\")")};if(!e.querySelectorAll("[selected]").length){s.push("\\["+n+"*(?:value|"+Q+")")};if(!e.querySelectorAll("[id~="+o+"-]").length){s.push("~=")};if(!e.querySelectorAll(":checked").length){s.push(":checked")};if(!e.querySelectorAll("a#"+o+"+*").length){s.push(".#.+[+~]")}});h(function(e){var t=i.createElement("input");t.setAttribute("type","hidden");e.appendChild(t).setAttribute("name","D");if(e.querySelectorAll("[name=d]").length){s.push("name"+n+"*[*^$|!~]?=")};if(!e.querySelectorAll(":enabled").length){s.push(":enabled",":disabled")};e.querySelectorAll("*,:x");s.push(",.*:")})};if((r.matchesSelector=D.test((L=c.matches||c.webkitMatchesSelector||c.mozMatchesSelector||c.oMatchesSelector||c.msMatchesSelector)))){h(function(e){r.disconnectedMatch=L.call(e,"div");L.call(e,"[s!='']:x");b.push("!=",R)})};s=s.length&&new RegExp(s.join("|"));b=b.length&&new RegExp(b.join("|"));l=D.test(c.compareDocumentPosition);S=l||D.test(c.contains)?function(e,t){var i=e.nodeType===9?e.documentElement:e,n=t&&t.parentNode;return e===n||!!(n&&n.nodeType===1&&(i.contains?i.contains(n):e.compareDocumentPosition&&e.compareDocumentPosition(n)&16))}:function(e,t){if(t){while((t=t.parentNode)){if(t===e){return!0}}};return!1};Y=l?function(e,t){if(e===t){k=!0;return 0};var n=!e.compareDocumentPosition-!t.compareDocumentPosition;if(n){return n};n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1;if(n&1||(!r.sortDetached&&t.compareDocumentPosition(e)===n)){if(e===i||e.ownerDocument===f&&S(f,e)){return-1};if(t===i||t.ownerDocument===f&&S(f,t)){return 1};return v?(C(v,e)-C(v,t)):0};return n&4?-1:1}:function(e,t){if(e===t){k=!0;return 0};var r,n=0,u=e.parentNode,a=t.parentNode,s=[e],o=[t];if(!u||!a){return e===i?-1:t===i?1:u?-1:a?1:v?(C(v,e)-C(v,t)):0}
  else if(u===a){return K(e,t)};r=e;while((r=r.parentNode)){s.unshift(r)};r=t;while((r=r.parentNode)){o.unshift(r)}
  while(s[n]===o[n]){n++};return n?K(s[n],o[n]):s[n]===f?-1:o[n]===f?1:0};return i};i.matches=function(e,t){return i(e,null,null,t)};i.matchesSelector=function(e,t){if((e.ownerDocument||e)!==a){T(e)};t=t.replace(be,"='$1']");if(r.matchesSelector&&p&&(!b||!b.test(t))&&(!s||!s.test(t))){try{var o=L.call(e,t);if(o||r.disconnectedMatch||e.document&&e.document.nodeType!==11){return o}}catch(n){}};return i(t,a,null,[e]).length>0};i.contains=function(e,t){if((e.ownerDocument||e)!==a){T(e)};return S(e,t)};i.attr=function(e,n){if((e.ownerDocument||e)!==a){T(e)};var o=t.attrHandle[n.toLowerCase()],i=o&&fe.call(t.attrHandle,n.toLowerCase())?o(e,n,!p):undefined;return i!==undefined?i:r.attributes||!p?e.getAttribute(n):(i=e.getAttributeNode(n))&&i.specified?i.value:null};i.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)};i.uniqueSort=function(e){var o,i=[],n=0,t=0;k=!r.detectDuplicates;v=!r.sortStable&&e.slice(0);e.sort(Y);if(k){while((o=e[t++])){if(o===e[t]){n=i.push(t)}}
  while(n--){e.splice(i[n],1)}};v=null;return e};F=i.getText=function(e){var i,n="",r=0,t=e.nodeType;if(!t){while((i=e[r++])){n+=F(i)}}
  else if(t===1||t===9||t===11){if(typeof e.textContent==="string"){return e.textContent}
  else{for(e=e.firstChild;e;e=e.nextSibling){n+=F(e)}}}
  else if(t===3||t===4){return e.nodeValue};return n};t=i.selectors={cacheLength:50,createPseudo:l,match:H,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{"ATTR":function(e){e[1]=e[1].replace(m,g);e[3]=(e[3]||e[4]||e[5]||"").replace(m,g);if(e[2]==="~="){e[3]=" "+e[3]+" "};return e.slice(0,4)},"CHILD":function(e){e[1]=e[1].toLowerCase();if(e[1].slice(0,3)==="nth"){if(!e[3]){i.error(e[0])};e[4]=+(e[4]?e[5]+(e[6]||1):2*(e[3]==="even"||e[3]==="odd"));e[5]=+((e[7]+e[8])||e[3]==="odd")}
  else if(e[3]){i.error(e[0])};return e},"PSEUDO":function(e){var n,t=!e[6]&&e[2];if(H["CHILD"].test(e[0])){return null};if(e[3]){e[2]=e[4]||e[5]||""}
  else if(t&&we.test(t)&&(n=j(t,!0))&&(n=t.indexOf(")",t.length-n)-t.length)){e[0]=e[0].slice(0,n);e[2]=t.slice(0,n)};return e.slice(0,3)}},filter:{"TAG":function(e){var t=e.replace(m,g).toLowerCase();return e==="*"?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},"CLASS":function(e){var t=te[e+" "];return t||(t=new RegExp("(^|"+n+")"+e+"("+n+"|$)"))&&te(e,function(e){return t.test(typeof e.className==="string"&&e.className||typeof e.getAttribute!=="undefined"&&e.getAttribute("class")||"")})},"ATTR":function(e,t,n){return function(r){var o=i.attr(r,e);if(o==null){return t==="!="};if(!t){return!0};o+="";return t==="="?o===n:t==="!="?o!==n:t==="^="?n&&o.indexOf(n)===0:t==="*="?n&&o.indexOf(n)>-1:t==="$="?n&&o.slice(-n.length)===n:t==="~="?(" "+o.replace(Ce," ")+" ").indexOf(n)>-1:t==="|="?o===n||o.slice(0,n.length+1)===n+"-":!1}},"CHILD":function(e,t,n,i,r){var u=e.slice(0,3)!=="nth",a=e.slice(-4)!=="last",s=t==="of-type";return i===1&&r===0?function(e){return!!e.parentNode}:function(t,n,f){var h,v,l,c,p,y,m=u!==a?"nextSibling":"previousSibling",g=t.parentNode,w=s&&t.nodeName.toLowerCase(),x=!f&&!s;if(g){if(u){while(m){l=t;while((l=l[m])){if(s?l.nodeName.toLowerCase()===w:l.nodeType===1){return!1}};y=m=e==="only"&&!y&&"nextSibling"};return!0};y=[a?g.firstChild:g.lastChild];if(a&&x){v=g[o]||(g[o]={});h=v[e]||[];p=h[0]===d&&h[1];c=h[0]===d&&h[2];l=p&&g.childNodes[p];while((l=++p&&l&&l[m]||(c=p=0)||y.pop())){if(l.nodeType===1&&++c&&l===t){v[e]=[d,p,c];break}}}
  else if(x&&(h=(t[o]||(t[o]={}))[e])&&h[0]===d){c=h[1]}
  else{while((l=++p&&l&&l[m]||(c=p=0)||y.pop())){if((s?l.nodeName.toLowerCase()===w:l.nodeType===1)&&++c){if(x){(l[o]||(l[o]={}))[e]=[d,c]};if(l===t){break}}}};c-=r;return c===i||(c%i===0&&c/i>=0)}}},"PSEUDO":function(e,n){var s,r=t.pseudos[e]||t.setFilters[e.toLowerCase()]||i.error("unsupported pseudo: "+e);if(r[o]){return r(n)};if(r.length>1){s=[e,e,"",n];return t.setFilters.hasOwnProperty(e.toLowerCase())?l(function(e,t){var o,s=r(e,n),i=s.length;while(i--){o=C(e,s[i]);e[o]=!(t[o]=s[i])}}):function(e){return r(e,0,s)}};return r}},pseudos:{"not":l(function(e){var n=[],i=[],t=U(e.replace(q,"$1"));return t[o]?l(function(e,n,i,r){var s,a=t(e,null,r,[]),o=e.length;while(o--){if((s=a[o])){e[o]=!(n[o]=s)}}}):function(e,r,o){n[0]=e;t(n,null,o,i);n[0]=null;return!i.pop()}}),"has":l(function(e){return function(t){return i(e,t).length>0}}),"contains":l(function(e){e=e.replace(m,g);return function(t){return(t.textContent||t.innerText||F(t)).indexOf(e)>-1}}),"lang":l(function(e){if(!me.test(e||"")){i.error("unsupported lang: "+e)};e=e.replace(m,g).toLowerCase();return function(t){var n;do{if((n=p?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))){n=n.toLowerCase();return n===e||n.indexOf(e+"-")===0}}
  while((t=t.parentNode)&&t.nodeType===1);return!1}}),"target":function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},"root":function(e){return e===c},"focus":function(e){return e===a.activeElement&&(!a.hasFocus||a.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},"enabled":function(e){return e.disabled===!1},"disabled":function(e){return e.disabled===!0},"checked":function(e){var t=e.nodeName.toLowerCase();return(t==="input"&&!!e.checked)||(t==="option"&&!!e.selected)},"selected":function(e){if(e.parentNode){e.parentNode.selectedIndex};return e.selected===!0},"empty":function(e){for(e=e.firstChild;e;e=e.nextSibling){if(e.nodeType<6){return!1}};return!0},"parent":function(e){return!t.pseudos["empty"](e)},"header":function(e){return xe.test(e.nodeName)},"input":function(e){return ye.test(e.nodeName)},"button":function(e){var t=e.nodeName.toLowerCase();return t==="input"&&e.type==="button"||t==="button"},"text":function(e){var t;return e.nodeName.toLowerCase()==="input"&&e.type==="text"&&((t=e.getAttribute("type"))==null||t.toLowerCase()==="text")},"first":w(function(){return[0]}),"last":w(function(e,t){return[t-1]}),"eq":w(function(e,t,n){return[n<0?n+t:n]}),"even":w(function(e,t){var n=0;for(;n<t;n+=2){e.push(n)};return e}),"odd":w(function(e,t){var n=1;for(;n<t;n+=2){e.push(n)};return e}),"lt":w(function(e,t,n){var i=n<0?n+t:n;for(;--i>=0;){e.push(i)};return e}),"gt":w(function(e,t,n){var i=n<0?n+t:n;for(;++i<t;){e.push(i)};return e})}};t.pseudos["nth"]=t.pseudos["eq"];for(E in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0}){t.pseudos[E]=ge(E)};for(E in{submit:!0,reset:!0}){t.pseudos[E]=Ee(E)};function J(){};J.prototype=t.filters=t.pseudos;t.setFilters=new J();j=i.tokenize=function(e,n){var s,o,f,a,r,l,u,c=ie[e+" "];if(c){return n?0:c.slice(0)};r=e;l=[];u=t.preFilter;while(r){if(!s||(o=ke.exec(r))){if(o){r=r.slice(o[0].length)||r};l.push((f=[]))};s=!1;if((o=Ne.exec(r))){s=o.shift();f.push({value:s,type:o[0].replace(q," ")});r=r.slice(s.length)};for(a in t.filter){if((o=H[a].exec(r))&&(!u[a]||(o=u[a](o)))){s=o.shift();f.push({value:s,type:a,matches:o});r=r.slice(s.length)}};if(!s){break}};return n?r.length:r?i.error(e):ie(e,l).slice(0)};function P(e){var t=0,i=e.length,n="";for(;t<i;t++){n+=e[t].value};return n};function B(e,t,n){var i=t.dir,r=n&&i==="parentNode",s=pe++;return t.first?function(t,n,o){while((t=t[i])){if(t.nodeType===1||r){return e(t,n,o)}}}:function(t,n,a){var u,l,f=[d,s];if(a){while((t=t[i])){if(t.nodeType===1||r){if(e(t,n,a)){return!0}}}}
  else{while((t=t[i])){if(t.nodeType===1||r){l=t[o]||(t[o]={});if((u=l[i])&&u[0]===d&&u[1]===s){return(f[2]=u[2])}
  else{l[i]=f;if((f[2]=e(t,n,a))){return!0}}}}}}};function I(e){return e.length>1?function(t,n,i){var r=e.length;while(r--){if(!e[r](t,n,i)){return!1}};return!0}:e[0]};function ce(e,t,n){var r=0,o=t.length;for(;r<o;r++){i(e,t[r],n)};return n};function O(e,t,n,i,r){var s,a=[],o=0,f=e.length,u=t!=null;for(;o<f;o++){if((s=e[o])){if(!n||n(s,i,r)){a.push(s);if(u){t.push(o)}}}};return a};function z(e,t,n,i,r,s){if(i&&!i[o]){i=z(i)};if(r&&!r[o]){r=z(r,s)};return l(function(o,s,a,u){var c,l,d,g=[],h=[],v=s.length,m=o||ce(t||"*",a.nodeType?[a]:a,[]),p=e&&(o||!t)?O(m,g,e,a,u):m,f=n?r||(o?e:v||i)?[]:s:p;if(n){n(p,f,a,u)};if(i){c=O(f,h);i(c,[],a,u);l=c.length;while(l--){if((d=c[l])){f[h[l]]=!(p[h[l]]=d)}}};if(o){if(r||e){if(r){c=[];l=f.length;while(l--){if((d=f[l])){c.push((p[l]=d))}};r(null,(f=[]),c,u)};l=f.length;while(l--){if((d=f[l])&&(c=r?C(o,d):g[l])>-1){o[c]=!(s[c]=d)}}}}
  else{f=O(f===s?f.splice(v,f.length):f);if(r){r(null,s,f,u)}
  else{y.apply(s,f)}}})};function X(e){var u,r,i,a=e.length,f=t.relative[e[0].type],l=f||t.relative[" "],n=f?1:0,d=B(function(e){return e===u},l,!0),c=B(function(e){return C(u,e)>-1},l,!0),s=[function(e,t,n){var i=(!f&&(n||t!==A))||((u=t).nodeType?d(e,t,n):c(e,t,n));u=null;return i}];for(;n<a;n++){if((r=t.relative[e[n].type])){s=[B(I(s),r)]}
  else{r=t.filter[e[n].type].apply(null,e[n].matches);if(r[o]){i=++n;for(;i<a;i++){if(t.relative[e[i].type]){break}};return z(n>1&&I(s),n>1&&P(e.slice(0,n-1).concat({value:e[n-2].type===" "?"*":""})).replace(q,"$1"),r,n<i&&X(e.slice(n,i)),i<a&&X((e=e.slice(i))),i<a&&P(e))};s.push(r)}};return I(s)};function de(e,n){var r=n.length>0,s=e.length>0,o=function(o,u,f,l,c){var h,x,m,v=0,p="0",w=o&&[],g=[],T=A,C=o||s&&t.find["TAG"]("*",c),b=(d+=T==null?1:Math.random()||0.1),k=C.length;if(c){A=u!==a&&u};for(;p!==k&&(h=C[p])!=null;p++){if(s&&h){x=0;while((m=e[x++])){if(m(h,u,f)){l.push(h);break}};if(c){d=b}};if(r){if((h=!m&&h)){v--};if(o){w.push(h)}}};v+=p;if(r&&p!==v){x=0;while((m=n[x++])){m(w,g,u,f)};if(o){if(v>0){while(p--){if(!(w[p]||g[p])){g[p]=le.call(l)}}};g=O(g)};y.apply(l,g);if(c&&!o&&g.length>0&&(v+n.length)>1){i.uniqueSort(l)}};if(c){d=b;A=T};return w};return r?l(o):o};U=i.compile=function(e,t){var i,r=[],s=[],n=ue[e+" "];if(!n){if(!t){t=j(e)};i=t.length;while(i--){n=X(t[i]);if(n[o]){r.push(n)}
  else{s.push(n)}};n=ue(e,de(s,r));n.selector=e};return n};oe=i.select=function(e,n,i,o){var f,s,a,c,d,l=typeof e==="function"&&e,u=!o&&j((e=l.selector||e));i=i||[];if(u.length===1){s=u[0]=u[0].slice(0);if(s.length>2&&(a=s[0]).type==="ID"&&r.getById&&n.nodeType===9&&p&&t.relative[s[1].type]){n=(t.find["ID"](a.matches[0].replace(m,g),n)||[])[0];if(!n){return i}
  else if(l){n=n.parentNode};e=e.slice(s.shift().value.length)};f=H["needsContext"].test(e)?0:s.length;while(f--){a=s[f];if(t.relative[(c=a.type)]){break};if((d=t.find[c])){if((o=d(a.matches[0].replace(m,g),W.test(s[0].type)&&G(n.parentNode)||n))){s.splice(f,1);e=o.length&&P(s);if(!e){y.apply(i,o);return i};break}}}}(l||U(e,u))(o,n,!p,i,W.test(e)&&G(n.parentNode)||n);return i};r.sortStable=o.split("").sort(Y).join("")===o;r.detectDuplicates=!!k;T();r.sortDetached=h(function(e){return e.compareDocumentPosition(a.createElement("div"))&1});if(!h(function(e){e.innerHTML="<a href='#'></a>";return e.firstChild.getAttribute("href")==="#"})){V("type|href|height|width",function(e,t,n){if(!n){return e.getAttribute(t,t.toLowerCase()==="type"?1:2)}})};if(!r.attributes||!h(function(e){e.innerHTML="<input/>";e.firstChild.setAttribute("value","");return e.firstChild.getAttribute("value")===""})){V("value",function(e,t,n){if(!n&&e.nodeName.toLowerCase()==="input"){return e.defaultValue}})};if(!h(function(e){return e.getAttribute("disabled")==null})){V(Q,function(e,t,n){var i;if(!n){return e[t]===!0?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null}})};return i})(t);e.find=y;e.expr=y.selectors;e.expr[":"]=e.expr.pseudos;e.unique=y.uniqueSort;e.text=y.getText;e.isXMLDoc=y.isXML;e.contains=y.contains;var fe=e.expr.match.needsContext,me=(/^<(\w+)\s*\/?>(?:<\/\1>|)$/),Tt=/^.[^:#\[\.,]*$/;function I(t,n,i){if(e.isFunction(n)){return e.grep(t,function(e,t){return!!n.call(e,t,e)!==i})};if(n.nodeType){return e.grep(t,function(e){return(e===n)!==i})};if(typeof n==="string"){if(Tt.test(n)){return e.filter(n,t,i)};n=e.filter(n,t)};return e.grep(t,function(e){return(E.call(n,e)>=0)!==i})};e.filter=function(t,n,i){var r=n[0];if(i){t=":not("+t+")"};return n.length===1&&r.nodeType===1?e.find.matchesSelector(r,t)?[r]:[]:e.find.matches(t,e.grep(n,function(e){return e.nodeType===1}))};e.fn.extend({find:function(t){var n,r=this.length,i=[],o=this;if(typeof t!=="string"){return this.pushStack(e(t).filter(function(){for(n=0;n<r;n++){if(e.contains(o[n],this)){return!0}}}))};for(n=0;n<r;n++){e.find(t,o[n],i)};i=this.pushStack(r>1?e.unique(i):i);i.selector=this.selector?this.selector+" "+t:t;return i},filter:function(e){return this.pushStack(I(this,e||[],!1))},not:function(e){return this.pushStack(I(this,e||[],!0))},is:function(t){return!!I(this,typeof t==="string"&&fe.test(t)?e(t):t||[],!1).length}});var L,kt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,Ct=e.fn.init=function(t,n){var i,o;if(!t){return this};if(typeof t==="string"){if(t[0]==="<"&&t[t.length-1]===">"&&t.length>=3){i=[null,t,null]}
  else{i=kt.exec(t)};if(i&&(i[1]||!n)){if(i[1]){n=n instanceof e?n[0]:n;e.merge(this,e.parseHTML(i[1],n&&n.nodeType?n.ownerDocument||n:r,!0));if(me.test(i[1])&&e.isPlainObject(n)){for(i in n){if(e.isFunction(this[i])){this[i](n[i])}
  else{this.attr(i,n[i])}}};return this}
  else{o=r.getElementById(i[2]);if(o&&o.parentNode){this.length=1;this[0]=o};this.context=r;this.selector=t;return this}}
  else if(!n||n.jquery){return(n||L).find(t)}
  else{return this.constructor(n).find(t)}}
  else if(t.nodeType){this.context=this[0]=t;this.length=1;return this}
  else if(e.isFunction(t)){return typeof L.ready!=="undefined"?L.ready(t):t(e)};if(t.selector!==undefined){this.selector=t.selector;this.context=t.context};return e.makeArray(t,this)};Ct.prototype=e.fn;L=e(r);var Lt=/^(?:parents|prev(?:Until|All))/,At={children:!0,contents:!0,next:!0,prev:!0};e.extend({dir:function(t,n,i){var r=[],o=i!==undefined;while((t=t[n])&&t.nodeType!==9){if(t.nodeType===1){if(o&&e(t).is(i)){break};r.push(t)}};return r},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling){if(e.nodeType===1&&e!==t){n.push(e)}};return n}});e.fn.extend({has:function(t){var n=e(t,this),i=n.length;return this.filter(function(){var t=0;for(;t<i;t++){if(e.contains(this,n[t])){return!0}}})},closest:function(t,n){var i,o=0,a=this.length,r=[],s=fe.test(t)||typeof t!=="string"?e(t,n||this.context):0;for(;o<a;o++){for(i=this[o];i&&i!==n;i=i.parentNode){if(i.nodeType<11&&(s?s.index(i)>-1:i.nodeType===1&&e.find.matchesSelector(i,t))){r.push(i);break}}};return this.pushStack(r.length>1?e.unique(r):r)},index:function(t){if(!t){return(this[0]&&this[0].parentNode)?this.first().prevAll().length:-1};if(typeof t==="string"){return E.call(e(t),this[0])};return E.call(this,t.jquery?t[0]:t)},add:function(t,n){return this.pushStack(e.unique(e.merge(this.get(),e(t,n))))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}});function de(e,t){while((e=e[t])&&e.nodeType!==1){};return e};e.each({parent:function(e){var t=e.parentNode;return t&&t.nodeType!==11?t:null},parents:function(t){return e.dir(t,"parentNode")},parentsUntil:function(t,n,i){return e.dir(t,"parentNode",i)},next:function(e){return de(e,"nextSibling")},prev:function(e){return de(e,"previousSibling")},nextAll:function(t){return e.dir(t,"nextSibling")},prevAll:function(t){return e.dir(t,"previousSibling")},nextUntil:function(t,n,i){return e.dir(t,"nextSibling",i)},prevUntil:function(t,n,i){return e.dir(t,"previousSibling",i)},siblings:function(t){return e.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return e.sibling(t.firstChild)},contents:function(t){return t.contentDocument||e.merge([],t.childNodes)}},function(t,n){e.fn[t]=function(i,r){var o=e.map(this,n,i);if(t.slice(-5)!=="Until"){r=i};if(r&&typeof r==="string"){o=e.filter(r,o)};if(this.length>1){if(!At[t]){e.unique(o)};if(Lt.test(t)){o.reverse()}};return this.pushStack(o)}});var l=(/\S+/g),re={};function Ke(t){var n=re[t]={};e.each(t.match(l)||[],function(e,t){n[t]=!0});return n};e.Callbacks=function(t){t=typeof t==="string"?(re[t]||Ke(t)):e.extend({},t);var r,l,u,c,s,o,n=[],i=!t.once&&[],f=function(e){r=t.memory&&e;l=!0;o=c||0;c=0;s=n.length;u=!0;for(;n&&o<s;o++){if(n[o].apply(e[0],e[1])===!1&&t.stopOnFalse){r=!1;break}};u=!1;if(n){if(i){if(i.length){f(i.shift())}}
  else if(r){n=[]}
  else{a.disable()}}},a={add:function(){if(n){var i=n.length;(function o(i){e.each(i,function(i,r){var s=e.type(r);if(s==="function"){if(!t.unique||!a.has(r)){n.push(r)}}
  else if(r&&r.length&&s!=="string"){o(r)}})})(arguments);if(u){s=n.length}
  else if(r){c=i;f(r)}};return this},remove:function(){if(n){e.each(arguments,function(t,i){var r;while((r=e.inArray(i,n,r))>-1){n.splice(r,1);if(u){if(r<=s){s--};if(r<=o){o--}}}})};return this},has:function(t){return t?e.inArray(t,n)>-1:!!(n&&n.length)},empty:function(){n=[];s=0;return this},disable:function(){n=i=r=undefined;return this},disabled:function(){return!n},lock:function(){i=undefined;if(!r){a.disable()};return this},locked:function(){return!i},fireWith:function(e,t){if(n&&(!l||i)){t=t||[];t=[e,t.slice?t.slice():t];if(u){i.push(t)}
  else{f(t)}};return this},fire:function(){a.fireWith(this,arguments);return this},fired:function(){return!!l}};return a};e.extend({Deferred:function(t){var r=[["resolve","done",e.Callbacks("once memory"),"resolved"],["reject","fail",e.Callbacks("once memory"),"rejected"],["notify","progress",e.Callbacks("memory")]],o="pending",i={state:function(){return o},always:function(){n.done(arguments).fail(arguments);return this},then:function(){var t=arguments;return e.Deferred(function(o){e.each(r,function(r,s){var a=e.isFunction(t[r])&&t[r];n[s[1]](function(){var t=a&&a.apply(this,arguments);if(t&&e.isFunction(t.promise)){t.promise().done(o.resolve).fail(o.reject).progress(o.notify)}
  else{o[s[0]+"With"](this===i?o.promise():this,a?[t]:arguments)}})});t=null}).promise()},promise:function(t){return t!=null?e.extend(t,i):i}},n={};i.pipe=i.then;e.each(r,function(e,t){var s=t[2],a=t[3];i[t[1]]=s.add;if(a){s.add(function(){o=a},r[e^1][2].disable,r[2][2].lock)};n[t[0]]=function(){n[t[0]+"With"](this===n?i:this,arguments);return this};n[t[0]+"With"]=s.fireWith});i.promise(n);if(t){t.call(n,n)};return n},when:function(t){var n=0,r=p.call(arguments),i=r.length,s=i!==1||(t&&e.isFunction(t.promise))?i:0,o=s===1?t:e.Deferred(),f=function(e,t,n){return function(i){t[e]=this;n[e]=arguments.length>1?p.call(arguments):i;if(n===u){o.notifyWith(t,n)}
  else if(!(--s)){o.resolveWith(t,n)}}},u,l,a;if(i>1){u=new Array(i);l=new Array(i);a=new Array(i);for(;n<i;n++){if(r[n]&&e.isFunction(r[n].promise)){r[n].promise().done(f(n,a,r)).fail(o.reject).progress(f(n,l,u))}
  else{--s}}};if(!s){o.resolveWith(a,r)};return o.promise()}});var q;e.fn.ready=function(t){e.ready.promise().done(t);return this};e.extend({isReady:!1,readyWait:1,holdReady:function(t){if(t){e.readyWait++}
  else{e.ready(!0)}},ready:function(t){if(t===!0?--e.readyWait:e.isReady){return};e.isReady=!0;if(t!==!0&&--e.readyWait>0){return};q.resolveWith(r,[e]);if(e.fn.triggerHandler){e(r).triggerHandler("ready");e(r).off("ready")}}});function H(){r.removeEventListener("DOMContentLoaded",H,!1);t.removeEventListener("load",H,!1);e.ready()};e.ready.promise=function(n){if(!q){q=e.Deferred();if(r.readyState==="complete"){setTimeout(e.ready)}
  else{r.addEventListener("DOMContentLoaded",H,!1);t.addEventListener("load",H,!1)}};return q.promise(n)};e.ready.promise();var c=e.access=function(t,n,i,r,o,u,f){var s=0,l=t.length,a=i==null;if(e.type(i)==="object"){o=!0;for(s in i){e.access(t,n,s,i[s],!0,u,f)}}
  else if(r!==undefined){o=!0;if(!e.isFunction(r)){f=!0};if(a){if(f){n.call(t,r);n=null}
  else{a=n;n=function(t,n,i){return a.call(e(t),i)}}};if(n){for(;s<l;s++){n(t[s],i,f?r:r.call(t[s],s,n(t[s],i)))}}};return o?t:a?n.call(t):l?n(t[0],i):u};e.acceptData=function(e){return e.nodeType===1||e.nodeType===9||!(+e.nodeType)};function d(){Object.defineProperty(this.cache={},0,{get:function(){return{}}});this.expando=e.expando+d.uid++};d.uid=1;d.accepts=e.acceptData;d.prototype={key:function(t){if(!d.accepts(t)){return 0};var r={},i=t[this.expando];if(!i){i=d.uid++;try{r[this.expando]={value:i};Object.defineProperties(t,r)}catch(n){r[this.expando]=i;e.extend(t,r)}};if(!this.cache[i]){this.cache[i]={}};return i},set:function(t,n,i){var o,s=this.key(t),r=this.cache[s];if(typeof n==="string"){r[n]=i}
  else{if(e.isEmptyObject(r)){e.extend(this.cache[s],n)}
  else{for(o in n){r[o]=n[o]}}};return r},get:function(e,t){var n=this.cache[this.key(e)];return t===undefined?n:n[t]},access:function(t,n,i){var r;if(n===undefined||((n&&typeof n==="string")&&i===undefined)){r=this.get(t,n);return r!==undefined?r:this.get(t,e.camelCase(n))};this.set(t,n,i);return i!==undefined?i:n},remove:function(t,n){var s,i,o,a=this.key(t),r=this.cache[a];if(n===undefined){this.cache[a]={}}
  else{if(e.isArray(n)){i=n.concat(n.map(e.camelCase))}
  else{o=e.camelCase(n);if(n in r){i=[n,o]}
  else{i=o;i=i in r?[i]:(i.match(l)||[])}};s=i.length;while(s--){delete r[i[s]]}}},hasData:function(t){return!e.isEmptyObject(this.cache[t[this.expando]]||{})},discard:function(e){if(e[this.expando]){delete this.cache[e[this.expando]]}}};var i=new d(),s=new d(),et=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Rt=/([A-Z])/g;function ye(t,n,i){var o;if(i===undefined&&t.nodeType===1){o="data-"+n.replace(Rt,"-$1").toLowerCase();i=t.getAttribute(o);if(typeof i==="string"){try{i=i==="true"?!0:i==="false"?!1:i==="null"?null:+i+""===i?+i:et.test(i)?e.parseJSON(i):i}catch(r){};s.set(t,n,i)}
  else{i=undefined}};return i};e.extend({hasData:function(e){return s.hasData(e)||i.hasData(e)},data:function(e,t,n){return s.access(e,t,n)},removeData:function(e,t){s.remove(e,t)},_data:function(e,t,n){return i.access(e,t,n)},_removeData:function(e,t){i.remove(e,t)}});e.fn.extend({data:function(t,n){var a,o,f,r=this[0],u=r&&r.attributes;if(t===undefined){if(this.length){f=s.get(r);if(r.nodeType===1&&!i.get(r,"hasDataAttrs")){a=u.length;while(a--){if(u[a]){o=u[a].name;if(o.indexOf("data-")===0){o=e.camelCase(o.slice(5));ye(r,o,f[o])}}};i.set(r,"hasDataAttrs",!0)}};return f};if(typeof t==="object"){return this.each(function(){s.set(this,t)})};return c(this,function(n){var i,o=e.camelCase(t);if(r&&n===undefined){i=s.get(r,t);if(i!==undefined){return i};i=s.get(r,o);if(i!==undefined){return i};i=ye(r,o,undefined);if(i!==undefined){return i};return};this.each(function(){var e=s.get(this,o);s.set(this,o,n);if(t.indexOf("-")!==-1&&e!==undefined){s.set(this,t,n)}})},null,n,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){s.remove(this,e)})}});e.extend({queue:function(t,n,r){var o;if(t){n=(n||"fx")+"queue";o=i.get(t,n);if(r){if(!o||e.isArray(r)){o=i.access(t,n,e.makeArray(r))}
  else{o.push(r)}};return o||[]}},dequeue:function(t,n){n=n||"fx";var r=e.queue(t,n),s=r.length,i=r.shift(),o=e._queueHooks(t,n),a=function(){e.dequeue(t,n)};if(i==="inprogress"){i=r.shift();s--};if(i){if(n==="fx"){r.unshift("inprogress")};delete o.stop;i.call(t,a,o)};if(!s&&o){o.empty.fire()}},_queueHooks:function(t,n){var r=n+"queueHooks";return i.get(t,r)||i.access(t,r,{empty:e.Callbacks("once memory").add(function(){i.remove(t,[n+"queue",r])})})}});e.fn.extend({queue:function(t,n){var i=2;if(typeof t!=="string"){n=t;t="fx";i--};if(arguments.length<i){return e.queue(this[0],t)};return n===undefined?this:this.each(function(){var i=e.queue(this,t,n);e._queueHooks(this,t);if(t==="fx"&&i[0]!=="inprogress"){e.dequeue(this,t)}})},dequeue:function(t){return this.each(function(){e.dequeue(this,t)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(t,n){var r,u=1,f=e.Deferred(),o=this,a=this.length,s=function(){if(!(--u)){f.resolveWith(o,[o])}};if(typeof t!=="string"){n=t;t=undefined};t=t||"fx";while(a--){r=i.get(o[a],t+"queueHooks");if(r&&r.empty){u++;r.empty.add(s)}};s();return f.promise(n)}});var D=(/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/).source,h=["Top","Right","Bottom","Left"],k=function(t,n){t=n||t;return e.css(t,"display")==="none"||!e.contains(t.ownerDocument,t)},We=(/^(?:checkbox|radio)$/i);(function(){var n=r.createDocumentFragment(),t=n.appendChild(r.createElement("div")),e=r.createElement("input");e.setAttribute("type","radio");e.setAttribute("checked","checked");e.setAttribute("name","t");t.appendChild(e);o.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked;t.innerHTML="<textarea>x</textarea>";o.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue})(),strundefined=typeof undefined;o.focusinBubbles="onfocusin" in t;var Pt=/^key/,Wt=/^(?:mouse|pointer|contextmenu)|click/,Pe=/^(?:focusinfocus|focusoutblur)$/,Oe=/^([^.]*)(?:\.(.+)|)$/;function A(){return!0};function x(){return!1};function te(){try{return r.activeElement}catch(e){}};e.event={global:{},add:function(t,n,r,o,s){var h,g,m,p,v,f,u,c,a,y,x,d=i.get(t);if(!d){return};if(r.handler){h=r;r=h.handler;s=h.selector};if(!r.guid){r.guid=e.guid++};if(!(p=d.events)){p=d.events={}};if(!(g=d.handle)){g=d.handle=function(n){return typeof e!==strundefined&&e.event.triggered!==n.type?e.event.dispatch.apply(t,arguments):undefined}};n=(n||"").match(l)||[""];v=n.length;while(v--){m=Oe.exec(n[v])||[];a=x=m[1];y=(m[2]||"").split(".").sort();if(!a){continue};u=e.event.special[a]||{};a=(s?u.delegateType:u.bindType)||a;u=e.event.special[a]||{};f=e.extend({type:a,origType:x,data:o,handler:r,guid:r.guid,selector:s,needsContext:s&&e.expr.match.needsContext.test(s),namespace:y.join(".")},h);if(!(c=p[a])){c=p[a]=[];c.delegateCount=0;if(!u.setup||u.setup.call(t,o,y,g)===!1){if(t.addEventListener){t.addEventListener(a,g,!1)}}};if(u.add){u.add.call(t,f);if(!f.handler.guid){f.handler.guid=r.guid}};if(s){c.splice(c.delegateCount++,0,f)}
  else{c.push(f)};e.event.global[a]=!0}},remove:function(t,n,r,o,s){var g,v,f,h,m,u,c,d,a,y,x,p=i.hasData(t)&&i.get(t);if(!p||!(h=p.events)){return};n=(n||"").match(l)||[""];m=n.length;while(m--){f=Oe.exec(n[m])||[];a=x=f[1];y=(f[2]||"").split(".").sort();if(!a){for(a in h){e.event.remove(t,a+n[m],r,o,!0)};continue};c=e.event.special[a]||{};a=(o?c.delegateType:c.bindType)||a;d=h[a]||[];f=f[2]&&new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)");v=g=d.length;while(g--){u=d[g];if((s||x===u.origType)&&(!r||r.guid===u.guid)&&(!f||f.test(u.namespace))&&(!o||o===u.selector||o==="**"&&u.selector)){d.splice(g,1);if(u.selector){d.delegateCount--};if(c.remove){c.remove.call(t,u)}}};if(v&&!d.length){if(!c.teardown||c.teardown.call(t,y,p.handle)===!1){e.removeEvent(t,a,p.handle)};delete h[a]}};if(e.isEmptyObject(h)){delete p.handle;i.remove(t,"events")}},trigger:function(n,o,s,a){var y,u,l,m,d,p,c,g=[s||r],f=ee.call(n,"type")?n.type:n,h=ee.call(n,"namespace")?n.namespace.split("."):[];u=l=s=s||r;if(s.nodeType===3||s.nodeType===8){return};if(Pe.test(f+e.event.triggered)){return};if(f.indexOf(".")>=0){h=f.split(".");f=h.shift();h.sort()};d=f.indexOf(":")<0&&"on"+f;n=n[e.expando]?n:new e.Event(f,typeof n==="object"&&n);n.isTrigger=a?2:3;n.namespace=h.join(".");n.namespace_re=n.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null;n.result=undefined;if(!n.target){n.target=s};o=o==null?[n]:e.makeArray(o,[n]);c=e.event.special[f]||{};if(!a&&c.trigger&&c.trigger.apply(s,o)===!1){return};if(!a&&!c.noBubble&&!e.isWindow(s)){m=c.delegateType||f;if(!Pe.test(m+f)){u=u.parentNode};for(;u;u=u.parentNode){g.push(u);l=u};if(l===(s.ownerDocument||r)){g.push(l.defaultView||l.parentWindow||t)}};y=0;while((u=g[y++])&&!n.isPropagationStopped()){n.type=y>1?m:c.bindType||f;p=(i.get(u,"events")||{})[n.type]&&i.get(u,"handle");if(p){p.apply(u,o)};p=d&&u[d];if(p&&p.apply&&e.acceptData(u)){n.result=p.apply(u,o);if(n.result===!1){n.preventDefault()}}};n.type=f;if(!a&&!n.isDefaultPrevented()){if((!c._default||c._default.apply(g.pop(),o)===!1)&&e.acceptData(s)){if(d&&e.isFunction(s[f])&&!e.isWindow(s)){l=s[d];if(l){s[d]=null};e.event.triggered=f;s[f]();e.event.triggered=undefined;if(l){s[d]=l}}}};return n.result},dispatch:function(t){t=e.event.fix(t);var a,l,s,o,n,f=[],u=p.call(arguments),c=(i.get(this,"events")||{})[t.type]||[],r=e.event.special[t.type]||{};u[0]=t;t.delegateTarget=this;if(r.preDispatch&&r.preDispatch.call(this,t)===!1){return};f=e.event.handlers.call(this,t,c);a=0;while((o=f[a++])&&!t.isPropagationStopped()){t.currentTarget=o.elem;l=0;while((n=o.handlers[l++])&&!t.isImmediatePropagationStopped()){if(!t.namespace_re||t.namespace_re.test(n.namespace)){t.handleObj=n;t.data=n.data;s=((e.event.special[n.origType]||{}).handle||n.handler).apply(o.elem,u);if(s!==undefined){if((t.result=s)===!1){t.preventDefault();t.stopPropagation()}}}}};if(r.postDispatch){r.postDispatch.call(this,t)};return t.result},handlers:function(t,n){var u,r,o,a,f=[],s=n.delegateCount,i=t.target;if(s&&i.nodeType&&(!t.button||t.type!=="click")){for(;i!==this;i=i.parentNode||this){if(i.disabled!==!0||t.type!=="click"){r=[];for(u=0;u<s;u++){a=n[u];o=a.selector+" ";if(r[o]===undefined){r[o]=a.needsContext?e(o,this).index(i)>=0:e.find(o,this,null,[i]).length};if(r[o]){r.push(a)}};if(r.length){f.push({elem:i,handlers:r})}}}};if(s<n.length){f.push({elem:this,handlers:n.slice(s)})};return f},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){if(e.which==null){e.which=t.charCode!=null?t.charCode:t.keyCode};return e}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var s,n,i,o=t.button;if(e.pageX==null&&t.clientX!=null){s=e.target.ownerDocument||r;n=s.documentElement;i=s.body;e.pageX=t.clientX+(n&&n.scrollLeft||i&&i.scrollLeft||0)-(n&&n.clientLeft||i&&i.clientLeft||0);e.pageY=t.clientY+(n&&n.scrollTop||i&&i.scrollTop||0)-(n&&n.clientTop||i&&i.clientTop||0)};if(!e.which&&o!==undefined){e.which=(o&1?1:(o&2?3:(o&4?2:0)))};return e}},fix:function(t){if(t[e.expando]){return t};var a,u,s,i=t.type,o=t,n=this.fixHooks[i];if(!n){this.fixHooks[i]=n=Wt.test(i)?this.mouseHooks:Pt.test(i)?this.keyHooks:{}};s=n.props?this.props.concat(n.props):this.props;t=new e.Event(o);a=s.length;while(a--){u=s[a];t[u]=o[u]};if(!t.target){t.target=r};if(t.target.nodeType===3){t.target=t.target.parentNode};return n.filter?n.filter(t,o):t},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==te()&&this.focus){this.focus();return!1}},delegateType:"focusin"},blur:{trigger:function(){if(this===te()&&this.blur){this.blur();return!1}},delegateType:"focusout"},click:{trigger:function(){if(this.type==="checkbox"&&this.click&&e.nodeName(this,"input")){this.click();return!1}},_default:function(t){return e.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(e){if(e.result!==undefined&&e.originalEvent){e.originalEvent.returnValue=e.result}}}},simulate:function(t,n,i,r){var o=e.extend(new e.Event(),i,{type:t,isSimulated:!0,originalEvent:{}});if(r){e.event.trigger(o,null,n)}
  else{e.event.dispatch.call(n,o)};if(o.isDefaultPrevented()){i.preventDefault()}}};e.removeEvent=function(e,t,n){if(e.removeEventListener){e.removeEventListener(t,n,!1)}};e.Event=function(t,n){if(!(this instanceof e.Event)){return new e.Event(t,n)};if(t&&t.type){this.originalEvent=t;this.type=t.type;this.isDefaultPrevented=t.defaultPrevented||t.defaultPrevented===undefined&&t.returnValue===!1?A:x}
  else{this.type=t};if(n){e.extend(this,n)};this.timeStamp=t&&t.timeStamp||e.now();this[e.expando]=!0};e.Event.prototype={isDefaultPrevented:x,isPropagationStopped:x,isImmediatePropagationStopped:x,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=A;if(e&&e.preventDefault){e.preventDefault()}},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=A;if(e&&e.stopPropagation){e.stopPropagation()}},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=A;if(e&&e.stopImmediatePropagation){e.stopImmediatePropagation()};this.stopPropagation()}};e.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,n){e.event.special[t]={delegateType:n,bindType:n,handle:function(t){var s,o=this,i=t.relatedTarget,r=t.handleObj;if(!i||(i!==o&&!e.contains(o,i))){t.type=r.origType;s=r.handler.apply(this,arguments);t.type=n};return s}}});if(!o.focusinBubbles){e.each({focus:"focusin",blur:"focusout"},function(t,n){var r=function(t){e.event.simulate(n,t.target,e.event.fix(t),!0)};e.event.special[n]={setup:function(){var e=this.ownerDocument||this,o=i.access(e,n);if(!o){e.addEventListener(t,r,!0)};i.access(e,n,(o||0)+1)},teardown:function(){var e=this.ownerDocument||this,o=i.access(e,n)-1;if(!o){e.removeEventListener(t,r,!0);i.remove(e,n)}
  else{i.access(e,n,o)}}}})};e.fn.extend({on:function(t,n,i,r,o){var s,a;if(typeof t==="object"){if(typeof n!=="string"){i=i||n;n=undefined};for(a in t){this.on(a,n,i,t[a],o)};return this};if(i==null&&r==null){r=n;i=n=undefined}
  else if(r==null){if(typeof n==="string"){r=i;i=undefined}
  else{r=i;i=n;n=undefined}};if(r===!1){r=x}
  else if(!r){return this};if(o===1){s=r;r=function(t){e().off(t);return s.apply(this,arguments)};r.guid=s.guid||(s.guid=e.guid++)};return this.each(function(){e.event.add(this,t,r,i,n)})},one:function(e,t,n,i){return this.on(e,t,n,i,1)},off:function(t,n,i){var r,o;if(t&&t.preventDefault&&t.handleObj){r=t.handleObj;e(t.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler);return this};if(typeof t==="object"){for(o in t){this.off(o,n,t[o])};return this};if(n===!1||typeof n==="function"){i=n;n=undefined};if(i===!1){i=x};return this.each(function(){e.event.remove(this,t,i,n)})},trigger:function(t,n){return this.each(function(){e.event.trigger(t,n,this)})},triggerHandler:function(t,n){var i=this[0];if(i){return e.event.trigger(t,n,i,!0)}}});var ke=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Fe=/<([\w:]+)/,bt=/<|&#?\w+;/,Ft=/<(?:script|style|link)/i,Ht=/checked\s*(?:[^=]|=\s*.checked.)/i,ze=/^$|\/(?:java|ecma)script/i,qt=/^true\/(.*)/,Ot=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,f={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};f.optgroup=f.option;f.tbody=f.tfoot=f.colgroup=f.caption=f.thead;f.th=f.td;function ue(t,n){return e.nodeName(t,"table")&&e.nodeName(n.nodeType!==11?n:n.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t};function Ue(e){e.type=(e.getAttribute("type")!==null)+"/"+e.type;return e};function Je(e){var t=qt.exec(e.type);if(t){e.type=t[1]}
  else{e.removeAttribute("type")};return e};function z(e,t){var n=0,r=e.length;for(;n<r;n++){i.set(e[n],"globalEval",!t||i.get(t[n],"globalEval"))}};function Be(t,n){var a,d,o,f,u,c,l,r;if(n.nodeType!==1){return};if(i.hasData(t)){f=i.access(t);u=i.set(n,f);r=f.events;if(r){delete u.handle;u.events={};for(o in r){for(a=0,d=r[o].length;a<d;a++){e.event.add(n,o,r[o][a])}}}};if(s.hasData(t)){c=s.access(t);l=e.extend({},c);s.set(n,l)}};function a(t,n){var i=t.getElementsByTagName?t.getElementsByTagName(n||"*"):t.querySelectorAll?t.querySelectorAll(n||"*"):[];return n===undefined||n&&e.nodeName(t,n)?e.merge([t],i):i};function Ze(e,t){var n=t.nodeName.toLowerCase();if(n==="input"&&We.test(e.type)){t.checked=e.checked}
  else if(n==="input"||n==="textarea"){t.defaultValue=e.defaultValue}};e.extend({clone:function(t,n,i){var r,l,u,s,f=t.cloneNode(!0),c=e.contains(t.ownerDocument,t);if(!o.noCloneChecked&&(t.nodeType===1||t.nodeType===11)&&!e.isXMLDoc(t)){s=a(f);u=a(t);for(r=0,l=u.length;r<l;r++){Ze(u[r],s[r])}};if(n){if(i){u=u||a(t);s=s||a(f);for(r=0,l=u.length;r<l;r++){Be(u[r],s[r])}}
  else{Be(t,f)}};s=a(f,"script");if(s.length>0){z(s,!c&&a(t,"script"))};return f},buildFragment:function(t,n,i,r){var o,s,h,c,g,d,u=n.createDocumentFragment(),p=[],l=0,m=t.length;for(;l<m;l++){o=t[l];if(o||o===0){if(e.type(o)==="object"){e.merge(p,o.nodeType?[o]:o)}
  else if(!bt.test(o)){p.push(n.createTextNode(o))}
  else{s=s||u.appendChild(n.createElement("div"));h=(Fe.exec(o)||["",""])[1].toLowerCase();c=f[h]||f._default;s.innerHTML=c[1]+o.replace(ke,"<$1></$2>")+c[2];d=c[0];while(d--){s=s.lastChild};e.merge(p,s.childNodes);s=u.firstChild;s.textContent=""}}};u.textContent="";l=0;while((o=p[l++])){if(r&&e.inArray(o,r)!==-1){continue};g=e.contains(o.ownerDocument,o);s=a(u.appendChild(o),"script");if(g){z(s)};if(i){d=0;while((o=s[d++])){if(ze.test(o.type||"")){i.push(o)}}}};return u},cleanData:function(t){var a,n,o,r,f=e.event.special,u=0;for(;(n=t[u])!==undefined;u++){if(e.acceptData(n)){r=n[i.expando];if(r&&(a=i.cache[r])){if(a.events){for(o in a.events){if(f[o]){e.event.remove(n,o)}
  else{e.removeEvent(n,o,a.handle)}}};if(i.cache[r]){delete i.cache[r]}}};delete s.cache[n[s.expando]]}}});e.fn.extend({text:function(t){return c(this,function(t){return t===undefined?e.text(this):this.empty().each(function(){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){this.textContent=t}})},null,t,arguments.length)},append:function(){return this.domManip(arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=ue(this,e);t.appendChild(e)}})},prepend:function(){return this.domManip(arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=ue(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){if(this.parentNode){this.parentNode.insertBefore(e,this)}})},after:function(){return this.domManip(arguments,function(e){if(this.parentNode){this.parentNode.insertBefore(e,this.nextSibling)}})},remove:function(t,n){var i,o=t?e.filter(t,this):this,r=0;for(;(i=o[r])!=null;r++){if(!n&&i.nodeType===1){e.cleanData(a(i))};if(i.parentNode){if(n&&e.contains(i.ownerDocument,i)){z(a(i,"script"))};i.parentNode.removeChild(i)}};return this},empty:function(){var t,n=0;for(;(t=this[n])!=null;n++){if(t.nodeType===1){e.cleanData(a(t,!1));t.textContent=""}};return this},clone:function(t,n){t=t==null?!1:t;n=n==null?t:n;return this.map(function(){return e.clone(this,t,n)})},html:function(t){return c(this,function(t){var i=this[0]||{},r=0,o=this.length;if(t===undefined&&i.nodeType===1){return i.innerHTML};if(typeof t==="string"&&!Ft.test(t)&&!f[(Fe.exec(t)||["",""])[1].toLowerCase()]){t=t.replace(ke,"<$1></$2>");try{for(;r<o;r++){i=this[r]||{};if(i.nodeType===1){e.cleanData(a(i,!1));i.innerHTML=t}};i=0}catch(n){}};if(i){this.empty().append(t)}},null,t,arguments.length)},replaceWith:function(){var t=arguments[0];this.domManip(arguments,function(n){t=this.parentNode;e.cleanData(a(this));if(t){t.replaceChild(n,this)}});return t&&(t.length||t.nodeType)?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(t,n){t=ge.apply([],t);var f,p,u,l,r,g,s=0,d=this.length,y=this,m=d-1,c=t[0],h=e.isFunction(c);if(h||(d>1&&typeof c==="string"&&!o.checkClone&&Ht.test(c))){return this.each(function(e){var i=y.eq(e);if(h){t[0]=c.call(this,e,i.html())};i.domManip(t,n)})};if(d){f=e.buildFragment(t,this[0].ownerDocument,!1,this);p=f.firstChild;if(f.childNodes.length===1){f=p};if(p){u=e.map(a(f,"script"),Ue);l=u.length;for(;s<d;s++){r=f;if(s!==m){r=e.clone(r,!0,!0);if(l){e.merge(u,a(r,"script"))}};n.call(this[s],r,s)};if(l){g=u[u.length-1].ownerDocument;e.map(u,Je);for(s=0;s<l;s++){r=u[s];if(ze.test(r.type||"")&&!i.access(r,"globalEval")&&e.contains(g,r)){if(r.src){if(e._evalUrl){e._evalUrl(r.src)}}
  else{e.globalEval(r.textContent.replace(Ot,""))}}}}}};return this}});e.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,n){e.fn[t]=function(t){var r,s=[],a=e(t),o=a.length-1,i=0;for(;i<=o;i++){r=i===o?this:this.clone(!0);e(a[i])[n](r);G.apply(s,r.get())};return this.pushStack(s)}});var O,Ne={};function Xe(n,i){var o,r=e(i.createElement(n)).appendTo(i.body),s=t.getDefaultComputedStyle&&(o=t.getDefaultComputedStyle(r[0]))?o.display:e.css(r[0],"display");r.detach();return s};function V(t){var i=r,n=Ne[t];if(!n){n=Xe(t,i);if(n==="none"||!n){O=(O||e("<iframe frameborder='0' width='0' height='0'/>")).appendTo(i.documentElement);i=O[0].contentDocument;i.write();i.close();n=Xe(t,i);O.detach()};Ne[t]=n};return n};var Ce=(/^margin/),W=new RegExp("^("+D+")(?!px)[a-z%]+$","i"),j=function(e){if(e.ownerDocument.defaultView.opener){return e.ownerDocument.defaultView.getComputedStyle(e,null)};return t.getComputedStyle(e,null)};function C(t,n,i){var s,a,u,o,r=t.style;i=i||j(t);if(i){o=i.getPropertyValue(n)||i[n]};if(i){if(o===""&&!e.contains(t.ownerDocument,t)){o=e.style(t,n)};if(W.test(o)&&Ce.test(n)){s=r.width;a=r.minWidth;u=r.maxWidth;r.minWidth=r.maxWidth=r.width=o;o=i.width;r.width=s;r.minWidth=a;r.maxWidth=u}};return o!==undefined?o+"":o};function be(e,t){return{get:function(){if(e()){delete this.get;return};return(this.get=t).apply(this,arguments)}}}(function(){var f,a,s=r.documentElement,i=r.createElement("div"),n=r.createElement("div");if(!n.style){return};n.style.backgroundClip="content-box";n.cloneNode(!0).style.backgroundClip="";o.clearCloneStyle=n.style.backgroundClip==="content-box";i.style.cssText="border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute";i.appendChild(n);function u(){n.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute";n.innerHTML="";s.appendChild(i);var e=t.getComputedStyle(n,null);f=e.top!=="1%";a=e.width==="4px";s.removeChild(i)};if(t.getComputedStyle){e.extend(o,{pixelPosition:function(){u();return f},boxSizingReliable:function(){if(a==null){u()};return a},reliableMarginRight:function(){var o,e=n.appendChild(r.createElement("div"));e.style.cssText=n.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";n.style.width="1px";s.appendChild(i);o=!parseFloat(t.getComputedStyle(e,null).marginRight);s.removeChild(i);n.removeChild(e);return o}})}})();e.swap=function(e,t,n,i){var s,r,o={};for(r in t){o[r]=e.style[r];e.style[r]=t[r]};s=n.apply(e,i||[]);for(r in t){e.style[r]=o[r]};return s};var ft=/^(none|table(?!-c[ea]).+)/,ut=new RegExp("^("+D+")(.*)$","i"),at=new RegExp("^([+-])=("+D+")","i"),wt={position:"absolute",visibility:"hidden",display:"block"},we={letterSpacing:"0",fontWeight:"400"},Te=["Webkit","O","Moz","ms"];function Ee(e,t){if(t in e){return t};var i=t[0].toUpperCase()+t.slice(1),r=t,n=Te.length;while(n--){t=Te[n]+i;if(t in e){return t}};return r};function Se(e,t,n){var i=ut.exec(t);return i?Math.max(0,i[1]-(n||0))+(i[2]||"px"):t};function qe(t,n,i,r,o){var s=i===(r?"border":"content")?4:n==="width"?1:0,a=0;for(;s<4;s+=2){if(i==="margin"){a+=e.css(t,i+h[s],!0,o)};if(r){if(i==="content"){a-=e.css(t,"padding"+h[s],!0,o)};if(i!=="margin"){a-=e.css(t,"border"+h[s]+"Width",!0,o)}}
  else{a+=e.css(t,"padding"+h[s],!0,o);if(i!=="padding"){a+=e.css(t,"border"+h[s]+"Width",!0,o)}}};return a};function Le(t,n,i){var u=!0,r=n==="width"?t.offsetWidth:t.offsetHeight,s=j(t),a=e.css(t,"boxSizing",!1,s)==="border-box";if(r<=0||r==null){r=C(t,n,s);if(r<0||r==null){r=t.style[n]};if(W.test(r)){return r};u=a&&(o.boxSizingReliable()||r===t.style[n]);r=parseFloat(r)||0};return(r+qe(t,n,i||(a?"border":"content"),u,s))+"px"};function je(t,n){var s,r,u,a=[],o=0,f=t.length;for(;o<f;o++){r=t[o];if(!r.style){continue};a[o]=i.get(r,"olddisplay");s=r.style.display;if(n){if(!a[o]&&s==="none"){r.style.display=""};if(r.style.display===""&&k(r)){a[o]=i.access(r,"olddisplay",V(r.nodeName))}}
  else{u=k(r);if(s!=="none"||!u){i.set(r,"olddisplay",u?s:e.css(r,"display"))}}};for(o=0;o<f;o++){r=t[o];if(!r.style){continue};if(!n||r.style.display==="none"||r.style.display===""){r.style.display=n?a[o]||"":"none"}};return t};e.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=C(e,"opacity");return n===""?"1":n}}}},cssNumber:{"columnCount":!0,"fillOpacity":!0,"flexGrow":!0,"flexShrink":!0,"fontWeight":!0,"lineHeight":!0,"opacity":!0,"order":!0,"orphans":!0,"widows":!0,"zIndex":!0,"zoom":!0},cssProps:{"float":"cssFloat"},style:function(t,n,i,r){if(!t||t.nodeType===3||t.nodeType===8||!t.style){return};var u,l,s,a=e.camelCase(n),f=t.style;n=e.cssProps[a]||(e.cssProps[a]=Ee(f,a));s=e.cssHooks[n]||e.cssHooks[a];if(i!==undefined){l=typeof i;if(l==="string"&&(u=at.exec(i))){i=(u[1]+1)*u[2]+parseFloat(e.css(t,n));l="number"};if(i==null||i!==i){return};if(l==="number"&&!e.cssNumber[a]){i+="px"};if(!o.clearCloneStyle&&i===""&&n.indexOf("background")===0){f[n]="inherit"};if(!s||!("set" in s)||(i=s.set(t,i,r))!==undefined){f[n]=i}}
  else{if(s&&"get" in s&&(u=s.get(t,!1,r))!==undefined){return u};return f[n]}},css:function(t,n,i,r){var o,u,s,a=e.camelCase(n);n=e.cssProps[a]||(e.cssProps[a]=Ee(t.style,a));s=e.cssHooks[n]||e.cssHooks[a];if(s&&"get" in s){o=s.get(t,!0,i)};if(o===undefined){o=C(t,n,r)};if(o==="normal"&&n in we){o=we[n]};if(i===""||i){u=parseFloat(o);return i===!0||e.isNumeric(u)?u||0:o};return o}});e.each(["height","width"],function(t,n){e.cssHooks[n]={get:function(t,i,r){if(i){return ft.test(e.css(t,"display"))&&t.offsetWidth===0?e.swap(t,wt,function(){return Le(t,n,r)}):Le(t,n,r)}},set:function(t,i,r){var o=r&&j(t);return Se(t,i,r?qe(t,n,r,e.css(t,"boxSizing",!1,o)==="border-box",o):0)}}});e.cssHooks.marginRight=be(o.reliableMarginRight,function(t,n){if(n){return e.swap(t,{"display":"inline-block"},C,[t,"marginRight"])}});e.each({margin:"",padding:"",border:"Width"},function(t,n){e.cssHooks[t+n]={expand:function(e){var i=0,o={},r=typeof e==="string"?e.split(" "):[e];for(;i<4;i++){o[t+h[i]+n]=r[i]||r[i-2]||r[0]};return o}};if(!Ce.test(t)){e.cssHooks[t+n].set=Se}});e.fn.extend({css:function(t,n){return c(this,function(t,n,i){var s,a,o={},r=0;if(e.isArray(n)){s=j(t);a=n.length;for(;r<a;r++){o[n[r]]=e.css(t,n[r],!1,s)};return o};return i!==undefined?e.style(t,n,i):e.css(t,n)},t,n,arguments.length>1)},show:function(){return je(this,!0)},hide:function(){return je(this)},toggle:function(t){if(typeof t==="boolean"){return t?this.show():this.hide()};return this.each(function(){if(k(this)){e(this).show()}
  else{e(this).hide()}})}});function u(e,t,n,i,r){return new u.prototype.init(e,t,n,i,r)};e.Tween=u;u.prototype={constructor:u,init:function(t,n,i,r,o,s){this.elem=t;this.prop=i;this.easing=o||"swing";this.options=n;this.start=this.now=this.cur();this.end=r;this.unit=s||(e.cssNumber[i]?"":"px")},cur:function(){var e=u.propHooks[this.prop];return e&&e.get?e.get(this):u.propHooks._default.get(this)},run:function(t){var i,n=u.propHooks[this.prop];if(this.options.duration){this.pos=i=e.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration)}
  else{this.pos=i=t};this.now=(this.end-this.start)*i+this.start;if(this.options.step){this.options.step.call(this.elem,this.now,this)};if(n&&n.set){n.set(this)}
  else{u.propHooks._default.set(this)};return this}};u.prototype.init.prototype=u.prototype;u.propHooks={_default:{get:function(t){var n;if(t.elem[t.prop]!=null&&(!t.elem.style||t.elem.style[t.prop]==null)){return t.elem[t.prop]};n=e.css(t.elem,t.prop,"");return!n||n==="auto"?0:n},set:function(t){if(e.fx.step[t.prop]){e.fx.step[t.prop](t)}
  else if(t.elem.style&&(t.elem.style[e.cssProps[t.prop]]!=null||e.cssHooks[t.prop])){e.style(t.elem,t.prop,t.now+t.unit)}
  else{t.elem[t.prop]=t.now}}}};u.propHooks.scrollTop=u.propHooks.scrollLeft={set:function(e){if(e.elem.nodeType&&e.elem.parentNode){e.elem[e.prop]=e.now}}};e.easing={linear:function(e){return e},swing:function(e){return 0.5-Math.cos(e*Math.PI)/2}};e.fx=u.prototype.init;e.fx.step={};var m,S,ot=/^(?:toggle|show|hide)$/,Ae=new RegExp("^(?:([+-])=|)("+D+")([a-z%]*)$","i"),st=/queueHooks$/,N=[Qe],b={"*":[function(t,n){var o=this.createTween(t,n),u=o.cur(),r=Ae.exec(n),s=r&&r[3]||(e.cssNumber[t]?"":"px"),i=(e.cssNumber[t]||s!=="px"&&+u)&&Ae.exec(e.css(o.elem,t)),a=1,f=20;if(i&&i[3]!==s){s=s||i[3];r=r||[];i=+u||1;do{a=a||".5";i=i/a;e.style(o.elem,t,i+s)}
  while(a!==(a=o.cur()/u)&&a!==1&&--f);};if(r){i=o.start=+i||+u||0;o.unit=s;o.end=r[1]?i+(r[1]+1)*r[2]:+r[2]};return o}]};function De(){setTimeout(function(){m=undefined});return(m=e.now())};function P(e,t){var i,r=0,n={height:e};t=t?1:0;for(;r<4;r+=2-t){i=h[r];n["margin"+i]=n["padding"+i]=e};if(t){n.opacity=n.width=e};return n};function xe(e,t,n){var r,o=(b[t]||[]).concat(b["*"]),i=0,s=o.length;for(;i<s;i++){if((r=o[i].call(n,t,e))){return r}}};function Qe(t,n,r){var o,d,g,h,u,y,l,m,c=this,p={},a=t.style,f=t.nodeType&&k(t),s=i.get(t,"fxshow");if(!r.queue){u=e._queueHooks(t,"fx");if(u.unqueued==null){u.unqueued=0;y=u.empty.fire;u.empty.fire=function(){if(!u.unqueued){y()}}};u.unqueued++;c.always(function(){c.always(function(){u.unqueued--;if(!e.queue(t,"fx").length){u.empty.fire()}})})};if(t.nodeType===1&&("height" in n||"width" in n)){r.overflow=[a.overflow,a.overflowX,a.overflowY];l=e.css(t,"display");m=l==="none"?i.get(t,"olddisplay")||V(t.nodeName):l;if(m==="inline"&&e.css(t,"float")==="none"){a.display="inline-block"}};if(r.overflow){a.overflow="hidden";c.always(function(){a.overflow=r.overflow[0];a.overflowX=r.overflow[1];a.overflowY=r.overflow[2]})};for(o in n){d=n[o];if(ot.exec(d)){delete n[o];g=g||d==="toggle";if(d===(f?"hide":"show")){if(d==="show"&&s&&s[o]!==undefined){f=!0}
  else{continue}};p[o]=s&&s[o]||e.style(t,o)}
  else{l=undefined}};if(!e.isEmptyObject(p)){if(s){if("hidden" in s){f=s.hidden}}
  else{s=i.access(t,"fxshow",{})};if(g){s.hidden=!f};if(f){e(t).show()}
  else{c.done(function(){e(t).hide()})};c.done(function(){var n;i.remove(t,"fxshow");for(n in p){e.style(t,n,p[n])}});for(o in p){h=xe(f?s[o]:0,o,c);if(!(o in s)){s[o]=h.start;if(f){h.end=h.start;h.start=o==="width"||o==="height"?1:0}}}}
  else if((l==="none"?V(t.nodeName):l)==="inline"){a.display=l}};function Ye(t,n){var i,o,a,r,s;for(i in t){o=e.camelCase(i);a=n[o];r=t[i];if(e.isArray(r)){a=r[1];r=t[i]=r[0]};if(i!==o){t[o]=r;delete t[i]};s=e.cssHooks[o];if(s&&"expand" in s){r=s.expand(r);delete t[o];for(i in r){if(!(i in t)){t[i]=r[i];n[i]=a}}}
  else{n[o]=a}}};function oe(t,n,i){var u,f,a=0,c=N.length,o=e.Deferred().always(function(){delete l.elem}),l=function(){if(f){return!1};var u=m||De(),n=Math.max(0,r.startTime+r.duration-u),a=n/r.duration||0,e=1-a,i=0,s=r.tweens.length;for(;i<s;i++){r.tweens[i].run(e)};o.notifyWith(t,[r,e,n]);if(e<1&&s){return n}
  else{o.resolveWith(t,[r]);return!1}},r=o.promise({elem:t,props:e.extend({},n),opts:e.extend(!0,{specialEasing:{}},i),originalProperties:n,originalOptions:i,startTime:m||De(),duration:i.duration,tweens:[],createTween:function(n,i){var o=e.Tween(t,r.opts,n,i,r.opts.specialEasing[n]||r.opts.easing);r.tweens.push(o);return o},stop:function(e){var n=0,i=e?r.tweens.length:0;if(f){return this};f=!0;for(;n<i;n++){r.tweens[n].run(1)};if(e){o.resolveWith(t,[r,e])}
  else{o.rejectWith(t,[r,e])};return this}}),s=r.props;Ye(s,r.opts.specialEasing);for(;a<c;a++){u=N[a].call(r,t,s,r.opts);if(u){return u}};e.map(s,xe,r);if(e.isFunction(r.opts.start)){r.opts.start.call(t,r)};e.fx.timer(e.extend(l,{elem:t,anim:r,queue:r.opts.queue}));return r.progress(r.opts.progress).done(r.opts.done,r.opts.complete).fail(r.opts.fail).always(r.opts.always)};e.Animation=e.extend(oe,{tweener:function(t,n){if(e.isFunction(t)){n=t;t=["*"]}
  else{t=t.split(" ")};var i,r=0,o=t.length;for(;r<o;r++){i=t[r];b[i]=b[i]||[];b[i].unshift(n)}},prefilter:function(e,t){if(t){N.unshift(e)}
  else{N.push(e)}}});e.speed=function(t,n,i){var r=t&&typeof t==="object"?e.extend({},t):{complete:i||!i&&n||e.isFunction(t)&&t,duration:t,easing:i&&n||n&&!e.isFunction(n)&&n};r.duration=e.fx.off?0:typeof r.duration==="number"?r.duration:r.duration in e.fx.speeds?e.fx.speeds[r.duration]:e.fx.speeds._default;if(r.queue==null||r.queue===!0){r.queue="fx"};r.old=r.complete;r.complete=function(){if(e.isFunction(r.old)){r.old.call(this)};if(r.queue){e.dequeue(this,r.queue)}};return r};e.fn.extend({fadeTo:function(e,t,n,i){return this.filter(k).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(t,n,r,o){var u=e.isEmptyObject(t),a=e.speed(n,r,o),s=function(){var n=oe(this,e.extend({},t),a);if(u||i.get(this,"finish")){n.stop(!0)}};s.finish=s;return u||a.queue===!1?this.each(s):this.queue(a.queue,s)},stop:function(t,n,r){var o=function(e){var t=e.stop;delete e.stop;t(r)};if(typeof t!=="string"){r=n;n=t;t=undefined};if(n&&t!==!1){this.queue(t||"fx",[])};return this.each(function(){var u=!0,n=t!=null&&t+"queueHooks",a=e.timers,s=i.get(this);if(n){if(s[n]&&s[n].stop){o(s[n])}}
  else{for(n in s){if(s[n]&&s[n].stop&&st.test(n)){o(s[n])}}};for(n=a.length;n--;){if(a[n].elem===this&&(t==null||a[n].queue===t)){a[n].anim.stop(r);u=!1;a.splice(n,1)}};if(u||!r){e.dequeue(this,t)}})},finish:function(t){if(t!==!1){t=t||"fx"};return this.each(function(){var n,s=i.get(this),o=s[t+"queue"],a=s[t+"queueHooks"],r=e.timers,u=o?o.length:0;s.finish=!0;e.queue(this,t,[]);if(a&&a.stop){a.stop.call(this,!0)};for(n=r.length;n--;){if(r[n].elem===this&&r[n].queue===t){r[n].anim.stop(!0);r.splice(n,1)}};for(n=0;n<u;n++){if(o[n]&&o[n].finish){o[n].finish.call(this)}};delete s.finish})}});e.each(["toggle","show","hide"],function(t,n){var i=e.fn[n];e.fn[n]=function(e,t,r){return e==null||typeof e==="boolean"?i.apply(this,arguments):this.animate(P(n,!0),e,t,r)}});e.each({slideDown:P("show"),slideUp:P("hide"),slideToggle:P("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,n){e.fn[t]=function(e,t,i){return this.animate(n,e,t,i)}});e.timers=[];e.fx.tick=function(){var i,n=0,t=e.timers;m=e.now();for(;n<t.length;n++){i=t[n];if(!i()&&t[n]===i){t.splice(n--,1)}};if(!t.length){e.fx.stop()};m=undefined};e.fx.timer=function(t){e.timers.push(t);if(t()){e.fx.start()}
  else{e.timers.pop()}};e.fx.interval=13;e.fx.start=function(){if(!S){S=setInterval(e.fx.tick,e.fx.interval)}};e.fx.stop=function(){clearInterval(S);S=null};e.fx.speeds={slow:600,fast:200,_default:400};e.fn.delay=function(t,n){t=e.fx?e.fx.speeds[t]||t:t;n=n||"fx";return this.queue(n,function(e,n){var i=setTimeout(e,t);n.stop=function(){clearTimeout(i)}})};(function(){var e=r.createElement("input"),n=r.createElement("select"),t=n.appendChild(r.createElement("option"));e.type="checkbox";o.checkOn=e.value!=="";o.optSelected=t.selected;n.disabled=!0;o.optDisabled=!t.disabled;e=r.createElement("input");e.value="t";e.type="radio";o.radioValue=e.value==="t"})();var tt,Me,T=e.expr.attrHandle;e.fn.extend({attr:function(t,n){return c(this,e.attr,t,n,arguments.length>1)},removeAttr:function(t){return this.each(function(){e.removeAttr(this,t)})}});e.extend({attr:function(t,n,i){var r,o,s=t.nodeType;if(!t||s===3||s===8||s===2){return};if(typeof t.getAttribute===strundefined){return e.prop(t,n,i)};if(s!==1||!e.isXMLDoc(t)){n=n.toLowerCase();r=e.attrHooks[n]||(e.expr.match.bool.test(n)?Me:tt)};if(i!==undefined){if(i===null){e.removeAttr(t,n)}
  else if(r&&"set" in r&&(o=r.set(t,i,n))!==undefined){return o}
  else{t.setAttribute(n,i+"");return i}}
  else if(r&&"get" in r&&(o=r.get(t,n))!==null){return o}
  else{o=e.find.attr(t,n);return o==null?undefined:o}},removeAttr:function(t,n){var i,r,s=0,o=n&&n.match(l);if(o&&t.nodeType===1){while((i=o[s++])){r=e.propFix[i]||i;if(e.expr.match.bool.test(i)){t[r]=!1};t.removeAttribute(i)}}},attrHooks:{type:{set:function(t,n){if(!o.radioValue&&n==="radio"&&e.nodeName(t,"input")){var i=t.value;t.setAttribute("type",n);if(i){t.value=i};return n}}}}});Me={set:function(t,n,i){if(n===!1){e.removeAttr(t,i)}
  else{t.setAttribute(i,i)};return i}};e.each(e.expr.match.bool.source.match(/\w+/g),function(t,n){var i=T[n]||e.find.attr;T[n]=function(e,t,n){var r,o;if(!n){o=T[t];T[t]=r;r=i(e,t,n)!=null?t.toLowerCase():null;T[t]=o};return r}});var nt=/^(?:input|select|textarea|button)$/i;e.fn.extend({prop:function(t,n){return c(this,e.prop,t,n,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[e.propFix[t]||t]})}});e.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(t,n,i){var s,r,a,o=t.nodeType;if(!t||o===3||o===8||o===2){return};a=o!==1||!e.isXMLDoc(t);if(a){n=e.propFix[n]||n;r=e.propHooks[n]};if(i!==undefined){return r&&"set" in r&&(s=r.set(t,i,n))!==undefined?s:(t[n]=i)}
  else{return r&&"get" in r&&(s=r.get(t,n))!==null?s:t[n]}},propHooks:{tabIndex:{get:function(e){return e.hasAttribute("tabindex")||nt.test(e.nodeName)||e.href?e.tabIndex:-1}}}});if(!o.optSelected){e.propHooks.selected={get:function(e){var t=e.parentNode;if(t&&t.parentNode){t.parentNode.selectedIndex};return null}}};e.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){e.propFix[this.toLowerCase()]=this});var Z=/[\t\r\n\f]/g;e.fn.extend({addClass:function(t){var a,n,i,s,u,o,c=typeof t==="string"&&t,r=0,f=this.length;if(e.isFunction(t)){return this.each(function(n){e(this).addClass(t.call(this,n,this.className))})};if(c){a=(t||"").match(l)||[];for(;r<f;r++){n=this[r];i=n.nodeType===1&&(n.className?(" "+n.className+" ").replace(Z," "):" ");if(i){u=0;while((s=a[u++])){if(i.indexOf(" "+s+" ")<0){i+=s+" "}};o=e.trim(i);if(n.className!==o){n.className=o}}}};return this},removeClass:function(t){var a,i,n,s,u,o,c=arguments.length===0||typeof t==="string"&&t,r=0,f=this.length;if(e.isFunction(t)){return this.each(function(n){e(this).removeClass(t.call(this,n,this.className))})};if(c){a=(t||"").match(l)||[];for(;r<f;r++){i=this[r];n=i.nodeType===1&&(i.className?(" "+i.className+" ").replace(Z," "):"");if(n){u=0;while((s=a[u++])){while(n.indexOf(" "+s+" ")>=0){n=n.replace(" "+s+" "," ")}};o=t?e.trim(n):"";if(i.className!==o){i.className=o}}}};return this},toggleClass:function(t,n){var r=typeof t;if(typeof n==="boolean"&&r==="string"){return n?this.addClass(t):this.removeClass(t)};if(e.isFunction(t)){return this.each(function(i){e(this).toggleClass(t.call(this,i,this.className,n),n)})};return this.each(function(){if(r==="string"){var n,a=0,o=e(this),s=t.match(l)||[];while((n=s[a++])){if(o.hasClass(n)){o.removeClass(n)}
  else{o.addClass(n)}}}
  else if(r===strundefined||r==="boolean"){if(this.className){i.set(this,"__className__",this.className)};this.className=this.className||t===!1?"":i.get(this,"__className__")||""}})},hasClass:function(e){var i=" "+e+" ",t=0,n=this.length;for(;t<n;t++){if(this[t].nodeType===1&&(" "+this[t].className+" ").replace(Z," ").indexOf(i)>=0){return!0}};return!1}});var it=/\r/g;e.fn.extend({val:function(t){var n,i,o,r=this[0];if(!arguments.length){if(r){n=e.valHooks[r.type]||e.valHooks[r.nodeName.toLowerCase()];if(n&&"get" in n&&(i=n.get(r,"value"))!==undefined){return i};i=r.value;return typeof i==="string"?i.replace(it,""):i==null?"":i};return};o=e.isFunction(t);return this.each(function(i){var r;if(this.nodeType!==1){return};if(o){r=t.call(this,i,e(this).val())}
  else{r=t};if(r==null){r=""}
  else if(typeof r==="number"){r+=""}
  else if(e.isArray(r)){r=e.map(r,function(e){return e==null?"":e+""})};n=e.valHooks[this.type]||e.valHooks[this.nodeName.toLowerCase()];if(!n||!("set" in n)||n.set(this,r,"value")===undefined){this.value=r}})}});e.extend({valHooks:{option:{get:function(t){var n=e.find.attr(t,"value");return n!=null?n:e.trim(e.text(t))}},select:{get:function(t){var a,n,l=t.options,i=t.selectedIndex,s=t.type==="select-one"||i<0,f=s?null:[],u=s?i+1:l.length,r=i<0?u:s?i:0;for(;r<u;r++){n=l[r];if((n.selected||r===i)&&(o.optDisabled?!n.disabled:n.getAttribute("disabled")===null)&&(!n.parentNode.disabled||!e.nodeName(n.parentNode,"optgroup"))){a=e(n).val();if(s){return a};f.push(a)}};return f},set:function(t,n){var a,i,s=t.options,o=e.makeArray(n),r=s.length;while(r--){i=s[r];if((i.selected=e.inArray(i.value,o)>=0)){a=!0}};if(!a){t.selectedIndex=-1};return o}}}});e.each(["radio","checkbox"],function(){e.valHooks[this]={set:function(t,n){if(e.isArray(n)){return(t.checked=e.inArray(e(t).val(),n)>=0)}}};if(!o.checkOn){e.valHooks[this].get=function(e){return e.getAttribute("value")===null?"on":e.value}}});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(t,n){e.fn[n]=function(e,t){return arguments.length>0?this.on(n,null,e,t):this.trigger(n)}});e.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return arguments.length===1?this.off(e,"**"):this.off(t,e||"**",n)}});var M=e.now(),J=(/\?/);e.parseJSON=function(e){return JSON.parse(e+"")};e.parseXML=function(t){var i,r;if(!t||typeof t!=="string"){return null};try{r=new DOMParser();i=r.parseFromString(t,"text/xml")}catch(n){i=undefined};if(!i||i.getElementsByTagName("parsererror").length){e.error("Invalid XML: "+t)};return i};var vt=/#.*$/,se=/([?&])_=[^&]*/,yt=/^(.*?):[ \t]*([^\r\n]*)$/mg,ct=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,lt=/^(?:GET|HEAD)$/,rt=/^\/\//,Re=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Ie={},X={},He="*/".concat("*"),Q=t.location.href,v=Re.exec(Q.toLowerCase())||[];function ae(t){return function(n,i){if(typeof n!=="string"){i=n;n="*"};var r,s=0,o=n.toLowerCase().match(l)||[];if(e.isFunction(i)){while((r=o[s++])){if(r[0]==="+"){r=r.slice(1)||"*";(t[r]=t[r]||[]).unshift(i)}
  else{(t[r]=t[r]||[]).push(i)}}}}};function ne(t,n,i,r){var o={},a=(t===X);function s(u){var f;o[u]=!0;e.each(t[u]||[],function(e,t){var u=t(n,i,r);if(typeof u==="string"&&!a&&!o[u]){n.dataTypes.unshift(u);s(u);return!1}
  else if(a){return!(f=u)}});return f};return s(n.dataTypes[0])||!o["*"]&&s("*")};function U(t,n){var i,r,o=e.ajaxSettings.flatOptions||{};for(i in n){if(n[i]!==undefined){(o[i]?t:(r||(r={})))[i]=n[i]}};if(r){e.extend(!0,t,r)};return t};function Ve(e,t,n){var s,o,r,u,a=e.contents,i=e.dataTypes;while(i[0]==="*"){i.shift();if(s===undefined){s=e.mimeType||t.getResponseHeader("Content-Type")}};if(s){for(o in a){if(a[o]&&a[o].test(s)){i.unshift(o);break}}};if(i[0]in n){r=i[0]}
  else{for(o in n){if(!i[0]||e.converters[o+" "+i[0]]){r=o;break};if(!u){u=o}};r=r||u};if(r){if(r!==i[0]){i.unshift(r)};return n[r]}};function Ge(e,t,n,i){var c,r,o,f,u,a={},l=e.dataTypes.slice();if(l[1]){for(o in e.converters){a[o.toLowerCase()]=e.converters[o]}};r=l.shift();while(r){if(e.responseFields[r]){n[e.responseFields[r]]=t};if(!u&&i&&e.dataFilter){t=e.dataFilter(t,e.dataType)};u=r;r=l.shift();if(r){if(r==="*"){r=u}
  else if(u!=="*"&&u!==r){o=a[u+" "+r]||a["* "+r];if(!o){for(c in a){f=c.split(" ");if(f[1]===r){o=a[u+" "+f[0]]||a["* "+f[0]];if(o){if(o===!0){o=a[c]}
  else if(a[c]!==!0){r=f[0];l.unshift(f[1])};break}}}};if(o!==!0){if(o&&e["throws"]){t=o(t)}
  else{try{t=o(t)}catch(s){return{state:"parsererror",error:o?s:"No conversion from "+u+" to "+r}}}}}}};return{state:"success",data:t}};e.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Q,type:"GET",isLocal:ct.test(v[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":He,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":e.parseJSON,"text xml":e.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,n){return n?U(U(t,e.ajaxSettings),n):U(e.ajaxSettings,t)},ajaxPrefilter:ae(Ie),ajaxTransport:ae(X),ajax:function(t,n){if(typeof t==="object"){n=t;t=undefined};n=n||{};var f,s,w,h,x,c,p,d,i=e.ajaxSetup({},n),u=i.context||i,y=i.context&&(u.nodeType||u.jquery)?e(u):e.event,b=e.Deferred(),k=e.Callbacks("once memory"),m=i.statusCode||{},T={},C={},a=0,N="canceled",r={readyState:0,getResponseHeader:function(e){var t;if(a===2){if(!h){h={};while((t=yt.exec(w))){h[t[1].toLowerCase()]=t[2]}};t=h[e.toLowerCase()]};return t==null?null:t},getAllResponseHeaders:function(){return a===2?w:null},setRequestHeader:function(e,t){var n=e.toLowerCase();if(!a){e=C[n]=C[n]||e;T[e]=t};return this},overrideMimeType:function(e){if(!a){i.mimeType=e};return this},statusCode:function(e){var t;if(e){if(a<2){for(t in e){m[t]=[m[t],e[t]]}}
  else{r.always(e[r.status])}};return this},abort:function(e){var t=e||N;if(f){f.abort(t)};g(0,t);return this}};b.promise(r).complete=k.add;r.success=r.done;r.error=r.fail;i.url=((t||i.url||Q)+"").replace(vt,"").replace(rt,v[1]+"//");i.type=n.method||n.type||i.method||i.type;i.dataTypes=e.trim(i.dataType||"*").toLowerCase().match(l)||[""];if(i.crossDomain==null){c=Re.exec(i.url.toLowerCase());i.crossDomain=!!(c&&(c[1]!==v[1]||c[2]!==v[2]||(c[3]||(c[1]==="http:"?"80":"443"))!==(v[3]||(v[1]==="http:"?"80":"443"))))};if(i.data&&i.processData&&typeof i.data!=="string"){i.data=e.param(i.data,i.traditional)};ne(Ie,i,n,r);if(a===2){return r};p=e.event&&i.global;if(p&&e.active++===0){e.event.trigger("ajaxStart")};i.type=i.type.toUpperCase();i.hasContent=!lt.test(i.type);s=i.url;if(!i.hasContent){if(i.data){s=(i.url+=(J.test(s)?"&":"?")+i.data);delete i.data};if(i.cache===!1){i.url=se.test(s)?s.replace(se,"$1_="+M++):s+(J.test(s)?"&":"?")+"_="+M++}};if(i.ifModified){if(e.lastModified[s]){r.setRequestHeader("If-Modified-Since",e.lastModified[s])};if(e.etag[s]){r.setRequestHeader("If-None-Match",e.etag[s])}};if(i.data&&i.hasContent&&i.contentType!==!1||n.contentType){r.setRequestHeader("Content-Type",i.contentType)};r.setRequestHeader("Accept",i.dataTypes[0]&&i.accepts[i.dataTypes[0]]?i.accepts[i.dataTypes[0]]+(i.dataTypes[0]!=="*"?", "+He+"; q=0.01":""):i.accepts["*"]);for(d in i.headers){r.setRequestHeader(d,i.headers[d])};if(i.beforeSend&&(i.beforeSend.call(u,r,i)===!1||a===2)){return r.abort()};N="abort";for(d in{success:1,error:1,complete:1}){r[d](i[d])};f=ne(X,i,n,r);if(!f){g(-1,"No Transport")}
  else{r.readyState=1;if(p){y.trigger("ajaxSend",[r,i])};if(i.async&&i.timeout>0){x=setTimeout(function(){r.abort("timeout")},i.timeout)};try{a=1;f.send(T,g)}catch(o){if(a<2){g(-1,o)}
  else{throw o}}};function g(t,n,o,l){var d,T,v,g,h,c=n;if(a===2){return};a=2;if(x){clearTimeout(x)};f=undefined;w=l||"";r.readyState=t>0?4:0;d=t>=200&&t<300||t===304;if(o){g=Ve(i,r,o)};g=Ge(i,g,r,d);if(d){if(i.ifModified){h=r.getResponseHeader("Last-Modified");if(h){e.lastModified[s]=h};h=r.getResponseHeader("etag");if(h){e.etag[s]=h}};if(t===204||i.type==="HEAD"){c="nocontent"}
  else if(t===304){c="notmodified"}
  else{c=g.state;T=g.data;v=g.error;d=!v}}
  else{v=c;if(t||!c){c="error";if(t<0){t=0}}};r.status=t;r.statusText=(n||c)+"";if(d){b.resolveWith(u,[T,c,r])}
  else{b.rejectWith(u,[r,c,v])};r.statusCode(m);m=undefined;if(p){y.trigger(d?"ajaxSuccess":"ajaxError",[r,i,d?T:v])};k.fireWith(u,[r,c]);if(p){y.trigger("ajaxComplete",[r,i]);if(!(--e.active)){e.event.trigger("ajaxStop")}}};return r},getJSON:function(t,n,i){return e.get(t,n,i,"json")},getScript:function(t,n){return e.get(t,undefined,n,"script")}});e.each(["get","post"],function(t,n){e[n]=function(t,i,r,o){if(e.isFunction(i)){o=o||r;r=i;i=undefined};return e.ajax({url:t,type:n,dataType:o,data:i,success:r})}});e._evalUrl=function(t){return e.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})};e.fn.extend({wrapAll:function(t){var n;if(e.isFunction(t)){return this.each(function(n){e(this).wrapAll(t.call(this,n))})};if(this[0]){n=e(t,this[0].ownerDocument).eq(0).clone(!0);if(this[0].parentNode){n.insertBefore(this[0])};n.map(function(){var e=this;while(e.firstElementChild){e=e.firstElementChild};return e}).append(this)};return this},wrapInner:function(t){if(e.isFunction(t)){return this.each(function(n){e(this).wrapInner(t.call(this,n))})};return this.each(function(){var i=e(this),n=i.contents();if(n.length){n.wrapAll(t)}
  else{i.append(t)}})},wrap:function(t){var n=e.isFunction(t);return this.each(function(i){e(this).wrapAll(n?t.call(this,i):t)})},unwrap:function(){return this.parent().each(function(){if(!e.nodeName(this,"body")){e(this).replaceWith(this.childNodes)}}).end()}});e.expr.filters.hidden=function(e){return e.offsetWidth<=0&&e.offsetHeight<=0};e.expr.filters.visible=function(t){return!e.expr.filters.hidden(t)};var dt=/%20/g,gt=/\[\]$/,ve=/\r?\n/g,mt=/^(?:submit|button|image|reset|file)$/i,xt=/^(?:input|select|textarea|keygen)/i;function B(t,n,i,r){var o;if(e.isArray(n)){e.each(n,function(e,n){if(i||gt.test(t)){r(t,n)}
  else{B(t+"["+(typeof n==="object"?e:"")+"]",n,i,r)}})}
  else if(!i&&e.type(n)==="object"){for(o in n){B(t+"["+o+"]",n[o],i,r)}}
  else{r(t,n)}};e.param=function(t,n){var r,i=[],o=function(t,n){n=e.isFunction(n)?n():(n==null?"":n);i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(n)};if(n===undefined){n=e.ajaxSettings&&e.ajaxSettings.traditional};if(e.isArray(t)||(t.jquery&&!e.isPlainObject(t))){e.each(t,function(){o(this.name,this.value)})}
  else{for(r in t){B(r,t[r],n,o)}};return i.join("&").replace(dt,"+")};e.fn.extend({serialize:function(){return e.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=e.prop(this,"elements");return t?e.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!e(this).is(":disabled")&&xt.test(this.nodeName)&&!mt.test(t)&&(this.checked||!We.test(t))}).map(function(t,n){var i=e(this).val();return i==null?null:e.isArray(i)?e.map(i,function(e){return{name:n.name,value:e.replace(ve,"\r\n")}}):{name:n.name,value:i.replace(ve,"\r\n")}}).get()}});e.ajaxSettings.xhr=function(){try{return new XMLHttpRequest()}catch(e){}};var ht=0,R={},pt={0:200,1223:204},w=e.ajaxSettings.xhr();if(t.attachEvent){t.attachEvent("onunload",function(){for(var e in R){R[e]()}})};o.cors=!!w&&("withCredentials" in w);o.ajax=w=!!w;e.ajaxTransport(function(e){var t;if(o.cors||w&&!e.crossDomain){return{send:function(n,i){var s,r=e.xhr(),a=++ht;r.open(e.type,e.url,e.async,e.username,e.password);if(e.xhrFields){for(s in e.xhrFields){r[s]=e.xhrFields[s]}};if(e.mimeType&&r.overrideMimeType){r.overrideMimeType(e.mimeType)};if(!e.crossDomain&&!n["X-Requested-With"]){n["X-Requested-With"]="XMLHttpRequest"};for(s in n){r.setRequestHeader(s,n[s])};t=function(e){return function(){if(t){delete R[a];t=r.onload=r.onerror=null;if(e==="abort"){r.abort()}
  else if(e==="error"){i(r.status,r.statusText)}
  else{i(pt[r.status]||r.status,r.statusText,typeof r.responseText==="string"?{text:r.responseText}:undefined,r.getAllResponseHeaders())}}}};r.onload=t();r.onerror=t("error");t=R[a]=t("abort");try{r.send(e.hasContent&&e.data||null)}catch(o){if(t){throw o}}},abort:function(){if(t){t()}}}}});e.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(t){e.globalEval(t);return t}}});e.ajaxPrefilter("script",function(e){if(e.cache===undefined){e.cache=!1};if(e.crossDomain){e.type="GET"}});e.ajaxTransport("script",function(t){if(t.crossDomain){var i,n;return{send:function(o,s){i=e("<script>").prop({async:!0,charset:t.scriptCharset,src:t.url}).on("load error",n=function(e){i.remove();n=null;if(e){s(e.type==="error"?404:200,e.type)}});r.head.appendChild(i[0])},abort:function(){if(n){n()}}}}});var pe=[],K=/(=)\?(?=&|$)|\?\?/;e.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=pe.pop()||(e.expando+"_"+(M++));this[t]=!0;return t}});e.ajaxPrefilter("json jsonp",function(n,i,r){var o,a,s,u=n.jsonp!==!1&&(K.test(n.url)?"url":typeof n.data==="string"&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&K.test(n.data)&&"data");if(u||n.dataTypes[0]==="jsonp"){o=n.jsonpCallback=e.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback;if(u){n[u]=n[u].replace(K,"$1"+o)}
  else if(n.jsonp!==!1){n.url+=(J.test(n.url)?"&":"?")+n.jsonp+"="+o};n.converters["script json"]=function(){if(!s){e.error(o+" was not called")};return s[0]};n.dataTypes[0]="json";a=t[o];t[o]=function(){s=arguments};r.always(function(){t[o]=a;if(n[o]){n.jsonpCallback=i.jsonpCallback;pe.push(o)};if(s&&e.isFunction(a)){a(s[0])};s=a=undefined});return"script"}});e.parseHTML=function(t,n,i){if(!t||typeof t!=="string"){return null};if(typeof n==="boolean"){i=n;n=!1};n=n||r;var s=me.exec(t),o=!i&&[];if(s){return[n.createElement(s[1])]};s=e.buildFragment([t],n,o);if(o&&o.length){e(o).remove()};return e.merge([],s.childNodes)};var ie=e.fn.load;e.fn.load=function(t,n,i){if(typeof t!=="string"&&ie){return ie.apply(this,arguments)};var s,a,u,o=this,r=t.indexOf(" ");if(r>=0){s=e.trim(t.slice(r));t=t.slice(0,r)};if(e.isFunction(n)){i=n;n=undefined}
  else if(n&&typeof n==="object"){a="POST"};if(o.length>0){e.ajax({url:t,type:a,dataType:"html",data:n}).done(function(t){u=arguments;o.html(s?e("<div>").append(e.parseHTML(t)).find(s):t)}).complete(i&&function(e,t){o.each(i,u||[e.responseText,t,e])})};return this};e.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,n){e.fn[n]=function(e){return this.on(n,e)}});e.expr.filters.animated=function(t){return e.grep(e.timers,function(e){return t===e.elem}).length};var le=t.document.documentElement;function ce(t){return e.isWindow(t)?t:t.nodeType===9&&t.defaultView};e.offset={setOffset:function(t,n,i){var l,c,d,f,r,s,p,u=e.css(t,"position"),a=e(t),o={};if(u==="static"){t.style.position="relative"};r=a.offset();d=e.css(t,"top");s=e.css(t,"left");p=(u==="absolute"||u==="fixed")&&(d+s).indexOf("auto")>-1;if(p){l=a.position();f=l.top;c=l.left}
  else{f=parseFloat(d)||0;c=parseFloat(s)||0};if(e.isFunction(n)){n=n.call(t,i,r)};if(n.top!=null){o.top=(n.top-r.top)+f};if(n.left!=null){o.left=(n.left-r.left)+c};if("using" in n){n.using.call(t,o)}
  else{a.css(o)}}};e.fn.extend({offset:function(t){if(arguments.length){return t===undefined?this:this.each(function(n){e.offset.setOffset(this,t,n)})};var i,s,n=this[0],r={top:0,left:0},o=n&&n.ownerDocument;if(!o){return};i=o.documentElement;if(!e.contains(i,n)){return r};if(typeof n.getBoundingClientRect!==strundefined){r=n.getBoundingClientRect()};s=ce(o);return{top:r.top+s.pageYOffset-i.clientTop,left:r.left+s.pageXOffset-i.clientLeft}},position:function(){if(!this[0]){return};var t,i,r=this[0],n={top:0,left:0};if(e.css(r,"position")==="fixed"){i=r.getBoundingClientRect()}
  else{t=this.offsetParent();i=this.offset();if(!e.nodeName(t[0],"html")){n=t.offset()};n.top+=e.css(t[0],"borderTopWidth",!0);n.left+=e.css(t[0],"borderLeftWidth",!0)};return{top:i.top-n.top-e.css(r,"marginTop",!0),left:i.left-n.left-e.css(r,"marginLeft",!0)}},offsetParent:function(){return this.map(function(){var t=this.offsetParent||le;while(t&&(!e.nodeName(t,"html")&&e.css(t,"position")==="static")){t=t.offsetParent};return t||le})}});e.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(n,i){var r="pageYOffset"===i;e.fn[n]=function(e){return c(this,function(e,n,o){var s=ce(e);if(o===undefined){return s?s[i]:e[n]};if(s){s.scrollTo(!r?o:t.pageXOffset,r?o:t.pageYOffset)}
  else{e[n]=o}},n,e,arguments.length,null)}});e.each(["top","left"],function(t,n){e.cssHooks[n]=be(o.pixelPosition,function(t,i){if(i){i=C(t,n);return W.test(i)?e(t).position()[n]+"px":i}})});e.each({Height:"height",Width:"width"},function(t,n){e.each({padding:"inner"+t,content:n,"":"outer"+t},function(i,r){e.fn[r]=function(r,o){var a=arguments.length&&(i||typeof r!=="boolean"),s=i||(r===!0||o===!0?"margin":"border");return c(this,function(n,i,r){var o;if(e.isWindow(n)){return n.document.documentElement["client"+t]};if(n.nodeType===9){o=n.documentElement;return Math.max(n.body["scroll"+t],o["scroll"+t],n.body["offset"+t],o["offset"+t],o["client"+t])};return r===undefined?e.css(n,i,s):e.style(n,i,r,s)},n,a?r:undefined,a,null)}})});e.fn.size=function(){return this.length};e.fn.andSelf=e.fn.addBack;if(typeof define==="function"&&define.amd){define("jquery",[],function(){return e})};var Nt=t.jQuery,Mt=t.$;e.noConflict=function(n){if(t.$===e){t.$=Mt};if(n&&t.jQuery===e){t.jQuery=Nt};return e};if(typeof n===strundefined){t.jQuery=t.$=e};return e}));
  /*!
   * Bootstrap v3.3.4 (http://getbootstrap.com)
   * Copyright 2011-2015 Twitter, Inc.
   * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
   */
  if(typeof jQuery==='undefined'){throw new Error('Bootstrap\'s JavaScript requires jQuery')};+function(t){'use strict';var e=t.fn.jquery.split(' ')[0].split('.');if((e[0]<2&&e[1]<9)||(e[0]==1&&e[1]==9&&e[2]<1)){throw new Error('Bootstrap\'s JavaScript requires jQuery version 1.9.1 or higher')}}(jQuery);+function(t){'use strict';function e(){var i=document.createElement('bootstrap'),e={WebkitTransition:'webkitTransitionEnd',MozTransition:'transitionend',OTransition:'oTransitionEnd otransitionend',transition:'transitionend'};for(var t in e){if(i.style[t]!==undefined){return{end:e[t]}}};return!1};t.fn.emulateTransitionEnd=function(e){var i=!1,o=this;t(this).one('bsTransitionEnd',function(){i=!0});var n=function(){if(!i)t(o).trigger(t.support.transition.end)};setTimeout(n,e);return this};t(function(){t.support.transition=e();if(!t.support.transition)return;t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}}})}(jQuery);+function(t){'use strict';var i='[data-dismiss="alert"]',e=function(e){t(e).on('click',i,this.close)};e.VERSION='3.3.4';e.TRANSITION_DURATION=150;e.prototype.close=function(i){var s=t(this),n=s.attr('data-target');if(!n){n=s.attr('href');n=n&&n.replace(/.*(?=#[^\s]*$)/,'')};var o=t(n);if(i)i.preventDefault();if(!o.length){o=s.closest('.alert')};o.trigger(i=t.Event('close.bs.alert'));if(i.isDefaultPrevented())return;o.removeClass('in');function r(){o.detach().trigger('closed.bs.alert').remove()};t.support.transition&&o.hasClass('fade')?o.one('bsTransitionEnd',r).emulateTransitionEnd(e.TRANSITION_DURATION):r()};function o(i){return this.each(function(){var n=t(this),o=n.data('bs.alert');if(!o)n.data('bs.alert',(o=new e(this)));if(typeof i=='string')o[i].call(n)})};var n=t.fn.alert;t.fn.alert=o;t.fn.alert.Constructor=e;t.fn.alert.noConflict=function(){t.fn.alert=n;return this};t(document).on('click.bs.alert.data-api',i,e.prototype.close)}(jQuery);+function(t){'use strict';var e=function(i,o){this.$element=t(i);this.options=t.extend({},e.DEFAULTS,o);this.isLoading=!1};e.VERSION='3.3.4';e.DEFAULTS={loadingText:'loading...'};e.prototype.setState=function(e){var o='disabled',i=this.$element,s=i.is('input')?'val':'html',n=i.data();e=e+'Text';if(n.resetText==null)i.data('resetText',i[s]());setTimeout(t.proxy(function(){i[s](n[e]==null?this.options[e]:n[e]);if(e=='loadingText'){this.isLoading=!0;i.addClass(o).attr(o,o)}
  else if(this.isLoading){this.isLoading=!1;i.removeClass(o).removeAttr(o)}},this),0)};e.prototype.toggle=function(){var e=!0,i=this.$element.closest('[data-toggle="buttons"]');if(i.length){var t=this.$element.find('input');if(t.prop('type')=='radio'){if(t.prop('checked')&&this.$element.hasClass('active'))e=!1;else i.find('.active').removeClass('active')};if(e)t.prop('checked',!this.$element.hasClass('active')).trigger('change')}
  else{this.$element.attr('aria-pressed',!this.$element.hasClass('active'))};if(e)this.$element.toggleClass('active')};function i(i){return this.each(function(){var n=t(this),o=n.data('bs.button'),s=typeof i=='object'&&i;if(!o)n.data('bs.button',(o=new e(this,s)));if(i=='toggle')o.toggle();else if(i)o.setState(i)})};var o=t.fn.button;t.fn.button=i;t.fn.button.Constructor=e;t.fn.button.noConflict=function(){t.fn.button=o;return this};t(document).on('click.bs.button.data-api','[data-toggle^="button"]',function(e){var o=t(e.target);if(!o.hasClass('btn'))o=o.closest('.btn');i.call(o,'toggle');e.preventDefault()}).on('focus.bs.button.data-api blur.bs.button.data-api','[data-toggle^="button"]',function(e){t(e.target).closest('.btn').toggleClass('focus',/^focus(in)?$/.test(e.type))})}(jQuery);+function(t){'use strict';var e=function(e,i){this.$element=t(e);this.$indicators=this.$element.find('.carousel-indicators');this.options=i;this.paused=null;this.sliding=null;this.interval=null;this.$active=null;this.$items=null;this.options.keyboard&&this.$element.on('keydown.bs.carousel',t.proxy(this.keydown,this));this.options.pause=='hover'&&!('ontouchstart' in document.documentElement)&&this.$element.on('mouseenter.bs.carousel',t.proxy(this.pause,this)).on('mouseleave.bs.carousel',t.proxy(this.cycle,this))};e.VERSION='3.3.4';e.TRANSITION_DURATION=600;e.DEFAULTS={interval:5000,pause:'hover',wrap:!0,keyboard:!0};e.prototype.keydown=function(t){if(/input|textarea/i.test(t.target.tagName))return;switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return};t.preventDefault()};e.prototype.cycle=function(e){e||(this.paused=!1);this.interval&&clearInterval(this.interval);this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval));return this};e.prototype.getItemIndex=function(t){this.$items=t.parent().children('.item');return this.$items.index(t||this.$active)};e.prototype.getItemForDirection=function(t,e){var i=this.getItemIndex(e),o=(t=='prev'&&i===0)||(t=='next'&&i==(this.$items.length-1));if(o&&!this.options.wrap)return e;var n=t=='prev'?-1:1,s=(i+n)%this.$items.length;return this.$items.eq(s)};e.prototype.to=function(t){var i=this,e=this.getItemIndex(this.$active=this.$element.find('.item.active'));if(t>(this.$items.length-1)||t<0)return;if(this.sliding)return this.$element.one('slid.bs.carousel',function(){i.to(t)});if(e==t)return this.pause().cycle();return this.slide(t>e?'next':'prev',this.$items.eq(t))};e.prototype.pause=function(e){e||(this.paused=!0);if(this.$element.find('.next, .prev').length&&t.support.transition){this.$element.trigger(t.support.transition.end);this.cycle(!0)};this.interval=clearInterval(this.interval);return this};e.prototype.next=function(){if(this.sliding)return;return this.slide('next')};e.prototype.prev=function(){if(this.sliding)return;return this.slide('prev')};e.prototype.slide=function(i,o){var r=this.$element.find('.item.active'),n=o||this.getItemForDirection(i,r),l=this.interval,s=i=='next'?'left':'right',a=this;if(n.hasClass('active'))return(this.sliding=!1);var p=n[0],h=t.Event('slide.bs.carousel',{relatedTarget:p,direction:s});this.$element.trigger(h);if(h.isDefaultPrevented())return;this.sliding=!0;l&&this.pause();if(this.$indicators.length){this.$indicators.find('.active').removeClass('active');var f=t(this.$indicators.children()[this.getItemIndex(n)]);f&&f.addClass('active')};var d=t.Event('slid.bs.carousel',{relatedTarget:p,direction:s});if(t.support.transition&&this.$element.hasClass('slide')){n.addClass(i);n[0].offsetWidth;r.addClass(s);n.addClass(s);r.one('bsTransitionEnd',function(){n.removeClass([i,s].join(' ')).addClass('active');r.removeClass(['active',s].join(' '));a.sliding=!1;setTimeout(function(){a.$element.trigger(d)},0)}).emulateTransitionEnd(e.TRANSITION_DURATION)}
  else{r.removeClass('active');n.addClass('active');this.sliding=!1;this.$element.trigger(d)};l&&this.cycle();return this};function i(i){return this.each(function(){var s=t(this),o=s.data('bs.carousel'),n=t.extend({},e.DEFAULTS,s.data(),typeof i=='object'&&i);var r=typeof i=='string'?i:n.slide;if(!o)s.data('bs.carousel',(o=new e(this,n)));if(typeof i=='number')o.to(i);else if(r)o[r]();else if(n.interval)o.pause().cycle()})};var n=t.fn.carousel;t.fn.carousel=i;t.fn.carousel.Constructor=e;t.fn.carousel.noConflict=function(){t.fn.carousel=n;return this};var o=function(e){var a,o=t(this),n=t(o.attr('data-target')||(a=o.attr('href'))&&a.replace(/.*(?=#[^\s]+$)/,''));if(!n.hasClass('carousel'))return;var r=t.extend({},n.data(),o.data());var s=o.attr('data-slide-to');if(s)r.interval=!1;i.call(n,r);if(s){n.data('bs.carousel').to(s)};e.preventDefault()};t(document).on('click.bs.carousel.data-api','[data-slide]',o).on('click.bs.carousel.data-api','[data-slide-to]',o);t(window).on('load',function(){t('[data-ride="carousel"]').each(function(){var e=t(this);i.call(e,e.data())})})}(jQuery);+function(t){'use strict';var e=function(i,o){this.$element=t(i);this.options=t.extend({},e.DEFAULTS,o);this.$trigger=t('[data-toggle="collapse"][href="#'+i.id+'"],[data-toggle="collapse"][data-target="#'+i.id+'"]');this.transitioning=null;if(this.options.parent){this.$parent=this.getParent()}
  else{this.addAriaAndCollapsedClass(this.$element,this.$trigger)};if(this.options.toggle)this.toggle()};e.VERSION='3.3.4';e.TRANSITION_DURATION=350;e.DEFAULTS={toggle:!0};e.prototype.dimension=function(){var t=this.$element.hasClass('width');return t?'width':'height'};e.prototype.show=function(){if(this.transitioning||this.$element.hasClass('in'))return;var n,o=this.$parent&&this.$parent.children('.panel').children('.in, .collapsing');if(o&&o.length){n=o.data('bs.collapse');if(n&&n.transitioning)return};var r=t.Event('show.bs.collapse');this.$element.trigger(r);if(r.isDefaultPrevented())return;if(o&&o.length){i.call(o,'hide');n||o.data('bs.collapse',null)};var s=this.dimension();this.$element.removeClass('collapse').addClass('collapsing')[s](0).attr('aria-expanded',!0);this.$trigger.removeClass('collapsed').attr('aria-expanded',!0);this.transitioning=1;var a=function(){this.$element.removeClass('collapsing').addClass('collapse in')[s]('');this.transitioning=0;this.$element.trigger('shown.bs.collapse')};if(!t.support.transition)return a.call(this);var l=t.camelCase(['scroll',s].join('-'));this.$element.one('bsTransitionEnd',t.proxy(a,this)).emulateTransitionEnd(e.TRANSITION_DURATION)[s](this.$element[0][l])};e.prototype.hide=function(){if(this.transitioning||!this.$element.hasClass('in'))return;var o=t.Event('hide.bs.collapse');this.$element.trigger(o);if(o.isDefaultPrevented())return;var i=this.dimension();this.$element[i](this.$element[i]())[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(!t.support.transition)return n.call(this);this.$element[i](0).one('bsTransitionEnd',t.proxy(n,this)).emulateTransitionEnd(e.TRANSITION_DURATION)};e.prototype.toggle=function(){this[this.$element.hasClass('in')?'hide':'show']()};e.prototype.getParent=function(){return t(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy(function(e,i){var n=t(i);this.addAriaAndCollapsedClass(o(n),n)},this)).end()};e.prototype.addAriaAndCollapsedClass=function(t,e){var i=t.hasClass('in');t.attr('aria-expanded',i);e.toggleClass('collapsed',!i).attr('aria-expanded',i)};function o(e){var i,o=e.attr('data-target')||(i=e.attr('href'))&&i.replace(/.*(?=#[^\s]+$)/,'');return t(o)};function i(i){return this.each(function(){var s=t(this),o=s.data('bs.collapse'),n=t.extend({},e.DEFAULTS,s.data(),typeof i=='object'&&i);if(!o&&n.toggle&&/show|hide/.test(i))n.toggle=!1;if(!o)s.data('bs.collapse',(o=new e(this,n)));if(typeof i=='string')o[i]()})};var n=t.fn.collapse;t.fn.collapse=i;t.fn.collapse.Constructor=e;t.fn.collapse.noConflict=function(){t.fn.collapse=n;return this};t(document).on('click.bs.collapse.data-api','[data-toggle="collapse"]',function(e){var n=t(this);if(!n.attr('data-target'))e.preventDefault();var s=o(n),r=s.data('bs.collapse'),a=r?'toggle':n.data();i.call(s,a)})}(jQuery);+function(t){'use strict';var a='.dropdown-backdrop',i='[data-toggle="dropdown"]',e=function(e){t(e).on('click.bs.dropdown',this.toggle)};e.VERSION='3.3.4';e.prototype.toggle=function(e){var s=t(this);if(s.is('.disabled, :disabled'))return;var i=o(s),a=i.hasClass('open');n();if(!a){if('ontouchstart' in document.documentElement&&!i.closest('.navbar-nav').length){t('<div class="dropdown-backdrop"/>').insertAfter(t(this)).on('click',n)};var r={relatedTarget:this};i.trigger(e=t.Event('show.bs.dropdown',r));if(e.isDefaultPrevented())return;s.trigger('focus').attr('aria-expanded','true');i.toggleClass('open').trigger('shown.bs.dropdown',r)};return!1};e.prototype.keydown=function(e){if(!/(38|40|27|32)/.test(e.which)||/input|textarea/i.test(e.target.tagName))return;var r=t(this);e.preventDefault();e.stopPropagation();if(r.is('.disabled, :disabled'))return;var a=o(r),h=a.hasClass('open');if((!h&&e.which!=27)||(h&&e.which==27)){if(e.which==27)a.find(i).trigger('focus');return r.trigger('click')};var l=' li:not(.disabled):visible a',s=a.find('[role="menu"]'+l+', [role="listbox"]'+l);if(!s.length)return;var n=s.index(e.target);if(e.which==38&&n>0)n--;if(e.which==40&&n<s.length-1)n++;if(!~n)n=0;s.eq(n).trigger('focus')};function n(e){if(e&&e.which===3)return;t(a).remove();t(i).each(function(){var s=t(this),i=o(s),n={relatedTarget:this};if(!i.hasClass('open'))return;i.trigger(e=t.Event('hide.bs.dropdown',n));if(e.isDefaultPrevented())return;s.attr('aria-expanded','false');i.removeClass('open').trigger('hidden.bs.dropdown',n)})};function o(e){var i=e.attr('data-target');if(!i){i=e.attr('href');i=i&&/#[A-Za-z]/.test(i)&&i.replace(/.*(?=#[^\s]*$)/,'')};var o=i&&t(i);return o&&o.length?o:e.parent()};function s(i){return this.each(function(){var n=t(this),o=n.data('bs.dropdown');if(!o)n.data('bs.dropdown',(o=new e(this)));if(typeof i=='string')o[i].call(n)})};var r=t.fn.dropdown;t.fn.dropdown=s;t.fn.dropdown.Constructor=e;t.fn.dropdown.noConflict=function(){t.fn.dropdown=r;return this};t(document).on('click.bs.dropdown.data-api',n).on('click.bs.dropdown.data-api','.dropdown form',function(t){t.stopPropagation()}).on('click.bs.dropdown.data-api',i,e.prototype.toggle).on('keydown.bs.dropdown.data-api',i,e.prototype.keydown).on('keydown.bs.dropdown.data-api','[role="menu"]',e.prototype.keydown).on('keydown.bs.dropdown.data-api','[role="listbox"]',e.prototype.keydown)}(jQuery);+function(t){'use strict';var e=function(e,i){this.options=i;this.$body=t(document.body);this.$element=t(e);this.$dialog=this.$element.find('.modal-dialog');this.$backdrop=null;this.isShown=null;this.originalBodyPad=null;this.scrollbarWidth=0;this.ignoreBackdropClick=!1;if(this.options.remote){this.$element.find('.modal-content').load(this.options.remote,t.proxy(function(){this.$element.trigger('loaded.bs.modal')},this))}};e.VERSION='3.3.4';e.TRANSITION_DURATION=300;e.BACKDROP_TRANSITION_DURATION=150;e.DEFAULTS={backdrop:!0,keyboard:!0,show:!0};e.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)};e.prototype.show=function(i){var o=this,n=t.Event('show.bs.modal',{relatedTarget:i});this.$element.trigger(n);if(this.isShown||n.isDefaultPrevented())return;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"]',t.proxy(this.hide,this));this.$dialog.on('mousedown.dismiss.bs.modal',function(){o.$element.one('mouseup.dismiss.bs.modal',function(e){if(t(e.target).is(o.$element))o.ignoreBackdropClick=!0})});this.backdrop(function(){var n=t.support.transition&&o.$element.hasClass('fade');if(!o.$element.parent().length){o.$element.appendTo(o.$body)};o.$element.show().scrollTop(0);o.adjustDialog();if(n){o.$element[0].offsetWidth};o.$element.addClass('in').attr('aria-hidden',!1);o.enforceFocus();var s=t.Event('shown.bs.modal',{relatedTarget:i});n?o.$dialog.one('bsTransitionEnd',function(){o.$element.trigger('focus').trigger(s)}).emulateTransitionEnd(e.TRANSITION_DURATION):o.$element.trigger('focus').trigger(s)})};e.prototype.hide=function(i){if(i)i.preventDefault();i=t.Event('hide.bs.modal');this.$element.trigger(i);if(!this.isShown||i.isDefaultPrevented())return;this.isShown=!1;this.escape();this.resize();t(document).off('focusin.bs.modal');this.$element.removeClass('in').attr('aria-hidden',!0).off('click.dismiss.bs.modal').off('mouseup.dismiss.bs.modal');this.$dialog.off('mousedown.dismiss.bs.modal');t.support.transition&&this.$element.hasClass('fade')?this.$element.one('bsTransitionEnd',t.proxy(this.hideModal,this)).emulateTransitionEnd(e.TRANSITION_DURATION):this.hideModal()};e.prototype.enforceFocus=function(){t(document).off('focusin.bs.modal').on('focusin.bs.modal',t.proxy(function(t){if(this.$element[0]!==t.target&&!this.$element.has(t.target).length){this.$element.trigger('focus')}},this))};e.prototype.escape=function(){if(this.isShown&&this.options.keyboard){this.$element.on('keydown.dismiss.bs.modal',t.proxy(function(t){t.which==27&&this.hide()},this))}
  else if(!this.isShown){this.$element.off('keydown.dismiss.bs.modal')}};e.prototype.resize=function(){if(this.isShown){t(window).on('resize.bs.modal',t.proxy(this.handleUpdate,this))}
  else{t(window).off('resize.bs.modal')}};e.prototype.hideModal=function(){var t=this;this.$element.hide();this.backdrop(function(){t.$body.removeClass('modal-open');t.resetAdjustments();t.resetScrollbar();t.$element.trigger('hidden.bs.modal')})};e.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove();this.$backdrop=null};e.prototype.backdrop=function(i){var r=this,o=this.$element.hasClass('fade')?'fade':'';if(this.isShown&&this.options.backdrop){var n=t.support.transition&&o;this.$backdrop=t('<div class="modal-backdrop '+o+'" />').appendTo(this.$body);this.$element.on('click.dismiss.bs.modal',t.proxy(function(t){if(this.ignoreBackdropClick){this.ignoreBackdropClick=!1;return};if(t.target!==t.currentTarget)return;this.options.backdrop=='static'?this.$element[0].focus():this.hide()},this));if(n)this.$backdrop[0].offsetWidth;this.$backdrop.addClass('in');if(!i)return;n?this.$backdrop.one('bsTransitionEnd',i).emulateTransitionEnd(e.BACKDROP_TRANSITION_DURATION):i()}
  else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass('in');var s=function(){r.removeBackdrop();i&&i()};t.support.transition&&this.$element.hasClass('fade')?this.$backdrop.one('bsTransitionEnd',s).emulateTransitionEnd(e.BACKDROP_TRANSITION_DURATION):s()}
  else if(i){i()}};e.prototype.handleUpdate=function(){this.adjustDialog()};e.prototype.adjustDialog=function(){var t=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:'',paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:''})};e.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:'',paddingRight:''})};e.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)};this.bodyIsOverflowing=document.body.clientWidth<t;this.scrollbarWidth=this.measureScrollbar()};e.prototype.setScrollbar=function(){var t=parseInt((this.$body.css('padding-right')||0),10);this.originalBodyPad=document.body.style.paddingRight||'';if(this.bodyIsOverflowing)this.$body.css('padding-right',t+this.scrollbarWidth)};e.prototype.resetScrollbar=function(){this.$body.css('padding-right',this.originalBodyPad)};e.prototype.measureScrollbar=function(){var t=document.createElement('div');t.className='modal-scrollbar-measure';this.$body.append(t);var e=t.offsetWidth-t.clientWidth;this.$body[0].removeChild(t);return e};function i(i,o){return this.each(function(){var s=t(this),n=s.data('bs.modal'),r=t.extend({},e.DEFAULTS,s.data(),typeof i=='object'&&i);if(!n)s.data('bs.modal',(n=new e(this,r)));if(typeof i=='string')n[i](o);else if(r.show)n.show(o)})};var o=t.fn.modal;t.fn.modal=i;t.fn.modal.Constructor=e;t.fn.modal.noConflict=function(){t.fn.modal=o;return this};t(document).on('click.bs.modal.data-api','[data-toggle="modal"]',function(e){var o=t(this),s=o.attr('href'),n=t(o.attr('data-target')||(s&&s.replace(/.*(?=#[^\s]+$)/,''))),r=n.data('bs.modal')?'toggle':t.extend({remote:!/#/.test(s)&&s},n.data(),o.data());if(o.is('a'))e.preventDefault();n.one('show.bs.modal',function(t){if(t.isDefaultPrevented())return n.one('hidden.bs.modal',function(){o.is(':visible')&&o.trigger('focus')})});i.call(n,r,this)})}(jQuery);+function(t){'use strict';var e=function(t,e){this.type=null;this.options=null;this.enabled=null;this.timeout=null;this.hoverState=null;this.$element=null;this.init('tooltip',t,e)};e.VERSION='3.3.4';e.TRANSITION_DURATION=150;e.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}};e.prototype.init=function(e,i,o){this.enabled=!0;this.type=e;this.$element=t(i);this.options=this.getOptions(o);this.$viewport=this.options.viewport&&t(this.options.viewport.selector||this.options.viewport);if(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!')};var s=this.options.trigger.split(' ');for(var r=s.length;r--;){var n=s[r];if(n=='click'){this.$element.on('click.'+this.type,this.options.selector,t.proxy(this.toggle,this))}
  else if(n!='manual'){var a=n=='hover'?'mouseenter':'focusin',l=n=='hover'?'mouseleave':'focusout';this.$element.on(a+'.'+this.type,this.options.selector,t.proxy(this.enter,this));this.$element.on(l+'.'+this.type,this.options.selector,t.proxy(this.leave,this))}};this.options.selector?(this._options=t.extend({},this.options,{trigger:'manual',selector:''})):this.fixTitle()};e.prototype.getDefaults=function(){return e.DEFAULTS};e.prototype.getOptions=function(e){e=t.extend({},this.getDefaults(),this.$element.data(),e);if(e.delay&&typeof e.delay=='number'){e.delay={show:e.delay,hide:e.delay}};return e};e.prototype.getDelegateOptions=function(){var e={};var i=this.getDefaults();this._options&&t.each(this._options,function(t,o){if(i[t]!=o)e[t]=o});return e};e.prototype.enter=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data('bs.'+this.type);if(i&&i.$tip&&i.$tip.is(':visible')){i.hoverState='in';return};if(!i){i=new this.constructor(e.currentTarget,this.getDelegateOptions());t(e.currentTarget).data('bs.'+this.type,i)};clearTimeout(i.timeout);i.hoverState='in';if(!i.options.delay||!i.options.delay.show)return i.show();i.timeout=setTimeout(function(){if(i.hoverState=='in')i.show()},i.options.delay.show)};e.prototype.leave=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data('bs.'+this.type);if(!i){i=new this.constructor(e.currentTarget,this.getDelegateOptions());t(e.currentTarget).data('bs.'+this.type,i)};clearTimeout(i.timeout);i.hoverState='out';if(!i.options.delay||!i.options.delay.hide)return i.hide();i.timeout=setTimeout(function(){if(i.hoverState=='out')i.hide()},i.options.delay.hide)};e.prototype.show=function(){var c=t.Event('show.bs.'+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(c);var u=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(c.isDefaultPrevented()||!u)return;var n=this,o=this.tip(),p=this.getUID(this.type);this.setContent();o.attr('id',p);this.$element.attr('aria-describedby',p);if(this.options.animation)o.addClass('fade');var i=typeof this.options.placement=='function'?this.options.placement.call(this,o[0],this.$element[0]):this.options.placement,f=/\s?auto?\s?/i,d=f.test(i);if(d)i=i.replace(f,'')||'top';o.detach().css({top:0,left:0,display:'block'}).addClass(i).data('bs.'+this.type,this);this.options.container?o.appendTo(this.options.container):o.insertAfter(this.$element);var s=this.getPosition(),a=o[0].offsetWidth,l=o[0].offsetHeight;if(d){var g=i,m=this.options.container?t(this.options.container):this.$element.parent(),r=this.getPosition(m);i=i=='bottom'&&s.bottom+l>r.bottom?'top':i=='top'&&s.top-l<r.top?'bottom':i=='right'&&s.right+a>r.width?'left':i=='left'&&s.left-a<r.left?'right':i;o.removeClass(g).addClass(i)};var v=this.getCalculatedOffset(i,s,a,l);this.applyPlacement(v,i);var h=function(){var t=n.hoverState;n.$element.trigger('shown.bs.'+n.type);n.hoverState=null;if(t=='out')n.leave(n)};t.support.transition&&this.$tip.hasClass('fade')?o.one('bsTransitionEnd',h).emulateTransitionEnd(e.TRANSITION_DURATION):h()}};e.prototype.applyPlacement=function(e,i){var o=this.tip(),c=o[0].offsetWidth,h=o[0].offsetHeight,r=parseInt(o.css('margin-top'),10),l=parseInt(o.css('margin-left'),10);if(isNaN(r))r=0;if(isNaN(l))l=0;e.top=e.top+r;e.left=e.left+l;t.offset.setOffset(o[0],t.extend({using:function(t){o.css({top:Math.round(t.top),left:Math.round(t.left)})}},e),0);o.addClass('in');var d=o[0].offsetWidth,s=o[0].offsetHeight;if(i=='top'&&s!=h){e.top=e.top+h-s};var n=this.getViewportAdjustedDelta(i,e,d,s);if(n.left)e.left+=n.left;else e.top+=n.top;var a=/top|bottom/.test(i),f=a?n.left*2-c+d:n.top*2-h+s,p=a?'offsetWidth':'offsetHeight';o.offset(e);this.replaceArrow(f,o[0][p],a)};e.prototype.replaceArrow=function(t,e,i){this.arrow().css(i?'left':'top',50*(1-t/e)+'%').css(i?'top':'left','')};e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();t.find('.tooltip-inner')[this.options.html?'html':'text'](e);t.removeClass('fade in top bottom left right')};e.prototype.hide=function(i){var n=this,o=t(this.$tip),r=t.Event('hide.bs.'+this.type);function s(){if(n.hoverState!='in')o.detach();n.$element.removeAttr('aria-describedby').trigger('hidden.bs.'+n.type);i&&i()};this.$element.trigger(r);if(r.isDefaultPrevented())return;o.removeClass('in');t.support.transition&&o.hasClass('fade')?o.one('bsTransitionEnd',s).emulateTransitionEnd(e.TRANSITION_DURATION):s();this.hoverState=null;return this};e.prototype.fixTitle=function(){var t=this.$element;if(t.attr('title')||typeof(t.attr('data-original-title'))!='string'){t.attr('data-original-title',t.attr('title')||'').attr('title','')}};e.prototype.hasContent=function(){return this.getTitle()};e.prototype.getPosition=function(e){e=e||this.$element;var n=e[0],o=n.tagName=='BODY',i=n.getBoundingClientRect();if(i.width==null){i=t.extend({},i,{width:i.right-i.left,height:i.bottom-i.top})};var s=o?{top:0,left:0}:e.offset();var a={scroll:o?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()};var r=o?{width:t(window).width(),height:t(window).height()}:null;return t.extend({},i,a,r,s)};e.prototype.getCalculatedOffset=function(t,e,i,o){return t=='bottom'?{top:e.top+e.height,left:e.left+e.width/2-i/2}:t=='top'?{top:e.top-o,left:e.left+e.width/2-i/2}:t=='left'?{top:e.top+e.height/2-o/2,left:e.left-i}:{top:e.top+e.height/2-o/2,left:e.left+e.width}};e.prototype.getViewportAdjustedDelta=function(t,e,n,r){var o={top:0,left:0};if(!this.$viewport)return o;var s=this.options.viewport&&this.options.viewport.padding||0,i=this.getPosition(this.$viewport);if(/right|left/.test(t)){var h=e.top-s-i.scroll,d=e.top+s-i.scroll+r;if(h<i.top){o.top=i.top-h}
  else if(d>i.top+i.height){o.top=i.top+i.height-d}}
  else{var l=e.left-s,a=e.left+s+n;if(l<i.left){o.left=i.left-l}
  else if(a>i.width){o.left=i.left+i.width-a}};return o};e.prototype.getTitle=function(){var i,e=this.$element,t=this.options;i=e.attr('data-original-title')||(typeof t.title=='function'?t.title.call(e[0]):t.title);return i};e.prototype.getUID=function(t){do t+=~~(Math.random()*1000000);while(document.getElementById(t))return t};e.prototype.tip=function(){return(this.$tip=this.$tip||t(this.options.template))};e.prototype.arrow=function(){return(this.$arrow=this.$arrow||this.tip().find('.tooltip-arrow'))};e.prototype.enable=function(){this.enabled=!0};e.prototype.disable=function(){this.enabled=!1};e.prototype.toggleEnabled=function(){this.enabled=!this.enabled};e.prototype.toggle=function(e){var i=this;if(e){i=t(e.currentTarget).data('bs.'+this.type);if(!i){i=new this.constructor(e.currentTarget,this.getDelegateOptions());t(e.currentTarget).data('bs.'+this.type,i)}};i.tip().hasClass('in')?i.leave(i):i.enter(i)};e.prototype.destroy=function(){var t=this;clearTimeout(this.timeout);this.hide(function(){t.$element.off('.'+t.type).removeData('bs.'+t.type)})};function i(i){return this.each(function(){var n=t(this),o=n.data('bs.tooltip'),s=typeof i=='object'&&i;if(!o&&/destroy|hide/.test(i))return;if(!o)n.data('bs.tooltip',(o=new e(this,s)));if(typeof i=='string')o[i]()})};var o=t.fn.tooltip;t.fn.tooltip=i;t.fn.tooltip.Constructor=e;t.fn.tooltip.noConflict=function(){t.fn.tooltip=o;return this}}(jQuery);+function(t){'use strict';var e=function(t,e){this.init('popover',t,e)};if(!t.fn.tooltip)throw new Error('Popover requires tooltip.js');e.VERSION='3.3.4';e.DEFAULTS=t.extend({},t.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>'});e.prototype=t.extend({},t.fn.tooltip.Constructor.prototype);e.prototype.constructor=e;e.prototype.getDefaults=function(){return e.DEFAULTS};e.prototype.setContent=function(){var t=this.tip(),i=this.getTitle(),e=this.getContent();t.find('.popover-title')[this.options.html?'html':'text'](i);t.find('.popover-content').children().detach().end()[this.options.html?(typeof e=='string'?'html':'append'):'text'](e);t.removeClass('fade top bottom left right in');if(!t.find('.popover-title').html())t.find('.popover-title').hide()};e.prototype.hasContent=function(){return this.getTitle()||this.getContent()};e.prototype.getContent=function(){var e=this.$element,t=this.options;return e.attr('data-content')||(typeof t.content=='function'?t.content.call(e[0]):t.content)};e.prototype.arrow=function(){return(this.$arrow=this.$arrow||this.tip().find('.arrow'))};function i(i){return this.each(function(){var n=t(this),o=n.data('bs.popover'),s=typeof i=='object'&&i;if(!o&&/destroy|hide/.test(i))return;if(!o)n.data('bs.popover',(o=new e(this,s)));if(typeof i=='string')o[i]()})};var o=t.fn.popover;t.fn.popover=i;t.fn.popover.Constructor=e;t.fn.popover.noConflict=function(){t.fn.popover=o;return this}}(jQuery);+function(t){'use strict';function e(i,o){this.$body=t(document.body);this.$scrollElement=t(i).is(document.body)?t(window):t(i);this.options=t.extend({},e.DEFAULTS,o);this.selector=(this.options.target||'')+' .nav li > a';this.offsets=[];this.targets=[];this.activeTarget=null;this.scrollHeight=0;this.$scrollElement.on('scroll.bs.scrollspy',t.proxy(this.process,this));this.refresh();this.process()};e.VERSION='3.3.4';e.DEFAULTS={offset:10};e.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)};e.prototype.refresh=function(){var o=this,i='offset',e=0;this.offsets=[];this.targets=[];this.scrollHeight=this.getScrollHeight();if(!t.isWindow(this.$scrollElement[0])){i='position';e=this.$scrollElement.scrollTop()};this.$body.find(this.selector).map(function(){var s=t(this),n=s.data('target')||s.attr('href'),o=/^#./.test(n)&&t(n);return(o&&o.length&&o.is(':visible')&&[[o[i]().top+e,n]])||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){o.offsets.push(this[0]);o.targets.push(this[1])})};e.prototype.process=function(){var i=this.$scrollElement.scrollTop()+this.options.offset,s=this.getScrollHeight(),r=this.options.offset+s-this.$scrollElement.height(),e=this.offsets,o=this.targets,n=this.activeTarget,t;if(this.scrollHeight!=s){this.refresh()};if(i>=r){return n!=(t=o[o.length-1])&&this.activate(t)};if(n&&i<e[0]){this.activeTarget=null;return this.clear()};for(t=e.length;t--;){n!=o[t]&&i>=e[t]&&(e[t+1]===undefined||i<e[t+1])&&this.activate(o[t])}};e.prototype.activate=function(e){this.activeTarget=e;this.clear();var o=this.selector+'[data-target="'+e+'"],'+this.selector+'[href="'+e+'"]',i=t(o).parents('li').addClass('active');if(i.parent('.dropdown-menu').length){i=i.closest('li.dropdown').addClass('active')};i.trigger('activate.bs.scrollspy')};e.prototype.clear=function(){t(this.selector).parentsUntil(this.options.target,'.active').removeClass('active')};function i(i){return this.each(function(){var n=t(this),o=n.data('bs.scrollspy'),s=typeof i=='object'&&i;if(!o)n.data('bs.scrollspy',(o=new e(this,s)));if(typeof i=='string')o[i]()})};var o=t.fn.scrollspy;t.fn.scrollspy=i;t.fn.scrollspy.Constructor=e;t.fn.scrollspy.noConflict=function(){t.fn.scrollspy=o;return this};t(window).on('load.bs.scrollspy.data-api',function(){t('[data-spy="scroll"]').each(function(){var e=t(this);i.call(e,e.data())})})}(jQuery);+function(t){'use strict';var e=function(e){this.element=t(e)};e.VERSION='3.3.4';e.TRANSITION_DURATION=150;e.prototype.show=function(){var e=this.element,n=e.closest('ul:not(.dropdown-menu)'),i=e.data('target');if(!i){i=e.attr('href');i=i&&i.replace(/.*(?=#[^\s]*$)/,'')};if(e.parent('li').hasClass('active'))return;var o=n.find('.active:last a'),s=t.Event('hide.bs.tab',{relatedTarget:e[0]});var r=t.Event('show.bs.tab',{relatedTarget:o[0]});o.trigger(s);e.trigger(r);if(r.isDefaultPrevented()||s.isDefaultPrevented())return;var a=t(i);this.activate(e.closest('li'),n);this.activate(a,a.parent(),function(){o.trigger({type:'hidden.bs.tab',relatedTarget:e[0]});e.trigger({type:'shown.bs.tab',relatedTarget:o[0]})})};e.prototype.activate=function(i,o,n){var s=o.find('> .active'),a=n&&t.support.transition&&((s.length&&s.hasClass('fade'))||!!o.find('> .fade').length);function r(){s.removeClass('active').find('> .dropdown-menu > .active').removeClass('active').end().find('[data-toggle="tab"]').attr('aria-expanded',!1);i.addClass('active').find('[data-toggle="tab"]').attr('aria-expanded',!0);if(a){i[0].offsetWidth;i.addClass('in')}
  else{i.removeClass('fade')};if(i.parent('.dropdown-menu').length){i.closest('li.dropdown').addClass('active').end().find('[data-toggle="tab"]').attr('aria-expanded',!0)};n&&n()};s.length&&a?s.one('bsTransitionEnd',r).emulateTransitionEnd(e.TRANSITION_DURATION):r();s.removeClass('in')};function o(i){return this.each(function(){var n=t(this),o=n.data('bs.tab');if(!o)n.data('bs.tab',(o=new e(this)));if(typeof i=='string')o[i]()})};var n=t.fn.tab;t.fn.tab=o;t.fn.tab.Constructor=e;t.fn.tab.noConflict=function(){t.fn.tab=n;return this};var i=function(e){e.preventDefault();o.call(t(this),'show')};t(document).on('click.bs.tab.data-api','[data-toggle="tab"]',i).on('click.bs.tab.data-api','[data-toggle="pill"]',i)}(jQuery);+function(t){'use strict';var e=function(i,o){this.options=t.extend({},e.DEFAULTS,o);this.$target=t(this.options.target).on('scroll.bs.affix.data-api',t.proxy(this.checkPosition,this)).on('click.bs.affix.data-api',t.proxy(this.checkPositionWithEventLoop,this));this.$element=t(i);this.affixed=null;this.unpin=null;this.pinnedOffset=null;this.checkPosition()};e.VERSION='3.3.4';e.RESET='affix affix-top affix-bottom';e.DEFAULTS={offset:0,target:window};e.prototype.getState=function(t,e,i,o){var n=this.$target.scrollTop(),s=this.$element.offset(),r=this.$target.height();if(i!=null&&this.affixed=='top')return n<i?'top':!1;if(this.affixed=='bottom'){if(i!=null)return(n+this.unpin<=s.top)?!1:'bottom';return(n+r<=t-o)?!1:'bottom'};var a=this.affixed==null,l=a?n:s.top,h=a?r:e;if(i!=null&&n<=i)return'top';if(o!=null&&(l+h>=t-o))return'bottom';return!1};e.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(e.RESET).addClass('affix');var i=this.$target.scrollTop(),t=this.$element.offset();return(this.pinnedOffset=t.top-i)};e.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)};e.prototype.checkPosition=function(){if(!this.$element.is(':visible'))return;var l=this.$element.height(),i=this.options.offset,s=i.top,n=i.bottom,a=t(document.body).height();if(typeof i!='object')n=s=i;if(typeof s=='function')s=i.top(this.$element);if(typeof n=='function')n=i.bottom(this.$element);var o=this.getState(a,l,s,n);if(this.affixed!=o){if(this.unpin!=null)this.$element.css('top','');var r='affix'+(o?'-'+o:''),h=t.Event(r+'.bs.affix');this.$element.trigger(h);if(h.isDefaultPrevented())return;this.affixed=o;this.unpin=o=='bottom'?this.getPinnedOffset():null;this.$element.removeClass(e.RESET).addClass(r).trigger(r.replace('affix','affixed')+'.bs.affix')};if(o=='bottom'){this.$element.offset({top:a-l-n})}};function i(i){return this.each(function(){var n=t(this),o=n.data('bs.affix'),s=typeof i=='object'&&i;if(!o)n.data('bs.affix',(o=new e(this,s)));if(typeof i=='string')o[i]()})};var o=t.fn.affix;t.fn.affix=i;t.fn.affix.Constructor=e;t.fn.affix.noConflict=function(){t.fn.affix=o;return this};t(window).on('load',function(){t('[data-spy="affix"]').each(function(){var o=t(this),e=o.data();e.offset=e.offset||{};if(e.offsetBottom!=null)e.offset.bottom=e.offsetBottom;if(e.offsetTop!=null)e.offset.top=e.offsetTop;i.call(o,e)})})}(jQuery);
  !function(e){'undefined'!=typeof exports?e(exports):(window.hljs=e({}),'function'==typeof define&&define.amd&&define([],function(){return window.hljs}))}(function(e){function t(e){return e.replace(/&/gm,'&amp;').replace(/</gm,'&lt;').replace(/>/gm,'&gt;')};function l(e){return e.nodeName.toLowerCase()};function u(e,t){var r=e&&e.exec(t);return r&&0==r.index};function N(e){var t=(e.className+' '+(e.parentNode?e.parentNode.className:'')).split(/\s+/);return t=t.map(function(e){return e.replace(/^lang(uage)?-/,'')}),t.filter(function(e){return i(e)||/no(-?)highlight/.test(e)})[0]};function o(e,t){var n={};for(var r in e)n[r]=e[r];if(t)for(var r in t)n[r]=t[r];return n};function b(e){var t=[];return function r(e,n){for(var a=e.firstChild;a;a=a.nextSibling)3==a.nodeType?n+=a.nodeValue.length:1==a.nodeType&&(t.push({event:'start',offset:n,node:a}),n=r(a,n),l(a).match(/br|hr|img|input/)||t.push({event:'stop',offset:n,node:a}));return n}(e,0),t};function y(e,r,i){function p(){return e.length&&r.length?e[0].offset!=r[0].offset?e[0].offset<r[0].offset?e:r:'start'==r[0].event?e:r:e.length?e:r};function d(e){function r(e){return' '+e.nodeName+'="'+t(e.value)+'"'};c+='<'+l(e)+Array.prototype.map.call(e.attributes,r).join('')+'>'};function u(e){c+='</'+l(e)+'>'};function o(e){('start'==e.event?d:u)(e.node)};for(var a=0,c='',s=[];e.length||r.length;){var n=p();if(c+=t(i.substr(a,n[0].offset-a)),a=n[0].offset,n==e){s.reverse().forEach(u);do o(n.splice(0,1)[0]),n=p();while(n==e&&n.length&&n[0].offset==a);s.reverse().forEach(d)}
  else'start'==n[0].event?s.push(n[0].node):s.pop(),o(n.splice(0,1)[0])};return c+t(i.substr(a))};function v(e){function n(e){return e&&e.source||e};function t(t,r){return RegExp(n(t),'m'+(e.cI?'i':'')+(r?'g':''))};function r(a,i){if(!a.compiled){if(a.compiled=!0,a.k=a.k||a.bK,a.k){var u={},c=function(t,r){e.cI&&(r=r.toLowerCase()),r.split(' ').forEach(function(e){var r=e.split('|');u[r[0]]=[t,r[1]?Number(r[1]):1]})};'string'==typeof a.k?c('keyword',a.k):Object.keys(a.k).forEach(function(e){c(e,a.k[e])}),a.k=u};a.lR=t(a.l||/\b[A-Za-z0-9_]+\b/,!0),i&&(a.bK&&(a.b='\\b('+a.bK.split(' ').join('|')+')\\b'),a.b||(a.b=/\B|\b/),a.bR=t(a.b),a.e||a.eW||(a.e=/\B|\b/),a.e&&(a.eR=t(a.e)),a.tE=n(a.e)||'',a.eW&&i.tE&&(a.tE+=(a.e?'|':'')+i.tE)),a.i&&(a.iR=t(a.i)),void 0===a.r&&(a.r=1),a.c||(a.c=[]);var s=[];a.c.forEach(function(e){e.v?e.v.forEach(function(t){s.push(o(e,t))}):s.push('self'==e?a:e)}),a.c=s,a.c.forEach(function(e){r(e,a)}),a.starts&&r(a.starts,i);var l=a.c.map(function(e){return e.bK?'\\.?('+e.b+')\\.?':e.b}).concat([a.tE,a.i]).map(n).filter(Boolean);a.t=l.length?t(l.join('|'),!0):{exec:function(){return null}}}};r(e)};function s(e,o,h,M){function B(e,t){for(var r=0;r<t.c.length;r++)if(u(t.c[r].bR,e))return t.c[r]};function E(e,t){return u(e.eR,t)?e:e.eW?E(e.parent,t):void 0};function L(e,t){return!h&&u(t.iR,e)};function A(e,t){var r=m.cI?t[0].toLowerCase():t[0];return e.k.hasOwnProperty(r)&&e.k[r]};function g(e,t,n,i){var c=i?'':r.classPrefix,a='<span class="'+c,s=n?'':'</span>';return a+=e+'">',a+t+s};function R(){if(!a.k)return t(l);var n='',r=0;a.lR.lastIndex=0;for(var e=a.lR.exec(l);e;){n+=t(l.substr(r,e.index-r));var i=A(a,e);i?(N+=i[1],n+=g(i[0],t(e[0]))):n+=t(e[0]),r=a.lR.lastIndex,e=a.lR.exec(l)};return n+t(l.substr(r))};function I(){if(a.sL&&!n[a.sL])return t(l);var e=a.sL?s(a.sL,l,!0,C[a.sL]):c(l);return a.r>0&&(N+=e.r),'continuous'==a.subLanguageMode&&(C[a.sL]=e.top),g(e.language,e.value,!1,!0)};function y(){return void 0!==a.sL?I():R()};function k(e,r){var n=e.cN?g(e.cN,'',!0):'';e.rB?(d+=n,l=''):e.eB?(d+=t(r)+n,l=''):(d+=n,l=r),a=Object.create(e,{parent:{value:a}})};function x(e,r){if(l+=e,void 0===r)return d+=y(),0;var s=B(r,a);if(s)return d+=y(),k(s,r),s.rB?0:r.length;var n=E(a,r);if(n){var i=a;i.rE||i.eE||(l+=r),d+=y();do a.cN&&(d+='</span>'),N+=a.r,a=a.parent;while(a!=n.parent);return i.eE&&(d+=t(r)),l='',n.starts&&k(n.starts,''),i.rE?0:r.length};if(L(r,a))throw new Error('Illegal lexeme "'+r+'" for mode "'+(a.cN||'<unnamed>')+'"');return l+=r,r.length||1};var m=i(e);if(!m)throw new Error('Unknown language: "'+e+'"');v(m);for(var a=M||m,C={},d='',p=a;p!=m;p=p.parent)p.cN&&(d=g(p.cN,'',!0)+d);var l='',N=0;try{for(var f,w,b=0;;){if(a.t.lastIndex=b,f=a.t.exec(o),!f)break;w=x(o.substr(b,f.index-b),f[0]),b=f.index+w};x(o.substr(b));for(var p=a;p.parent;p=p.parent)p.cN&&(d+='</span>');return{r:N,value:d,language:e,top:a}}catch(z){if(-1!=z.message.indexOf('Illegal'))return{r:0,value:t(o)};throw z}};function c(e,a){a=a||r.languages||Object.keys(n);var c={r:0,value:t(e)},o=c;return a.forEach(function(t){if(i(t)){var r=s(t,e,!1);r.language=t,r.r>o.r&&(o=r),r.r>c.r&&(o=c,c=r)}}),o.language&&(c.second_best=o),c};function f(e){return r.tabReplace&&(e=e.replace(/^((<[^>]+>|\t)+)/gm,function(e,t){return t.replace(/\t/g,r.tabReplace)})),r.useBR&&(e=e.replace(/\n/g,'<br>')),e};function w(e,t,r){var a=t?d[t]:r,n=[e.trim()];return e.match(/(\s|^)hljs(\s|$)/)||n.push('hljs'),a&&n.push(a),n.join(' ').trim()};function p(e){var a=N(e);if(!/no(-?)highlight/.test(a)){var n;r.useBR?(n=document.createElementNS('http://www.w3.org/1999/xhtml','div'),n.innerHTML=e.innerHTML.replace(/\n/g,'').replace(/<br[ \/]*>/g,'\n')):n=e;var i=n.textContent,t=a?s(a,i,!0):c(i),o=b(n);if(o.length){var l=document.createElementNS('http://www.w3.org/1999/xhtml','div');l.innerHTML=t.value,t.value=y(o,b(l),i)};t.value=f(t.value),e.innerHTML=t.value,e.className=w(e.className,a,t.language),e.result={language:t.language,re:t.r},t.second_best&&(e.second_best={language:t.second_best.language,re:t.second_best.r})}};function k(e){r=o(r,e)};function a(){if(!a.called){a.called=!0;var e=document.querySelectorAll('pre code');Array.prototype.forEach.call(e,p)}};function m(){addEventListener('DOMContentLoaded',a,!1),addEventListener('load',a,!1)};function g(t,r){var a=n[t]=r(e);a.aliases&&a.aliases.forEach(function(e){d[e]=t})};function h(){return Object.keys(n)};function i(e){return n[e]||n[d[e]]};var r={classPrefix:'hljs-',tabReplace:null,useBR:!1,languages:void 0},n={},d={};return e.highlight=s,e.highlightAuto=c,e.fixMarkup=f,e.highlightBlock=p,e.configure=k,e.initHighlighting=a,e.initHighlightingOnLoad=m,e.registerLanguage=g,e.listLanguages=h,e.getLanguage=i,e.inherit=o,e.IR='[a-zA-Z][a-zA-Z0-9_]*',e.UIR='[a-zA-Z_][a-zA-Z0-9_]*',e.NR='\\b\\d+(\\.\\d+)?',e.CNR='(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)',e.BNR='\\b(0b[01]+)',e.RSR='!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~',e.BE={b:'\\\\[\\s\\S]',r:0},e.ASM={cN:'string',b:'\'',e:'\'',i:'\\n',c:[e.BE]},e.QSM={cN:'string',b:'"',e:'"',i:'\\n',c:[e.BE]},e.PWM={b:/\b(a|an|the|are|I|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such)\b/},e.CLCM={cN:'comment',b:'//',e:'$',c:[e.PWM]},e.CBCM={cN:'comment',b:'/\\*',e:'\\*/',c:[e.PWM]},e.HCM={cN:'comment',b:'#',e:'$',c:[e.PWM]},e.NM={cN:'number',b:e.NR,r:0},e.CNM={cN:'number',b:e.CNR,r:0},e.BNM={cN:'number',b:e.BNR,r:0},e.CSSNM={cN:'number',b:e.NR+'(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?',r:0},e.RM={cN:'regexp',b:/\//,e:/\/[gimuy]*/,i:/\n/,c:[e.BE,{b:/\[/,e:/\]/,r:0,c:[e.BE]}]},e.TM={cN:'title',b:e.IR,r:0},e.UTM={cN:'title',b:e.UIR,r:0},e});hljs.registerLanguage('javascript',function(e){return{aliases:['js'],k:{keyword:'in if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const class',literal:'true false null undefined NaN Infinity',built_in:'eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document'},c:[{cN:'pi',r:10,v:[{b:/^\s*('|")use strict('|")/},{b:/^\s*('|")use asm('|")/}]},e.ASM,e.QSM,e.CLCM,e.CBCM,e.CNM,{b:'('+e.RSR+'|\\b(case|return|throw)\\b)\\s*',k:'return throw case',c:[e.CLCM,e.CBCM,e.RM,{b:/</,e:/>;/,r:0,sL:'xml'}],r:0},{cN:'function',bK:'function',e:/\{/,eE:!0,c:[e.inherit(e.TM,{b:/[A-Za-z$_][0-9A-Za-z$_]*/}),{cN:'params',b:/\(/,e:/\)/,c:[e.CLCM,e.CBCM],i:/["'\(]/}],i:/\[|%/},{b:/\$[(.]/},{b:'\\.'+e.IR,r:0}]}});hljs.registerLanguage('twig',function(){var a={cN:'params',b:'\\(',e:'\\)'},n='attribute block constant cycle date dump include max min parent random range source template_from_string',t={cN:'function',bK:n,r:0,c:[a]},r={cN:'filter',b:/\|[A-Za-z]+\:?/,k:'abs batch capitalize convert_encoding date date_modify default escape first format join json_encode keys last length lower merge nl2br number_format raw replace reverse round slice sort split striptags title trim upper url_encode',c:[t]},e='autoescape block do embed extends filter flush for if import include macro sandbox set spaceless use verbatim';return e=e+' '+e.split(' ').map(function(e){return'end'+e}).join(' '),{aliases:['craftcms'],cI:!0,sL:'xml',subLanguageMode:'continuous',c:[{cN:'comment',b:/\{#/,e:/#}/},{cN:'template_tag',b:/\{%/,e:/%}/,k:e,c:[r,t]},{cN:'variable',b:/\{\{/,e:/}}/,c:[r,t]}]}});hljs.registerLanguage('sql',function(e){var t={cN:'comment',b:'--',e:'$'};return{cI:!0,i:/[<>]/,c:[{cN:'operator',bK:'begin end start commit rollback savepoint lock alter create drop rename call delete do handler insert load replace select truncate update set show pragma grant merge describe use explain help declare prepare execute deallocate savepoint release unlock purge reset change stop analyze cache flush optimize repair kill install uninstall checksum restore check backup',e:/;/,eW:!0,k:{keyword:'abs absolute acos action add adddate addtime aes_decrypt aes_encrypt after aggregate all allocate alter analyze and any are as asc ascii asin assertion at atan atan2 atn2 authorization authors avg backup before begin benchmark between bin binlog bit_and bit_count bit_length bit_or bit_xor both by cache call cascade cascaded case cast catalog ceil ceiling chain change changed char_length character_length charindex charset check checksum checksum_agg choose close coalesce coercibility collate collation collationproperty column columns columns_updated commit compress concat concat_ws concurrent connect connection connection_id consistent constraint constraints continue contributors conv convert convert_tz corresponding cos cot count count_big crc32 create cross cume_dist curdate current current_date current_time current_timestamp current_user cursor curtime data database databases datalength date_add date_format date_sub dateadd datediff datefromparts datename datepart datetime2fromparts datetimeoffsetfromparts day dayname dayofmonth dayofweek dayofyear deallocate declare decode default deferrable deferred degrees delayed delete des_decrypt des_encrypt des_key_file desc describe descriptor diagnostics difference disconnect distinct distinctrow div do domain double drop dumpfile each else elt enclosed encode encrypt end end-exec engine engines eomonth errors escape escaped event eventdata events except exception exec execute exists exp explain export_set extended external extract fast fetch field fields find_in_set first first_value floor flush for force foreign format found found_rows from from_base64 from_days from_unixtime full function get get_format get_lock getdate getutcdate global go goto grant grants greatest group group_concat grouping grouping_id gtid_subset gtid_subtract handler having help hex high_priority hosts hour ident_current ident_incr ident_seed identified identity if ifnull ignore iif ilike immediate in index indicator inet6_aton inet6_ntoa inet_aton inet_ntoa infile initially inner innodb input insert install instr intersect into is is_free_lock is_ipv4 is_ipv4_compat is_ipv4_mapped is_not is_not_null is_used_lock isdate isnull isolation join key kill language last last_day last_insert_id last_value lcase lead leading least leaves left len lenght level like limit lines ln load load_file local localtime localtimestamp locate lock log log10 log2 logfile logs low_priority lower lpad ltrim make_set makedate maketime master master_pos_wait match matched max md5 medium merge microsecond mid min minute mod mode module month monthname mutex name_const names national natural nchar next no no_write_to_binlog not now nullif nvarchar oct octet_length of old_password on only open optimize option optionally or ord order outer outfile output pad parse partial partition password patindex percent_rank percentile_cont percentile_disc period_add period_diff pi plugin position pow power pragma precision prepare preserve primary prior privileges procedure procedure_analyze processlist profile profiles public publishingservername purge quarter query quick quote quotename radians rand read references regexp relative relaylog release release_lock rename repair repeat replace replicate reset restore restrict return returns reverse revoke right rlike rollback rollup round row row_count rows rpad rtrim savepoint schema scroll sec_to_time second section select serializable server session session_user set sha sha1 sha2 share show sign sin size slave sleep smalldatetimefromparts snapshot some soname soundex sounds_like space sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sql_variant_property sqlstate sqrt square start starting status std stddev stddev_pop stddev_samp stdev stdevp stop str str_to_date straight_join strcmp string stuff subdate substr substring subtime subtring_index sum switchoffset sysdate sysdatetime sysdatetimeoffset system_user sysutcdatetime table tables tablespace tan temporary terminated tertiary_weights then time time_format time_to_sec timediff timefromparts timestamp timestampadd timestampdiff timezone_hour timezone_minute to to_base64 to_days to_seconds todatetimeoffset trailing transaction translation trigger trigger_nestlevel triggers trim truncate try_cast try_convert try_parse ucase uncompress uncompressed_length unhex unicode uninstall union unique unix_timestamp unknown unlock update upgrade upped upper usage use user user_resources using utc_date utc_time utc_timestamp uuid uuid_short validate_password_strength value values var var_pop var_samp variables variance varp version view warnings week weekday weekofyear weight_string when whenever where with work write xml xor year yearweek zon',literal:'true false null',built_in:'array bigint binary bit blob boolean char character date dec decimal float int integer interval number numeric real serial smallint varchar varying int8 serial8 text'},c:[{cN:'string',b:'\'',e:'\'',c:[e.BE,{b:'\'\''}]},{cN:'string',b:'"',e:'"',c:[e.BE,{b:'""'}]},{cN:'string',b:'`',e:'`',c:[e.BE]},e.CNM,e.CBCM,t]},e.CBCM,t]}});hljs.registerLanguage('bash',function(e){var t={cN:'variable',v:[{b:/\$[\w\d#@][\w\d_]*/},{b:/\$\{(.*?)\}/}]},n={cN:'string',b:/"/,e:/"/,c:[e.BE,t,{cN:'variable',b:/\$\(/,e:/\)/,c:[e.BE]}]},r={cN:'string',b:/'/,e:/'/};return{aliases:['sh','zsh'],l:/-?[a-z\.]+/,k:{keyword:'if then else elif fi for while in do done case esac function',literal:'true false',built_in:'break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp',operator:'-ne -eq -lt -gt -f -d -e -s -l -a'},c:[{cN:'shebang',b:/^#![^\n]+sh\s*$/,r:10},{cN:'function',b:/\w[\w\d_]*\s*\(\s*\)\s*\{/,rB:!0,c:[e.inherit(e.TM,{b:/\w[\w\d_]*/})],r:0},e.HCM,e.NM,n,r,t]}});hljs.registerLanguage('css',function(e){var r='[a-zA-Z-][a-zA-Z0-9_-]*',t={cN:'function',b:r+'\\(',rB:!0,eE:!0,e:'\\('};return{cI:!0,i:'[=/|\']',c:[e.CBCM,{cN:'id',b:'\\#[A-Za-z0-9_-]+'},{cN:'class',b:'\\.[A-Za-z0-9_-]+',r:0},{cN:'attr_selector',b:'\\[',e:'\\]',i:'$'},{cN:'pseudo',b:':(:)?[a-zA-Z0-9\\_\\-\\+\\(\\)\\"\\\']+'},{cN:'at_rule',b:'@(font-face|page)',l:'[a-z-]+',k:'font-face page'},{cN:'at_rule',b:'@',e:'[{;]',c:[{cN:'keyword',b:/\S+/},{b:/\s/,eW:!0,eE:!0,r:0,c:[t,e.ASM,e.QSM,e.CSSNM]}]},{cN:'tag',b:r,r:0},{cN:'rules',b:'{',e:'}',i:'[^\\s]',r:0,c:[e.CBCM,{cN:'rule',b:'[^\\s]',rB:!0,e:';',eW:!0,c:[{cN:'attribute',b:'[A-Z\\_\\.\\-]+',e:':',eE:!0,i:'[^\\s]',starts:{cN:'value',eW:!0,eE:!0,c:[t,e.CSSNM,e.QSM,e.ASM,e.CBCM,{cN:'hexcolor',b:'#[0-9A-Fa-f]+'},{cN:'important',b:'!important'}]}}]}]}]}});hljs.registerLanguage('php',function(e){var a={cN:'variable',b:'\\$+[a-zA-Z_-ÿ][a-zA-Z0-9_-ÿ]*'},t={cN:'preprocessor',b:/<\?(php)?|\?>/},n={cN:'string',c:[e.BE,t],v:[{b:'b"',e:'"'},{b:'b\'',e:'\''},e.inherit(e.ASM,{i:null}),e.inherit(e.QSM,{i:null})]},r={v:[e.BNM,e.CNM]};return{aliases:['php3','php4','php5','php6'],cI:!0,k:'and include_once list abstract global private echo interface as static endswitch array null if endwhile or const for endforeach self var while isset public protected exit foreach throw elseif include __FILE__ empty require_once do xor return parent clone use __CLASS__ __LINE__ else break print eval new catch __METHOD__ case exception default die require __FUNCTION__ enddeclare final try switch continue endfor endif declare unset true false trait goto instanceof insteadof __DIR__ __NAMESPACE__ yield finally',c:[e.CLCM,e.HCM,{cN:'comment',b:'/\\*',e:'\\*/',c:[{cN:'phpdoc',b:'\\s@[A-Za-z]+'},t]},{cN:'comment',b:'__halt_compiler.+?;',eW:!0,k:'__halt_compiler',l:e.UIR},{cN:'string',b:'<<<[\'"]?\\w+[\'"]?$',e:'^\\w+;',c:[e.BE]},t,a,{b:/->+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{cN:'function',bK:'function',e:/[;{]/,eE:!0,i:'\\$|\\[|%',c:[e.UTM,{cN:'params',b:'\\(',e:'\\)',c:['self',a,e.CBCM,n,r]}]},{cN:'class',bK:'class interface',e:'{',eE:!0,i:/[:\(\$"]/,c:[{bK:'extends implements'},e.UTM]},{bK:'namespace',e:';',i:/[\.']/,c:[e.UTM]},{bK:'use',e:';',c:[e.UTM]},{b:'=>'},n,r]}});hljs.registerLanguage('apache',function(e){var t={cN:'number',b:'[\\$%]\\d+'};return{aliases:['apacheconf'],cI:!0,c:[e.HCM,{cN:'tag',b:'</?',e:'>'},{cN:'keyword',b:/\w+/,r:0,k:{common:'order deny allow setenv rewriterule rewriteengine rewritecond documentroot sethandler errordocument loadmodule options header listen serverroot servername'},starts:{e:/$/,r:0,k:{literal:'on off all'},c:[{cN:'sqbracket',b:'\\s\\[',e:'\\]$'},{cN:'cbracket',b:'[\\$%]\\{',e:'\\}',c:['self',t]},t,e.QSM]}}],i:/\S/}});hljs.registerLanguage('ini',function(e){return{cI:!0,i:/\S/,c:[{cN:'comment',b:';',e:'$'},{cN:'title',b:'^\\[',e:'\\]'},{cN:'setting',b:'^[a-z0-9\\[\\]_-]+[ \\t]*=[ \\t]*',e:'$',c:[{cN:'value',eW:!0,k:'on off true false yes no',c:[e.QSM,e.NM],r:0}]}]}});hljs.registerLanguage('markdown',function(){return{aliases:['md','mkdown','mkd'],c:[{cN:'header',v:[{b:'^#{1,6}',e:'$'},{b:'^.+?\\n[=-]{2,}$'}]},{b:'<',e:'>',sL:'xml',r:0},{cN:'bullet',b:'^([*+-]|(\\d+\\.))\\s+'},{cN:'strong',b:'[*_]{2}.+?[*_]{2}'},{cN:'emphasis',v:[{b:'\\*.+?\\*'},{b:'_.+?_',r:0}]},{cN:'blockquote',b:'^>\\s+',e:'$'},{cN:'code',v:[{b:'`.+?`'},{b:'^( {4}|	)',e:'$',r:0}]},{cN:'horizontal_rule',b:'^[-\\*]{3,}',e:'$'},{b:'\\[.+?\\][\\(\\[].*?[\\)\\]]',rB:!0,c:[{cN:'link_label',b:'\\[',e:'\\]',eB:!0,rE:!0,r:0},{cN:'link_url',b:'\\]\\(',e:'\\)',eB:!0,eE:!0},{cN:'link_reference',b:'\\]\\[',e:'\\]',eB:!0,eE:!0}],r:10},{b:'^\\[.+\\]:',rB:!0,c:[{cN:'link_reference',b:'\\[',e:'\\]:',eB:!0,eE:!0,starts:{cN:'link_url',e:'$'}}]}]}});hljs.registerLanguage('xml',function(){var r='[A-Za-z0-9\\._:-]+',t={b:/<\?(php)?(?!\w)/,e:/\?>/,sL:'php',subLanguageMode:'continuous'},e={eW:!0,i:/</,r:0,c:[t,{cN:'attribute',b:r,r:0},{b:'=',r:0,c:[{cN:'value',c:[t],v:[{b:/"/,e:/"/},{b:/'/,e:/'/},{b:/[^\s\/>]+/}]}]}]};return{aliases:['html','xhtml','rss','atom','xsl','plist'],cI:!0,c:[{cN:'doctype',b:'<!DOCTYPE',e:'>',r:10,c:[{b:'\\[',e:'\\]'}]},{cN:'comment',b:'<!--',e:'-->',r:10},{cN:'cdata',b:'<\\!\\[CDATA\\[',e:'\\]\\]>',r:10},{cN:'tag',b:'<style(?=\\s|>|$)',e:'>',k:{title:'style'},c:[e],starts:{e:'</style>',rE:!0,sL:'css'}},{cN:'tag',b:'<script(?=\\s|>|$)',e:'>',k:{title:'script'},c:[e],starts:{e:'</script>',rE:!0,sL:'javascript'}},t,{cN:'pi',b:/<\?\w+/,e:/\?>/,r:10},{cN:'tag',b:'</?',e:'/?>',c:[{cN:'title',b:/[^ \/><\n\t]+/,r:0},e]}]}});hljs.registerLanguage('http',function(){return{i:'\\S',c:[{cN:'status',b:'^HTTP/[0-9\\.]+',e:'$',c:[{cN:'number',b:'\\b\\d{3}\\b'}]},{cN:'request',b:'^[A-Z]+ (.*?) HTTP/[0-9\\.]+$',rB:!0,e:'$',c:[{cN:'string',b:' ',e:' ',eB:!0,eE:!0}]},{cN:'attribute',b:'^\\w',e:': ',eE:!0,i:'\\n|\\s|=',starts:{cN:'string',e:'$'}},{b:'\\n\\n',starts:{sL:'',eW:!0}}]}});hljs.registerLanguage('json',function(e){var r={literal:'true false null'},t=[e.QSM,e.CNM],n={cN:'value',e:',',eW:!0,eE:!0,c:t,k:r},i={b:'{',e:'}',c:[{cN:'attribute',b:'\\s*"',e:'"\\s*:\\s*',eB:!0,eE:!0,c:[e.BE],i:'\\n',starts:n}],i:'\\S'},a={b:'\\[',e:'\\]',c:[e.inherit(n,{cN:null})],i:'\\S'};return t.splice(t.length,0,i,a),{c:t,k:r,i:'\\S'}});