You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

1 line
142 KiB

  1. !function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(T,e){"use strict";var t=[],r=Object.getPrototypeOf,s=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,o=t.indexOf,n={},i=n.toString,m=n.hasOwnProperty,a=m.toString,c=a.call(Object),v={},y=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},b=function(e){return null!=e&&e===e.window},C=T.document,l={type:!0,src:!0,nonce:!0,noModule:!0};function x(e,t,n){var r,o,i=(n=n||C).createElement("script");if(i.text=e,t)for(r in l)(o=t[r]||t.getAttribute&&t.getAttribute(r))&&i.setAttribute(r,o);n.head.appendChild(i).parentNode.removeChild(i)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[i.call(e)]||"object":typeof e}var p="3.5.1",_=function(e,t){return new _.fn.init(e,t)};function d(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!y(e)&&!b(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}_.fn=_.prototype={jquery:p,constructor:_,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=_.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return _.each(this,e)},map:function(n){return this.pushStack(_.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(_.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(_.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:u,sort:t.sort,splice:t.splice},_.extend=_.fn.extend=function(){var e,t,n,r,o,i,a=arguments[0]||{},s=1,u=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[s]||{},s++),"object"==typeof a||y(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(c&&r&&(_.isPlainObject(r)||(o=Array.isArray(r)))?(n=a[t],i=o&&!Array.isArray(n)?[]:o||_.isPlainObject(n)?n:{},o=!1,a[t]=_.extend(c,i,r)):void 0!==r&&(a[t]=r));return a},_.extend({expando:"jQuery"+(p+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==i.call(e))&&(!(t=r(e))||"function"==typeof(n=m.call(t,"constructor")&&t.constructor)&&a.call(n)===c)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){x(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(d(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},makeArray:function(e,t){var n=t||[];return null!=e&&(d(Object(e))?_.merge(n,"string"==typeof e?[e]:e):u.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:o.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,o=e.length;r<n;r++)e[o++]=t[r];return e.length=o,e},grep:function(e,t,n){for(var r=[],o=0,i=e.length,a=!n;o<i;o++)!t(e[o],o)!=a&&r.push(e[o]);return r},map:function(e,t,n){var r,o,i=0,a=[];if(d(e))for(r=e.length;i<r;i++)null!=(o=t(e[i],i,n))&&a.push(o);else for(i in e)null!=(o=t(e[i],i,n))&&a.push(o);return g(a)},guid:1,support:v}),"function"==typeof Symbol&&(_.fn[Symbol.iterator]=t[Symbol.iterator]),_.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var f=function(n){var e,f,x,i,o,h,p,g,w,u,c,k,T,a,C,m,s,l,v,_="sizzle"+1*new Date,d=n.document,A=0,r=0,y=ue(),b=ue(),S=ue(),E=ue(),j=function(e,t){return e===t&&(c=!0),0},D={}.hasOwnProperty,t=[],N=t.pop,q=t.push,$=t.push,P=t.slice,L=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},I="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",z="[\\x20\\t\\r\\n\\f]",R="(?:\\\\[\\da-fA-F]{1,6}"+z+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",O="\\["+z+"*("+R+")(?:"+z+"*([*^$|!~]?=)"+z+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+R+"))|)"+z+"*\\]",H=":("+R+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+O+")*)|.*)\\)|)",Q=new RegExp(z+"+","g"),F=new RegExp("^"+z+"+|((?:^|[^\\\\])(?:\\\\.)*)"+z+"+$","g"),M=new RegExp("^"+z+"*,"+z+"*"),U=new RegExp("^"+z+"*([>+~]|"+z+")"+z+"*"),B=new RegExp(z+"|>"),W=new RegExp(H),X=new RegExp("^"+R+"$"),V={ID:new RegExp("^#("+R+")"),CLASS:new RegExp("^\\.("+R+")"),TAG:new RegExp("^("+R+"|[*])"),ATTR:new RegExp("^"+O),PSEUDO:new RegExp("^"+H),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+z+"*(even|odd|(([+-]|)(\\d*)n|)"+z+"*(?:([+-]|)"+z+"*(\\d+)|))"+z+"*\\)|)","i"),bool:new RegExp("^(?:"+I+")$","i"),needsContext:new RegExp("^"+z+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+z+"*((?:-\\d)?\\d*)"+z+"*\\)|)(?=[^-]|$)","i")},K=/HTML$/i,Z=/^(?:input|select|textarea|button)$/i,G=/^h\d$/i,Y=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+z+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(65536+n):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,oe=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ie=function(){k()},ae=xe(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{$.apply(t=P.call(d.childNodes),d.childNodes),t[d.childNodes.length].nodeType}catch(e){$={apply:t.length?function(e,t){q.apply(e,P.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function se(t,e,n,r){var o,i,a,s,u,c,l,p=e&&e.ownerDocument,d=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==d&&9!==d&&11!==d)return n;if(!r&&(k(e),e=e||T,C)){if(11!==d&&(u=J.exec(t)))if(o=u[1]){if(9===d){if(!(a=e.getElementById(o)))return n;if(a.id===o)return n.push(a),n}else if(p&&(a=p.getElementById(o))&&v(e,a)&&a.id===o)return n.push(a),n}else{if(u[2])return $.apply(n,e.getElementsByTagName(t)),n;if((o=u[3])&&f.getElementsByClassName&&e.getElementsByClassName)return $.apply(n,e.getElementsByClassName(o)),n}if(f.qsa&&!E[t+" "]&&(!m||!m.test(t))&&(1!==d||"object"!==e.nodeName.toLowerCase())){if(l=t,p=e,1===d&&(B.test(t)||U.test(t))){for((p=ee.test(t)&&ve(e.parentNode)||e)===e&&f.scope||((s=e.getAttribute("id"))?s=s.replace(re,oe):e.setAttribute("id",s=_)),i=(c=h(t)).length;i--;)c[i]=(s?"#"+s:":scope")+" "+be(c[i]);l=c.join(",")}try{return $.apply(n,p.querySelectorAll(l)),n}catch(e){E(t,!0)}finally{s===_&&e.removeAttribute("id")}}}return g(t.replace(F,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>x.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function ce(e){return e[_]=!0,e}function le(e){var t=T.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function pe(e,t){for(var n=e.split("|"),r=n.length;r--;)x.attrHandle[n[r]]=t}function de(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function fe(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function me(a){return ce(function(i){return i=+i,ce(function(e,t){for(var n,r=a([],e.length,i),o=r.length;o--;)e[n=r[o]]&&(e[n]=!(t[n]=e[n]))})})}function ve(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in f=se.support={},o=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!K.test(t||n&&n.nodeName||"HTML")},k=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:d;return r!=T&&9===r.nodeType&&r.documentElement&&(a=(T=r).documentElement,C=!o(T),d!=T&&(n=T.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",ie,!1):n.attachEvent&&n.attachEvent("onunload",ie)),f.scope=le(function(e){return a.appendChild(e).appendChild(T.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),f.attributes=le(function(e){return e.className="i",!e.getAttribute("className")}),f.getElementsByTagName=le(function(e){return e.appendChild(T.createComment("")),!e.getElementsByTagName("*").length}),f.getElementsByClassName=Y.test(T.getElementsByClassName),f.getById=le(function(e){return a.appendChild(e).id=_,!T.getElementsByName||!T.getElementsByName(_).length}),f.getById?(x.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},x.find.ID=function(e,t){if(void 0!==t.getElementById&&C){var n=t.getElementById(e);return n?[n]:[]}}):(x.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},x.find.ID=function(e,t){if(void 0!==t.getElementById&&C){var n,r,o,i=t.getElementById(e);if(i){if((n=i.getAttributeNode("id"))&&n.value===e)return[i];for(o=t.getElementsByName(e),r=0;i=o[r++];)if((n=i.getAttributeNode("id"))&&n.value===e)return[i]}return[]}}),x.find.TAG=f.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):f.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],o=0,i=t.getElementsByTagName(e);if("*"!==e)return i;for(;n=i[o++];)1===n.nodeType&&r.push(n);return r},x.find.CLASS=f.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&C)return t.getElementsByClassName(e)},s=[],m=[],(f.qsa=Y.test(T.querySelectorAll))&&(le(function(e){var t;a.appendChild(e).innerHTML="<a id='"+_+"'></a><select id='"+_+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+z+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+z+"*(?:value|"+I+")"),e.querySelectorAll("[id~="+_+"-]").length||m.push("~="),(t=T.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||m.push("\\["+z+"*name"+z+"*="+z+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+_+"+*").length||m.push(".#.+[+~]"),e.querySelectorAll("\\\f"),m.push("[\\r\\n\\f]")}),le(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=T.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name"+z+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")})),(f.matchesSelector=Y.test(l=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&le(function(e){f.disconnectedMatch=l.call(e,"*"),l.call(e,"[s!='']:x"),s.push("!=",H)}),m=m.length&&new RegExp(m.join("|")),s=s.length&&new RegExp(s.join("|")),t=Y.test(a.compareDocumentPosition),v=t||Y.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},j=t?function(e,t){if(e===t)return c=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!f.sortDetached&&t.compareDocumentPosition(e)===n?e==T||e.ownerDocument==d&&v(d,e)?-1:t==T||t.ownerDocument==d&&v(d,t)?1:u?L(u,e)-L(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return c=!0,0;var n,r=0,o=e.parentNode,i=t.parentNode,a=[e],s=[t];if(!o||!i)return e==T?-1:t==T?1:o?-1:i?1:u?L(u,e)-L(u,t):0;if(o===i)return de(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?de(a[r],s[r]):a[r]==d?-1:s[r]==d?1:0}),T},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(k(e),f.matchesSelector&&C&&!E[t+" "]&&(!s||!s.test(t))&&(!m||!m.test(t)))try{var n=l.call(e,t);if(n||f.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){E(t,!0)}return 0<se(t,T,null,[e]).length},se.contains=function(e,t){return(e.ownerDocument||e)!=T&&k(e),v(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=T&&k(e);var n=x.attrHandle[t.toLowerCase()],r=n&&D.call(x.attrHandle,t.toLowerCase())?n(e,t,!C):void 0;return void 0!==r?r:f.attributes||!C?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},se.escape=function(e){return(e+"").replace(re,oe)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,n=[],r=0,o=0;if(c=!f.detectDuplicates,u=!f.sortStable&&e.slice(0),e.sort(j),c){for(;t=e[o++];)t===e[o]&&(r=n.push(o));for(;r--;)e.splice(n[r],1)}return u=null,e},i=se.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=i(t);return n},(x=se.selectors={cacheLength:50,createPseudo:ce,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return V.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&W.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=y[e+" "];return t||(t=new RegExp("(^|"+z+")"+e+"("+z+"|$)"))&&y(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,o){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===o:"!="===r?t!==o:"^="===r?o&&0===t.indexOf(o):"*="===r?o&&-1<t.indexOf(o):"$="===r?o&&t.slice(-o.length)===o:"~="===r?-1<(" "+t.replace(Q," ")+" ").indexOf(o):"|="===r&&(t===o||t.slice(0,o.length+1)===o+"-"))}},CHILD:function(h,e,t,g,m){var v="nth"!==h.slice(0,3),y="last"!==h.slice(-4),b="of-type"===e;return 1===g&&0===m?function(e){return!!e.parentNode}:function(e,t,n){var r,o,i,a,s,u,c=v!=y?"nextSibling":"previousSibling",l=e.parentNode,p=b&&e.nodeName.toLowerCase(),d=!n&&!b,f=!1;if(l){if(v){for(;c;){for(a=e;a=a[c];)if(b?a.nodeName.toLowerCase()===p:1===a.nodeType)return!1;u=c="only"===h&&!u&&"nextSibling"}return!0}if(u=[y?l.firstChild:l.lastChild],y&&d){for(f=(s=(r=(o=(i=(a=l)[_]||(a[_]={}))[a.uniqueID]||(i[a.uniqueID]={}))[h]||[])[0]===A&&r[1])&&r[2],a=s&&l.childNodes[s];a=++s&&a&&a[c]||(f=s=0)||u.pop();)if(1===a.nodeType&&++f&&a===e){o[h]=[A,s,f];break}}else if(d&&(f=s=(r=(o=(i=(a=e)[_]||(a[_]={}))[a.uniqueID]||(i[a.uniqueID]={}))[h]||[])[0]===A&&r[1]),!1===f)for(;(a=++s&&a&&a[c]||(f=s=0)||u.pop())&&((b?a.nodeName.toLowerCase()!==p:1!==a.nodeType)||!++f||(d&&((o=(i=a[_]||(a[_]={}))[a.uniqueID]||(i[a.uniqueID]={}))[h]=[A,f]),a!==e)););return(f-=m)===g||f%g==0&&0<=f/g}}},PSEUDO:function(e,i){var t,a=x.pseudos[e]||x.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return a[_]?a(i):1<a.length?(t=[e,e,"",i],x.setFilters.hasOwnProperty(e.toLowerCase())?ce(function(e,t){for(var n,r=a(e,i),o=r.length;o--;)e[n=L(e,r[o])]=!(t[n]=r[o])}):function(e){return a(e,0,t)}):a}},pseudos:{not:ce(function(e){var r=[],o=[],s=p(e.replace(F,"$1"));return s[_]?ce(function(e,t,n,r){for(var o,i=s(e,null,r,[]),a=e.length;a--;)(o=i[a])&&(e[a]=!(t[a]=o))}):function(e,t,n){return r[0]=e,s(r,null,n,o),r[0]=null,!o.pop()}}),has:ce(function(t){return function(e){return 0<se(t,e).length}}),contains:ce(function(t){return t=t.replace(te,ne),function(e){return-1<(e.textContent||i(e)).indexOf(t)}}),lang:ce(function(n){return X.test(n||"")||se.error("unsupported lang: "+n),n=n.replace(te,ne).toLowerCase(),function(e){var t;do{if(t=C?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=n.location&&n.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===a},focus:function(e){return e===T.activeElement&&(!T.hasFocus||T.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:ge(!1),disabled:ge(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!x.pseudos.empty(e)},header:function(e){return G.test(e.nodeName)},input:function(e){return Z.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:me(function(){return[0]}),last:me(function(e,t){return[t-1]}),eq:me(function(e,t,n){return[n<0?n+t:n]}),even:me(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:me(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:me(function(e,t,n){for(var r=n<0?n+t:t<n?t:n;0<=--r;)e.push(r);return e}),gt:me(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=x.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})x.pseudos[e]=fe(e);for(e in{submit:!0,reset:!0})x.pseudos[e]=he(e);function ye(){}function be(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function xe(s,e,t){var u=e.dir,c=e.next,l=c||u,p=t&&"parentNode"===l,d=r++;return e.first?function(e,t,n){for(;e=e[u];)if(1===e.nodeType||p)return s(e,t,n);return!1}:function(e,t,n){var r,o,i,a=[A,d];if(n){for(;e=e[u];)if((1===e.nodeType||p)&&s(e,t,n))return!0}else for(;e=e[u];)if(1===e.nodeType||p)if(o=(i=e[_]||(e[_]={}))[e.uniqueID]||(i[e.uniqueID]={}),c&&c===e.nodeName.toLowerCase())e=e[u]||e;else{if((r=o[l])&&r[0]===A&&r[1]===d)return a[2]=r[2];if((o[l]=a)[2]=s(e,t,n))return!0}return!1}}function we(o){return 1<o.length?function(e,t,n){for(var r=o.length;r--;)if(!o[r](e,t,n))return!1;return!0}:o[0]}function ke(e,t,n,r,o){for(var i,a=[],s=0,u=e.length,c=null!=t;s<u;s++)(i=e[s])&&(n&&!n(i,r,o)||(a.push(i),c&&t.push(s)));return a}function Te(f,h,g,m,v,e){return m&&!m[_]&&(m=Te(m)),v&&!v[_]&&(v=Te(v,e)),ce(function(e,t,n,r){var o,i,a,s=[],u=[],c=t.length,l=e||function(e,t,n){for(var r=0,o=t.length;r<o;r++)se(e,t[r],n);return n}(h||"*",n.nodeType?[n]:n,[]),p=!f||!e&&h?l:ke(l,s,f,n,r),d=g?v||(e?f:c||m)?[]:t:p;if(g&&g(p,d,n,r),m)for(o=ke(d,u),m(o,[],n,r),i=o.length;i--;)(a=o[i])&&(d[u[i]]=!(p[u[i]]=a));if(e){if(v||f){if(v){for(o=[],i=d.length;i--;)(a=d[i])&&o.push(p[i]=a);v(null,d=[],o,r)}for(i=d.length;i--;)(a=d[i])&&-1<(o=v?L(e,a):s[i])&&(e[o]=!(t[o]=a))}}else d=ke(d===t?d.splice(c,d.length):d),v?v(null,t,d,r):$.apply(t,d)})}function Ce(e){for(var o,t,n,r=e.length,i=x.relative[e[0].type],a=i||x.relative[" "],s=i?1:0,u=xe(function(e){return e===o},a,!0),c=xe(function(e){return-1<L(o,e)},a,!0),l=[function(e,t,n){var r=!i&&(n||t!==w)||((o=t).nodeType?u(e,t,n):c(e,t,n));return o=null,r}];s<r;s++)if(t=x.relative[e[s].type])l=[xe(we(l),t)];else{if((t=x.filter[e[s].type].apply(null,e[s].matches))[_]){for(n=++s;n<r&&!x.relative[e[n].type];n++);return Te(1<s&&we(l),1<s&&be(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(F,"$1"),t,s<n&&Ce(e.slice(s,n)),n<r&&Ce(e=e.slice(n)),n<r&&be(e))}l.push(t)}return we(l)}return ye.prototype=x.filters=x.pseudos,x.setFilters=new ye,h=se.tokenize=function(e,t){var n,r,o,i,a,s,u,c=b[e+" "];if(c)return t?0:c.slice(0);for(a=e,s=[],u=x.preFilter;a;){for(i in n&&!(r=M.exec(a))||(r&&(a=a.slice(r[0].length)||a),s.push(o=[])),n=!1,(r=U.exec(a))&&(n=r.shift(),o.push({value:n,type:r[0].replace(F," ")}),a=a.slice(n.length)),x.filter)!(r=V[i].exec(a))||u[i]&&!(r=u[i](r))||(n=r.shift(),o.push({value:n,type:i,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?se.error(e):b(e,s).slice(0)},p=se.compile=function(e,t){var n,r=[],o=[],i=S[e+" "];if(!i){for(t||(t=h(e)),n=t.length;n--;)(i=Ce(t[n]))[_]?r.push(i):o.push(i);(i=S(e,function(m,v){var y=0<v.length,b=0<m.length,e=function(e,t,n,r,o){var i,a,s,u=0,c="0",l=e&&[],p=[],d=w,f=e||b&&x.find.TAG("*",o),h=A+=null==d?1:Math.random()||.1,g=f.length;for(o&&(w=t==T||t||o);c!==g&&null!=(i=f[c]);c++){if(b&&i){for(a=0,t||i.ownerDocument==T||(k(i),n=!C);s=m[a++];)if(s(i,t||T,n)){r.push(i);break}o&&(A=h)}y&&((i=!s&&i)&&u--,e&&l.push(i))}if(u+=c,y&&c!==u){for(a=0;s=v[a++];)s(l,p,t,n);if(e){if(0<u)for(;c--;)l[c]||p[c]||(p[c]=N.call(r));p=ke(p)}$.apply(r,p),o&&!e&&0<p.length&&1<u+v.length&&se.uniqueSort(r)}return o&&(A=h,w=d),l};return y?ce(e):e}(o,r))).selector=e}return i},g=se.select=function(e,t,n,r){var o,i,a,s,u,c="function"==typeof e&&e,l=!r&&h(e=c.selector||e);if(n=n||[],1===l.length){if(2<(i=l[0]=l[0].slice(0)).length&&"ID"===(a=i[0]).type&&9===t.nodeType&&C&&x.relative[i[1].type]){if(!(t=(x.find.ID(a.matches[0].replace(te,ne),t)||[])[0]))return n;c&&(t=t.parentNode),e=e.slice(i.shift().value.length)}for(o=V.needsContext.test(e)?0:i.length;o--&&(a=i[o],!x.relative[s=a.type]);)if((u=x.find[s])&&(r=u(a.matches[0].replace(te,ne),ee.test(i[0].type)&&ve(t.parentNode)||t))){if(i.splice(o,1),!(e=r.length&&be(i)))return $.apply(n,r),n;break}}return(c||p(e,l))(r,t,!C,n,!t||ee.test(e)&&ve(t.parentNode)||t),n},f.sortStable=_.split("").sort(j).join("")===_,f.detectDuplicates=!!c,k(),f.sortDetached=le(function(e){return 1&e.compareDocumentPosition(T.createElement("fieldset"))}),le(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||pe("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),f.attributes&&le(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||pe("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),le(function(e){return null==e.getAttribute("disabled")})||pe(I,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),se}(T);_.find=f,_.expr=f.selectors,_.expr[":"]=_.expr.pseudos,_.uniqueSort=_.unique=f.uniqueSort,_.text=f.getText,_.isXMLDoc=f.isXML,_.contains=f.contains,_.escapeSelector=f.escape;var h=function(e,t,n){for(var r=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&_(e).is(n))break;r.push(e)}return r},k=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},A=_.expr.match.needsContext;function S(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var E=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return y(n)?_.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?_.grep(e,function(e){return e===n!==r}):"string"!=typeof n?_.grep(e,function(e){return-1<o.call(n,e)!==r}):_.filter(n,e,r)}_.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?_.find.matchesSelector(r,e)?[r]:[]:_.find.matches(e,_.grep(t,function(e){return 1===e.nodeType}))},_.fn.extend({find:function(e){var t,n,r=this.length,o=this;if("string"!=typeof e)return this.pushStack(_(e).filter(function(){for(t=0;t<r;t++)if(_.contains(o[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)_.find(e,o[t],n);return 1<r?_.uniqueSort(n):n},filter:function(e){return this.pushStack(j(this,e||[],!1))},not:function(e){return this.pushStack(j(this,e||[],!0))},is:function(e){return!!j(this,"string"==typeof e&&A.test(e)?_(e):e||[],!1).length}});var D,N=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(_.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||D,"string"!=typeof e)return e.nodeType?(this[0]=e,this.length=1,this):y(e)?void 0!==n.ready?n.ready(e):e(_):_.makeArray(e,this);if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:N.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof _?t[0]:t,_.merge(this,_.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),E.test(r[1])&&_.isPlainObject(t))for(r in t)y(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(o=C.getElementById(r[2]))&&(this[0]=o,this.length=1),this}).prototype=_.fn,D=_(C);var q=/^(?:parents|prev(?:Until|All))/,$={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}_.fn.extend({has:function(e){var t=_(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(_.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,o=this.length,i=[],a="string"!=typeof e&&_(e);if(!A.test(e))for(;r<o;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&_.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(1<i.length?_.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?o.call(_(e),this[0]):o.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(_.uniqueSort(_.merge(this.get(),_(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),_.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return h(e,"parentNode")},parentsUntil:function(e,t,n){return h(e,"parentNode",n)},next:function(e){return P(e,"nextSibling")},prev:function(e){return P(e,"previousSibling")},nextAll:function(e){return h(e,"nextSibling")},prevAll:function(e){return h(e,"previousSibling")},nextUntil:function(e,t,n){return h(e,"nextSibling",n)},prevUntil:function(e,t,n){return h(e,"previousSibling",n)},siblings:function(e){return k((e.parentNode||{}).firstChild,e)},children:function(e){return k(e.firstChild)},contents:function(e){return null!=e.contentDocument&&r(e.contentDocument)?e.contentDocument:(S(e,"template")&&(e=e.content||e),_.merge([],e.childNodes))}},function(r,o){_.fn[r]=function(e,t){var n=_.map(this,o,e);return"Until"!==r.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=_.filter(t,n)),1<this.length&&($[r]||_.uniqueSort(n),q.test(r)&&n.reverse()),this.pushStack(n)}});var L=/[^\x20\t\r\n\f]+/g;function I(e){return e}function z(e){throw e}function R(e,t,n,r){var o;try{e&&y(o=e.promise)?o.call(e).done(t).fail(n):e&&y(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}_.Callbacks=function(r){r="string"==typeof r?function(e){var n={};return _.each(e.match(L)||[],function(e,t){n[t]=!0}),n}(r):_.extend({},r);var n,e,t,o,i=[],a=[],s=-1,u=function(){for(o=o||r.once,t=n=!0;a.length;s=-1)for(e=a.shift();++s<i.length;)!1===i[s].apply(e[0],e[1])&&r.stopOnFalse&&(s=i.length,e=!1);r.memory||(e=!1),n=!1,o&&(i=e?[]:"")},c={add:function(){return i&&(e&&!n&&(s=i.length-1,a.push(e)),function n(e){_.each(e,function(e,t){y(t)?r.unique&&c.has(t)||i.push(t):t&&t.length&&"string"!==w(t)&&n(t)})}(arguments),e&&!n&&u()),this},remove:function(){return _.each(arguments,function(e,t){for(var n;-1<(n=_.inArray(t,i,n));)i.splice(n,1),n<=s&&s--}),this},has:function(e){return e?-1<_.inArray(e,i):0<i.length},empty:function(){return i&&(i=[]),this},disable:function(){return o=a=[],i=e="",this},disabled:function(){return!i},lock:function(){return o=a=[],e||n||(i=e=""),this},locked:function(){return!!o},fireWith:function(e,t){return o||(t=[e,(t=t||[]).slice?t.slice():t],a.push(t),n||u()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!t}};return c},_.extend({Deferred:function(e){var i=[["notify","progress",_.Callbacks("memory"),_.Callbacks("memory"),2],["resolve","done",_.Callbacks("once memory"),_.Callbacks("once memory"),0,"resolved"],["reject","fail",_.Callbacks("once memory"),_.Callbacks("once memory"),1,"rejected"]],o="pending",a={state:function(){return o},always:function(){return s.done(arguments).fail(arguments),this},catch:function(e){return a.then(null,e)},pipe:function(){var o=arguments;return _.Deferred(function(r){_.each(i,function(e,t){var n=y(o[t[4]])&&o[t[4]];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&y(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[t[0]+"With"](this,n?[e]:arguments)})}),o=null}).promise()},then:function(t,n,r){var u=0;function c(o,i,a,s){return function(){var n=this,r=arguments,e=function(){var e,t;if(!(o<u)){if((e=a.apply(n,r))===i.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,y(t)?s?t.call(e,c(u,i,I,s),c(u,i,z,s)):(u++,t.call(e,c(u,i,I,s),c(u,i,z,s),c(u,i,I,i.notifyWith))):(a!==I&&(n=void 0,r=[e]),(s||i.resolveWith)(n,r))}},t=s?e:function(){try{e()}catch(e){_.Deferred.exceptionHook&&_.Deferred.exceptionHook(e,t.stackTrace),u<=o+1&&(a!==z&&(n=void 0,r=[e]),i.rejectWith(n,r))}};o?t():(_.Deferred.getStackHook&&(t.stackTrace=_.Deferred.getStackHook()),T.setTimeout(t))}}return _.Deferred(function(e){i[0][3].add(c(0,e,y(r)?r:I,e.notifyWith)),i[1][3].add(c(0,e,y(t)?t:I)),i[2][3].add(c(0,e,y(n)?n:z))}).promise()},promise:function(e){return null!=e?_.extend(e,a):a}},s={};return _.each(i,function(e,t){var n=t[2],r=t[5];a[t[1]]=n.add,r&&n.add(function(){o=r},i[3-e][2].disable,i[3-e][3].disable,i[0][2].lock,i[0][3].lock),n.add(t[3].fire),s[t[0]]=function(){return s[t[0]+"With"](this===s?void 0:this,arguments),this},s[t[0]+"With"]=n.fireWith}),a.promise(s),e&&e.call(s,s),s},when:function(e){var n=arguments.length,t=n,r=Array(t),o=s.call(arguments),i=_.Deferred(),a=function(t){return function(e){r[t]=this,o[t]=1<arguments.length?s.call(arguments):e,--n||i.resolveWith(r,o)}};if(n<=1&&(R(e,i.done(a(t)).resolve,i.reject,!n),"pending"===i.state()||y(o[t]&&o[t].then)))return i.then();for(;t--;)R(o[t],a(t),i.reject);return i.promise()}});var O=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;_.Deferred.exceptionHook=function(e,t){T.console&&T.console.warn&&e&&O.test(e.name)&&T.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},_.readyException=function(e){T.setTimeout(function(){throw e})};var H=_.Deferred();function Q(){C.removeEventListener("DOMContentLoaded",Q),T.removeEventListener("load",Q),_.ready()}_.fn.ready=function(e){return H.then(e).catch(function(e){_.readyException(e)}),this},_.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--_.readyWait:_.isReady)||(_.isReady=!0)!==e&&0<--_.readyWait||H.resolveWith(C,[_])}}),_.ready.then=H.then,"complete"===C.readyState||"loading"!==C.readyState&&!C.documentElement.doScroll?T.setTimeout(_.ready):(C.addEventListener("DOMContentLoaded",Q),T.addEventListener("load",Q));var F=function(e,t,n,r,o,i,a){var s=0,u=e.length,c=null==n;if("object"===w(n))for(s in o=!0,n)F(e,t,s,n[s],!0,i,a);else if(void 0!==r&&(o=!0,y(r)||(a=!0),c&&(t=a?(t.call(e,r),null):(c=t,function(e,t,n){return c.call(_(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return o?e:c?t.call(e):u?t(e[0],n):i},M=/^-ms-/,U=/-([a-z])/g;function B(e,t){return t.toUpperCase()}function W(e){return e.replace(M,"ms-").replace(U,B)}var X=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function V(){this.expando=_.expando+V.uid++}V.uid=1,V.prototype={cache:function(e){var t=e[this.expando];return t||(t={},X(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,o=this.cache(e);if("string"==typeof t)o[W(t)]=n;else for(r in t)o[W(r)]=t[r];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][W(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(W):(t=W(t))in r?[t]:t.match(L)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||_.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!_.isEmptyObject(t)}};var K=new V,Z=new V,G=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Y=/[A-Z]/g;function J(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(Y,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:G.test(e)?JSON.parse(e):e)}(n)}catch(e){}Z.set(e,t,n)}else n=void 0;return n}_.extend({hasData:function(e){return Z.hasData(e)||K.hasData(e)},data:function(e,t,n){return Z.access(e,t,n)},removeData:function(e,t){Z.remove(e,t)},_data:function(e,t,n){return K.access(e,t,n)},_removeData:function(e,t){K.remove(e,t)}}),_.fn.extend({data:function(n,e){var t,r,o,i=this[0],a=i&&i.attributes;if(void 0!==n)return"object"==typeof n?this.each(function(){Z.set(this,n)}):F(this,function(e){var t;if(i&&void 0===e)return void 0!==(t=Z.get(i,n))?t:void 0!==(t=J(i,n))?t:void 0;this.each(function(){Z.set(this,n,e)})},null,e,1<arguments.length,null,!0);if(this.length&&(o=Z.get(i),1===i.nodeType&&!K.get(i,"hasDataAttrs"))){for(t=a.length;t--;)a[t]&&0===(r=a[t].name).indexOf("data-")&&(r=W(r.slice(5)),J(i,r,o[r]));K.set(i,"hasDataAttrs",!0)}return o},removeData:function(e){return this.each(function(){Z.remove(this,e)})}}),_.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=K.get(e,t),n&&(!r||Array.isArray(n)?r=K.access(e,t,_.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=_.queue(e,t),r=n.length,o=n.shift(),i=_._queueHooks(e,t);"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===t&&n.unshift("inprogress"),delete i.stop,o.call(e,function(){_.dequeue(e,t)},i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return K.get(e,n)||K.access(e,n,{empty:_.Callbacks("once memory").add(function(){K.remove(e,[t+"queue",n])})})}}),_.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?_.queue(this[0],t):void 0===n?this:this.each(function(){var e=_.queue(this,t,n);_._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&_.dequeue(this,t)})},dequeue:function(e){return this.each(function(){_.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,o=_.Deferred(),i=this,a=this.length,s=function(){--r||o.resolveWith(i,[i])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=K.get(i[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),o.promise(t)}});var ee=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,te=new RegExp("^(?:([+-])=|)("+ee+")([a-z%]*)$","i"),ne=["Top","Right","Bottom","Left"],re=C.documentElement,oe=function(e){return _.contains(e.ownerDocument,e)},ie={composed:!0};re.getRootNode&&(oe=function(e){return _.contains(e.ownerDocument,e)||e.getRootNode(ie)===e.ownerDocument});var ae=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&oe(e)&&"none"===_.css(e,"display")};function se(e,t,n,r){var o,i,a=20,s=r?function(){return r.cur()}:function(){return _.css(e,t,"")},u=s(),c=n&&n[3]||(_.cssNumber[t]?"":"px"),l=e.nodeType&&(_.cssNumber[t]||"px"!==c&&+u)&&te.exec(_.css(e,t));if(l&&l[3]!==c){for(u/=2,c=c||l[3],l=+u||1;a--;)_.style(e,t,l+c),(1-i)*(1-(i=s()/u||.5))<=0&&(a=0),l/=i;l*=2,_.style(e,t,l+c),n=n||[]}return n&&(l=+l||+u||0,o=n[1]?l+(n[1]+1)*n[2]:+n[2],r&&(r.unit=c,r.start=l,r.end=o)),o}var ue={};function ce(e,t){for(var n,r,o,i,a,s,u,c=[],l=0,p=e.length;l<p;l++)(r=e[l]).style&&(n=r.style.display,t?("none"===n&&(c[l]=K.get(r,"display")||null,c[l]||(r.style.display="")),""===r.style.display&&ae(r)&&(c[l]=(u=a=i=void 0,a=(o=r).ownerDocument,s=o.nodeName,(u=ue[s])||(i=a.body.appendChild(a.createElement(s)),u=_.css(i,"display"),i.parentNode.removeChild(i),"none"===u&&(u="block"),ue[s]=u)))):"none"!==n&&(c[l]="none",K.set(r,"display",n)));for(l=0;l<p;l++)null!=c[l]&&(e[l].style.display=c[l]);return e}_.fn.extend({show:function(){return ce(this,!0)},hide:function(){return ce(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ae(this)?_(this).show():_(this).hide()})}});var le,pe,de=/^(?:checkbox|radio)$/i,fe=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;le=C.createDocumentFragment().appendChild(C.createElement("div")),(pe=C.createElement("input")).setAttribute("type","radio"),pe.setAttribute("checked","checked"),pe.setAttribute("name","t"),le.appendChild(pe),v.checkClone=le.cloneNode(!0).cloneNode(!0).lastChild.checked,le.innerHTML="<textarea>x</textarea>",v.noCloneChecked=!!le.cloneNode(!0).lastChild.defaultValue,le.innerHTML="<option></option>",v.option=!!le.lastChild;var ge={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function me(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&S(e,t)?_.merge([e],n):n}function ve(e,t){for(var n=0,r=e.length;n<r;n++)K.set(e[n],"globalEval",!t||K.get(t[n],"globalEval"))}ge.tbody=ge.tfoot=ge.colgroup=ge.caption=ge.thead,ge.th=ge.td,v.option||(ge.optgroup=ge.option=[1,"<select multiple='multiple'>","</select>"]);var ye=/<|&#?\w+;/;function be(e,t,n,r,o){for(var i,a,s,u,c,l,p=t.createDocumentFragment(),d=[],f=0,h=e.length;f<h;f++)if((i=e[f])||0===i)if("object"===w(i))_.merge(d,i.nodeType?[i]:i);else if(ye.test(i)){for(a=a||p.appendChild(t.createElement("div")),s=(fe.exec(i)||["",""])[1].toLowerCase(),u=ge[s]||ge._default,a.innerHTML=u[1]+_.htmlPrefilter(i)+u[2],l=u[0];l--;)a=a.lastChild;_.merge(d,a.childNodes),(a=p.firstChild).textContent=""}else d.push(t.createTextNode(i));for(p.textContent="",f=0;i=d[f++];)if(r&&-1<_.inArray(i,r))o&&o.push(i);else if(c=oe(i),a=me(p.appendChild(i),"script"),c&&ve(a),n)for(l=0;i=a[l++];)he.test(i.type||"")&&n.push(i);return p}var xe=/^key/,we=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ke=/^([^.]*)(?:\.(.+)|)/;function Te(){return!0}function Ce(){return!1}function _e(e,t){return e===function(){try{return C.activeElement}catch(e){}}()==("focus"===t)}function Ae(e,t,n,r,o,i){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ae(e,s,n,r,t[s],i);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),!1===o)o=Ce;else if(!o)return e;return 1===i&&(a=o,(o=function(e){return _().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=_.guid++)),e.each(function(){_.event.add(this,t,o,r,n)})}function Se(e,o,i){i?(K.set(e,o,!1),_.event.add(e,o,{namespace:!1,handler:function(e){var t,n,r=K.get(this,o);if(1&e.isTrigger&&this[o]){if(r.length)(_.event.special[o]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),K.set(this,o,r),t=i(this,o),this[o](),r!==(n=K.get(this,o))||t?K.set(this,o,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else r.length&&(K.set(this,o,{value:_.event.trigger(_.extend(r[0],_.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===K.get(e,o)&&_.event.add(e,o,Te)}_.event={global:{},add:function(t,e,n,r,o){var i,a,s,u,c,l,p,d,f,h,g,m=K.get(t);if(X(t))for(n.handler&&(n=(i=n).handler,o=i.selector),o&&_.find.matchesSelector(re,o),n.guid||(n.guid=_.guid++),(u=m.events)||(u=m.events=Object.create(null)),(a=m.handle)||(a=m.handle=function(e){return void 0!==_&&_.event.triggered!==e.type?_.event.dispatch.apply(t,arguments):void 0}),c=(e=(e||"").match(L)||[""]).length;c--;)f=g=(s=ke.exec(e[c])||[])[1],h=(s[2]||"").split(".").sort(),f&&(p=_.event.special[f]||{},f=(o?p.delegateType:p.bindType)||f,p=_.event.special[f]||{},l=_.extend({type:f,origType:g,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&_.expr.match.needsContext.test(o),namespace:h.join(".")},i),(d=u[f])||((d=u[f]=[]).delegateCount=0,p.setup&&!1!==p.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(f,a)),p.add&&(p.add.call(t,l),l.handler.guid||(l.handler.guid=n.guid)),o?d.splice(d.delegateCount++,0,l):d.push(l),_.event.global[f]=!0)},remove:function(e,t,n,r,o){var i,a,s,u,c,l,p,d,f,h,g,m=K.hasData(e)&&K.get(e);if(m&&(u=m.events)){for(c=(t=(t||"").match(L)||[""]).length;c--;)if(f=g=(s=ke.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),f){for(p=_.event.special[f]||{},d=u[f=(r?p.delegateType:p.bindType)||f]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=i=d.length;i--;)l=d[i],!o&&g!==l.origType||n&&n.guid!==l.guid||s&&!s.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(d.splice(i,1),l.selector&&d.delegateCount--,p.remove&&p.remove.call(e,l));a&&!d.length&&(p.teardown&&!1!==p.teardown.call(e,h,m.handle)||_.removeEvent(e,f,m.handle),delete u[f])}else for(f in u)_.event.remove(e,f+t[c],n,r,!0);_.isEmptyObject(u)&&K.remove(e,"handle events")}},dispatch:function(e){var t,n,r,o,i,a,s=new Array(arguments.length),u=_.event.fix(e),c=(K.get(this,"events")||Object.create(null))[u.type]||[],l=_.event.special[u.type]||{};for(s[0]=u,t=1;t<arguments.length;t++)s[t]=arguments[t];if(u.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,u)){for(a=_.event.handlers.call(this,u,c),t=0;(o=a[t++])&&!u.isPropagationStopped();)for(u.currentTarget=o.elem,n=0;(i=o.handlers[n++])&&!u.isImmediatePropagationStopped();)u.rnamespace&&!1!==i.namespace&&!u.rnamespace.test(i.namespace)||(u.handleObj=i,u.data=i.data,void 0!==(r=((_.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,s))&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,u),u.result}},handlers:function(e,t){var n,r,o,i,a,s=[],u=t.delegateCount,c=e.target;if(u&&c.nodeType&&!("click"===e.type&&1<=e.button))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(i=[],a={},n=0;n<u;n++)void 0===a[o=(r=t[n]).selector+" "]&&(a[o]=r.needsContext?-1<_(o,this).index(c):_.find(o,this,null,[c]).length),a[o]&&i.push(r);i.length&&s.push({elem:c,handlers:i})}return c=this,u<t.length&&s.push({elem:c,handlers:t.slice(u)}),s},addProp:function(t,e){Object.defineProperty(_.Event.prototype,t,{enumerable:!0,configurable:!0,get:y(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[_.expando]?e:new _.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return de.test(t.type)&&t.click&&S(t,"input")&&Se(t,"click",Te),!1},trigger:function(e){var t=this||e;return de.test(t.type)&&t.click&&S(t,"input")&&Se(t,"click"),!0},_default:function(e){var t=e.target;return de.test(t.type)&&t.click&&S(t,"input")&&K.get(t,"click")||S(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},_.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},_.Event=function(e,t){if(!(this instanceof _.Event))return new _.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Te:Ce,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&_.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[_.expando]=!0},_.Event.prototype={constructor:_.Event,isDefaultPrevented:Ce,isPropagationStopped:Ce,isImmediatePropagationStopped:Ce,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Te,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Te,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Te,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},_.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&xe.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&we.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},_.event.addProp),_.each({focus:"focusin",blur:"focusout"},function(e,t){_.event.special[e]={setup:function(){return Se(this,e,_e),!1},trigger:function(){return Se(this,e),!0},delegateType:t}}),_.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,o){_.event.special[e]={delegateType:o,bindType:o,handle:function(e){var t,n=e.relatedTarget,r=e.handleObj;return n&&(n===this||_.contains(this,n))||(e.type=r.origType,t=r.handler.apply(this,arguments),e.type=o),t}}}),_.fn.extend({on:function(e,t,n,r){return Ae(this,e,t,n,r)},one:function(e,t,n,r){return Ae(this,e,t,n,r,1)},off:function(e,t,n){var r,o;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,_(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"!=typeof e)return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Ce),this.each(function(){_.event.remove(this,e,n,t)});for(o in e)this.off(o,t,e[o]);return this}});var Ee=/<script|<style|<link/i,je=/checked\s*(?:[^=]|=\s*.checked.)/i,De=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Ne(e,t){return S(e,"table")&&S(11!==t.nodeType?t:t.firstChild,"tr")&&_(e).children("tbody")[0]||e}function qe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function $e(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Pe(e,t){var n,r,o,i,a,s;if(1===t.nodeType){if(K.hasData(e)&&(s=K.get(e).events))for(o in K.remove(t,"handle events"),s)for(n=0,r=s[o].length;n<r;n++)_.event.add(t,o,s[o][n]);Z.hasData(e)&&(i=Z.access(e),a=_.extend({},i),Z.set(t,a))}}function Le(n,r,o,i){r=g(r);var e,t,a,s,u,c,l=0,p=n.length,d=p-1,f=r[0],h=y(f);if(h||1<p&&"string"==typeof f&&!v.checkClone&&je.test(f))return n.each(function(e){var t=n.eq(e);h&&(r[0]=f.call(this,e,t.html())),Le(t,r,o,i)});if(p&&(t=(e=be(r,n[0].ownerDocument,!1,n,i)).firstChild,1===e.childNodes.length&&(e=t),t||i)){for(s=(a=_.map(me(e,"script"),qe)).length;l<p;l++)u=e,l!==d&&(u=_.clone(u,!0,!0),s&&_.merge(a,me(u,"script"))),o.call(n[l],u,l);if(s)for(c=a[a.length-1].ownerDocument,_.map(a,$e),l=0;l<s;l++)u=a[l],he.test(u.type||"")&&!K.access(u,"globalEval")&&_.contains(c,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?_._evalUrl&&!u.noModule&&_._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},c):x(u.textContent.replace(De,""),u,c))}return n}function Ie(e,t,n){for(var r,o=t?_.filter(t,e):e,i=0;null!=(r=o[i]);i++)n||1!==r.nodeType||_.cleanData(me(r)),r.parentNode&&(n&&oe(r)&&ve(me(r,"script")),r.parentNode.removeChild(r));return e}_.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,o,i,a,s,u,c,l=e.cloneNode(!0),p=oe(e);if(!(v.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||_.isXMLDoc(e)))for(a=me(l),r=0,o=(i=me(e)).length;r<o;r++)s=i[r],u=a[r],void 0,"input"===(c=u.nodeName.toLowerCase())&&de.test(s.type)?u.checked=s.checked:"input"!==c&&"textarea"!==c||(u.defaultValue=s.defaultValue);if(t)if(n)for(i=i||me(e),a=a||me(l),r=0,o=i.length;r<o;r++)Pe(i[r],a[r]);else Pe(e,l);return 0<(a=me(l,"script")).length&&ve(a,!p&&me(e,"script")),l},cleanData:function(e){for(var t,n,r,o=_.event.special,i=0;void 0!==(n=e[i]);i++)if(X(n)){if(t=n[K.expando]){if(t.events)for(r in t.events)o[r]?_.event.remove(n,r):_.removeEvent(n,r,t.handle);n[K.expando]=void 0}n[Z.expando]&&(n[Z.expando]=void 0)}}}),_.fn.extend({detach:function(e){return Ie(this,e,!0)},remove:function(e){return Ie(this,e)},text:function(e){return F(this,function(e){return void 0===e?_.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Le(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ne(this,e).appendChild(e)})},prepend:function(){return Le(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Ne(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Le(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Le(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(_.cleanData(me(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return _.clone(this,e,t)})},html:function(e){return F(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ee.test(e)&&!ge[(fe.exec(e)||["",""])[1].toLowerCase()]){e=_.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(_.cleanData(me(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return Le(this,arguments,function(e){var t=this.parentNode;_.inArray(this,n)<0&&(_.cleanData(me(this)),t&&t.replaceChild(e,this))},n)}}),_.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){_.fn[e]=function(e){for(var t,n=[],r=_(e),o=r.length-1,i=0;i<=o;i++)t=i===o?this:this.clone(!0),_(r[i])[a](t),u.apply(n,t.get());return this.pushStack(n)}});var ze=new RegExp("^("+ee+")(?!px)[a-z%]+$","i"),Re=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=T),t.getComputedStyle(e)},Oe=function(e,t,n){var r,o,i={};for(o in t)i[o]=e.style[o],e.style[o]=t[o];for(o in r=n.call(e),t)e.style[o]=i[o];return r},He=new RegExp(ne.join("|"),"i");function Qe(e,t,n){var r,o,i,a,s=e.style;return(n=n||Re(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||oe(e)||(a=_.style(e,t)),!v.pixelBoxStyles()&&ze.test(a)&&He.test(t)&&(r=s.width,o=s.minWidth,i=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=o,s.maxWidth=i)),void 0!==a?a+"":a}function Fe(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(c){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",re.appendChild(u).appendChild(c);var e=T.getComputedStyle(c);n="1%"!==e.top,s=12===t(e.marginLeft),c.style.right="60%",i=36===t(e.right),r=36===t(e.width),c.style.position="absolute",o=12===t(c.offsetWidth/3),re.removeChild(u),c=null}}function t(e){return Math.round(parseFloat(e))}var n,r,o,i,a,s,u=C.createElement("div"),c=C.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",v.clearCloneStyle="content-box"===c.style.backgroundClip,_.extend(v,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),i},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),s},scrollboxSize:function(){return e(),o},reliableTrDimensions:function(){var e,t,n,r;return null==a&&(e=C.createElement("table"),t=C.createElement("tr"),n=C.createElement("div"),e.style.cssText="position:absolute;left:-11111px",t.style.height="1px",n.style.height="9px",re.appendChild(e).appendChild(t).appendChild(n),r=T.getComputedStyle(t),a=3<parseInt(r.height),re.removeChild(e)),a}}))}();var Me=["Webkit","Moz","ms"],Ue=C.createElement("div").style,Be={};function We(e){var t=_.cssProps[e]||Be[e];return t||(e in Ue?e:Be[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Me.length;n--;)if((e=Me[n]+t)in Ue)return e}(e)||e)}var Xe=/^(none|table(?!-c[ea]).+)/,Ve=/^--/,Ke={position:"absolute",visibility:"hidden",display:"block"},Ze={letterSpacing:"0",fontWeight:"400"};function Ge(e,t,n){var r=te.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function Ye(e,t,n,r,o,i){var a="width"===t?1:0,s=0,u=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(u+=_.css(e,n+ne[a],!0,o)),r?("content"===n&&(u-=_.css(e,"padding"+ne[a],!0,o)),"margin"!==n&&(u-=_.css(e,"border"+ne[a]+"Width",!0,o))):(u+=_.css(e,"padding"+ne[a],!0,o),"padding"!==n?u+=_.css(e,"border"+ne[a]+"Width",!0,o):s+=_.css(e,"border"+ne[a]+"Width",!0,o));return!r&&0<=i&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-i-u-s-.5))||0),u}function Je(e,t,n){var r=Re(e),o=(!v.boxSizingReliable()||n)&&"border-box"===_.css(e,"boxSizing",!1,r),i=o,a=Qe(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(ze.test(a)){if(!n)return a;a="auto"}return(!v.boxSizingReliable()&&o||!v.reliableTrDimensions()&&S(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===_.css(e,"display",!1,r))&&e.getClientRects().length&&(o="border-box"===_.css(e,"boxSizing",!1,r),(i=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+Ye(e,t,n||(o?"border":"content"),i,r,a)+"px"}function et(e,t,n,r,o){return new et.prototype.init(e,t,n,r,o)}_.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Qe(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,i,a,s=W(t),u=Ve.test(t),c=e.style;if(u||(t=We(s)),a=_.cssHooks[t]||_.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(o=a.get(e,!1,r))?o:c[t];"string"===(i=typeof n)&&(o=te.exec(n))&&o[1]&&(n=se(e,t,o),i="number"),null!=n&&n==n&&("number"!==i||u||(n+=o&&o[3]||(_.cssNumber[s]?"":"px")),v.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,r){var o,i,a,s=W(t);return Ve.test(t)||(t=We(s)),(a=_.cssHooks[t]||_.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=Qe(e,t,r)),"normal"===o&&t in Ze&&(o=Ze[t]),""===n||n?(i=parseFloat(o),!0===n||isFinite(i)?i||0:o):o}}),_.each(["height","width"],function(e,u){_.cssHooks[u]={get:function(e,t,n){if(t)return!Xe.test(_.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?Je(e,u,n):Oe(e,Ke,function(){return Je(e,u,n)})},set:function(e,t,n){var r,o=Re(e),i=!v.scrollboxSize()&&"absolute"===o.position,a=(i||n)&&"border-box"===_.css(e,"boxSizing",!1,o),s=n?Ye(e,u,n,a,o):0;return a&&i&&(s-=Math.ceil(e["offset"+u[0].toUpperCase()+u.slice(1)]-parseFloat(o[u])-Ye(e,u,"border",!1,o)-.5)),s&&(r=te.exec(t))&&"px"!==(r[3]||"px")&&(e.style[u]=t,t=_.css(e,u)),Ge(0,t,s)}}}),_.cssHooks.marginLeft=Fe(v.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Qe(e,"marginLeft"))||e.getBoundingClientRect().left-Oe(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),_.each({margin:"",padding:"",border:"Width"},function(o,i){_.cssHooks[o+i]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[o+ne[t]+i]=r[t]||r[t-2]||r[0];return n}},"margin"!==o&&(_.cssHooks[o+i].set=Ge)}),_.fn.extend({css:function(e,t){return F(this,function(e,t,n){var r,o,i={},a=0;if(Array.isArray(t)){for(r=Re(e),o=t.length;a<o;a++)i[t[a]]=_.css(e,t[a],!1,r);return i}return void 0!==n?_.style(e,t,n):_.css(e,t)},e,t,1<arguments.length)}}),((_.Tween=et).prototype={constructor:et,init:function(e,t,n,r,o,i){this.elem=e,this.prop=n,this.easing=o||_.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(_.cssNumber[n]?"":"px")},cur:function(){var e=et.propHooks[this.prop];return e&&e.get?e.get(this):et.propHooks._default.get(this)},run:function(e){var t,n=et.propHooks[this.prop];return this.options.duration?this.pos=t=_.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):et.propHooks._default.set(this),this}}).init.prototype=et.prototype,(et.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=_.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){_.fx.step[e.prop]?_.fx.step[e.prop](e):1!==e.elem.nodeType||!_.cssHooks[e.prop]&&null==e.elem.style[We(e.prop)]?e.elem[e.prop]=e.now:_.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=et.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},_.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},_.fx=et.prototype.init,_.fx.step={};var tt,nt,rt,ot,it=/^(?:toggle|show|hide)$/,at=/queueHooks$/;function st(){nt&&(!1===C.hidden&&T.requestAnimationFrame?T.requestAnimationFrame(st):T.setTimeout(st,_.fx.interval),_.fx.tick())}function ut(){return T.setTimeout(function(){tt=void 0}),tt=Date.now()}function ct(e,t){var n,r=0,o={height:e};for(t=t?1:0;r<4;r+=2-t)o["margin"+(n=ne[r])]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function lt(e,t,n){for(var r,o=(pt.tweeners[t]||[]).concat(pt.tweeners["*"]),i=0,a=o.length;i<a;i++)if(r=o[i].call(n,t,e))return r}function pt(i,e,t){var n,a,r=0,o=pt.prefilters.length,s=_.Deferred().always(function(){delete u.elem}),u=function(){if(a)return!1;for(var e=tt||ut(),t=Math.max(0,c.startTime+c.duration-e),n=1-(t/c.duration||0),r=0,o=c.tweens.length;r<o;r++)c.tweens[r].run(n);return s.notifyWith(i,[c,n,t]),n<1&&o?t:(o||s.notifyWith(i,[c,1,0]),s.resolveWith(i,[c]),!1)},c=s.promise({elem:i,props:_.extend({},e),opts:_.extend(!0,{specialEasing:{},easing:_.easing._default},t),originalProperties:e,originalOptions:t,startTime:tt||ut(),duration:t.duration,tweens:[],createTween:function(e,t){var n=_.Tween(i,c.opts,e,t,c.opts.specialEasing[e]||c.opts.easing);return c.tweens.push(n),n},stop:function(e){var t=0,n=e?c.tweens.length:0;if(a)return this;for(a=!0;t<n;t++)c.tweens[t].run(1);return e?(s.notifyWith(i,[c,1,0]),s.resolveWith(i,[c,e])):s.rejectWith(i,[c,e]),this}}),l=c.props;for(!function(e,t){var n,r,o,i,a;for(n in e)if(o=t[r=W(n)],i=e[n],Array.isArray(i)&&(o=i[1],i=e[n]=i[0]),n!==r&&(e[r]=i,delete e[n]),(a=_.cssHooks[r])&&"expand"in a)for(n in i=a.expand(i),delete e[r],i)n in e||(e[n]=i[n],t[n]=o);else t[r]=o}(l,c.opts.specialEasing);r<o;r++)if(n=pt.prefilters[r].call(c,i,l,c.opts))return y(n.stop)&&(_._queueHooks(c.elem,c.opts.queue).stop=n.stop.bind(n)),n;return _.map(l,lt,c),y(c.opts.start)&&c.opts.start.call(i,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),_.fx.timer(_.extend(u,{elem:i,anim:c,queue:c.opts.queue})),c}_.Animation=_.extend(pt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return se(n.elem,e,te.exec(t),n),n}]},tweener:function(e,t){for(var n,r=0,o=(e=y(e)?(t=e,["*"]):e.match(L)).length;r<o;r++)n=e[r],pt.tweeners[n]=pt.tweeners[n]||[],pt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,o,i,a,s,u,c,l,p="width"in t||"height"in t,d=this,f={},h=e.style,g=e.nodeType&&ae(e),m=K.get(e,"fxshow");for(r in n.queue||(null==(a=_._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,d.always(function(){d.always(function(){a.unqueued--,_.queue(e,"fx").length||a.empty.fire()})})),t)if(o=t[r],it.test(o)){if(delete t[r],i=i||"toggle"===o,o===(g?"hide":"show")){if("show"!==o||!m||void 0===m[r])continue;g=!0}f[r]=m&&m[r]||_.style(e,r)}if((u=!_.isEmptyObject(t))||!_.isEmptyObject(f))for(r in p&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(c=m&&m.display)&&(c=K.get(e,"display")),"none"===(l=_.css(e,"display"))&&(c?l=c:(ce([e],!0),c=e.style.display||c,l=_.css(e,"display"),ce([e]))),("inline"===l||"inline-block"===l&&null!=c)&&"none"===_.css(e,"float")&&(u||(d.done(function(){h.display=c}),null==c&&(l=h.display,c="none"===l?"":l)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",d.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1,f)u||(m?"hidden"in m&&(g=m.hidden):m=K.access(e,"fxshow",{display:c}),i&&(m.hidden=!g),g&&ce([e],!0),d.done(function(){for(r in g||ce([e]),K.remove(e,"fxshow"),f)_.style(e,r,f[r])})),u=lt(g?m[r]:0,r,d),r in m||(m[r]=u.start,g&&(u.end=u.start,u.start=0))}],prefilter:function(e,t){t?pt.prefilters.unshift(e):pt.prefilters.push(e)}}),_.speed=function(e,t,n){var r=e&&"object"==typeof e?_.extend({},e):{complete:n||!n&&t||y(e)&&e,duration:e,easing:n&&t||t&&!y(t)&&t};return _.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in _.fx.speeds?r.duration=_.fx.speeds[r.duration]:r.duration=_.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){y(r.old)&&r.old.call(this),r.queue&&_.dequeue(this,r.queue)},r},_.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ae).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){var o=_.isEmptyObject(t),i=_.speed(e,n,r),a=function(){var e=pt(this,_.extend({},t),i);(o||K.get(this,"finish"))&&e.stop(!0)};return a.finish=a,o||!1===i.queue?this.each(a):this.queue(i.queue,a)},stop:function(o,e,i){var a=function(e){var t=e.stop;delete e.stop,t(i)};return"string"!=typeof o&&(i=e,e=o,o=void 0),e&&this.queue(o||"fx",[]),this.each(function(){var e=!0,t=null!=o&&o+"queueHooks",n=_.timers,r=K.get(this);if(t)r[t]&&r[t].stop&&a(r[t]);else for(t in r)r[t]&&r[t].stop&&at.test(t)&&a(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=o&&n[t].queue!==o||(n[t].anim.stop(i),e=!1,n.splice(t,1));!e&&i||_.dequeue(this,o)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var e,t=K.get(this),n=t[a+"queue"],r=t[a+"queueHooks"],o=_.timers,i=n?n.length:0;for(t.finish=!0,_.queue(this,a,[]),r&&r.stop&&r.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===a&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;e<i;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),_.each(["toggle","show","hide"],function(e,r){var o=_.fn[r];_.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?o.apply(this,arguments):this.animate(ct(r,!0),e,t,n)}}),_.each({slideDown:ct("show"),slideUp:ct("hide"),slideToggle:ct("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){_.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),_.timers=[],_.fx.tick=function(){var e,t=0,n=_.timers;for(tt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||_.fx.stop(),tt=void 0},_.fx.timer=function(e){_.timers.push(e),_.fx.start()},_.fx.interval=13,_.fx.start=function(){nt||(nt=!0,st())},_.fx.stop=function(){nt=null},_.fx.speeds={slow:600,fast:200,_default:400},_.fn.delay=function(r,e){return r=_.fx&&_.fx.speeds[r]||r,e=e||"fx",this.queue(e,function(e,t){var n=T.setTimeout(e,r);t.stop=function(){T.clearTimeout(n)}})},rt=C.createElement("input"),ot=C.createElement("select").appendChild(C.createElement("option")),rt.type="checkbox",v.checkOn=""!==rt.value,v.optSelected=ot.selected,(rt=C.createElement("input")).value="t",rt.type="radio",v.radioValue="t"===rt.value;var dt,ft=_.expr.attrHandle;_.fn.extend({attr:function(e,t){return F(this,_.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){_.removeAttr(this,e)})}}),_.extend({attr:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===e.getAttribute?_.prop(e,t,n):(1===i&&_.isXMLDoc(e)||(o=_.attrHooks[t.toLowerCase()]||(_.expr.match.bool.test(t)?dt:void 0)),void 0!==n?null===n?void _.removeAttr(e,t):o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(r=o.get(e,t))?r:null==(r=_.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!v.radioValue&&"radio"===t&&S(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,o=t&&t.match(L);if(o&&1===e.nodeType)for(;n=o[r++];)e.removeAttribute(n)}}),dt={set:function(e,t,n){return!1===t?_.removeAttr(e,n):e.setAttribute(n,n),n}},_.each(_.expr.match.bool.source.match(/\w+/g),function(e,t){var a=ft[t]||_.find.attr;ft[t]=function(e,t,n){var r,o,i=t.toLowerCase();return n||(o=ft[i],ft[i]=r,r=null!=a(e,t,n)?i:null,ft[i]=o),r}});var ht=/^(?:input|select|textarea|button)$/i,gt=/^(?:a|area)$/i;function mt(e){return(e.match(L)||[]).join(" ")}function vt(e){return e.getAttribute&&e.getAttribute("class")||""}function yt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(L)||[]}_.fn.extend({prop:function(e,t){return F(this,_.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[_.propFix[e]||e]})}}),_.extend({prop:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&_.isXMLDoc(e)||(t=_.propFix[t]||t,o=_.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:e[t]=n:o&&"get"in o&&null!==(r=o.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=_.find.attr(e,"tabindex");return t?parseInt(t,10):ht.test(e.nodeName)||gt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),v.optSelected||(_.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),_.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){_.propFix[this.toLowerCase()]=this}),_.fn.extend({addClass:function(t){var e,n,r,o,i,a,s,u=0;if(y(t))return this.each(function(e){_(this).addClass(t.call(this,e,vt(this)))});if((e=yt(t)).length)for(;n=this[u++];)if(o=vt(n),r=1===n.nodeType&&" "+mt(o)+" "){for(a=0;i=e[a++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");o!==(s=mt(r))&&n.setAttribute("class",s)}return this},removeClass:function(t){var e,n,r,o,i,a,s,u=0;if(y(t))return this.each(function(e){_(this).removeClass(t.call(this,e,vt(this)))});if(!arguments.length)return this.attr("class","");if((e=yt(t)).length)for(;n=this[u++];)if(o=vt(n),r=1===n.nodeType&&" "+mt(o)+" "){for(a=0;i=e[a++];)for(;-1<r.indexOf(" "+i+" ");)r=r.replace(" "+i+" "," ");o!==(s=mt(r))&&n.setAttribute("class",s)}return this},toggleClass:function(o,t){var i=typeof o,a="string"==i||Array.isArray(o);return"boolean"==typeof t&&a?t?this.addClass(o):this.removeClass(o):y(o)?this.each(function(e){_(this).toggleClass(o.call(this,e,vt(this),t),t)}):this.each(function(){var e,t,n,r;if(a)for(t=0,n=_(this),r=yt(o);e=r[t++];)n.hasClass(e)?n.removeClass(e):n.addClass(e);else void 0!==o&&"boolean"!=i||((e=vt(this))&&K.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===o?"":K.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&-1<(" "+mt(vt(n))+" ").indexOf(t))return!0;return!1}});var bt=/\r/g;_.fn.extend({val:function(n){var r,e,o,t=this[0];return arguments.length?(o=y(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=o?n.call(this,e,_(this).val()):n)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=_.map(t,function(e){return null==e?"":e+""})),(r=_.valHooks[this.type]||_.valHooks[this.nodeName.toLowerCase()])&&"set"in r&&void 0!==r.set(this,t,"value")||(this.value=t))})):t?(r=_.valHooks[t.type]||_.valHooks[t.nodeName.toLowerCase()])&&"get"in r&&void 0!==(e=r.get(t,"value"))?e:"string"==typeof(e=t.value)?e.replace(bt,""):null==e?"":e:void 0}}),_.extend({valHooks:{option:{get:function(e){var t=_.find.attr(e,"value");return null!=t?t:mt(_.text(e))}},select:{get:function(e){var t,n,r,o=e.options,i=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?i+1:o.length;for(r=i<0?u:a?i:0;r<u;r++)if(((n=o[r]).selected||r===i)&&!n.disabled&&(!n.parentNode.disabled||!S(n.parentNode,"optgroup"))){if(t=_(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,o=e.options,i=_.makeArray(t),a=o.length;a--;)((r=o[a]).selected=-1<_.inArray(_.valHooks.option.get(r),i))&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),_.each(["radio","checkbox"],function(){_.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<_.inArray(_(e).val(),t)}},v.checkOn||(_.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),v.focusin="onfocusin"in T;var xt=/^(?:focusinfocus|focusoutblur)$/,wt=function(e){e.stopPropagation()};_.extend(_.event,{trigger:function(e,t,n,r){var o,i,a,s,u,c,l,p,d=[n||C],f=m.call(e,"type")?e.type:e,h=m.call(e,"namespace")?e.namespace.split("."):[];if(i=p=a=n=n||C,3!==n.nodeType&&8!==n.nodeType&&!xt.test(f+_.event.triggered)&&(-1<f.indexOf(".")&&(f=(h=f.split(".")).shift(),h.sort()),u=f.indexOf(":")<0&&"on"+f,(e=e[_.expando]?e:new _.Event(f,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:_.makeArray(t,[e]),l=_.event.special[f]||{},r||!l.trigger||!1!==l.trigger.apply(n,t))){if(!r&&!l.noBubble&&!b(n)){for(s=l.delegateType||f,xt.test(s+f)||(i=i.parentNode);i;i=i.parentNode)d.push(i),a=i;a===(n.ownerDocument||C)&&d.push(a.defaultView||a.parentWindow||T)}for(o=0;(i=d[o++])&&!e.isPropagationStopped();)p=i,e.type=1<o?s:l.bindType||f,(c=(K.get(i,"events")||Object.create(null))[e.type]&&K.get(i,"handle"))&&c.apply(i,t),(c=u&&i[u])&&c.apply&&X(i)&&(e.result=c.apply(i,t),!1===e.result&&e.preventDefault());return e.type=f,r||e.isDefaultPrevented()||l._default&&!1!==l._default.apply(d.pop(),t)||!X(n)||u&&y(n[f])&&!b(n)&&((a=n[u])&&(n[u]=null),_.event.triggered=f,e.isPropagationStopped()&&p.addEventListener(f,wt),n[f](),e.isPropagationStopped()&&p.removeEventListener(f,wt),_.event.triggered=void 0,a&&(n[u]=a)),e.result}},simulate:function(e,t,n){var r=_.extend(new _.Event,n,{type:e,isSimulated:!0});_.event.trigger(r,null,t)}}),_.fn.extend({trigger:function(e,t){return this.each(function(){_.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return _.event.trigger(e,t,n,!0)}}),v.focusin||_.each({focus:"focusin",blur:"focusout"},function(n,r){var o=function(e){_.event.simulate(r,e.target,_.event.fix(e))};_.event.special[r]={setup:function(){var e=this.ownerDocument||this.document||this,t=K.access(e,r);t||e.addEventListener(n,o,!0),K.access(e,r,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this.document||this,t=K.access(e,r)-1;t?K.access(e,r,t):(e.removeEventListener(n,o,!0),K.remove(e,r))}}});var kt=T.location,Tt={guid:Date.now()},Ct=/\?/;_.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new T.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||_.error("Invalid XML: "+e),t};var _t=/\[\]$/,At=/\r?\n/g,St=/^(?:submit|button|image|reset|file)$/i,Et=/^(?:input|select|textarea|keygen)/i;function jt(n,e,r,o){var t;if(Array.isArray(e))_.each(e,function(e,t){r||_t.test(n)?o(n,t):jt(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,r,o)});else if(r||"object"!==w(e))o(n,e);else for(t in e)jt(n+"["+t+"]",e[t],r,o)}_.param=function(e,t){var n,r=[],o=function(e,t){var n=y(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!_.isPlainObject(e))_.each(e,function(){o(this.name,this.value)});else for(n in e)jt(n,e[n],t,o);return r.join("&")},_.fn.extend({serialize:function(){return _.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=_.prop(this,"elements");return e?_.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!_(this).is(":disabled")&&Et.test(this.nodeName)&&!St.test(e)&&(this.checked||!de.test(e))}).map(function(e,t){var n=_(this).val();return null==n?null:Array.isArray(n)?_.map(n,function(e){return{name:t.name,value:e.replace(At,"\r\n")}}):{name:t.name,value:n.replace(At,"\r\n")}}).get()}});var Dt=/%20/g,Nt=/#.*$/,qt=/([?&])_=[^&]*/,$t=/^(.*?):[ \t]*([^\r\n]*)$/gm,Pt=/^(?:GET|HEAD)$/,Lt=/^\/\//,It={},zt={},Rt="*/".concat("*"),Ot=C.createElement("a");function Ht(i){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,o=e.toLowerCase().match(L)||[];if(y(t))for(;n=o[r++];)"+"===n[0]?(n=n.slice(1)||"*",(i[n]=i[n]||[]).unshift(t)):(i[n]=i[n]||[]).push(t)}}function Qt(t,o,i,a){var s={},u=t===zt;function c(e){var r;return s[e]=!0,_.each(t[e]||[],function(e,t){var n=t(o,i,a);return"string"!=typeof n||u||s[n]?u?!(r=n):void 0:(o.dataTypes.unshift(n),c(n),!1)}),r}return c(o.dataTypes[0])||!s["*"]&&c("*")}function Ft(e,t){var n,r,o=_.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:r||(r={}))[n]=t[n]);return r&&_.extend(!0,e,r),e}Ot.href=kt.href,_.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:kt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(kt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Rt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":_.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Ft(Ft(e,_.ajaxSettings),t):Ft(_.ajaxSettings,e)},ajaxPrefilter:Ht(It),ajaxTransport:Ht(zt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var l,p,d,n,f,r,h,g,o,i,m=_.ajaxSetup({},t),v=m.context||m,y=m.context&&(v.nodeType||v.jquery)?_(v):_.event,b=_.Deferred(),x=_.Callbacks("once memory"),w=m.statusCode||{},a={},s={},u="canceled",k={readyState:0,getResponseHeader:function(e){var t;if(h){if(!n)for(n={};t=$t.exec(d);)n[t[1].toLowerCase()+" "]=(n[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=n[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return h?d:null},setRequestHeader:function(e,t){return null==h&&(e=s[e.toLowerCase()]=s[e.toLowerCase()]||e,a[e]=t),this},overrideMimeType:function(e){return null==h&&(m.mimeType=e),this},statusCode:function(e){var t;if(e)if(h)k.always(e[k.status]);else for(t in e)w[t]=[w[t],e[t]];return this},abort:function(e){var t=e||u;return l&&l.abort(t),c(0,t),this}};if(b.promise(k),m.url=((e||m.url||kt.href)+"").replace(Lt,kt.protocol+"//"),m.type=t.method||t.type||m.method||m.type,m.dataTypes=(m.dataType||"*").toLowerCase().match(L)||[""],null==m.crossDomain){r=C.createElement("a");try{r.href=m.url,r.href=r.href,m.crossDomain=Ot.protocol+"//"+Ot.host!=r.protocol+"//"+r.host}catch(e){m.crossDomain=!0}}if(m.data&&m.processData&&"string"!=typeof m.data&&(m.data=_.param(m.data,m.traditional)),Qt(It,m,t,k),h)return k;for(o in(g=_.event&&m.global)&&0==_.active++&&_.event.trigger("ajaxStart"),m.type=m.type.toUpperCase(),m.hasContent=!Pt.test(m.type),p=m.url.replace(Nt,""),m.hasContent?m.data&&m.processData&&0===(m.contentType||"").indexOf("application/x-www-form-urlencoded")&&(m.data=m.data.replace(Dt,"+")):(i=m.url.slice(p.length),m.data&&(m.processData||"string"==typeof m.data)&&(p+=(Ct.test(p)?"&":"?")+m.data,delete m.data),!1===m.cache&&(p=p.replace(qt,"$1"),i=(Ct.test(p)?"&":"?")+"_="+Tt.guid+++i),m.url=p+i),m.ifModified&&(_.lastModified[p]&&k.setRequestHeader("If-Modified-Since",_.lastModified[p]),_.etag[p]&&k.setRequestHeader("If-None-Match",_.etag[p])),(m.data&&m.hasContent&&!1!==m.contentType||t.contentType)&&k.setRequestHeader("Content-Type",m.contentType),k.setRequestHeader("Accept",m.dataTypes[0]&&m.accepts[m.dataTypes[0]]?m.accepts[m.dataTypes[0]]+("*"!==m.dataTypes[0]?", "+Rt+"; q=0.01":""):m.accepts["*"]),m.headers)k.setRequestHeader(o,m.headers[o]);if(m.beforeSend&&(!1===m.beforeSend.call(v,k,m)||h))return k.abort();if(u="abort",x.add(m.complete),k.done(m.success),k.fail(m.error),l=Qt(zt,m,t,k)){if(k.readyState=1,g&&y.trigger("ajaxSend",[k,m]),h)return k;m.async&&0<m.timeout&&(f=T.setTimeout(function(){k.abort("timeout")},m.timeout));try{h=!1,l.send(a,c)}catch(e){if(h)throw e;c(-1,e)}}else c(-1,"No Transport");function c(e,t,n,r){var o,i,a,s,u,c=t;h||(h=!0,f&&T.clearTimeout(f),l=void 0,d=r||"",k.readyState=0<e?4:0,o=200<=e&&e<300||304===e,n&&(s=function(e,t,n){for(var r,o,i,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(o in s)if(s[o]&&s[o].test(r)){u.unshift(o);break}if(u[0]in n)i=u[0];else{for(o in n){if(!u[0]||e.converters[o+" "+u[0]]){i=o;break}a||(a=o)}i=i||a}if(i)return i!==u[0]&&u.unshift(i),n[i]}(m,k,n)),!o&&-1<_.inArray("script",m.dataTypes)&&(m.converters["text script"]=function(){}),s=function(e,t,n,r){var o,i,a,s,u,c={},l=e.dataTypes.slice();if(l[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(i=l.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=i,i=l.shift())if("*"===i)i=u;else if("*"!==u&&u!==i){if(!(a=c[u+" "+i]||c["* "+i]))for(o in c)if((s=o.split(" "))[1]===i&&(a=c[u+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[o]:!0!==c[o]&&(i=s[0],l.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+i}}}return{state:"success",data:t}}(m,s,k,o),o?(m.ifModified&&((u=k.getResponseHeader("Last-Modified"))&&(_.lastModified[p]=u),(u=k.getResponseHeader("etag"))&&(_.etag[p]=u)),204===e||"HEAD"===m.type?c="nocontent":304===e?c="notmodified":(c=s.state,i=s.data,o=!(a=s.error))):(a=c,!e&&c||(c="error",e<0&&(e=0))),k.status=e,k.statusText=(t||c)+"",o?b.resolveWith(v,[i,c,k]):b.rejectWith(v,[k,c,a]),k.statusCode(w),w=void 0,g&&y.trigger(o?"ajaxSuccess":"ajaxError",[k,m,o?i:a]),x.fireWith(v,[k,c]),g&&(y.trigger("ajaxComplete",[k,m]),--_.active||_.event.trigger("ajaxStop")))}return k},getJSON:function(e,t,n){return _.get(e,t,n,"json")},getScript:function(e,t){return _.get(e,void 0,t,"script")}}),_.each(["get","post"],function(e,o){_[o]=function(e,t,n,r){return y(t)&&(r=r||n,n=t,t=void 0),_.ajax(_.extend({url:e,type:o,dataType:r,data:t,success:n},_.isPlainObject(e)&&e))}}),_.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),_._evalUrl=function(e,t,n){return _.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){_.globalEval(e,t,n)}})},_.fn.extend({wrapAll:function(e){var t;return this[0]&&(y(e)&&(e=e.call(this[0])),t=_(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(n){return y(n)?this.each(function(e){_(this).wrapInner(n.call(this,e))}):this.each(function(){var e=_(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=y(t);return this.each(function(e){_(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){_(this).replaceWith(this.childNodes)}),this}}),_.expr.pseudos.hidden=function(e){return!_.expr.pseudos.visible(e)},_.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},_.ajaxSettings.xhr=function(){try{return new T.XMLHttpRequest}catch(e){}};var Mt={0:200,1223:204},Ut=_.ajaxSettings.xhr();v.cors=!!Ut&&"withCredentials"in Ut,v.ajax=Ut=!!Ut,_.ajaxTransport(function(o){var i,a;if(v.cors||Ut&&!o.crossDomain)return{send:function(e,t){var n,r=o.xhr();if(r.open(o.type,o.url,o.async,o.username,o.password),o.xhrFields)for(n in o.xhrFields)r[n]=o.xhrFields[n];for(n in o.mimeType&&r.overrideMimeType&&r.overrideMimeType(o.mimeType),o.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)r.setRequestHeader(n,e[n]);i=function(e){return function(){i&&(i=a=r.onload=r.onerror=r.onabort=r.ontimeout=r.onreadystatechange=null,"abort"===e?r.abort():"error"===e?"number"!=typeof r.status?t(0,"error"):t(r.status,r.statusText):t(Mt[r.status]||r.status,r.statusText,"text"!==(r.responseType||"text")||"string"!=typeof r.responseText?{binary:r.response}:{text:r.responseText},r.getAllResponseHeaders()))}},r.onload=i(),a=r.onerror=r.ontimeout=i("error"),void 0!==r.onabort?r.onabort=a:r.onreadystatechange=function(){4===r.readyState&&T.setTimeout(function(){i&&a()})},i=i("abort");try{r.send(o.hasContent&&o.data||null)}catch(e){if(i)throw e}},abort:function(){i&&i()}}}),_.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),_.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return _.globalEval(e),e}}}),_.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),_.ajaxTransport("script",function(n){var r,o;if(n.crossDomain||n.scriptAttrs)return{send:function(e,t){r=_("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",o=function(e){r.remove(),o=null,e&&t("error"===e.type?404:200,e.type)}),C.head.appendChild(r[0])},abort:function(){o&&o()}}});var Bt,Wt=[],Xt=/(=)\?(?=&|$)|\?\?/;_.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Wt.pop()||_.expando+"_"+Tt.guid++;return this[e]=!0,e}}),_.ajaxPrefilter("json jsonp",function(e,t,n){var r,o,i,a=!1!==e.jsonp&&(Xt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Xt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=y(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Xt,"$1"+r):!1!==e.jsonp&&(e.url+=(Ct.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return i||_.error(r+" was not called"),i[0]},e.dataTypes[0]="json",o=T[r],T[r]=function(){i=arguments},n.always(function(){void 0===o?_(T).removeProp(r):T[r]=o,e[r]&&(e.jsonpCallback=t.jsonpCallback,Wt.push(r)),i&&y(o)&&o(i[0]),i=o=void 0}),"script"}),v.createHTMLDocument=((Bt=C.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Bt.childNodes.length),_.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(v.createHTMLDocument?((r=(t=C.implementation.createHTMLDocument("")).createElement("base")).href=C.location.href,t.head.appendChild(r)):t=C),i=!n&&[],(o=E.exec(e))?[t.createElement(o[1])]:(o=be([e],t,i),i&&i.length&&_(i).remove(),_.merge([],o.childNodes)));var r,o,i},_.fn.load=function(e,t,n){var r,o,i,a=this,s=e.indexOf(" ");return-1<s&&(r=mt(e.slice(s)),e=e.slice(0,s)),y(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),0<a.length&&_.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done(function(e){i=arguments,a.html(r?_("<div>").append(_.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,i||[e.responseText,t,e])})}),this},_.expr.pseudos.animated=function(t){return _.grep(_.timers,function(e){return t===e.elem}).length},_.offset={setOffset:function(e,t,n){var r,o,i,a,s,u,c=_.css(e,"position"),l=_(e),p={};"static"===c&&(e.style.position="relative"),s=l.offset(),i=_.css(e,"top"),u=_.css(e,"left"),o=("absolute"===c||"fixed"===c)&&-1<(i+u).indexOf("auto")?(a=(r=l.position()).top,r.left):(a=parseFloat(i)||0,parseFloat(u)||0),y(t)&&(t=t.call(e,n,_.extend({},s))),null!=t.top&&(p.top=t.top-s.top+a),null!=t.left&&(p.left=t.left-s.left+o),"using"in t?t.using.call(e,p):("number"==typeof p.top&&(p.top+="px"),"number"==typeof p.left&&(p.left+="px"),l.css(p))}},_.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){_.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],o={top:0,left:0};if("fixed"===_.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===_.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((o=_(e).offset()).top+=_.css(e,"borderTopWidth",!0),o.left+=_.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-_.css(r,"marginTop",!0),left:t.left-o.left-_.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===_.css(e,"position");)e=e.offsetParent;return e||re})}}),_.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,o){var i="pageYOffset"===o;_.fn[t]=function(e){return F(this,function(e,t,n){var r;if(b(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[o]:e[t];r?r.scrollTo(i?r.pageXOffset:n,i?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),_.each(["top","left"],function(e,n){_.cssHooks[n]=Fe(v.pixelPosition,function(e,t){if(t)return t=Qe(e,n),ze.test(t)?_(e).position()[n]+"px":t})}),_.each({Height:"height",Width:"width"},function(a,s){_.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,i){_.fn[i]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),o=r||(!0===e||!0===t?"margin":"border");return F(this,function(e,t,n){var r;return b(e)?0===i.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?_.css(e,t,o):_.style(e,t,n,o)},s,n?e:void 0,n)}})}),_.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){_.fn[t]=function(e){return this.on(t,e)}}),_.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),_.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){_.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}});var Vt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;_.proxy=function(e,t){var n,r,o;if("string"==typeof t&&(n=e[t],t=e,e=n),y(e))return r=s.call(arguments,2),(o=function(){return e.apply(t||this,r.concat(s.call(arguments)))}).guid=e.guid=e.guid||_.guid++,o},_.holdReady=function(e){e?_.readyWait++:_.ready(!0)},_.isArray=Array.isArray,_.parseJSON=JSON.parse,_.nodeName=S,_.isFunction=y,_.isWindow=b,_.camelCase=W,_.type=w,_.now=Date.now,_.isNumeric=function(e){var t=_.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},_.trim=function(e){return null==e?"":(e+"").replace(Vt,"")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return _});var Kt=T.jQuery,Zt=T.$;return _.noConflict=function(e){return T.$===_&&(T.$=Zt),e&&T.jQuery===_&&(T.jQuery=Kt),_},void 0===e&&(T.jQuery=T.$=_),_}),function(e,t){"object"==typeof exports?module.exports=t():"function"==typeof define&&define.amd?define(t):e.IPv6=t(e)}(this,function(e){var t=e&&e.IPv6;return{best:function(e){var t,n=(e=e.toLowerCase().split(":")).length,r=8;for(""===e[0]&&""===e[1]&&""===e[2]?(e.shift(),e.shift()):""===e[0]&&""===e[1]?e.shift():""===e[n-1]&&""===e[n-2]&&e.pop(),-1!==e[(n=e.length)-1].indexOf(".")&&(r=7),t=0;t<n&&""!==e[t];t++);if(t<r)for(e.splice(t,1,"0000");e.length<r;)e.splice(t,0,"0000");for(t=0;t<r;t++){n=e[t].split("");for(var o=0;o<3&&("0"===n[0]&&1<n.length);o++)n.splice(0,1);e[t]=n.join("")}n=-1;var i=o=0,a=-1,s=!1;for(t=0;t<r;t++)s?"0"===e[t]?i+=1:(s=!1,o<i&&(n=a,o=i)):"0"===e[t]&&(s=!0,a=t,i=1);for(o<i&&(n=a,o=i),1<o&&e.splice(n,o,""),n=e.length,(r="")===e[0]&&(r=":"),t=0;t<n&&(r+=e[t],t!==n-1);t++)r+=":";return""===e[n-1]&&(r+=":"),r},noConflict:function(){return e.IPv6===this&&(e.IPv6=t),this}}}),function(e){function h(e){throw RangeError(y[e])}function n(e,t){for(var n=e.length;n--;)e[n]=t(e[n]);return e}function t(e,t){return n(e.split(f),t).join(".")}function g(e){for(var t,n,r=[],o=0,i=e.length;o<i;)55296<=(t=e.charCodeAt(o++))&&t<=56319&&o<i?56320==(64512&(n=e.charCodeAt(o++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),o--):r.push(t);return r}function d(e){return n(e,function(e){var t="";return 65535<e&&(t+=x((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+x(e)}).join("")}function m(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function v(e,t,n){var r=0;for(e=n?b(e/700):e>>1,e+=b(e/t);455<e;r+=36)e=b(e/35);return b(r+36*e/(e+38))}function r(e){var t,n,r,o,i,a,s=[],u=e.length,c=0,l=128,p=72;for((n=e.lastIndexOf("-"))<0&&(n=0),r=0;r<n;++r)128<=e.charCodeAt(r)&&h("not-basic"),s.push(e.charCodeAt(r));for(n=0<n?n+1:0;n<u;){for(r=c,t=1,o=36;u<=n&&h("invalid-input"),(36<=(i=(i=e.charCodeAt(n++))-48<10?i-22:i-65<26?i-65:i-97<26?i-97:36)||i>b((2147483647-c)/t))&&h("overflow"),c+=i*t,!(i<(a=o<=p?1:p+26<=o?26:o-p));o+=36)t>b(2147483647/(i=36-a))&&h("overflow"),t*=i;p=v(c-r,t=s.length+1,0==r),b(c/t)>2147483647-l&&h("overflow"),l+=b(c/t),c%=t,s.splice(c++,0,l)}return d(s)}function o(e){var t,n,r,o,i,a,s,u,c,l,p,d,f=[];for(l=(e=g(e)).length,t=128,i=72,a=n=0;a<l;++a)(c=e[a])<128&&f.push(x(c));for((r=o=f.length)&&f.push("-");r<l;){for(s=2147483647,a=0;a<l;++a)t<=(c=e[a])&&c<s&&(s=c);for(s-t>b((2147483647-n)/(p=r+1))&&h("overflow"),n+=(s-t)*p,t=s,a=0;a<l;++a)if((c=e[a])<t&&2147483647<++n&&h("overflow"),c==t){for(u=n,s=36;!(u<(c=s<=i?1:i+26<=s?26:s-i));s+=36)d=u-c,u=36-c,f.push(x(m(c+d%u,0))),u=b(d/u);f.push(x(m(u,0))),i=v(n,p,r==o),n=0,++r}++n,++t}return f.join("")}var i="object"==typeof exports&&exports,a="object"==typeof module&&module&&module.exports==i&&module,s="object"==typeof global&&global;s.global!==s&&s.window!==s||(e=s);var u,c,l=/^xn--/,p=/[^ -~]/,f=/\x2E|\u3002|\uFF0E|\uFF61/g,y={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},b=Math.floor,x=String.fromCharCode;if(u={version:"1.2.3",ucs2:{decode:g,encode:d},decode:r,encode:o,toASCII:function(e){return t(e,function(e){return p.test(e)?"xn--"+o(e):e})},toUnicode:function(e){return t(e,function(e){return l.test(e)?r(e.slice(4).toLowerCase()):e})}},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define(function(){return u});else if(i&&!i.nodeType)if(a)a.exports=u;else for(c in u)u.hasOwnProperty(c)&&(i[c]=u[c]);else e.punycode=u}(this),function(e,t){"object"==typeof exports?module.exports=t():"function"==typeof define&&define.amd?define(t):e.SecondLevelDomains=t(e)}(this,function(e){var t=e&&e.SecondLevelDomains,o={list:{ac:" com gov mil net org ",ae:" ac co gov mil name net org pro sch ",af:" com edu gov net org ",al:" com edu gov mil net org ",ao:" co ed gv it og pb ",ar:" com edu gob gov int mil net org tur ",at:" ac co gv or ",au:" asn com csiro edu gov id net org ",ba:" co com edu gov mil net org rs unbi unmo unsa untz unze ",bb:" biz co com edu gov info net org store tv ",bh:" biz cc com edu gov info net org ",bn:" com edu gov net org ",bo:" com edu gob gov int mil net org tv ",br:" adm adv agr am arq art ato b bio blog bmd cim cng cnt com coop ecn edu eng esp etc eti far flog fm fnd fot fst g12 ggf gov imb ind inf jor jus lel mat med mil mus net nom not ntr odo org ppg pro psc psi qsl rec slg srv tmp trd tur tv vet vlog wiki zlg ",bs:" com edu gov net org ",bz:" du et om ov rg ",ca:" ab bc mb nb nf nl ns nt nu on pe qc sk yk ",ck:" biz co edu gen gov info net org ",cn:" ac ah bj com cq edu fj gd gov gs gx gz ha hb he hi hl hn jl js jx ln mil net nm nx org qh sc sd sh sn sx tj tw xj xz yn zj ",co:" com edu gov mil net nom org ",cr:" ac c co ed fi go or sa ",cy:" ac biz com ekloges gov ltd name net org parliament press pro tm ",do:" art com edu gob gov mil net org sld web ",dz:" art asso com edu gov net org pol ",ec:" com edu fin gov info med mil net org pro ",eg:" com edu eun gov mil name net org sci ",er:" com edu gov ind mil net org rochest w ",es:" com edu gob nom org ",et:" biz com edu gov info name net org ",fj:" ac biz com info mil name net org pro ",fk:" ac co gov net nom org ",fr:" asso com f gouv nom prd presse tm ",gg:" co net org ",gh:" com edu gov mil org ",gn:" ac com gov net org ",gr:" com edu gov mil net org ",gt:" com edu gob ind mil net org ",gu:" com edu gov net org ",hk:" com edu gov idv net org ",hu:" 2000 agrar bolt casino city co erotica erotika film forum games hotel info ingatlan jogasz konyvelo lakas media news org priv reklam sex shop sport suli szex tm tozsde utazas video ",id:" ac co go mil net or sch web ",il:" ac co gov idf k12 muni net org ",in:" ac co edu ernet firm gen gov i ind mil net nic org res ",iq:" com edu gov i mil net org ",ir:" ac co dnssec gov i id net org sch ",it:" edu gov ",je:" co net org ",jo:" com edu gov mil name net org sch ",jp:" ac ad co ed go gr lg ne or ",ke:" ac co go info me mobi ne or sc ",kh:" com edu gov mil net org per ",ki:" biz com de edu gov info mob net org tel ",km:" asso com coop edu gouv k medecin mil nom notaires pharmaciens presse tm veterinaire ",kn:" edu gov net org ",kr:" ac busan chungbuk chungnam co daegu daejeon es gangwon go gwangju gyeongbuk gyeonggi gyeongnam hs incheon jeju jeonbuk jeonnam k kg mil ms ne or pe re sc seoul ulsan ",kw:" com edu gov net org ",ky:" com edu gov net org ",kz:" com edu gov mil net org ",lb:" com edu gov net org ",lk:" assn com edu gov grp hotel int ltd net ngo org sch soc web ",lr:" com edu gov net org ",lv:" asn com conf edu gov id mil net org ",ly:" com edu gov id med net org plc sch ",ma:" ac co gov m net org press ",mc:" asso tm ",me:" ac co edu gov its net org priv ",mg:" com edu gov mil nom org prd tm ",mk:" com edu gov inf name net org pro ",ml:" com edu gov net org presse ",mn:" edu gov org ",mo:" com edu gov net org ",mt:" com edu gov net org ",mv:" aero biz com coop edu gov info int mil museum name net org pro ",mw:" ac co com coop edu gov int museum net org ",mx:" com edu gob net org ",my:" com edu gov mil name net org sch ",nf:" arts com firm info net other per rec store web ",ng:" biz com edu gov mil mobi name net org sch ",ni:" ac co com edu gob mil net nom org ",np:" com edu gov mil net org ",nr:" biz com edu gov info net org ",om:" ac biz co com edu gov med mil museum net org pro sch ",pe:" com edu gob mil net nom org sld ",ph:" com edu gov i mil net ngo org ",pk:" biz com edu fam gob gok gon gop gos gov net org web ",pl:" art bialystok biz com edu gda gdansk gorzow gov info katowice krakow lodz lublin mil net ngo olsztyn org poznan pwr radom slupsk szczecin torun warszawa waw wroc wroclaw zgora ",pr:" ac biz com edu est gov info isla name net org pro prof ",ps:" com edu gov net org plo sec ",pw:" belau co ed go ne or ",ro:" arts com firm info nom nt org rec store tm www ",rs:" ac co edu gov in org ",sb:" com edu gov net org ",sc:" com edu gov net org ",sh:" co com edu gov net nom org ",sl:" com edu gov net org ",st:" co com consulado edu embaixada gov mil net org principe saotome store ",sv:" com edu gob org red ",sz:" ac co org ",tr:" av bbs bel biz com dr edu gen gov info k12 name net org pol tel tsk tv web ",tt:" aero biz cat co com coop edu gov info int jobs mil mobi museum name net org pro tel travel ",tw:" club com ebiz edu game gov idv mil net org ",mu:" ac co com gov net or org ",mz:" ac co edu gov org ",na:" co com ",nz:" ac co cri geek gen govt health iwi maori mil net org parliament school ",pa:" abo ac com edu gob ing med net nom org sld ",pt:" com edu gov int net nome org publ ",py:" com edu gov mil net org ",qa:" com edu gov mil net org ",re:" asso com nom ",ru:" ac adygeya altai amur arkhangelsk astrakhan bashkiria belgorod bir bryansk buryatia cbg chel chelyabinsk chita chukotka chuvashia com dagestan e-burg edu gov grozny int irkutsk ivanovo izhevsk jar joshkar-ola kalmykia kaluga kamchatka karelia kazan kchr kemerovo khabarovsk khakassia khv kirov koenig komi kostroma kranoyarsk kuban kurgan kursk lipetsk magadan mari mari-el marine mil mordovia mosreg msk murmansk nalchik net nnov nov novosibirsk nsk omsk orenburg org oryol penza perm pp pskov ptz rnd ryazan sakhalin samara saratov simbirsk smolensk spb stavropol stv surgut tambov tatarstan tom tomsk tsaritsyn tsk tula tuva tver tyumen udm udmurtia ulan-ude vladikavkaz vladimir vladivostok volgograd vologda voronezh vrn vyatka yakutia yamal yekaterinburg yuzhno-sakhalinsk ",rw:" ac co com edu gouv gov int mil net ",sa:" com edu gov med net org pub sch ",sd:" com edu gov info med net org tv ",se:" a ac b bd c d e f g h i k l m n o org p parti pp press r s t tm u w x y z ",sg:" com edu gov idn net org per ",sn:" art com edu gouv org perso univ ",sy:" com edu gov mil net news org ",th:" ac co go in mi net or ",tj:" ac biz co com edu go gov info int mil name net nic org test web ",tn:" agrinet com defense edunet ens fin gov ind info intl mincom nat net org perso rnrt rns rnu tourism ",tz:" ac co go ne or ",ua:" biz cherkassy chernigov chernovtsy ck cn co com crimea cv dn dnepropetrovsk donetsk dp edu gov if in ivano-frankivsk kh kharkov kherson khmelnitskiy kiev kirovograd km kr ks kv lg lugansk lutsk lviv me mk net nikolaev od odessa org pl poltava pp rovno rv sebastopol sumy te ternopil uzhgorod vinnica vn zaporizhzhe zhitomir zp zt ",ug:" ac co go ne or org sc ",uk:" ac bl british-library co cym gov govt icnet jet lea ltd me mil mod national-library-scotland nel net nhs nic nls org orgn parliament plc police sch scot soc ",us:" dni fed isa kids nsn ",uy:" com edu gub mil net org ",ve:" co com edu gob info mil net org web ",vi:" co com k12 net org ",vn:" ac biz com edu gov health info int name net org pro ",ye:" co com gov ltd me net org plc ",yu:" ac co edu gov org ",za:" ac agric alt bourse city co cybernet db edu gov grondar iaccess imt inca landesign law mil net ngo nis nom olivetti org pix school tm web ",zm:" ac co com edu gov net org sch "},has:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1)return!1;var n=e.lastIndexOf(".",t-1);if(n<=0||t-1<=n)return!1;var r=o.list[e.slice(t+1)];return!!r&&0<=r.indexOf(" "+e.slice(n+1,t)+" ")},is:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1||0<=e.lastIndexOf(".",t-1))return!1;var n=o.list[e.slice(t+1)];return!!n&&0<=n.indexOf(" "+e.slice(0,t)+" ")},get:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1)return null;var n=e.lastIndexOf(".",t-1);if(n<=0||t-1<=n)return null;var r=o.list[e.slice(t+1)];return!r||r.indexOf(" "+e.slice(n+1,t)+" ")<0?null:e.slice(n+1)},noConflict:function(){return e.SecondLevelDomains===this&&(e.SecondLevelDomains=t),this}};return o}),function(e,t){"object"==typeof exports?module.exports=t(require("./punycode"),require("./IPv6"),require("./SecondLevelDomains")):"function"==typeof define&&define.amd?define(["./punycode","./IPv6","./SecondLevelDomains"],t):e.URI=t(e.punycode,e.IPv6,e.SecondLevelDomains,e)}(this,function(s,t,c,n){function l(e,t){return this instanceof l?(void 0===e&&(e="undefined"!=typeof location?location.href+"":""),this.href(e),void 0!==t?this.absoluteTo(t):this):new l(e,t)}function o(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function i(e){return void 0===e?"Undefined":String(Object.prototype.toString.call(e)).slice(8,-1)}function u(e){return"Array"===i(e)}function a(e,t){var n,r;if(u(t)){for(n=0,r=t.length;n<r;n++)if(!a(e,t[n]))return!1;return!0}var o=i(t);for(n=0,r=e.length;n<r;n++)if("RegExp"===o){if("string"==typeof e[n]&&e[n].match(t))return!0}else if(e[n]===t)return!0;return!1}function p(e,t){if(!u(e)||!u(t)||e.length!==t.length)return!1;e.sort(),t.sort();for(var n=0,r=e.length;n<r;n++)if(e[n]!==t[n])return!1;return!0}function r(e){return escape(e)}function d(e){return encodeURIComponent(e).replace(/[!'()*]/g,r).replace(/\*/g,"%2A")}function e(n){return function(e,t){return void 0===e?this._parts[n]||"":(this._parts[n]=e||null,this.build(!t),this)}}function f(n,r){return function(e,t){return void 0===e?this._parts[n]||"":(null!==e&&((e+="").charAt(0)===r&&(e=e.substring(1))),this._parts[n]=e,this.build(!t),this)}}var h=n&&n.URI;l.version="1.14.2";var g=l.prototype,m=Object.prototype.hasOwnProperty;l._parts=function(){return{protocol:null,username:null,password:null,hostname:null,urn:null,port:null,path:null,query:null,fragment:null,duplicateQueryParameters:l.duplicateQueryParameters,escapeQuerySpace:l.escapeQuerySpace}},l.duplicateQueryParameters=!1,l.escapeQuerySpace=!0,l.protocol_expression=/^[a-z][a-z0-9.+-]*$/i,l.idn_expression=/[^a-z0-9\.-]/i,l.punycode_expression=/(xn--)/i,l.ip4_expression=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,l.ip6_expression=/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/,l.find_uri_expression=/\b((?:[a-z][\w-]+:(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?\u00ab\u00bb\u201c\u201d\u2018\u2019]))/gi,l.findUri={start:/\b(?:([a-z][a-z0-9.+-]*:\/\/)|www\.)/gi,end:/[\s\r\n]|$/,trim:/[`!()\[\]{};:'".,<>?\u00ab\u00bb\u201c\u201d\u201e\u2018\u2019]+$/},l.defaultPorts={http:"80",https:"443",ftp:"21",gopher:"70",ws:"80",wss:"443"},l.invalid_hostname_characters=/[^a-zA-Z0-9\.-]/,l.domAttributes={a:"href",blockquote:"cite",link:"href",base:"href",script:"src",form:"action",img:"src",area:"href",iframe:"src",embed:"src",source:"src",track:"src",input:"src",audio:"src",video:"src"},l.getDomAttribute=function(e){if(e&&e.nodeName){var t=e.nodeName.toLowerCase();return"input"===t&&"image"!==e.type?void 0:l.domAttributes[t]}},l.encode=d,l.decode=decodeURIComponent,l.iso8859=function(){l.encode=escape,l.decode=unescape},l.unicode=function(){l.encode=d,l.decode=decodeURIComponent},l.characters={pathname:{encode:{expression:/%(24|26|2B|2C|3B|3D|3A|40)/gi,map:{"%24":"$","%26":"&","%2B":"+","%2C":",","%3B":";","%3D":"=","%3A":":","%40":"@"}},decode:{expression:/[\/\?#]/g,map:{"/":"%2F","?":"%3F","#":"%23"}}},reserved:{encode:{expression:/%(21|23|24|26|27|28|29|2A|2B|2C|2F|3A|3B|3D|3F|40|5B|5D)/gi,map:{"%3A":":","%2F":"/","%3F":"?","%23":"#","%5B":"[","%5D":"]","%40":"@","%21":"!","%24":"$","%26":"&","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"="}}}},l.encodeQuery=function(e,t){var n=l.encode(e+"");return void 0===t&&(t=l.escapeQuerySpace),t?n.replace(/%20/g,"+"):n},l.decodeQuery=function(t,e){t+="",void 0===e&&(e=l.escapeQuerySpace);try{return l.decode(e?t.replace(/\+/g,"%20"):t)}catch(e){return t}},l.recodePath=function(e){for(var t=0,n=(e=(e+"").split("/")).length;t<n;t++)e[t]=l.encodePathSegment(l.decode(e[t]));return e.join("/")},l.decodePath=function(e){for(var t=0,n=(e=(e+"").split("/")).length;t<n;t++)e[t]=l.decodePathSegment(e[t]);return e.join("/")};var v,y={encode:"encode",decode:"decode"},b=function(n,r){return function(t){try{return l[r](t+"").replace(l.characters[n][r].expression,function(e){return l.characters[n][r].map[e]})}catch(e){return t}}};for(v in y)l[v+"PathSegment"]=b("pathname",y[v]);l.encodeReserved=b("reserved","encode"),l.parse=function(e,t){var n;return t||(t={}),-1<(n=e.indexOf("#"))&&(t.fragment=e.substring(n+1)||null,e=e.substring(0,n)),-1<(n=e.indexOf("?"))&&(t.query=e.substring(n+1)||null,e=e.substring(0,n)),"//"===e.substring(0,2)?(t.protocol=null,e=e.substring(2),e=l.parseAuthority(e,t)):-1<(n=e.indexOf(":"))&&(t.protocol=e.substring(0,n)||null,t.protocol&&!t.protocol.match(l.protocol_expression)?t.protocol=void 0:"//"===e.substring(n+1,n+3)?(e=e.substring(n+3),e=l.parseAuthority(e,t)):(e=e.substring(n+1),t.urn=!0)),t.path=e,t},l.parseHost=function(e,t){var n,r=e.indexOf("/");if(-1===r&&(r=e.length),"["===e.charAt(0))n=e.indexOf("]"),t.hostname=e.substring(1,n)||null,t.port=e.substring(n+2,r)||null,"/"===t.port&&(t.port=null);else{var o=e.indexOf(":");n=e.indexOf("/"),-1!==(o=e.indexOf(":",o+1))&&(-1===n||o<n)?(t.hostname=e.substring(0,r)||null,t.port=null):(n=e.substring(0,r).split(":"),t.hostname=n[0]||null,t.port=n[1]||null)}return t.hostname&&"/"!==e.substring(r).charAt(0)&&(r++,e="/"+e),e.substring(r)||"/"},l.parseAuthority=function(e,t){return e=l.parseUserinfo(e,t),l.parseHost(e,t)},l.parseUserinfo=function(e,t){var n=e.indexOf("/"),r=e.lastIndexOf("@",-1<n?n:e.length-1);return-1<r&&(-1===n||r<n)?(n=e.substring(0,r).split(":"),t.username=n[0]?l.decode(n[0]):null,n.shift(),t.password=n[0]?l.decode(n.join(":")):null,e=e.substring(r+1)):(t.username=null,t.password=null),e},l.parseQuery=function(e,t){if(!e)return{};if(!(e=e.replace(/&+/g,"&").replace(/^\?*&*|&+$/g,"")))return{};for(var n,r,o={},i=e.split("&"),a=i.length,s=0;s<a;s++)n=i[s].split("="),r=l.decodeQuery(n.shift(),t),n=n.length?l.decodeQuery(n.join("="),t):null,m.call(o,r)?("string"==typeof o[r]&&(o[r]=[o[r]]),o[r].push(n)):o[r]=n;return o},l.build=function(e){var t="";return e.protocol&&(t+=e.protocol+":"),e.urn||!t&&!e.hostname||(t+="//"),t+=l.buildAuthority(e)||"","string"==typeof e.path&&("/"!==e.path.charAt(0)&&"string"==typeof e.hostname&&(t+="/"),t+=e.path),"string"==typeof e.query&&e.query&&(t+="?"+e.query),"string"==typeof e.fragment&&e.fragment&&(t+="#"+e.fragment),t},l.buildHost=function(e){var t="";return e.hostname?(t=l.ip6_expression.test(e.hostname)?t+"["+e.hostname+"]":t+e.hostname,e.port&&(t+=":"+e.port),t):""},l.buildAuthority=function(e){return l.buildUserinfo(e)+l.buildHost(e)},l.buildUserinfo=function(e){var t="";return e.username&&(t+=l.encode(e.username),e.password&&(t+=":"+l.encode(e.password)),t+="@"),t},l.buildQuery=function(e,t,n){var r,o,i,a,s="";for(o in e)if(m.call(e,o)&&o)if(u(e[o]))for(r={},i=0,a=e[o].length;i<a;i++)void 0!==e[o][i]&&void 0===r[e[o][i]+""]&&(s+="&"+l.buildQueryParameter(o,e[o][i],n),!0!==t&&(r[e[o][i]+""]=!0));else void 0!==e[o]&&(s+="&"+l.buildQueryParameter(o,e[o],n));return s.substring(1)},l.buildQueryParameter=function(e,t,n){return l.encodeQuery(e,n)+(null!==t?"="+l.encodeQuery(t,n):"")},l.addQuery=function(e,t,n){if("object"==typeof t)for(var r in t)m.call(t,r)&&l.addQuery(e,r,t[r]);else{if("string"!=typeof t)throw new TypeError("URI.addQuery() accepts an object, string as the name parameter");void 0===e[t]?e[t]=n:("string"==typeof e[t]&&(e[t]=[e[t]]),u(n)||(n=[n]),e[t]=(e[t]||[]).concat(n))}},l.removeQuery=function(e,t,n){var r;if(u(t))for(n=0,r=t.length;n<r;n++)e[t[n]]=void 0;else if("object"==typeof t)for(r in t)m.call(t,r)&&l.removeQuery(e,r,t[r]);else{if("string"!=typeof t)throw new TypeError("URI.addQuery() accepts an object, string as the first parameter");if(void 0!==n){if(e[t]===n)e[t]=void 0;else if(u(e[t])){r=e[t];var o,i,a={};if(u(n))for(o=0,i=n.length;o<i;o++)a[n[o]]=!0;else a[n]=!0;for(o=0,i=r.length;o<i;o++)void 0!==a[r[o]]&&(r.splice(o,1),i--,o--);e[t]=r}}else e[t]=void 0}},l.hasQuery=function(e,t,n,r){if("object"==typeof t){for(var o in t)if(m.call(t,o)&&!l.hasQuery(e,o,t[o]))return!1;return!0}if("string"!=typeof t)throw new TypeError("URI.hasQuery() accepts an object, string as the name parameter");switch(i(n)){case"Undefined":return t in e;case"Boolean":return n===(e=Boolean(u(e[t])?e[t].length:e[t]));case"Function":return!!n(e[t],t,e);case"Array":return!!u(e[t])&&(r?a:p)(e[t],n);case"RegExp":return u(e[t])?!!r&&a(e[t],n):Boolean(e[t]&&e[t].match(n));case"Number":n=String(n);case"String":return u(e[t])?!!r&&a(e[t],n):e[t]===n;default:throw new TypeError("URI.hasQuery() accepts undefined, boolean, string, number, RegExp, Function as the value parameter")}},l.commonPath=function(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n++)if(e.charAt(n)!==t.charAt(n)){n--;break}return n<1?e.charAt(0)===t.charAt(0)&&"/"===e.charAt(0)?"/":"":("/"===e.charAt(n)&&"/"===t.charAt(n)||(n=e.substring(0,n).lastIndexOf("/")),e.substring(0,n+1))},l.withinString=function(e,t,n){n||(n={});var r=n.start||l.findUri.start,o=n.end||l.findUri.end,i=n.trim||l.findUri.trim,a=/[a-z0-9-]=["']?$/i;for(r.lastIndex=0;;){var s=r.exec(e);if(!s)break;if(s=s.index,n.ignoreHtml)if((u=e.slice(Math.max(s-3,0),s))&&a.test(u))continue;var u=s+e.slice(s).search(o),c=e.slice(s,u).replace(i,"");n.ignore&&n.ignore.test(c)||(c=t(c,s,u=s+c.length,e),e=e.slice(0,s)+c+e.slice(u),r.lastIndex=s+c.length)}return r.lastIndex=0,e},l.ensureValidHostname=function(e){if(e.match(l.invalid_hostname_characters)){if(!s)throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-] and Punycode.js is not available');if(s.toASCII(e).match(l.invalid_hostname_characters))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]')}},l.noConflict=function(e){return e?(e={URI:this.noConflict()},n.URITemplate&&"function"==typeof n.URITemplate.noConflict&&(e.URITemplate=n.URITemplate.noConflict()),n.IPv6&&"function"==typeof n.IPv6.noConflict&&(e.IPv6=n.IPv6.noConflict()),n.SecondLevelDomains&&"function"==typeof n.SecondLevelDomains.noConflict&&(e.SecondLevelDomains=n.SecondLevelDomains.noConflict()),e):(n.URI===this&&(n.URI=h),this)},g.build=function(e){return!0===e?this._deferred_build=!0:(void 0===e||this._deferred_build)&&(this._string=l.build(this._parts),this._deferred_build=!1),this},g.clone=function(){return new l(this)},g.valueOf=g.toString=function(){return this.build(!1)._string},g.protocol=e("protocol"),g.username=e("username"),g.password=e("password"),g.hostname=e("hostname"),g.port=e("port"),g.query=f("query","?"),g.fragment=f("fragment","#"),g.search=function(e,t){var n=this.query(e,t);return"string"==typeof n&&n.length?"?"+n:n},g.hash=function(e,t){var n=this.fragment(e,t);return"string"==typeof n&&n.length?"#"+n:n},g.pathname=function(e,t){if(void 0!==e&&!0!==e)return this._parts.path=e?l.recodePath(e):"/",this.build(!t),this;var n=this._parts.path||(this._parts.hostname?"/":"");return e?l.decodePath(n):n},g.path=g.pathname,g.href=function(e,t){var n;if(void 0===e)return this.toString();this._string="",this._parts=l._parts();var r=e instanceof l,o="object"==typeof e&&(e.hostname||e.path||e.pathname);if(e.nodeName&&(e=e[o=l.getDomAttribute(e)]||"",o=!1),!r&&o&&void 0!==e.pathname&&(e=e.toString()),"string"==typeof e||e instanceof String)this._parts=l.parse(String(e),this._parts);else{if(!r&&!o)throw new TypeError("invalid input");for(n in r=r?e._parts:e)m.call(this._parts,n)&&(this._parts[n]=r[n])}return this.build(!t),this},g.is=function(e){var t=!1,n=!1,r=!1,o=!1,i=!1,a=!1,s=!1,u=!this._parts.urn;switch(this._parts.hostname&&(u=!1,n=l.ip4_expression.test(this._parts.hostname),r=l.ip6_expression.test(this._parts.hostname),i=(o=!(t=n||r))&&c&&c.has(this._parts.hostname),a=o&&l.idn_expression.test(this._parts.hostname),s=o&&l.punycode_expression.test(this._parts.hostname)),e.toLowerCase()){case"relative":return u;case"absolute":return!u;case"domain":case"name":return o;case"sld":return i;case"ip":return t;case"ip4":case"ipv4":case"inet4":return n;case"ip6":case"ipv6":case"inet6":return r;case"idn":return a;case"url":return!this._parts.urn;case"urn":return!!this._parts.urn;case"punycode":return s}return null};var x=g.protocol,w=g.port,k=g.hostname;g.protocol=function(e,t){if(void 0!==e&&e&&!(e=e.replace(/:(\/\/)?$/,"")).match(l.protocol_expression))throw new TypeError('Protocol "'+e+"\" contains characters other than [A-Z0-9.+-] or doesn't start with [A-Z]");return x.call(this,e,t)},g.scheme=g.protocol,g.port=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0!==e&&(0===e&&(e=null),e&&(":"===(e+="").charAt(0)&&(e=e.substring(1)),e.match(/[^0-9]/))))throw new TypeError('Port "'+e+'" contains characters other than [0-9]');return w.call(this,e,t)},g.hostname=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0!==e){var n={};l.parseHost(e,n),e=n.hostname}return k.call(this,e,t)},g.host=function(e,t){return this._parts.urn?void 0===e?"":this:void 0===e?this._parts.hostname?l.buildHost(this._parts):"":(l.parseHost(e,this._parts),this.build(!t),this)},g.authority=function(e,t){return this._parts.urn?void 0===e?"":this:void 0===e?this._parts.hostname?l.buildAuthority(this._parts):"":(l.parseAuthority(e,this._parts),this.build(!t),this)},g.userinfo=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0!==e)return"@"!==e[e.length-1]&&(e+="@"),l.parseUserinfo(e,this._parts),this.build(!t),this;if(!this._parts.username)return"";var n=l.buildUserinfo(this._parts);return n.substring(0,n.length-1)},g.resource=function(e,t){var n;return void 0===e?this.path()+this.search()+this.hash():(n=l.parse(e),this._parts.path=n.path,this._parts.query=n.query,this._parts.fragment=n.fragment,this.build(!t),this)},g.subdomain=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0!==e)return n=this._parts.hostname.length-this.domain().length,n=this._parts.hostname.substring(0,n),n=new RegExp("^"+o(n)),e&&"."!==e.charAt(e.length-1)&&(e+="."),e&&l.ensureValidHostname(e),this._parts.hostname=this._parts.hostname.replace(n,e),this.build(!t),this;if(!this._parts.hostname||this.is("IP"))return"";var n=this._parts.hostname.length-this.domain().length-1;return this._parts.hostname.substring(0,n)||""},g.domain=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("boolean"==typeof e&&(t=e,e=void 0),void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var n=this._parts.hostname.match(/\./g);return n&&n.length<2?this._parts.hostname:(n=this._parts.hostname.length-this.tld(t).length-1,n=this._parts.hostname.lastIndexOf(".",n-1)+1,this._parts.hostname.substring(n)||"")}if(!e)throw new TypeError("cannot set domain empty");return l.ensureValidHostname(e),!this._parts.hostname||this.is("IP")?this._parts.hostname=e:(n=new RegExp(o(this.domain())+"$"),this._parts.hostname=this._parts.hostname.replace(n,e)),this.build(!t),this},g.tld=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("boolean"==typeof e&&(t=e,e=void 0),void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var n=this._parts.hostname.lastIndexOf(".");n=this._parts.hostname.substring(n+1);return!0!==t&&c&&c.list[n.toLowerCase()]&&c.get(this._parts.hostname)||n}if(!e)throw new TypeError("cannot set TLD empty");if(e.match(/[^a-zA-Z0-9-]/)){if(!c||!c.is(e))throw new TypeError('TLD "'+e+'" contains characters other than [A-Z0-9]');n=new RegExp(o(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(n,e)}else{if(!this._parts.hostname||this.is("IP"))throw new ReferenceError("cannot set TLD on non-domain host");n=new RegExp(o(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(n,e)}return this.build(!t),this},g.directory=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0!==e&&!0!==e)return n=this._parts.path.length-this.filename().length,n=this._parts.path.substring(0,n),n=new RegExp("^"+o(n)),this.is("relative")||(e||(e="/"),"/"!==e.charAt(0)&&(e="/"+e)),e&&"/"!==e.charAt(e.length-1)&&(e+="/"),e=l.recodePath(e),this._parts.path=this._parts.path.replace(n,e),this.build(!t),this;if(!this._parts.path&&!this._parts.hostname)return"";if("/"===this._parts.path)return"/";var n=this._parts.path.length-this.filename().length-1;n=this._parts.path.substring(0,n)||(this._parts.hostname?"/":"");return e?l.decodePath(n):n},g.filename=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e||!0===e){if(!this._parts.path||"/"===this._parts.path)return"";var n=this._parts.path.lastIndexOf("/");n=this._parts.path.substring(n+1);return e?l.decodePathSegment(n):n}n=!1,"/"===e.charAt(0)&&(e=e.substring(1)),e.match(/\.?\//)&&(n=!0);var r=new RegExp(o(this.filename())+"$");return e=l.recodePath(e),this._parts.path=this._parts.path.replace(r,e),n?this.normalizePath(t):this.build(!t),this},g.suffix=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e||!0===e){if(!this._parts.path||"/"===this._parts.path)return"";var n=this.filename(),r=n.lastIndexOf(".");return-1===r?"":(n=n.substring(r+1),n=/^[a-z0-9%]+$/i.test(n)?n:"",e?l.decodePathSegment(n):n)}if("."===e.charAt(0)&&(e=e.substring(1)),n=this.suffix())r=e?new RegExp(o(n)+"$"):new RegExp(o("."+n)+"$");else{if(!e)return this;this._parts.path+="."+l.recodePath(e)}return r&&(e=l.recodePath(e),this._parts.path=this._parts.path.replace(r,e)),this.build(!t),this},g.segment=function(e,t,n){var r=this._parts.urn?":":"/",o="/"===(i=this.path()).substring(0,1),i=i.split(r);if(void 0!==e&&"number"!=typeof e&&(n=t,t=e,e=void 0),void 0!==e&&"number"!=typeof e)throw Error('Bad segment "'+e+'", must be 0-based integer');if(o&&i.shift(),e<0&&(e=Math.max(i.length+e,0)),void 0===t)return void 0===e?i:i[e];if(null===e||void 0===i[e])if(u(t)){i=[],e=0;for(var a=t.length;e<a;e++)(t[e].length||i.length&&i[i.length-1].length)&&(i.length&&!i[i.length-1].length&&i.pop(),i.push(t[e]))}else(t||"string"==typeof t)&&(""===i[i.length-1]?i[i.length-1]=t:i.push(t));else t?i[e]=t:i.splice(e,1);return o&&i.unshift(""),this.path(i.join(r),n)},g.segmentCoded=function(e,t,n){var r,o;if("number"!=typeof e&&(n=t,t=e,e=void 0),void 0===t){if(u(e=this.segment(e,t,n)))for(r=0,o=e.length;r<o;r++)e[r]=l.decode(e[r]);else e=void 0!==e?l.decode(e):void 0;return e}if(u(t))for(r=0,o=t.length;r<o;r++)t[r]=l.decode(t[r]);else t="string"==typeof t||t instanceof String?l.encode(t):t;return this.segment(e,t,n)};var T=g.query;return g.query=function(e,t){if(!0===e)return l.parseQuery(this._parts.query,this._parts.escapeQuerySpace);if("function"!=typeof e)return void 0!==e&&"string"!=typeof e?(this._parts.query=l.buildQuery(e,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),this.build(!t),this):T.call(this,e,t);var n=l.parseQuery(this._parts.query,this._parts.escapeQuerySpace),r=e.call(this,n);return this._parts.query=l.buildQuery(r||n,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),this.build(!t),this},g.setQuery=function(e,t,n){var r=l.parseQuery(this._parts.query,this._parts.escapeQuerySpace);if("string"==typeof e||e instanceof String)r[e]=void 0!==t?t:null;else{if("object"!=typeof e)throw new TypeError("URI.addQuery() accepts an object, string as the name parameter");for(var o in e)m.call(e,o)&&(r[o]=e[o])}return this._parts.query=l.buildQuery(r,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!=typeof e&&(n=t),this.build(!n),this},g.addQuery=function(e,t,n){var r=l.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return l.addQuery(r,e,void 0===t?null:t),this._parts.query=l.buildQuery(r,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!=typeof e&&(n=t),this.build(!n),this},g.removeQuery=function(e,t,n){var r=l.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return l.removeQuery(r,e,t),this._parts.query=l.buildQuery(r,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!=typeof e&&(n=t),this.build(!n),this},g.hasQuery=function(e,t,n){var r=l.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return l.hasQuery(r,e,t,n)},g.setSearch=g.setQuery,g.addSearch=g.addQuery,g.removeSearch=g.removeQuery,g.hasSearch=g.hasQuery,g.normalize=function(){return this._parts.urn?this.normalizeProtocol(!1).normalizeQuery(!1).normalizeFragment(!1).build():this.normalizeProtocol(!1).normalizeHostname(!1).normalizePort(!1).normalizePath(!1).normalizeQuery(!1).normalizeFragment(!1).build()},g.normalizeProtocol=function(e){return"string"==typeof this._parts.protocol&&(this._parts.protocol=this._parts.protocol.toLowerCase(),this.build(!e)),this},g.normalizeHostname=function(e){return this._parts.hostname&&(this.is("IDN")&&s?this._parts.hostname=s.toASCII(this._parts.hostname):this.is("IPv6")&&t&&(this._parts.hostname=t.best(this._parts.hostname)),this._parts.hostname=this._parts.hostname.toLowerCase(),this.build(!e)),this},g.normalizePort=function(e){return"string"==typeof this._parts.protocol&&this._parts.port===l.defaultPorts[this._parts.protocol]&&(this._parts.port=null,this.build(!e)),this},g.normalizePath=function(e){if(this._parts.urn||!this._parts.path||"/"===this._parts.path)return this;var t,n,r,o=this._parts.path,i="";for("/"!==o.charAt(0)&&(t=!0,o="/"+o),o=o.replace(/(\/(\.\/)+)|(\/\.$)/g,"/").replace(/\/{2,}/g,"/"),t&&(i=o.substring(1).match(/^(\.\.\/)+/)||"")&&(i=i[0]);-1!==(n=o.indexOf("/.."));)o=0!==n?(-1===(r=o.substring(0,n).lastIndexOf("/"))&&(r=n),o.substring(0,r)+o.substring(n+3)):o.substring(3);return t&&this.is("relative")&&(o=i+o.substring(1)),o=l.recodePath(o),this._parts.path=o,this.build(!e),this},g.normalizePathname=g.normalizePath,g.normalizeQuery=function(e){return"string"==typeof this._parts.query&&(this._parts.query.length?this.query(l.parseQuery(this._parts.query,this._parts.escapeQuerySpace)):this._parts.query=null,this.build(!e)),this},g.normalizeFragment=function(e){return this._parts.fragment||(this._parts.fragment=null,this.build(!e)),this},g.normalizeSearch=g.normalizeQuery,g.normalizeHash=g.normalizeFragment,g.iso8859=function(){var e=l.encode,t=l.decode;return l.encode=escape,l.decode=decodeURIComponent,this.normalize(),l.encode=e,l.decode=t,this},g.unicode=function(){var e=l.encode,t=l.decode;return l.encode=d,l.decode=unescape,this.normalize(),l.encode=e,l.decode=t,this},g.readable=function(){var e=this.clone();e.username("").password("").normalize();var t="";if(e._parts.protocol&&(t+=e._parts.protocol+"://"),e._parts.hostname&&(e.is("punycode")&&s?(t+=s.toUnicode(e._parts.hostname),e._parts.port&&(t+=":"+e._parts.port)):t+=e.host()),e._parts.hostname&&e._parts.path&&"/"!==e._parts.path.charAt(0)&&(t+="/"),t+=e.path(!0),e._parts.query){for(var n="",r=0,o=e._parts.query.split("&"),i=o.length;r<i;r++){var a=(o[r]||"").split("=");n=n+"&"+l.decodeQuery(a[0],this._parts.escapeQuerySpace).replace(/&/g,"%26");void 0!==a[1]&&(n+="="+l.decodeQuery(a[1],this._parts.escapeQuerySpace).replace(/&/g,"%26"))}t+="?"+n.substring(1)}return t+l.decodeQuery(e.hash(),!0)},g.absoluteTo=function(e){var t,n,r=this.clone(),o=["protocol","username","password","hostname","port"];if(this._parts.urn)throw Error("URNs do not have any generally defined hierarchical components");if(e instanceof l||(e=new l(e)),r._parts.protocol||(r._parts.protocol=e._parts.protocol),this._parts.hostname)return r;for(t=0;n=o[t];t++)r._parts[n]=e._parts[n];return r._parts.path?".."===r._parts.path.substring(-2)&&(r._parts.path+="/"):(r._parts.path=e._parts.path,r._parts.query||(r._parts.query=e._parts.query)),"/"!==r.path().charAt(0)&&(e=e.directory(),r._parts.path=(e?e+"/":"")+r._parts.path,r.normalizePath()),r.build(),r},g.relativeTo=function(e){var t,n,r,o,i=this.clone().normalize();if(i._parts.urn)throw Error("URNs do not have any generally defined hierarchical components");if(e=new l(e).normalize(),t=i._parts,n=e._parts,r=i.path(),o=e.path(),"/"!==r.charAt(0))throw Error("URI is already relative");if("/"!==o.charAt(0))throw Error("Cannot calculate a URI relative to another relative URI");return t.protocol===n.protocol&&(t.protocol=null),t.username!==n.username||t.password!==n.password||null!==t.protocol||null!==t.username||null!==t.password||t.hostname!==n.hostname||t.port!==n.port?i.build():(t.hostname=null,t.port=null,r===o?t.path="":(e=l.commonPath(i.path(),e.path()))&&(n=n.path.substring(e.length).replace(/[^\/]*$/,"").replace(/.*?\//g,"../"),t.path=n+t.path.substring(e.length)),i.build())},g.equals=function(e){var t=this.clone();e=new l(e);var n,r={},o={},i={};if(t.normalize(),e.normalize(),t.toString()===e.toString())return!0;if(r=t.query(),o=e.query(),t.query(""),e.query(""),t.toString()!==e.toString()||r.length!==o.length)return!1;for(n in r=l.parseQuery(r,this._parts.escapeQuerySpace),o=l.parseQuery(o,this._parts.escapeQuerySpace),r)if(m.call(r,n)){if(u(r[n])){if(!p(r[n],o[n]))return!1}else if(r[n]!==o[n])return!1;i[n]=!0}for(n in o)if(m.call(o,n)&&!i[n])return!1;return!0},g.duplicateQueryParameters=function(e){return this._parts.duplicateQueryParameters=!!e,this},g.escapeQuerySpace=function(e){return this._parts.escapeQuerySpace=!!e,this},l}),function(e,t){"object"==typeof exports?module.exports=t(require("./URI")):"function"==typeof define&&define.amd?define(["./URI"],t):e.URITemplate=t(e.URI,e)}(this,function(f,e){function p(e){return p._cache[e]?p._cache[e]:this instanceof p?(this.expression=e,p._cache[e]=this):new p(e)}function o(e){this.data=e,this.cache={}}var t=e&&e.URITemplate,i=Object.prototype.hasOwnProperty,n=p.prototype,d={"":{prefix:"",separator:",",named:!1,empty_name_separator:!1,encode:"encode"},"+":{prefix:"",separator:",",named:!1,empty_name_separator:!1,encode:"encodeReserved"},"#":{prefix:"#",separator:",",named:!1,empty_name_separator:!1,encode:"encodeReserved"},".":{prefix:".",separator:".",named:!1,empty_name_separator:!1,encode:"encode"},"/":{prefix:"/",separator:"/",named:!1,empty_name_separator:!1,encode:"encode"},";":{prefix:";",separator:";",named:!0,empty_name_separator:!1,encode:"encode"},"?":{prefix:"?",separator:"&",named:!0,empty_name_separator:!0,encode:"encode"},"&":{prefix:"&",separator:"&",named:!0,empty_name_separator:!0,encode:"encode"}};return p._cache={},p.EXPRESSION_PATTERN=/\{([^a-zA-Z0-9%_]?)([^\}]+)(\}|$)/g,p.VARIABLE_PATTERN=/^([^*:]+)((\*)|:(\d+))?$/,p.VARIABLE_NAME_PATTERN=/[^a-zA-Z0-9%_]/,p.expand=function(e,t){var n,r,o,i=d[e.operator],a=i.named?"Named":"Unnamed",s=e.variables,u=[];for(o=0;r=s[o];o++)(n=t.get(r.name)).val.length?u.push(p["expand"+a](n,i,r.explode,r.explode&&i.separator||",",r.maxlength,r.name)):n.type&&u.push("");return u.length?i.prefix+u.join(i.separator):""},p.expandNamed=function(e,t,n,r,o,i){var a="",s=t.encode;t=t.empty_name_separator;var u,c,l,p=!e[s].length,d=2===e.type?"":f[s](i);for(c=0,l=e.val.length;c<l;c++)o?(u=f[s](e.val[c][1].substring(0,o)),2===e.type&&(d=f[s](e.val[c][0].substring(0,o)))):p?(u=f[s](e.val[c][1]),2===e.type?(d=f[s](e.val[c][0]),e[s].push([d,u])):e[s].push([void 0,u])):(u=e[s][c][1],2===e.type&&(d=e[s][c][0])),a&&(a+=r),n?a+=d+(t||u?"=":"")+u:(c||(a+=f[s](i)+(t||u?"=":"")),2===e.type&&(a+=d+","),a+=u);return a},p.expandUnnamed=function(e,t,n,r,o){var i="",a=t.encode;t=t.empty_name_separator;var s,u,c,l=!e[a].length;for(u=0,c=e.val.length;u<c;u++)o?s=f[a](e.val[u][1].substring(0,o)):l?(s=f[a](e.val[u][1]),e[a].push([2===e.type?f[a](e.val[u][0]):void 0,s])):s=e[a][u][1],i&&(i+=r),2===e.type&&(i+=o?f[a](e.val[u][0].substring(0,o)):e[a][u][0],i=n?i+(t||s?"=":""):i+","),i+=s;return i},p.noConflict=function(){return e.URITemplate===p&&(e.URITemplate=t),p},n.expand=function(e){var t="";this.parts&&this.parts.length||this.parse(),e instanceof o||(e=new o(e));for(var n=0,r=this.parts.length;n<r;n++)t+="string"==typeof this.parts[n]?this.parts[n]:p.expand(this.parts[n],e);return t},n.parse=function(){var e,t,n,r=this.expression,o=p.EXPRESSION_PATTERN,i=p.VARIABLE_PATTERN,a=p.VARIABLE_NAME_PATTERN,s=[],u=0;for(o.lastIndex=0;;){if(null===(t=o.exec(r))){s.push(r.substring(u));break}if(s.push(r.substring(u,t.index)),u=t.index+t[0].length,!d[t[1]])throw Error('Unknown Operator "'+t[1]+'" in "'+t[0]+'"');if(!t[3])throw Error('Unclosed Expression "'+t[0]+'"');for(var c=0,l=(e=t[2].split(",")).length;c<l;c++){if(null===(n=e[c].match(i)))throw Error('Invalid Variable "'+e[c]+'" in "'+t[0]+'"');if(n[1].match(a))throw Error('Invalid Variable Name "'+n[1]+'" in "'+t[0]+'"');e[c]={name:n[1],explode:!!n[3],maxlength:n[4]&&parseInt(n[4],10)}}if(!e.length)throw Error('Expression Missing Variable(s) "'+t[0]+'"');s.push({expression:t[0],operator:t[1],variables:e})}return s.length||s.push(r),this.parts=s,this},o.prototype.get=function(e){var t,n=this.data,r={type:0,val:[],encode:[],encodeReserved:[]};if(void 0!==this.cache[e])return this.cache[e];if(this.cache[e]=r,null!=(n="[object Function]"===String(Object.prototype.toString.call(n))?n(e):"[object Function]"===String(Object.prototype.toString.call(n[e]))?n[e](e):n[e]))if("[object Array]"===String(Object.prototype.toString.call(n))){for(t=0,e=n.length;t<e;t++)void 0!==n[t]&&null!==n[t]&&r.val.push([void 0,String(n[t])]);r.val.length&&(r.type=3)}else if("[object Object]"===String(Object.prototype.toString.call(n))){for(t in n)i.call(n,t)&&void 0!==n[t]&&null!==n[t]&&r.val.push([t,String(n[t])]);r.val.length&&(r.type=2)}else r.type=1,r.val.push([void 0,String(n)]);return r},f.expand=function(e,t){var n=new p(e).expand(t);return new f(n)},p}),function(r){"use strict";r.fn.emulateTransitionEnd=function(e){var t=!1,n=this;r(this).one(r.support.transition.end,function(){t=!0});return setTimeout(function(){t||r(n).trigger(r.support.transition.end)},e),this},r(function(){r.support.transition=function(){var e=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in t)if(void 0!==e.style[n])return{end:t[n]}}()})}(jQuery),function(c){"use strict";var o=function(e,t){this.$element=c(e),this.options=c.extend({},o.DEFAULTS,t),this.transitioning=null,this.options.parent&&(this.$parent=c(this.options.parent)),this.options.toggle&&this.toggle()};o.DEFAULTS={toggle:!0},o.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},o.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var e=c.Event("show.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){var t=this.$parent&&this.$parent.find("> .panel > .in");if(t&&t.length){var n=t.data("bs.collapse");if(n&&n.transitioning)return;t.collapse("hide"),n||t.data("bs.collapse",null)}var r=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[r](0),this.transitioning=1;var o=function(){this.$element.removeClass("collapsing").addClass("in")[r]("auto"),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!c.support.transition)return o.call(this);var i=c.camelCase(["scroll",r].join("-"));this.$element.one(c.support.transition.end,c.proxy(o,this)).emulateTransitionEnd(350)[r](this.$element[0][i])}}},o.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var e=c.Event("hide.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){var t=this.dimension();this.$element[t](this.$element[t]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;var n=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};if(!c.support.transition)return n.call(this);this.$element[t](0).one(c.support.transition.end,c.proxy(n,this)).emulateTransitionEnd(350)}}},o.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var e=c.fn.collapse;c.fn.collapse=function(r){return this.each(function(){var e=c(this),t=e.data("bs.collapse"),n=c.extend({},o.DEFAULTS,e.data(),"object"==typeof r&&r);t||e.data("bs.collapse",t=new o(this,n)),"string"==typeof r&&t[r]()})},c.fn.collapse.Constructor=o,c.fn.collapse.noConflict=function(){return c.fn.collapse=e,this},c(document).on("click.bs.collapse.data-api","[data-toggle=collapse]",function(e){var t,n=c(this),r=n.attr("data-target")||e.preventDefault()||(t=n.attr("href"))&&t.replace(/.*(?=#[^\s]+$)/,""),o=c(r),i=o.data("bs.collapse"),a=i?"toggle":n.data(),s=n.attr("data-parent"),u=s&&c(s);i&&i.transitioning||(u&&u.find('[data-toggle=collapse][data-parent="'+s+'"]').not(n).addClass("collapsed"),n[o.hasClass("in")?"addClass":"removeClass"]("collapsed")),o.collapse(a)})}(jQuery);var Showdown={converter:function(){var h,g,s,n=0;this.makeHtml=function(e){return h=new Array,g=new Array,s=new Array,e=(e=(e=(e=e.replace(/~/g,"~T")).replace(/\$/g,"~D")).replace(/\r\n/g,"\n")).replace(/\r/g,"\n"),e=(e=N(e="\n\n"+e+"\n\n")).replace(/^[ \t]+$/gm,""),e=r(e),e=t(e),e=a(e),e=(e=(e=j(e)).replace(/~D/g,"$$")).replace(/~T/g,"~")};var u,t=function(e){return e=e.replace(/^[ ]{0,3}\[(.+)\]:[ \t]*\n?[ \t]*<?(\S+?)>?[ \t]*\n?[ \t]*(?:(\n*)["(](.+?)[")][ \t]*)?(?:\n+|\Z)/gm,function(e,t,n,r,o){return t=t.toLowerCase(),h[t]=_(n),r?r+o:(o&&(g[t]=o.replace(/"/g,"&quot;")),"")})},r=function(e){return e=(e=(e=(e=(e=(e=(e=e.replace(/\n/g,"\n\n")).replace(/^(<(p|div|h[1-6]|blockquote|pre|table|dl|ol|ul|script|noscript|form|fieldset|iframe|math|ins|del)\b[^\r]*?\n<\/\2>[ \t]*(?=\n+))/gm,o)).replace(/^(<(p|div|h[1-6]|blockquote|pre|table|dl|ol|ul|script|noscript|form|fieldset|iframe|math)\b[^\r]*?.*<\/\2>[ \t]*(?=\n+)\n)/gm,o)).replace(/(\n[ ]{0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,o)).replace(/(\n\n[ ]{0,3}<!(--[^\r]*?--\s*)+>[ \t]*(?=\n{2,}))/g,o)).replace(/(?:\n\n)([ ]{0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,o)).replace(/\n\n/g,"\n")},o=function(e,t){var n=t;return n=(n=(n=n.replace(/\n\n/g,"\n")).replace(/^\n/,"")).replace(/\n+$/g,""),n="\n\n~K"+(s.push(n)-1)+"K\n\n"},a=function(e){e=m(e);var t=b("<hr />");return e=(e=(e=e.replace(/^[ ]{0,2}([ ]?\*[ ]?){3,}[ \t]*$/gm,t)).replace(/^[ ]{0,2}([ ]?\-[ ]?){3,}[ \t]*$/gm,t)).replace(/^[ ]{0,2}([ ]?\_[ ]?){3,}[ \t]*$/gm,t),e=v(e),e=y(e),e=T(e),e=r(e),e=C(e)},c=function(e){return e=x(e),e=i(e),e=A(e),e=d(e),e=l(e),e=S(e),e=_(e),e=(e=k(e)).replace(/ +\n/g," <br />\n")},i=function(e){return e=e.replace(/(<[a-z\/!$]("[^"]*"|'[^']*'|[^'">])*>|<!(--.*?--\s*)+>)/gi,function(e){var t=e.replace(/(.)<\/?code>(?=.)/g,"$1`");return t=q(t,"\\`*_")})},l=function(e){return e=(e=(e=e.replace(/(\[((?:\[[^\]]*\]|[^\[\]])*)\][ ]?(?:\n[ ]*)?\[(.*?)\])()()()()/g,p)).replace(/(\[((?:\[[^\]]*\]|[^\[\]])*)\]\([ \t]*()<?(.*?)>?[ \t]*((['"])(.*?)\6[ \t]*)?\))/g,p)).replace(/(\[([^\[\]]+)\])()()()()()/g,p)},p=function(e,t,n,r,o,i,a,s){null==s&&(s="");var u=t,c=n,l=r.toLowerCase(),p=o,d=s;if(""==p)if(""==l&&(l=c.toLowerCase().replace(/ ?\n/g," ")),p="#"+l,null!=h[l])p=h[l],null!=g[l]&&(d=g[l]);else{if(!(-1<u.search(/\(\s*\)$/m)))return u;p=""}var f='<a href="'+(p=q(p,"*_"))+'"';return""!=d&&(d=d.replace(/"/g,"&quot;"),f+=' title="'+(d=q(d,"*_"))+'"'),f+=">"+c+"</a>"},d=function(e){return e=(e=e.replace(/(!\[(.*?)\][ ]?(?:\n[ ]*)?\[(.*?)\])()()()()/g,f)).replace(/(!\[(.*?)\]\s?\([ \t]*()<?(\S+?)>?[ \t]*((['"])(.*?)\6[ \t]*)?\))/g,f)},f=function(e,t,n,r,o,i,a,s){var u=t,c=n,l=r.toLowerCase(),p=o,d=s;if(d||(d=""),""==p){if(""==l&&(l=c.toLowerCase().replace(/ ?\n/g," ")),p="#"+l,null==h[l])return u;p=h[l],null!=g[l]&&(d=g[l])}c=c.replace(/"/g,"&quot;");var f='<img src="'+(p=q(p,"*_"))+'" alt="'+c+'"';return d=d.replace(/"/g,"&quot;"),f+=' title="'+(d=q(d,"*_"))+'"',f+=" />"},m=function(e){return e=(e=(e=e.replace(/^(.+)[ \t]*\n=+[ \t]*\n+/gm,function(e,t){return b("<h1>"+c(t)+"</h1>")})).replace(/^(.+)[ \t]*\n-+[ \t]*\n+/gm,function(e,t){return b("<h2>"+c(t)+"</h2>")})).replace(/^(\#{1,6})[ \t]*(.+?)[ \t]*\#*\n+/gm,function(e,t,n){var r=t.length;return b("<h"+r+">"+c(n)+"</h"+r+">")})},v=function(e){e+="~0";var t=/^(([ ]{0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(~0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm;return e=(e=n?e.replace(t,function(e,t,n){var r=t,o=-1<n.search(/[*+-]/g)?"ul":"ol";r=r.replace(/\n{2,}/g,"\n\n\n");var i=u(r);return i="<"+o+">"+(i=i.replace(/\s+$/,""))+"</"+o+">\n"}):(t=/(\n\n|^\n?)(([ ]{0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(~0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/g,e.replace(t,function(e,t,n,r){var o=t,i=n,a=-1<r.search(/[*+-]/g)?"ul":"ol",s=(i=i.replace(/\n{2,}/g,"\n\n\n"),u(i));return s=o+"<"+a+">\n"+s+"</"+a+">\n"}))).replace(/~0/,"")};u=function(e){return n++,e=e.replace(/\n{2,}$/,"\n"),e=(e=(e+="~0").replace(/(\n)?(^[ \t]*)([*+-]|\d+[.])[ \t]+([^\r]+?(\n{1,2}))(?=\n*(~0|\2([*+-]|\d+[.])[ \t]+))/gm,function(e,t,n,r,o){var i=o;return"<li>"+(i=t||-1<i.search(/\n{2,}/)?a(D(i)):(i=(i=v(D(i))).replace(/\n$/,""),c(i)))+"</li>\n"})).replace(/~0/g,""),n--,e};var y=function(e){return e=(e=(e+="~0").replace(/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=~0))/g,function(e,t,n){var r=t,o=n;return r=w(D(r)),r=(r=(r=N(r)).replace(/^\n+/g,"")).replace(/\n+$/g,""),b(r="<pre><code>"+r+"\n</code></pre>")+o})).replace(/~0/,"")},b=function(e){return e=e.replace(/(^\n+|\n+$)/g,""),"\n\n~K"+(s.push(e)-1)+"K\n\n"},x=function(e){return e=e.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,function(e,t,n,r,o){var i=r;return i=(i=i.replace(/^([ \t]*)/g,"")).replace(/[ \t]*$/g,""),t+"<code>"+(i=w(i))+"</code>"})},w=function(e){return e=(e=(e=e.replace(/&/g,"&amp;")).replace(/</g,"&lt;")).replace(/>/g,"&gt;"),e=q(e,"*_{}[]\\",!1)},k=function(e){return e=(e=e.replace(/(\*\*|__)(?=\S)([^\r]*?\S[*_]*)\1/g,"<strong>$2</strong>")).replace(/(\*|_)(?=\S)([^\r]*?\S)\1/g,"<em>$2</em>")},T=function(e){return e=e.replace(/((^[ \t]*>[ \t]?.+\n(.+\n)*\n*)+)/gm,function(e,t){var n=t;return n=(n=(n=n.replace(/^[ \t]*>[ \t]?/gm,"~0")).replace(/~0/g,"")).replace(/^[ \t]+$/gm,""),n=(n=(n=a(n)).replace(/(^|\n)/g,"$1 ")).replace(/(\s*<pre>[^\r]+?<\/pre>)/gm,function(e,t){var n=t;return n=(n=n.replace(/^ /gm,"~0")).replace(/~0/g,"")}),b("<blockquote>\n"+n+"\n</blockquote>")})},C=function(e){for(var t=(e=(e=e.replace(/^\n+/g,"")).replace(/\n+$/g,"")).split(/\n{2,}/g),n=new Array,r=t.length,o=0;o<r;o++){var i=t[o];0<=i.search(/~K(\d+)K/g)?n.push(i):0<=i.search(/\S/)&&(i=(i=c(i)).replace(/^([ \t]*)/g,"<p>"),i+="</p>",n.push(i))}r=n.length;for(o=0;o<r;o++)for(;0<=n[o].search(/~K(\d+)K/);){var a=s[RegExp.$1];a=a.replace(/\$/g,"$$$$"),n[o]=n[o].replace(/~K\d+K/,a)}return n.join("\n\n")},_=function(e){return e=(e=e.replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\w+);)/g,"&amp;")).replace(/<(?![a-z\/?\$!])/gi,"&lt;")},A=function(e){return e=(e=e.replace(/\\(\\)/g,$)).replace(/\\([`*_{}\[\]()>#+-.!])/g,$)},S=function(e){return e=(e=e.replace(/<((https?|ftp|dict):[^'">\s]+)>/gi,'<a href="$1">$1</a>')).replace(/<(?:mailto:)?([-.\w]+\@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,function(e,t){return E(j(t))})},E=function(e){var n=[function(e){return"&#"+e.charCodeAt(0)+";"},function(e){return"&#x"+function(e){var t="0123456789ABCDEF",n=e.charCodeAt(0);return t.charAt(n>>4)+t.charAt(15&n)}(e)+";"},function(e){return e}];return e=(e='<a href="'+(e=(e="mailto:"+e).replace(/./g,function(e){if("@"==e)e=n[Math.floor(2*Math.random())](e);else if(":"!=e){var t=Math.random();e=.9<t?n[2](e):.45<t?n[1](e):n[0](e)}return e}))+'">'+e+"</a>").replace(/">.+:/g,'">')},j=function(e){return e=e.replace(/~E(\d+)E/g,function(e,t){var n=parseInt(t);return String.fromCharCode(n)})},D=function(e){return e=(e=e.replace(/^(\t|[ ]{1,4})/gm,"~0")).replace(/~0/g,"")},N=function(e){return e=(e=(e=(e=(e=e.replace(/\t(?=\t)/g," ")).replace(/\t/g,"~A~B")).replace(/~B(.+?)~A/g,function(e,t,n){for(var r=t,o=4-r.length%4,i=0;i<o;i++)r+=" ";return r})).replace(/~A/g," ")).replace(/~B/g,"")},q=function(e,t,n){var r="(["+t.replace(/([\[\]\\])/g,"\\$1")+"])";n&&(r="\\\\"+r);var o=new RegExp(r,"g");return e=e.replace(o,$)},$=function(e,t){return"~E"+t.charCodeAt(0)+"E"}}};$(document).ready(function(){$('a[href*="#"]:not([href="#"])').click(function(){if(location.pathname.replace(/^\//,"")===this.pathname.replace(/^\//,"")&&location.hostname===this.hostname){var e=$(this.hash);if((e=e.length?e:$("[name="+this.hash.slice(1)+"]")).length)return $("html,body").animate({scrollTop:e.offset().top},1e3),!1}})}),function(){var e,o,t,i=Array(),a=Array();function n(t){$(".browse").addClass("uploading");var n=$('<li style="clear:both;"/>');n.append($('<div><div class="upload-progress"><span></span><div class="bar" style="width:0%;">####################################################</div></div><p>Uploading... '+t.name+"</p></div>")),$(n).appendTo($(".queue"));var r=new XMLHttpRequest;r.upload.addEventListener("progress",function(e){var t=parseInt(e.loaded/e.total*100);$(".upload-progress",$(n)).show(),$(".upload-progress .bar",$(n)).css("width",t+"%"),$(".upload-progress span ",$(n)).empty().append(t+"%")},!1),r.onreadystatechange=function(){if(4===r.readyState){$("#web").addClass("uploading"),200===r.status?$(n).html('<a target="_blank" href="'+r.responseText+'">'+r.responseText+"</a>"):$(n).html("<span>Error ("+r.status+") during upload of file "+t.name+"</span>");var e=a.indexOf(r);-1<e&&a.splice(e,1),i.push(URI(r.responseText.replace("\n","")).path()),$(".download-zip").attr("href",URI("("+i.join(",")+").zip").absoluteTo(location.href).toString()),$(".download-tar").attr("href",URI("("+i.join(",")+").tar.gz").absoluteTo(location.href).toString()),$(".all-files").addClass("show")}},a.push(r),r.open("PUT","./"+t.name,!0),r.send(t)}$(window).bind("beforeunload",function(){if(0!==a.length)return"There are still "+a.length+" files being uploaded."}),$(document).bind("dragenter",function(e){e.preventDefault()}).bind("dragover",function(e){e.preventDefault(),$("#terminal").addClass("dragged"),$("#web").addClass("dragged")}).bind("dragleave",function(){$("#terminal").removeClass("dragged"),$("#web").removeClass("dragged")}).bind("drop dragdrop",function(e){var t=e.originalEvent.target.files||e.originalEvent.dataTransfer.files;$.each(t,function(e,t){n(t)}),e.stopPropagation(),e.preventDefault()}),$("a.browse").on("click",function(){return $("input[type=file]").click(),!1}),$("input[type=file]").on("change",function(){$.each(this.files,function(e,t){t instanceof Blob&&n(t)})}),-1<window.location.href.indexOf("download")&&(e=document.getElementById("copy-link-btn"),o=document.getElementById("copy-link-wrapper"),t=document.getElementById("overlay"),e.addEventListener("click",function(){for(var e=document.getElementsByClassName("error");e[0];)e[0].parentNode.removeChild(e[0]);document.body.className+=" active",o.children[1].value="http://url",o.children[1].focus(),o.children[1].select()},!1),t.addEventListener("click",function(){document.body.className=""},!1),o.children[1].addEventListener("keydown",function(n){for(var e=document.getElementsByClassName("error");e[0];)e[0].parentNode.removeChild(e[0]);function r(e){return"number"==typeof e.selectionStart?0===e.selectionStart&&e.selectionEnd===e.value.length:void 0!==document.selection?(e.focus(),document.selection.createRange().text===e.value):void 0}setTimeout(function(){if((n.metaKey||n.ctrlKey)&&67===n.keyCode&&r(o.children[2]))document.body.className="";else if((n.metaKey||n.ctrlKey)&&67===n.keyCode&&!1===r(o.children[2])){var e=document.createElement("span");e.className="error";var t=document.createTextNode("The link was not copied, make sure the entire text is selected.");e.appendChild(t),o.appendChild(e)}},100)},!1))}();