!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1)}([function(e,t,n){var r;
/*!
 * jQuery JavaScript Library v3.6.0
 * https://jquery.com/
 *
 * Includes Sizzle.js
 * https://sizzlejs.com/
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license
 * https://jquery.org/license
 *
 * Date: 2021-03-02T17:08Z
 */!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,(function(n,i){"use strict";var a=[],o=Object.getPrototypeOf,s=a.slice,l=a.flat?function(e){return a.flat.call(e)}:function(e){return a.concat.apply([],e)},c=a.push,u=a.indexOf,d={},p=d.toString,f=d.hasOwnProperty,h=f.toString,v=h.call(Object),y={},g=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},m=function(e){return null!=e&&e===e.window},b=n.document,x={type:!0,src:!0,nonce:!0,noModule:!0};function k(e,t,n){var r,i,a=(n=n||b).createElement("script");if(a.text=e,t)for(r in x)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&a.setAttribute(r,i);n.head.appendChild(a).parentNode.removeChild(a)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?d[p.call(e)]||"object":typeof e}var C=function(e,t){return new C.fn.init(e,t)};function T(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!g(e)&&!m(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}C.fn=C.prototype={jquery:"3.6.0",constructor:C,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=C.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return C.each(this,e)},map:function(e){return this.pushStack(C.map(this,(function(t,n){return e.call(t,n,t)})))},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(C.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(C.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:c,sort:a.sort,splice:a.splice},C.extend=C.fn.extend=function(){var e,t,n,r,i,a,o=arguments[0]||{},s=1,l=arguments.length,c=!1;for("boolean"==typeof o&&(c=o,o=arguments[s]||{},s++),"object"==typeof o||g(o)||(o={}),s===l&&(o=this,s--);s<l;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&o!==r&&(c&&r&&(C.isPlainObject(r)||(i=Array.isArray(r)))?(n=o[t],a=i&&!Array.isArray(n)?[]:i||C.isPlainObject(n)?n:{},i=!1,o[t]=C.extend(c,a,r)):void 0!==r&&(o[t]=r));return o},C.extend({expando:"jQuery"+("3.6.0"+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]"!==p.call(e))&&(!(t=o(e))||"function"==typeof(n=f.call(t,"constructor")&&t.constructor)&&h.call(n)===v)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){k(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(T(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&&(T(Object(e))?C.merge(n,"string"==typeof e?[e]:e):c.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:u.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,a=e.length,o=!n;i<a;i++)!t(e[i],i)!==o&&r.push(e[i]);return r},map:function(e,t,n){var r,i,a=0,o=[];if(T(e))for(r=e.length;a<r;a++)null!=(i=t(e[a],a,n))&&o.push(i);else for(a in e)null!=(i=t(e[a],a,n))&&o.push(i);return l(o)},guid:1,support:y}),"function"==typeof Symbol&&(C.fn[Symbol.iterator]=a[Symbol.iterator]),C.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){d["[object "+t+"]"]=t.toLowerCase()}));var A=
/*!
 * Sizzle CSS Selector Engine v2.3.6
 * https://sizzlejs.com/
 *
 * Copyright JS Foundation and other contributors
 * Released under the MIT license
 * https://js.foundation/
 *
 * Date: 2021-02-16
 */
function(e){var t,n,r,i,a,o,s,l,c,u,d,p,f,h,v,y,g,m,b,x="sizzle"+1*new Date,k=e.document,w=0,C=0,T=le(),A=le(),E=le(),S=le(),$=function(e,t){return e===t&&(d=!0),0},D={}.hasOwnProperty,N=[],j=N.pop,L=N.push,O=N.push,P=N.slice,q=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",H="[\\x20\\t\\r\\n\\f]",R="(?:\\\\[\\da-fA-F]{1,6}"+H+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",B="\\["+H+"*("+R+")(?:"+H+"*([*^$|!~]?=)"+H+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+R+"))|)"+H+"*\\]",M=":("+R+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+B+")*)|.*)\\)|)",K=new RegExp(H+"+","g"),V=new RegExp("^"+H+"+|((?:^|[^\\\\])(?:\\\\.)*)"+H+"+$","g"),W=new RegExp("^"+H+"*,"+H+"*"),F=new RegExp("^"+H+"*([>+~]|"+H+")"+H+"*"),_=new RegExp(H+"|>"),z=new RegExp(M),U=new RegExp("^"+R+"$"),X={ID:new RegExp("^#("+R+")"),CLASS:new RegExp("^\\.("+R+")"),TAG:new RegExp("^("+R+"|[*])"),ATTR:new RegExp("^"+B),PSEUDO:new RegExp("^"+M),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+H+"*(even|odd|(([+-]|)(\\d*)n|)"+H+"*(?:([+-]|)"+H+"*(\\d+)|))"+H+"*\\)|)","i"),bool:new RegExp("^(?:"+I+")$","i"),needsContext:new RegExp("^"+H+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+H+"*((?:-\\d)?\\d*)"+H+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,G=/^(?:input|select|textarea|button)$/i,Q=/^h\d$/i,J=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+H+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ae=function(){p()},oe=xe((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{O.apply(N=P.call(k.childNodes),k.childNodes),N[k.childNodes.length].nodeType}catch(e){O={apply:N.length?function(e,t){L.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(e,t,r,i){var a,s,c,u,d,h,g,m=t&&t.ownerDocument,k=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==k&&9!==k&&11!==k)return r;if(!i&&(p(t),t=t||f,v)){if(11!==k&&(d=Z.exec(e)))if(a=d[1]){if(9===k){if(!(c=t.getElementById(a)))return r;if(c.id===a)return r.push(c),r}else if(m&&(c=m.getElementById(a))&&b(t,c)&&c.id===a)return r.push(c),r}else{if(d[2])return O.apply(r,t.getElementsByTagName(e)),r;if((a=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return O.apply(r,t.getElementsByClassName(a)),r}if(n.qsa&&!S[e+" "]&&(!y||!y.test(e))&&(1!==k||"object"!==t.nodeName.toLowerCase())){if(g=e,m=t,1===k&&(_.test(e)||F.test(e))){for((m=ee.test(e)&&ge(t.parentNode)||t)===t&&n.scope||((u=t.getAttribute("id"))?u=u.replace(re,ie):t.setAttribute("id",u=x)),s=(h=o(e)).length;s--;)h[s]=(u?"#"+u:":scope")+" "+be(h[s]);g=h.join(",")}try{return O.apply(r,m.querySelectorAll(g)),r}catch(t){S(e,!0)}finally{u===x&&t.removeAttribute("id")}}}return l(e.replace(V,"$1"),t,r,i)}function le(){var e=[];return function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}}function ce(e){return e[x]=!0,e}function ue(e){var t=f.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var n=e.split("|"),i=n.length;i--;)r.attrHandle[n[i]]=t}function pe(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(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function he(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function ve(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&oe(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ye(e){return ce((function(t){return t=+t,ce((function(n,r){for(var i,a=e([],n.length,t),o=a.length;o--;)n[i=a[o]]&&(n[i]=!(r[i]=n[i]))}))}))}function ge(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=se.support={},a=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},p=se.setDocument=function(e){var t,i,o=e?e.ownerDocument||e:k;return o!=f&&9===o.nodeType&&o.documentElement?(h=(f=o).documentElement,v=!a(f),k!=f&&(i=f.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",ae,!1):i.attachEvent&&i.attachEvent("onunload",ae)),n.scope=ue((function(e){return h.appendChild(e).appendChild(f.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),n.attributes=ue((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=ue((function(e){return e.appendChild(f.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=J.test(f.getElementsByClassName),n.getById=ue((function(e){return h.appendChild(e).id=x,!f.getElementsByName||!f.getElementsByName(x).length})),n.getById?(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&v){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&v){var n,r,i,a=t.getElementById(e);if(a){if((n=a.getAttributeNode("id"))&&n.value===e)return[a];for(i=t.getElementsByName(e),r=0;a=i[r++];)if((n=a.getAttributeNode("id"))&&n.value===e)return[a]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,a=t.getElementsByTagName(e);if("*"===e){for(;n=a[i++];)1===n.nodeType&&r.push(n);return r}return a},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&v)return t.getElementsByClassName(e)},g=[],y=[],(n.qsa=J.test(f.querySelectorAll))&&(ue((function(e){var t;h.appendChild(e).innerHTML="<a id='"+x+"'></a><select id='"+x+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&y.push("[*^$]="+H+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||y.push("\\["+H+"*(?:value|"+I+")"),e.querySelectorAll("[id~="+x+"-]").length||y.push("~="),(t=f.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||y.push("\\["+H+"*name"+H+"*="+H+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||y.push(":checked"),e.querySelectorAll("a#"+x+"+*").length||y.push(".#.+[+~]"),e.querySelectorAll("\\\f"),y.push("[\\r\\n\\f]")})),ue((function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=f.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&y.push("name"+H+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&y.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&y.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),y.push(",.*:")}))),(n.matchesSelector=J.test(m=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ue((function(e){n.disconnectedMatch=m.call(e,"*"),m.call(e,"[s!='']:x"),g.push("!=",M)})),y=y.length&&new RegExp(y.join("|")),g=g.length&&new RegExp(g.join("|")),t=J.test(h.compareDocumentPosition),b=t||J.test(h.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},$=t?function(e,t){if(e===t)return d=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e==f||e.ownerDocument==k&&b(k,e)?-1:t==f||t.ownerDocument==k&&b(k,t)?1:u?q(u,e)-q(u,t):0:4&r?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,r=0,i=e.parentNode,a=t.parentNode,o=[e],s=[t];if(!i||!a)return e==f?-1:t==f?1:i?-1:a?1:u?q(u,e)-q(u,t):0;if(i===a)return pe(e,t);for(n=e;n=n.parentNode;)o.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;o[r]===s[r];)r++;return r?pe(o[r],s[r]):o[r]==k?-1:s[r]==k?1:0},f):f},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(p(e),n.matchesSelector&&v&&!S[t+" "]&&(!g||!g.test(t))&&(!y||!y.test(t)))try{var r=m.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){S(t,!0)}return se(t,f,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!=f&&p(e),b(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=f&&p(e);var i=r.attrHandle[t.toLowerCase()],a=i&&D.call(r.attrHandle,t.toLowerCase())?i(e,t,!v):void 0;return void 0!==a?a:n.attributes||!v?e.getAttribute(t):(a=e.getAttributeNode(t))&&a.specified?a.value:null},se.escape=function(e){return(e+"").replace(re,ie)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,r=[],i=0,a=0;if(d=!n.detectDuplicates,u=!n.sortStable&&e.slice(0),e.sort($),d){for(;t=e[a++];)t===e[a]&&(i=r.push(a));for(;i--;)e.splice(r[i],1)}return u=null,e},i=se.getText=function(e){var t,n="",r=0,a=e.nodeType;if(a){if(1===a||9===a||11===a){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===a||4===a)return e.nodeValue}else for(;t=e[r++];)n+=i(t);return n},(r=se.selectors={cacheLength:50,createPseudo:ce,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(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 X.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&z.test(n)&&(t=o(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=T[e+" "];return t||(t=new RegExp("(^|"+H+")"+e+"("+H+"|$)"))&&T(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var i=se.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace(K," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var a="nth"!==e.slice(0,3),o="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,l){var c,u,d,p,f,h,v=a!==o?"nextSibling":"previousSibling",y=t.parentNode,g=s&&t.nodeName.toLowerCase(),m=!l&&!s,b=!1;if(y){if(a){for(;v;){for(p=t;p=p[v];)if(s?p.nodeName.toLowerCase()===g:1===p.nodeType)return!1;h=v="only"===e&&!h&&"nextSibling"}return!0}if(h=[o?y.firstChild:y.lastChild],o&&m){for(b=(f=(c=(u=(d=(p=y)[x]||(p[x]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]||[])[0]===w&&c[1])&&c[2],p=f&&y.childNodes[f];p=++f&&p&&p[v]||(b=f=0)||h.pop();)if(1===p.nodeType&&++b&&p===t){u[e]=[w,f,b];break}}else if(m&&(b=f=(c=(u=(d=(p=t)[x]||(p[x]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]||[])[0]===w&&c[1]),!1===b)for(;(p=++f&&p&&p[v]||(b=f=0)||h.pop())&&((s?p.nodeName.toLowerCase()!==g:1!==p.nodeType)||!++b||(m&&((u=(d=p[x]||(p[x]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]=[w,b]),p!==t)););return(b-=i)===r||b%r==0&&b/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return i[x]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?ce((function(e,n){for(var r,a=i(e,t),o=a.length;o--;)e[r=q(e,a[o])]=!(n[r]=a[o])})):function(e){return i(e,0,n)}):i}},pseudos:{not:ce((function(e){var t=[],n=[],r=s(e.replace(V,"$1"));return r[x]?ce((function(e,t,n,i){for(var a,o=r(e,null,i,[]),s=e.length;s--;)(a=o[s])&&(e[s]=!(t[s]=a))})):function(e,i,a){return t[0]=e,r(t,null,a,n),t[0]=null,!n.pop()}})),has:ce((function(e){return function(t){return se(e,t).length>0}})),contains:ce((function(e){return e=e.replace(te,ne),function(t){return(t.textContent||i(t)).indexOf(e)>-1}})),lang:ce((function(e){return U.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=v?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:ve(!1),disabled:ve(!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!r.pseudos.empty(e)},header:function(e){return Q.test(e.nodeName)},input:function(e){return G.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:ye((function(){return[0]})),last:ye((function(e,t){return[t-1]})),eq:ye((function(e,t,n){return[n<0?n+t:n]})),even:ye((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:ye((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:ye((function(e,t,n){for(var r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e})),gt:ye((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}}).pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=fe(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=he(t);function me(){}function be(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function xe(e,t,n){var r=t.dir,i=t.next,a=i||r,o=n&&"parentNode"===a,s=C++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||o)return e(t,n,i);return!1}:function(t,n,l){var c,u,d,p=[w,s];if(l){for(;t=t[r];)if((1===t.nodeType||o)&&e(t,n,l))return!0}else for(;t=t[r];)if(1===t.nodeType||o)if(u=(d=t[x]||(t[x]={}))[t.uniqueID]||(d[t.uniqueID]={}),i&&i===t.nodeName.toLowerCase())t=t[r]||t;else{if((c=u[a])&&c[0]===w&&c[1]===s)return p[2]=c[2];if(u[a]=p,p[2]=e(t,n,l))return!0}return!1}}function ke(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function we(e,t,n,r,i){for(var a,o=[],s=0,l=e.length,c=null!=t;s<l;s++)(a=e[s])&&(n&&!n(a,r,i)||(o.push(a),c&&t.push(s)));return o}function Ce(e,t,n,r,i,a){return r&&!r[x]&&(r=Ce(r)),i&&!i[x]&&(i=Ce(i,a)),ce((function(a,o,s,l){var c,u,d,p=[],f=[],h=o.length,v=a||function(e,t,n){for(var r=0,i=t.length;r<i;r++)se(e,t[r],n);return n}(t||"*",s.nodeType?[s]:s,[]),y=!e||!a&&t?v:we(v,p,e,s,l),g=n?i||(a?e:h||r)?[]:o:y;if(n&&n(y,g,s,l),r)for(c=we(g,f),r(c,[],s,l),u=c.length;u--;)(d=c[u])&&(g[f[u]]=!(y[f[u]]=d));if(a){if(i||e){if(i){for(c=[],u=g.length;u--;)(d=g[u])&&c.push(y[u]=d);i(null,g=[],c,l)}for(u=g.length;u--;)(d=g[u])&&(c=i?q(a,d):p[u])>-1&&(a[c]=!(o[c]=d))}}else g=we(g===o?g.splice(h,g.length):g),i?i(null,o,g,l):O.apply(o,g)}))}function Te(e){for(var t,n,i,a=e.length,o=r.relative[e[0].type],s=o||r.relative[" "],l=o?1:0,u=xe((function(e){return e===t}),s,!0),d=xe((function(e){return q(t,e)>-1}),s,!0),p=[function(e,n,r){var i=!o&&(r||n!==c)||((t=n).nodeType?u(e,n,r):d(e,n,r));return t=null,i}];l<a;l++)if(n=r.relative[e[l].type])p=[xe(ke(p),n)];else{if((n=r.filter[e[l].type].apply(null,e[l].matches))[x]){for(i=++l;i<a&&!r.relative[e[i].type];i++);return Ce(l>1&&ke(p),l>1&&be(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(V,"$1"),n,l<i&&Te(e.slice(l,i)),i<a&&Te(e=e.slice(i)),i<a&&be(e))}p.push(n)}return ke(p)}return me.prototype=r.filters=r.pseudos,r.setFilters=new me,o=se.tokenize=function(e,t){var n,i,a,o,s,l,c,u=A[e+" "];if(u)return t?0:u.slice(0);for(s=e,l=[],c=r.preFilter;s;){for(o in n&&!(i=W.exec(s))||(i&&(s=s.slice(i[0].length)||s),l.push(a=[])),n=!1,(i=F.exec(s))&&(n=i.shift(),a.push({value:n,type:i[0].replace(V," ")}),s=s.slice(n.length)),r.filter)!(i=X[o].exec(s))||c[o]&&!(i=c[o](i))||(n=i.shift(),a.push({value:n,type:o,matches:i}),s=s.slice(n.length));if(!n)break}return t?s.length:s?se.error(e):A(e,l).slice(0)},s=se.compile=function(e,t){var n,i=[],a=[],s=E[e+" "];if(!s){for(t||(t=o(e)),n=t.length;n--;)(s=Te(t[n]))[x]?i.push(s):a.push(s);(s=E(e,function(e,t){var n=t.length>0,i=e.length>0,a=function(a,o,s,l,u){var d,h,y,g=0,m="0",b=a&&[],x=[],k=c,C=a||i&&r.find.TAG("*",u),T=w+=null==k?1:Math.random()||.1,A=C.length;for(u&&(c=o==f||o||u);m!==A&&null!=(d=C[m]);m++){if(i&&d){for(h=0,o||d.ownerDocument==f||(p(d),s=!v);y=e[h++];)if(y(d,o||f,s)){l.push(d);break}u&&(w=T)}n&&((d=!y&&d)&&g--,a&&b.push(d))}if(g+=m,n&&m!==g){for(h=0;y=t[h++];)y(b,x,o,s);if(a){if(g>0)for(;m--;)b[m]||x[m]||(x[m]=j.call(l));x=we(x)}O.apply(l,x),u&&!a&&x.length>0&&g+t.length>1&&se.uniqueSort(l)}return u&&(w=T,c=k),b};return n?ce(a):a}(a,i))).selector=e}return s},l=se.select=function(e,t,n,i){var a,l,c,u,d,p="function"==typeof e&&e,f=!i&&o(e=p.selector||e);if(n=n||[],1===f.length){if((l=f[0]=f[0].slice(0)).length>2&&"ID"===(c=l[0]).type&&9===t.nodeType&&v&&r.relative[l[1].type]){if(!(t=(r.find.ID(c.matches[0].replace(te,ne),t)||[])[0]))return n;p&&(t=t.parentNode),e=e.slice(l.shift().value.length)}for(a=X.needsContext.test(e)?0:l.length;a--&&(c=l[a],!r.relative[u=c.type]);)if((d=r.find[u])&&(i=d(c.matches[0].replace(te,ne),ee.test(l[0].type)&&ge(t.parentNode)||t))){if(l.splice(a,1),!(e=i.length&&be(l)))return O.apply(n,i),n;break}}return(p||s(e,f))(i,t,!v,n,!t||ee.test(e)&&ge(t.parentNode)||t),n},n.sortStable=x.split("").sort($).join("")===x,n.detectDuplicates=!!d,p(),n.sortDetached=ue((function(e){return 1&e.compareDocumentPosition(f.createElement("fieldset"))})),ue((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||de("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&ue((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||de("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),ue((function(e){return null==e.getAttribute("disabled")}))||de(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}(n);C.find=A,C.expr=A.selectors,C.expr[":"]=C.expr.pseudos,C.uniqueSort=C.unique=A.uniqueSort,C.text=A.getText,C.isXMLDoc=A.isXML,C.contains=A.contains,C.escapeSelector=A.escape;var E=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&C(e).is(n))break;r.push(e)}return r},S=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},$=C.expr.match.needsContext;function D(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var N=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,t,n){return g(t)?C.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?C.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?C.grep(e,(function(e){return u.call(t,e)>-1!==n})):C.filter(t,e,n)}C.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?C.find.matchesSelector(r,e)?[r]:[]:C.find.matches(e,C.grep(t,(function(e){return 1===e.nodeType})))},C.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(C(e).filter((function(){for(t=0;t<r;t++)if(C.contains(i[t],this))return!0})));for(n=this.pushStack([]),t=0;t<r;t++)C.find(e,i[t],n);return r>1?C.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&&$.test(e)?C(e):e||[],!1).length}});var L,O=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(C.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||L,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:O.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 C?t[0]:t,C.merge(this,C.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),N.test(r[1])&&C.isPlainObject(t))for(r in t)g(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=b.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):g(e)?void 0!==n.ready?n.ready(e):e(C):C.makeArray(e,this)}).prototype=C.fn,L=C(b);var P=/^(?:parents|prev(?:Until|All))/,q={children:!0,contents:!0,next:!0,prev:!0};function I(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}C.fn.extend({has:function(e){var t=C(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(C.contains(this,t[e]))return!0}))},closest:function(e,t){var n,r=0,i=this.length,a=[],o="string"!=typeof e&&C(e);if(!$.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(o?o.index(n)>-1:1===n.nodeType&&C.find.matchesSelector(n,e))){a.push(n);break}return this.pushStack(a.length>1?C.uniqueSort(a):a)},index:function(e){return e?"string"==typeof e?u.call(C(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(C.uniqueSort(C.merge(this.get(),C(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),C.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return E(e,"parentNode")},parentsUntil:function(e,t,n){return E(e,"parentNode",n)},next:function(e){return I(e,"nextSibling")},prev:function(e){return I(e,"previousSibling")},nextAll:function(e){return E(e,"nextSibling")},prevAll:function(e){return E(e,"previousSibling")},nextUntil:function(e,t,n){return E(e,"nextSibling",n)},prevUntil:function(e,t,n){return E(e,"previousSibling",n)},siblings:function(e){return S((e.parentNode||{}).firstChild,e)},children:function(e){return S(e.firstChild)},contents:function(e){return null!=e.contentDocument&&o(e.contentDocument)?e.contentDocument:(D(e,"template")&&(e=e.content||e),C.merge([],e.childNodes))}},(function(e,t){C.fn[e]=function(n,r){var i=C.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=C.filter(r,i)),this.length>1&&(q[e]||C.uniqueSort(i),P.test(e)&&i.reverse()),this.pushStack(i)}}));var H=/[^\x20\t\r\n\f]+/g;function R(e){return e}function B(e){throw e}function M(e,t,n,r){var i;try{e&&g(i=e.promise)?i.call(e).done(t).fail(n):e&&g(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}C.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return C.each(e.match(H)||[],(function(e,n){t[n]=!0})),t}(e):C.extend({},e);var t,n,r,i,a=[],o=[],s=-1,l=function(){for(i=i||e.once,r=t=!0;o.length;s=-1)for(n=o.shift();++s<a.length;)!1===a[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=a.length,n=!1);e.memory||(n=!1),t=!1,i&&(a=n?[]:"")},c={add:function(){return a&&(n&&!t&&(s=a.length-1,o.push(n)),function t(n){C.each(n,(function(n,r){g(r)?e.unique&&c.has(r)||a.push(r):r&&r.length&&"string"!==w(r)&&t(r)}))}(arguments),n&&!t&&l()),this},remove:function(){return C.each(arguments,(function(e,t){for(var n;(n=C.inArray(t,a,n))>-1;)a.splice(n,1),n<=s&&s--})),this},has:function(e){return e?C.inArray(e,a)>-1:a.length>0},empty:function(){return a&&(a=[]),this},disable:function(){return i=o=[],a=n="",this},disabled:function(){return!a},lock:function(){return i=o=[],n||t||(a=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],o.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},C.extend({Deferred:function(e){var t=[["notify","progress",C.Callbacks("memory"),C.Callbacks("memory"),2],["resolve","done",C.Callbacks("once memory"),C.Callbacks("once memory"),0,"resolved"],["reject","fail",C.Callbacks("once memory"),C.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return a.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return C.Deferred((function(n){C.each(t,(function(t,r){var i=g(e[r[4]])&&e[r[4]];a[r[1]]((function(){var e=i&&i.apply(this,arguments);e&&g(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[e]:arguments)}))})),e=null})).promise()},then:function(e,r,i){var a=0;function o(e,t,r,i){return function(){var s=this,l=arguments,c=function(){var n,c;if(!(e<a)){if((n=r.apply(s,l))===t.promise())throw new TypeError("Thenable self-resolution");c=n&&("object"==typeof n||"function"==typeof n)&&n.then,g(c)?i?c.call(n,o(a,t,R,i),o(a,t,B,i)):(a++,c.call(n,o(a,t,R,i),o(a,t,B,i),o(a,t,R,t.notifyWith))):(r!==R&&(s=void 0,l=[n]),(i||t.resolveWith)(s,l))}},u=i?c:function(){try{c()}catch(n){C.Deferred.exceptionHook&&C.Deferred.exceptionHook(n,u.stackTrace),e+1>=a&&(r!==B&&(s=void 0,l=[n]),t.rejectWith(s,l))}};e?u():(C.Deferred.getStackHook&&(u.stackTrace=C.Deferred.getStackHook()),n.setTimeout(u))}}return C.Deferred((function(n){t[0][3].add(o(0,n,g(i)?i:R,n.notifyWith)),t[1][3].add(o(0,n,g(e)?e:R)),t[2][3].add(o(0,n,g(r)?r:B))})).promise()},promise:function(e){return null!=e?C.extend(e,i):i}},a={};return C.each(t,(function(e,n){var o=n[2],s=n[5];i[n[1]]=o.add,s&&o.add((function(){r=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),o.add(n[3].fire),a[n[0]]=function(){return a[n[0]+"With"](this===a?void 0:this,arguments),this},a[n[0]+"With"]=o.fireWith})),i.promise(a),e&&e.call(a,a),a},when:function(e){var t=arguments.length,n=t,r=Array(n),i=s.call(arguments),a=C.Deferred(),o=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?s.call(arguments):n,--t||a.resolveWith(r,i)}};if(t<=1&&(M(e,a.done(o(n)).resolve,a.reject,!t),"pending"===a.state()||g(i[n]&&i[n].then)))return a.then();for(;n--;)M(i[n],o(n),a.reject);return a.promise()}});var K=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;C.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&K.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},C.readyException=function(e){n.setTimeout((function(){throw e}))};var V=C.Deferred();function W(){b.removeEventListener("DOMContentLoaded",W),n.removeEventListener("load",W),C.ready()}C.fn.ready=function(e){return V.then(e).catch((function(e){C.readyException(e)})),this},C.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--C.readyWait:C.isReady)||(C.isReady=!0,!0!==e&&--C.readyWait>0||V.resolveWith(b,[C]))}}),C.ready.then=V.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?n.setTimeout(C.ready):(b.addEventListener("DOMContentLoaded",W),n.addEventListener("load",W));var F=function(e,t,n,r,i,a,o){var s=0,l=e.length,c=null==n;if("object"===w(n))for(s in i=!0,n)F(e,t,s,n[s],!0,a,o);else if(void 0!==r&&(i=!0,g(r)||(o=!0),c&&(o?(t.call(e,r),t=null):(c=t,t=function(e,t,n){return c.call(C(e),n)})),t))for(;s<l;s++)t(e[s],n,o?r:r.call(e[s],s,t(e[s],n)));return i?e:c?t.call(e):l?t(e[0],n):a},_=/^-ms-/,z=/-([a-z])/g;function U(e,t){return t.toUpperCase()}function X(e){return e.replace(_,"ms-").replace(z,U)}var Y=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function G(){this.expando=C.expando+G.uid++}G.uid=1,G.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Y(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[X(t)]=n;else for(r in t)i[X(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][X(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(X):(t=X(t))in r?[t]:t.match(H)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||C.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&&!C.isEmptyObject(t)}};var Q=new G,J=new G,Z=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ee=/[A-Z]/g;function te(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(ee,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:Z.test(e)?JSON.parse(e):e)}(n)}catch(e){}J.set(e,t,n)}else n=void 0;return n}C.extend({hasData:function(e){return J.hasData(e)||Q.hasData(e)},data:function(e,t,n){return J.access(e,t,n)},removeData:function(e,t){J.remove(e,t)},_data:function(e,t,n){return Q.access(e,t,n)},_removeData:function(e,t){Q.remove(e,t)}}),C.fn.extend({data:function(e,t){var n,r,i,a=this[0],o=a&&a.attributes;if(void 0===e){if(this.length&&(i=J.get(a),1===a.nodeType&&!Q.get(a,"hasDataAttrs"))){for(n=o.length;n--;)o[n]&&0===(r=o[n].name).indexOf("data-")&&(r=X(r.slice(5)),te(a,r,i[r]));Q.set(a,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each((function(){J.set(this,e)})):F(this,(function(t){var n;if(a&&void 0===t)return void 0!==(n=J.get(a,e))||void 0!==(n=te(a,e))?n:void 0;this.each((function(){J.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){J.remove(this,e)}))}}),C.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Q.get(e,t),n&&(!r||Array.isArray(n)?r=Q.access(e,t,C.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=C.queue(e,t),r=n.length,i=n.shift(),a=C._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete a.stop,i.call(e,(function(){C.dequeue(e,t)}),a)),!r&&a&&a.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Q.get(e,n)||Q.access(e,n,{empty:C.Callbacks("once memory").add((function(){Q.remove(e,[t+"queue",n])}))})}}),C.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?C.queue(this[0],e):void 0===t?this:this.each((function(){var n=C.queue(this,e,t);C._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&C.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){C.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=C.Deferred(),a=this,o=this.length,s=function(){--r||i.resolveWith(a,[a])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";o--;)(n=Q.get(a[o],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var ne=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,re=new RegExp("^(?:([+-])=|)("+ne+")([a-z%]*)$","i"),ie=["Top","Right","Bottom","Left"],ae=b.documentElement,oe=function(e){return C.contains(e.ownerDocument,e)},se={composed:!0};ae.getRootNode&&(oe=function(e){return C.contains(e.ownerDocument,e)||e.getRootNode(se)===e.ownerDocument});var le=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&oe(e)&&"none"===C.css(e,"display")};function ce(e,t,n,r){var i,a,o=20,s=r?function(){return r.cur()}:function(){return C.css(e,t,"")},l=s(),c=n&&n[3]||(C.cssNumber[t]?"":"px"),u=e.nodeType&&(C.cssNumber[t]||"px"!==c&&+l)&&re.exec(C.css(e,t));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;o--;)C.style(e,t,u+c),(1-a)*(1-(a=s()/l||.5))<=0&&(o=0),u/=a;u*=2,C.style(e,t,u+c),n=n||[]}return n&&(u=+u||+l||0,i=n[1]?u+(n[1]+1)*n[2]:+n[2],r&&(r.unit=c,r.start=u,r.end=i)),i}var ue={};function de(e){var t,n=e.ownerDocument,r=e.nodeName,i=ue[r];return i||(t=n.body.appendChild(n.createElement(r)),i=C.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),ue[r]=i,i)}function pe(e,t){for(var n,r,i=[],a=0,o=e.length;a<o;a++)(r=e[a]).style&&(n=r.style.display,t?("none"===n&&(i[a]=Q.get(r,"display")||null,i[a]||(r.style.display="")),""===r.style.display&&le(r)&&(i[a]=de(r))):"none"!==n&&(i[a]="none",Q.set(r,"display",n)));for(a=0;a<o;a++)null!=i[a]&&(e[a].style.display=i[a]);return e}C.fn.extend({show:function(){return pe(this,!0)},hide:function(){return pe(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){le(this)?C(this).show():C(this).hide()}))}});var fe,he,ve=/^(?:checkbox|radio)$/i,ye=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ge=/^$|^module$|\/(?:java|ecma)script/i;fe=b.createDocumentFragment().appendChild(b.createElement("div")),(he=b.createElement("input")).setAttribute("type","radio"),he.setAttribute("checked","checked"),he.setAttribute("name","t"),fe.appendChild(he),y.checkClone=fe.cloneNode(!0).cloneNode(!0).lastChild.checked,fe.innerHTML="<textarea>x</textarea>",y.noCloneChecked=!!fe.cloneNode(!0).lastChild.defaultValue,fe.innerHTML="<option></option>",y.option=!!fe.lastChild;var me={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 be(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&D(e,t)?C.merge([e],n):n}function xe(e,t){for(var n=0,r=e.length;n<r;n++)Q.set(e[n],"globalEval",!t||Q.get(t[n],"globalEval"))}me.tbody=me.tfoot=me.colgroup=me.caption=me.thead,me.th=me.td,y.option||(me.optgroup=me.option=[1,"<select multiple='multiple'>","</select>"]);var ke=/<|&#?\w+;/;function we(e,t,n,r,i){for(var a,o,s,l,c,u,d=t.createDocumentFragment(),p=[],f=0,h=e.length;f<h;f++)if((a=e[f])||0===a)if("object"===w(a))C.merge(p,a.nodeType?[a]:a);else if(ke.test(a)){for(o=o||d.appendChild(t.createElement("div")),s=(ye.exec(a)||["",""])[1].toLowerCase(),l=me[s]||me._default,o.innerHTML=l[1]+C.htmlPrefilter(a)+l[2],u=l[0];u--;)o=o.lastChild;C.merge(p,o.childNodes),(o=d.firstChild).textContent=""}else p.push(t.createTextNode(a));for(d.textContent="",f=0;a=p[f++];)if(r&&C.inArray(a,r)>-1)i&&i.push(a);else if(c=oe(a),o=be(d.appendChild(a),"script"),c&&xe(o),n)for(u=0;a=o[u++];)ge.test(a.type||"")&&n.push(a);return d}var Ce=/^([^.]*)(?:\.(.+)|)/;function Te(){return!0}function Ae(){return!1}function Ee(e,t){return e===function(){try{return b.activeElement}catch(e){}}()==("focus"===t)}function Se(e,t,n,r,i,a){var o,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Se(e,s,n,r,t[s],a);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Ae;else if(!i)return e;return 1===a&&(o=i,(i=function(e){return C().off(e),o.apply(this,arguments)}).guid=o.guid||(o.guid=C.guid++)),e.each((function(){C.event.add(this,t,i,r,n)}))}function $e(e,t,n){n?(Q.set(e,t,!1),C.event.add(e,t,{namespace:!1,handler:function(e){var r,i,a=Q.get(this,t);if(1&e.isTrigger&&this[t]){if(a.length)(C.event.special[t]||{}).delegateType&&e.stopPropagation();else if(a=s.call(arguments),Q.set(this,t,a),r=n(this,t),this[t](),a!==(i=Q.get(this,t))||r?Q.set(this,t,!1):i={},a!==i)return e.stopImmediatePropagation(),e.preventDefault(),i&&i.value}else a.length&&(Q.set(this,t,{value:C.event.trigger(C.extend(a[0],C.Event.prototype),a.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,t)&&C.event.add(e,t,Te)}C.event={global:{},add:function(e,t,n,r,i){var a,o,s,l,c,u,d,p,f,h,v,y=Q.get(e);if(Y(e))for(n.handler&&(n=(a=n).handler,i=a.selector),i&&C.find.matchesSelector(ae,i),n.guid||(n.guid=C.guid++),(l=y.events)||(l=y.events=Object.create(null)),(o=y.handle)||(o=y.handle=function(t){return void 0!==C&&C.event.triggered!==t.type?C.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(H)||[""]).length;c--;)f=v=(s=Ce.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),f&&(d=C.event.special[f]||{},f=(i?d.delegateType:d.bindType)||f,d=C.event.special[f]||{},u=C.extend({type:f,origType:v,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&C.expr.match.needsContext.test(i),namespace:h.join(".")},a),(p=l[f])||((p=l[f]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,r,h,o)||e.addEventListener&&e.addEventListener(f,o)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,u):p.push(u),C.event.global[f]=!0)},remove:function(e,t,n,r,i){var a,o,s,l,c,u,d,p,f,h,v,y=Q.hasData(e)&&Q.get(e);if(y&&(l=y.events)){for(c=(t=(t||"").match(H)||[""]).length;c--;)if(f=v=(s=Ce.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),f){for(d=C.event.special[f]||{},p=l[f=(r?d.delegateType:d.bindType)||f]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=a=p.length;a--;)u=p[a],!i&&v!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||r&&r!==u.selector&&("**"!==r||!u.selector)||(p.splice(a,1),u.selector&&p.delegateCount--,d.remove&&d.remove.call(e,u));o&&!p.length&&(d.teardown&&!1!==d.teardown.call(e,h,y.handle)||C.removeEvent(e,f,y.handle),delete l[f])}else for(f in l)C.event.remove(e,f+t[c],n,r,!0);C.isEmptyObject(l)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,a,o,s=new Array(arguments.length),l=C.event.fix(e),c=(Q.get(this,"events")||Object.create(null))[l.type]||[],u=C.event.special[l.type]||{};for(s[0]=l,t=1;t<arguments.length;t++)s[t]=arguments[t];if(l.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,l)){for(o=C.event.handlers.call(this,l,c),t=0;(i=o[t++])&&!l.isPropagationStopped();)for(l.currentTarget=i.elem,n=0;(a=i.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==a.namespace&&!l.rnamespace.test(a.namespace)||(l.handleObj=a,l.data=a.data,void 0!==(r=((C.event.special[a.origType]||{}).handle||a.handler).apply(i.elem,s))&&!1===(l.result=r)&&(l.preventDefault(),l.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,r,i,a,o,s=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&e.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(a=[],o={},n=0;n<l;n++)void 0===o[i=(r=t[n]).selector+" "]&&(o[i]=r.needsContext?C(i,this).index(c)>-1:C.find(i,this,null,[c]).length),o[i]&&a.push(r);a.length&&s.push({elem:c,handlers:a})}return c=this,l<t.length&&s.push({elem:c,handlers:t.slice(l)}),s},addProp:function(e,t){Object.defineProperty(C.Event.prototype,e,{enumerable:!0,configurable:!0,get:g(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[C.expando]?e:new C.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return ve.test(t.type)&&t.click&&D(t,"input")&&$e(t,"click",Te),!1},trigger:function(e){var t=this||e;return ve.test(t.type)&&t.click&&D(t,"input")&&$e(t,"click"),!0},_default:function(e){var t=e.target;return ve.test(t.type)&&t.click&&D(t,"input")&&Q.get(t,"click")||D(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},C.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},C.Event=function(e,t){if(!(this instanceof C.Event))return new C.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:Ae,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&&C.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[C.expando]=!0},C.Event.prototype={constructor:C.Event,isDefaultPrevented:Ae,isPropagationStopped:Ae,isImmediatePropagationStopped:Ae,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()}},C.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:!0},C.event.addProp),C.each({focus:"focusin",blur:"focusout"},(function(e,t){C.event.special[e]={setup:function(){return $e(this,e,Ee),!1},trigger:function(){return $e(this,e),!0},_default:function(){return!0},delegateType:t}})),C.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){C.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,a=e.handleObj;return i&&(i===r||C.contains(r,i))||(e.type=a.origType,n=a.handler.apply(this,arguments),e.type=t),n}}})),C.fn.extend({on:function(e,t,n,r){return Se(this,e,t,n,r)},one:function(e,t,n,r){return Se(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,C(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Ae),this.each((function(){C.event.remove(this,e,n,t)}))}});var De=/<script|<style|<link/i,Ne=/checked\s*(?:[^=]|=\s*.checked.)/i,je=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Le(e,t){return D(e,"table")&&D(11!==t.nodeType?t:t.firstChild,"tr")&&C(e).children("tbody")[0]||e}function Oe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Pe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function qe(e,t){var n,r,i,a,o,s;if(1===t.nodeType){if(Q.hasData(e)&&(s=Q.get(e).events))for(i in Q.remove(t,"handle events"),s)for(n=0,r=s[i].length;n<r;n++)C.event.add(t,i,s[i][n]);J.hasData(e)&&(a=J.access(e),o=C.extend({},a),J.set(t,o))}}function Ie(e,t){var n=t.nodeName.toLowerCase();"input"===n&&ve.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function He(e,t,n,r){t=l(t);var i,a,o,s,c,u,d=0,p=e.length,f=p-1,h=t[0],v=g(h);if(v||p>1&&"string"==typeof h&&!y.checkClone&&Ne.test(h))return e.each((function(i){var a=e.eq(i);v&&(t[0]=h.call(this,i,a.html())),He(a,t,n,r)}));if(p&&(a=(i=we(t,e[0].ownerDocument,!1,e,r)).firstChild,1===i.childNodes.length&&(i=a),a||r)){for(s=(o=C.map(be(i,"script"),Oe)).length;d<p;d++)c=i,d!==f&&(c=C.clone(c,!0,!0),s&&C.merge(o,be(c,"script"))),n.call(e[d],c,d);if(s)for(u=o[o.length-1].ownerDocument,C.map(o,Pe),d=0;d<s;d++)c=o[d],ge.test(c.type||"")&&!Q.access(c,"globalEval")&&C.contains(u,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?C._evalUrl&&!c.noModule&&C._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},u):k(c.textContent.replace(je,""),c,u))}return e}function Re(e,t,n){for(var r,i=t?C.filter(t,e):e,a=0;null!=(r=i[a]);a++)n||1!==r.nodeType||C.cleanData(be(r)),r.parentNode&&(n&&oe(r)&&xe(be(r,"script")),r.parentNode.removeChild(r));return e}C.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,a,o,s=e.cloneNode(!0),l=oe(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||C.isXMLDoc(e)))for(o=be(s),r=0,i=(a=be(e)).length;r<i;r++)Ie(a[r],o[r]);if(t)if(n)for(a=a||be(e),o=o||be(s),r=0,i=a.length;r<i;r++)qe(a[r],o[r]);else qe(e,s);return(o=be(s,"script")).length>0&&xe(o,!l&&be(e,"script")),s},cleanData:function(e){for(var t,n,r,i=C.event.special,a=0;void 0!==(n=e[a]);a++)if(Y(n)){if(t=n[Q.expando]){if(t.events)for(r in t.events)i[r]?C.event.remove(n,r):C.removeEvent(n,r,t.handle);n[Q.expando]=void 0}n[J.expando]&&(n[J.expando]=void 0)}}}),C.fn.extend({detach:function(e){return Re(this,e,!0)},remove:function(e){return Re(this,e)},text:function(e){return F(this,(function(e){return void 0===e?C.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 He(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Le(this,e).appendChild(e)}))},prepend:function(){return He(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Le(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return He(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return He(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&&(C.cleanData(be(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return C.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&&!De.test(e)&&!me[(ye.exec(e)||["",""])[1].toLowerCase()]){e=C.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(C.cleanData(be(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return He(this,arguments,(function(t){var n=this.parentNode;C.inArray(this,e)<0&&(C.cleanData(be(this)),n&&n.replaceChild(t,this))}),e)}}),C.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){C.fn[e]=function(e){for(var n,r=[],i=C(e),a=i.length-1,o=0;o<=a;o++)n=o===a?this:this.clone(!0),C(i[o])[t](n),c.apply(r,n.get());return this.pushStack(r)}}));var Be=new RegExp("^("+ne+")(?!px)[a-z%]+$","i"),Me=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)},Ke=function(e,t,n){var r,i,a={};for(i in t)a[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=a[i];return r},Ve=new RegExp(ie.join("|"),"i");function We(e,t,n){var r,i,a,o,s=e.style;return(n=n||Me(e))&&(""!==(o=n.getPropertyValue(t)||n[t])||oe(e)||(o=C.style(e,t)),!y.pixelBoxStyles()&&Be.test(o)&&Ve.test(t)&&(r=s.width,i=s.minWidth,a=s.maxWidth,s.minWidth=s.maxWidth=s.width=o,o=n.width,s.width=r,s.minWidth=i,s.maxWidth=a)),void 0!==o?o+"":o}function Fe(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(u){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ae.appendChild(c).appendChild(u);var e=n.getComputedStyle(u);r="1%"!==e.top,l=12===t(e.marginLeft),u.style.right="60%",o=36===t(e.right),i=36===t(e.width),u.style.position="absolute",a=12===t(u.offsetWidth/3),ae.removeChild(c),u=null}}function t(e){return Math.round(parseFloat(e))}var r,i,a,o,s,l,c=b.createElement("div"),u=b.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",y.clearCloneStyle="content-box"===u.style.backgroundClip,C.extend(y,{boxSizingReliable:function(){return e(),i},pixelBoxStyles:function(){return e(),o},pixelPosition:function(){return e(),r},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),a},reliableTrDimensions:function(){var e,t,r,i;return null==s&&(e=b.createElement("table"),t=b.createElement("tr"),r=b.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="border:1px solid",t.style.height="1px",r.style.height="9px",r.style.display="block",ae.appendChild(e).appendChild(t).appendChild(r),i=n.getComputedStyle(t),s=parseInt(i.height,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10)===t.offsetHeight,ae.removeChild(e)),s}}))}();var _e=["Webkit","Moz","ms"],ze=b.createElement("div").style,Ue={};function Xe(e){var t=C.cssProps[e]||Ue[e];return t||(e in ze?e:Ue[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=_e.length;n--;)if((e=_e[n]+t)in ze)return e}(e)||e)}var Ye=/^(none|table(?!-c[ea]).+)/,Ge=/^--/,Qe={position:"absolute",visibility:"hidden",display:"block"},Je={letterSpacing:"0",fontWeight:"400"};function Ze(e,t,n){var r=re.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function et(e,t,n,r,i,a){var o="width"===t?1:0,s=0,l=0;if(n===(r?"border":"content"))return 0;for(;o<4;o+=2)"margin"===n&&(l+=C.css(e,n+ie[o],!0,i)),r?("content"===n&&(l-=C.css(e,"padding"+ie[o],!0,i)),"margin"!==n&&(l-=C.css(e,"border"+ie[o]+"Width",!0,i))):(l+=C.css(e,"padding"+ie[o],!0,i),"padding"!==n?l+=C.css(e,"border"+ie[o]+"Width",!0,i):s+=C.css(e,"border"+ie[o]+"Width",!0,i));return!r&&a>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-a-l-s-.5))||0),l}function tt(e,t,n){var r=Me(e),i=(!y.boxSizingReliable()||n)&&"border-box"===C.css(e,"boxSizing",!1,r),a=i,o=We(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Be.test(o)){if(!n)return o;o="auto"}return(!y.boxSizingReliable()&&i||!y.reliableTrDimensions()&&D(e,"tr")||"auto"===o||!parseFloat(o)&&"inline"===C.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===C.css(e,"boxSizing",!1,r),(a=s in e)&&(o=e[s])),(o=parseFloat(o)||0)+et(e,t,n||(i?"border":"content"),a,r,o)+"px"}function nt(e,t,n,r,i){return new nt.prototype.init(e,t,n,r,i)}C.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=We(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 i,a,o,s=X(t),l=Ge.test(t),c=e.style;if(l||(t=Xe(s)),o=C.cssHooks[t]||C.cssHooks[s],void 0===n)return o&&"get"in o&&void 0!==(i=o.get(e,!1,r))?i:c[t];"string"===(a=typeof n)&&(i=re.exec(n))&&i[1]&&(n=ce(e,t,i),a="number"),null!=n&&n==n&&("number"!==a||l||(n+=i&&i[3]||(C.cssNumber[s]?"":"px")),y.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),o&&"set"in o&&void 0===(n=o.set(e,n,r))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,r){var i,a,o,s=X(t);return Ge.test(t)||(t=Xe(s)),(o=C.cssHooks[t]||C.cssHooks[s])&&"get"in o&&(i=o.get(e,!0,n)),void 0===i&&(i=We(e,t,r)),"normal"===i&&t in Je&&(i=Je[t]),""===n||n?(a=parseFloat(i),!0===n||isFinite(a)?a||0:i):i}}),C.each(["height","width"],(function(e,t){C.cssHooks[t]={get:function(e,n,r){if(n)return!Ye.test(C.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?tt(e,t,r):Ke(e,Qe,(function(){return tt(e,t,r)}))},set:function(e,n,r){var i,a=Me(e),o=!y.scrollboxSize()&&"absolute"===a.position,s=(o||r)&&"border-box"===C.css(e,"boxSizing",!1,a),l=r?et(e,t,r,s,a):0;return s&&o&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(a[t])-et(e,t,"border",!1,a)-.5)),l&&(i=re.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=C.css(e,t)),Ze(0,n,l)}}})),C.cssHooks.marginLeft=Fe(y.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(We(e,"marginLeft"))||e.getBoundingClientRect().left-Ke(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),C.each({margin:"",padding:"",border:"Width"},(function(e,t){C.cssHooks[e+t]={expand:function(n){for(var r=0,i={},a="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+ie[r]+t]=a[r]||a[r-2]||a[0];return i}},"margin"!==e&&(C.cssHooks[e+t].set=Ze)})),C.fn.extend({css:function(e,t){return F(this,(function(e,t,n){var r,i,a={},o=0;if(Array.isArray(t)){for(r=Me(e),i=t.length;o<i;o++)a[t[o]]=C.css(e,t[o],!1,r);return a}return void 0!==n?C.style(e,t,n):C.css(e,t)}),e,t,arguments.length>1)}}),C.Tween=nt,nt.prototype={constructor:nt,init:function(e,t,n,r,i,a){this.elem=e,this.prop=n,this.easing=i||C.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=a||(C.cssNumber[n]?"":"px")},cur:function(){var e=nt.propHooks[this.prop];return e&&e.get?e.get(this):nt.propHooks._default.get(this)},run:function(e){var t,n=nt.propHooks[this.prop];return this.options.duration?this.pos=t=C.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):nt.propHooks._default.set(this),this}},nt.prototype.init.prototype=nt.prototype,nt.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=C.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){C.fx.step[e.prop]?C.fx.step[e.prop](e):1!==e.elem.nodeType||!C.cssHooks[e.prop]&&null==e.elem.style[Xe(e.prop)]?e.elem[e.prop]=e.now:C.style(e.elem,e.prop,e.now+e.unit)}}},nt.propHooks.scrollTop=nt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},C.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},C.fx=nt.prototype.init,C.fx.step={};var rt,it,at=/^(?:toggle|show|hide)$/,ot=/queueHooks$/;function st(){it&&(!1===b.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(st):n.setTimeout(st,C.fx.interval),C.fx.tick())}function lt(){return n.setTimeout((function(){rt=void 0})),rt=Date.now()}function ct(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=ie[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function ut(e,t,n){for(var r,i=(dt.tweeners[t]||[]).concat(dt.tweeners["*"]),a=0,o=i.length;a<o;a++)if(r=i[a].call(n,t,e))return r}function dt(e,t,n){var r,i,a=0,o=dt.prefilters.length,s=C.Deferred().always((function(){delete l.elem})),l=function(){if(i)return!1;for(var t=rt||lt(),n=Math.max(0,c.startTime+c.duration-t),r=1-(n/c.duration||0),a=0,o=c.tweens.length;a<o;a++)c.tweens[a].run(r);return s.notifyWith(e,[c,r,n]),r<1&&o?n:(o||s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:C.extend({},t),opts:C.extend(!0,{specialEasing:{},easing:C.easing._default},n),originalProperties:t,originalOptions:n,startTime:rt||lt(),duration:n.duration,tweens:[],createTween:function(t,n){var r=C.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(r),r},stop:function(t){var n=0,r=t?c.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)c.tweens[n].run(1);return t?(s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c,t])):s.rejectWith(e,[c,t]),this}}),u=c.props;for(!function(e,t){var n,r,i,a,o;for(n in e)if(i=t[r=X(n)],a=e[n],Array.isArray(a)&&(i=a[1],a=e[n]=a[0]),n!==r&&(e[r]=a,delete e[n]),(o=C.cssHooks[r])&&"expand"in o)for(n in a=o.expand(a),delete e[r],a)n in e||(e[n]=a[n],t[n]=i);else t[r]=i}(u,c.opts.specialEasing);a<o;a++)if(r=dt.prefilters[a].call(c,e,u,c.opts))return g(r.stop)&&(C._queueHooks(c.elem,c.opts.queue).stop=r.stop.bind(r)),r;return C.map(u,ut,c),g(c.opts.start)&&c.opts.start.call(e,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),C.fx.timer(C.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c}C.Animation=C.extend(dt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ce(n.elem,e,re.exec(t),n),n}]},tweener:function(e,t){g(e)?(t=e,e=["*"]):e=e.match(H);for(var n,r=0,i=e.length;r<i;r++)n=e[r],dt.tweeners[n]=dt.tweeners[n]||[],dt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,a,o,s,l,c,u,d="width"in t||"height"in t,p=this,f={},h=e.style,v=e.nodeType&&le(e),y=Q.get(e,"fxshow");for(r in n.queue||(null==(o=C._queueHooks(e,"fx")).unqueued&&(o.unqueued=0,s=o.empty.fire,o.empty.fire=function(){o.unqueued||s()}),o.unqueued++,p.always((function(){p.always((function(){o.unqueued--,C.queue(e,"fx").length||o.empty.fire()}))}))),t)if(i=t[r],at.test(i)){if(delete t[r],a=a||"toggle"===i,i===(v?"hide":"show")){if("show"!==i||!y||void 0===y[r])continue;v=!0}f[r]=y&&y[r]||C.style(e,r)}if((l=!C.isEmptyObject(t))||!C.isEmptyObject(f))for(r in d&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(c=y&&y.display)&&(c=Q.get(e,"display")),"none"===(u=C.css(e,"display"))&&(c?u=c:(pe([e],!0),c=e.style.display||c,u=C.css(e,"display"),pe([e]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===C.css(e,"float")&&(l||(p.done((function(){h.display=c})),null==c&&(u=h.display,c="none"===u?"":u)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always((function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]}))),l=!1,f)l||(y?"hidden"in y&&(v=y.hidden):y=Q.access(e,"fxshow",{display:c}),a&&(y.hidden=!v),v&&pe([e],!0),p.done((function(){for(r in v||pe([e]),Q.remove(e,"fxshow"),f)C.style(e,r,f[r])}))),l=ut(v?y[r]:0,r,p),r in y||(y[r]=l.start,v&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?dt.prefilters.unshift(e):dt.prefilters.push(e)}}),C.speed=function(e,t,n){var r=e&&"object"==typeof e?C.extend({},e):{complete:n||!n&&t||g(e)&&e,duration:e,easing:n&&t||t&&!g(t)&&t};return C.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in C.fx.speeds?r.duration=C.fx.speeds[r.duration]:r.duration=C.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){g(r.old)&&r.old.call(this),r.queue&&C.dequeue(this,r.queue)},r},C.fn.extend({fadeTo:function(e,t,n,r){return this.filter(le).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=C.isEmptyObject(e),a=C.speed(t,n,r),o=function(){var t=dt(this,C.extend({},e),a);(i||Q.get(this,"finish"))&&t.stop(!0)};return o.finish=o,i||!1===a.queue?this.each(o):this.queue(a.queue,o)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,i=null!=e&&e+"queueHooks",a=C.timers,o=Q.get(this);if(i)o[i]&&o[i].stop&&r(o[i]);else for(i in o)o[i]&&o[i].stop&&ot.test(i)&&r(o[i]);for(i=a.length;i--;)a[i].elem!==this||null!=e&&a[i].queue!==e||(a[i].anim.stop(n),t=!1,a.splice(i,1));!t&&n||C.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=Q.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],a=C.timers,o=r?r.length:0;for(n.finish=!0,C.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=a.length;t--;)a[t].elem===this&&a[t].queue===e&&(a[t].anim.stop(!0),a.splice(t,1));for(t=0;t<o;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish}))}}),C.each(["toggle","show","hide"],(function(e,t){var n=C.fn[t];C.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ct(t,!0),e,r,i)}})),C.each({slideDown:ct("show"),slideUp:ct("hide"),slideToggle:ct("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){C.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),C.timers=[],C.fx.tick=function(){var e,t=0,n=C.timers;for(rt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||C.fx.stop(),rt=void 0},C.fx.timer=function(e){C.timers.push(e),C.fx.start()},C.fx.interval=13,C.fx.start=function(){it||(it=!0,st())},C.fx.stop=function(){it=null},C.fx.speeds={slow:600,fast:200,_default:400},C.fn.delay=function(e,t){return e=C.fx&&C.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,r){var i=n.setTimeout(t,e);r.stop=function(){n.clearTimeout(i)}}))},function(){var e=b.createElement("input"),t=b.createElement("select").appendChild(b.createElement("option"));e.type="checkbox",y.checkOn=""!==e.value,y.optSelected=t.selected,(e=b.createElement("input")).value="t",e.type="radio",y.radioValue="t"===e.value}();var pt,ft=C.expr.attrHandle;C.fn.extend({attr:function(e,t){return F(this,C.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){C.removeAttr(this,e)}))}}),C.extend({attr:function(e,t,n){var r,i,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return void 0===e.getAttribute?C.prop(e,t,n):(1===a&&C.isXMLDoc(e)||(i=C.attrHooks[t.toLowerCase()]||(C.expr.match.bool.test(t)?pt:void 0)),void 0!==n?null===n?void C.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=C.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!y.radioValue&&"radio"===t&&D(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(H);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),pt={set:function(e,t,n){return!1===t?C.removeAttr(e,n):e.setAttribute(n,n),n}},C.each(C.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=ft[t]||C.find.attr;ft[t]=function(e,t,r){var i,a,o=t.toLowerCase();return r||(a=ft[o],ft[o]=i,i=null!=n(e,t,r)?o:null,ft[o]=a),i}}));var ht=/^(?:input|select|textarea|button)$/i,vt=/^(?:a|area)$/i;function yt(e){return(e.match(H)||[]).join(" ")}function gt(e){return e.getAttribute&&e.getAttribute("class")||""}function mt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(H)||[]}C.fn.extend({prop:function(e,t){return F(this,C.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[C.propFix[e]||e]}))}}),C.extend({prop:function(e,t,n){var r,i,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return 1===a&&C.isXMLDoc(e)||(t=C.propFix[t]||t,i=C.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=C.find.attr(e,"tabindex");return t?parseInt(t,10):ht.test(e.nodeName)||vt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),y.optSelected||(C.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)}}),C.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){C.propFix[this.toLowerCase()]=this})),C.fn.extend({addClass:function(e){var t,n,r,i,a,o,s,l=0;if(g(e))return this.each((function(t){C(this).addClass(e.call(this,t,gt(this)))}));if((t=mt(e)).length)for(;n=this[l++];)if(i=gt(n),r=1===n.nodeType&&" "+yt(i)+" "){for(o=0;a=t[o++];)r.indexOf(" "+a+" ")<0&&(r+=a+" ");i!==(s=yt(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,i,a,o,s,l=0;if(g(e))return this.each((function(t){C(this).removeClass(e.call(this,t,gt(this)))}));if(!arguments.length)return this.attr("class","");if((t=mt(e)).length)for(;n=this[l++];)if(i=gt(n),r=1===n.nodeType&&" "+yt(i)+" "){for(o=0;a=t[o++];)for(;r.indexOf(" "+a+" ")>-1;)r=r.replace(" "+a+" "," ");i!==(s=yt(r))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):g(e)?this.each((function(n){C(this).toggleClass(e.call(this,n,gt(this),t),t)})):this.each((function(){var t,i,a,o;if(r)for(i=0,a=C(this),o=mt(e);t=o[i++];)a.hasClass(t)?a.removeClass(t):a.addClass(t);else void 0!==e&&"boolean"!==n||((t=gt(this))&&Q.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Q.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+yt(gt(n))+" ").indexOf(t)>-1)return!0;return!1}});var bt=/\r/g;C.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=g(e),this.each((function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,C(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=C.map(i,(function(e){return null==e?"":e+""}))),(t=C.valHooks[this.type]||C.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))}))):i?(t=C.valHooks[i.type]||C.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(bt,""):null==n?"":n:void 0}}),C.extend({valHooks:{option:{get:function(e){var t=C.find.attr(e,"value");return null!=t?t:yt(C.text(e))}},select:{get:function(e){var t,n,r,i=e.options,a=e.selectedIndex,o="select-one"===e.type,s=o?null:[],l=o?a+1:i.length;for(r=a<0?l:o?a:0;r<l;r++)if(((n=i[r]).selected||r===a)&&!n.disabled&&(!n.parentNode.disabled||!D(n.parentNode,"optgroup"))){if(t=C(n).val(),o)return t;s.push(t)}return s},set:function(e,t){for(var n,r,i=e.options,a=C.makeArray(t),o=i.length;o--;)((r=i[o]).selected=C.inArray(C.valHooks.option.get(r),a)>-1)&&(n=!0);return n||(e.selectedIndex=-1),a}}}}),C.each(["radio","checkbox"],(function(){C.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=C.inArray(C(e).val(),t)>-1}},y.checkOn||(C.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),y.focusin="onfocusin"in n;var xt=/^(?:focusinfocus|focusoutblur)$/,kt=function(e){e.stopPropagation()};C.extend(C.event,{trigger:function(e,t,r,i){var a,o,s,l,c,u,d,p,h=[r||b],v=f.call(e,"type")?e.type:e,y=f.call(e,"namespace")?e.namespace.split("."):[];if(o=p=s=r=r||b,3!==r.nodeType&&8!==r.nodeType&&!xt.test(v+C.event.triggered)&&(v.indexOf(".")>-1&&(y=v.split("."),v=y.shift(),y.sort()),c=v.indexOf(":")<0&&"on"+v,(e=e[C.expando]?e:new C.Event(v,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=y.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:C.makeArray(t,[e]),d=C.event.special[v]||{},i||!d.trigger||!1!==d.trigger.apply(r,t))){if(!i&&!d.noBubble&&!m(r)){for(l=d.delegateType||v,xt.test(l+v)||(o=o.parentNode);o;o=o.parentNode)h.push(o),s=o;s===(r.ownerDocument||b)&&h.push(s.defaultView||s.parentWindow||n)}for(a=0;(o=h[a++])&&!e.isPropagationStopped();)p=o,e.type=a>1?l:d.bindType||v,(u=(Q.get(o,"events")||Object.create(null))[e.type]&&Q.get(o,"handle"))&&u.apply(o,t),(u=c&&o[c])&&u.apply&&Y(o)&&(e.result=u.apply(o,t),!1===e.result&&e.preventDefault());return e.type=v,i||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(h.pop(),t)||!Y(r)||c&&g(r[v])&&!m(r)&&((s=r[c])&&(r[c]=null),C.event.triggered=v,e.isPropagationStopped()&&p.addEventListener(v,kt),r[v](),e.isPropagationStopped()&&p.removeEventListener(v,kt),C.event.triggered=void 0,s&&(r[c]=s)),e.result}},simulate:function(e,t,n){var r=C.extend(new C.Event,n,{type:e,isSimulated:!0});C.event.trigger(r,null,t)}}),C.fn.extend({trigger:function(e,t){return this.each((function(){C.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return C.event.trigger(e,t,n,!0)}}),y.focusin||C.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){C.event.simulate(t,e.target,C.event.fix(e))};C.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,i=Q.access(r,t);i||r.addEventListener(e,n,!0),Q.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,i=Q.access(r,t)-1;i?Q.access(r,t,i):(r.removeEventListener(e,n,!0),Q.remove(r,t))}}}));var wt=n.location,Ct={guid:Date.now()},Tt=/\?/;C.parseXML=function(e){var t,r;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){}return r=t&&t.getElementsByTagName("parsererror")[0],t&&!r||C.error("Invalid XML: "+(r?C.map(r.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var At=/\[\]$/,Et=/\r?\n/g,St=/^(?:submit|button|image|reset|file)$/i,$t=/^(?:input|select|textarea|keygen)/i;function Dt(e,t,n,r){var i;if(Array.isArray(t))C.each(t,(function(t,i){n||At.test(e)?r(e,i):Dt(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)}));else if(n||"object"!==w(t))r(e,t);else for(i in t)Dt(e+"["+i+"]",t[i],n,r)}C.param=function(e,t){var n,r=[],i=function(e,t){var n=g(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!C.isPlainObject(e))C.each(e,(function(){i(this.name,this.value)}));else for(n in e)Dt(n,e[n],t,i);return r.join("&")},C.fn.extend({serialize:function(){return C.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=C.prop(this,"elements");return e?C.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!C(this).is(":disabled")&&$t.test(this.nodeName)&&!St.test(e)&&(this.checked||!ve.test(e))})).map((function(e,t){var n=C(this).val();return null==n?null:Array.isArray(n)?C.map(n,(function(e){return{name:t.name,value:e.replace(Et,"\r\n")}})):{name:t.name,value:n.replace(Et,"\r\n")}})).get()}});var Nt=/%20/g,jt=/#.*$/,Lt=/([?&])_=[^&]*/,Ot=/^(.*?):[ \t]*([^\r\n]*)$/gm,Pt=/^(?:GET|HEAD)$/,qt=/^\/\//,It={},Ht={},Rt="*/".concat("*"),Bt=b.createElement("a");function Mt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,a=t.toLowerCase().match(H)||[];if(g(n))for(;r=a[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Kt(e,t,n,r){var i={},a=e===Ht;function o(s){var l;return i[s]=!0,C.each(e[s]||[],(function(e,s){var c=s(t,n,r);return"string"!=typeof c||a||i[c]?a?!(l=c):void 0:(t.dataTypes.unshift(c),o(c),!1)})),l}return o(t.dataTypes[0])||!i["*"]&&o("*")}function Vt(e,t){var n,r,i=C.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&C.extend(!0,e,r),e}Bt.href=wt.href,C.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:wt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(wt.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":C.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Vt(Vt(e,C.ajaxSettings),t):Vt(C.ajaxSettings,e)},ajaxPrefilter:Mt(It),ajaxTransport:Mt(Ht),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var r,i,a,o,s,l,c,u,d,p,f=C.ajaxSetup({},t),h=f.context||f,v=f.context&&(h.nodeType||h.jquery)?C(h):C.event,y=C.Deferred(),g=C.Callbacks("once memory"),m=f.statusCode||{},x={},k={},w="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(c){if(!o)for(o={};t=Ot.exec(a);)o[t[1].toLowerCase()+" "]=(o[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=o[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?a:null},setRequestHeader:function(e,t){return null==c&&(e=k[e.toLowerCase()]=k[e.toLowerCase()]||e,x[e]=t),this},overrideMimeType:function(e){return null==c&&(f.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)T.always(e[T.status]);else for(t in e)m[t]=[m[t],e[t]];return this},abort:function(e){var t=e||w;return r&&r.abort(t),A(0,t),this}};if(y.promise(T),f.url=((e||f.url||wt.href)+"").replace(qt,wt.protocol+"//"),f.type=t.method||t.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(H)||[""],null==f.crossDomain){l=b.createElement("a");try{l.href=f.url,l.href=l.href,f.crossDomain=Bt.protocol+"//"+Bt.host!=l.protocol+"//"+l.host}catch(e){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=C.param(f.data,f.traditional)),Kt(It,f,t,T),c)return T;for(d in(u=C.event&&f.global)&&0==C.active++&&C.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!Pt.test(f.type),i=f.url.replace(jt,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(Nt,"+")):(p=f.url.slice(i.length),f.data&&(f.processData||"string"==typeof f.data)&&(i+=(Tt.test(i)?"&":"?")+f.data,delete f.data),!1===f.cache&&(i=i.replace(Lt,"$1"),p=(Tt.test(i)?"&":"?")+"_="+Ct.guid+++p),f.url=i+p),f.ifModified&&(C.lastModified[i]&&T.setRequestHeader("If-Modified-Since",C.lastModified[i]),C.etag[i]&&T.setRequestHeader("If-None-Match",C.etag[i])),(f.data&&f.hasContent&&!1!==f.contentType||t.contentType)&&T.setRequestHeader("Content-Type",f.contentType),T.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Rt+"; q=0.01":""):f.accepts["*"]),f.headers)T.setRequestHeader(d,f.headers[d]);if(f.beforeSend&&(!1===f.beforeSend.call(h,T,f)||c))return T.abort();if(w="abort",g.add(f.complete),T.done(f.success),T.fail(f.error),r=Kt(Ht,f,t,T)){if(T.readyState=1,u&&v.trigger("ajaxSend",[T,f]),c)return T;f.async&&f.timeout>0&&(s=n.setTimeout((function(){T.abort("timeout")}),f.timeout));try{c=!1,r.send(x,A)}catch(e){if(c)throw e;A(-1,e)}}else A(-1,"No Transport");function A(e,t,o,l){var d,p,b,x,k,w=t;c||(c=!0,s&&n.clearTimeout(s),r=void 0,a=l||"",T.readyState=e>0?4:0,d=e>=200&&e<300||304===e,o&&(x=function(e,t,n){for(var r,i,a,o,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){l.unshift(i);break}if(l[0]in n)a=l[0];else{for(i in n){if(!l[0]||e.converters[i+" "+l[0]]){a=i;break}o||(o=i)}a=a||o}if(a)return a!==l[0]&&l.unshift(a),n[a]}(f,T,o)),!d&&C.inArray("script",f.dataTypes)>-1&&C.inArray("json",f.dataTypes)<0&&(f.converters["text script"]=function(){}),x=function(e,t,n,r){var i,a,o,s,l,c={},u=e.dataTypes.slice();if(u[1])for(o in e.converters)c[o.toLowerCase()]=e.converters[o];for(a=u.shift();a;)if(e.responseFields[a]&&(n[e.responseFields[a]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=a,a=u.shift())if("*"===a)a=l;else if("*"!==l&&l!==a){if(!(o=c[l+" "+a]||c["* "+a]))for(i in c)if((s=i.split(" "))[1]===a&&(o=c[l+" "+s[0]]||c["* "+s[0]])){!0===o?o=c[i]:!0!==c[i]&&(a=s[0],u.unshift(s[1]));break}if(!0!==o)if(o&&e.throws)t=o(t);else try{t=o(t)}catch(e){return{state:"parsererror",error:o?e:"No conversion from "+l+" to "+a}}}return{state:"success",data:t}}(f,x,T,d),d?(f.ifModified&&((k=T.getResponseHeader("Last-Modified"))&&(C.lastModified[i]=k),(k=T.getResponseHeader("etag"))&&(C.etag[i]=k)),204===e||"HEAD"===f.type?w="nocontent":304===e?w="notmodified":(w=x.state,p=x.data,d=!(b=x.error))):(b=w,!e&&w||(w="error",e<0&&(e=0))),T.status=e,T.statusText=(t||w)+"",d?y.resolveWith(h,[p,w,T]):y.rejectWith(h,[T,w,b]),T.statusCode(m),m=void 0,u&&v.trigger(d?"ajaxSuccess":"ajaxError",[T,f,d?p:b]),g.fireWith(h,[T,w]),u&&(v.trigger("ajaxComplete",[T,f]),--C.active||C.event.trigger("ajaxStop")))}return T},getJSON:function(e,t,n){return C.get(e,t,n,"json")},getScript:function(e,t){return C.get(e,void 0,t,"script")}}),C.each(["get","post"],(function(e,t){C[t]=function(e,n,r,i){return g(n)&&(i=i||r,r=n,n=void 0),C.ajax(C.extend({url:e,type:t,dataType:i,data:n,success:r},C.isPlainObject(e)&&e))}})),C.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),C._evalUrl=function(e,t,n){return C.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){C.globalEval(e,t,n)}})},C.fn.extend({wrapAll:function(e){var t;return this[0]&&(g(e)&&(e=e.call(this[0])),t=C(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(e){return g(e)?this.each((function(t){C(this).wrapInner(e.call(this,t))})):this.each((function(){var t=C(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=g(e);return this.each((function(n){C(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){C(this).replaceWith(this.childNodes)})),this}}),C.expr.pseudos.hidden=function(e){return!C.expr.pseudos.visible(e)},C.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},C.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Wt={0:200,1223:204},Ft=C.ajaxSettings.xhr();y.cors=!!Ft&&"withCredentials"in Ft,y.ajax=Ft=!!Ft,C.ajaxTransport((function(e){var t,r;if(y.cors||Ft&&!e.crossDomain)return{send:function(i,a){var o,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(o in e.xhrFields)s[o]=e.xhrFields[o];for(o in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)s.setRequestHeader(o,i[o]);t=function(e){return function(){t&&(t=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?a(0,"error"):a(s.status,s.statusText):a(Wt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),r=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout((function(){t&&r()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),C.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),C.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 C.globalEval(e),e}}}),C.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),C.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,i){t=C("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&i("error"===e.type?404:200,e.type)}),b.head.appendChild(t[0])},abort:function(){n&&n()}}}));var _t,zt=[],Ut=/(=)\?(?=&|$)|\?\?/;C.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=zt.pop()||C.expando+"_"+Ct.guid++;return this[e]=!0,e}}),C.ajaxPrefilter("json jsonp",(function(e,t,r){var i,a,o,s=!1!==e.jsonp&&(Ut.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ut.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=g(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Ut,"$1"+i):!1!==e.jsonp&&(e.url+=(Tt.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return o||C.error(i+" was not called"),o[0]},e.dataTypes[0]="json",a=n[i],n[i]=function(){o=arguments},r.always((function(){void 0===a?C(n).removeProp(i):n[i]=a,e[i]&&(e.jsonpCallback=t.jsonpCallback,zt.push(i)),o&&g(a)&&a(o[0]),o=a=void 0})),"script"})),y.createHTMLDocument=((_t=b.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===_t.childNodes.length),C.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=b.implementation.createHTMLDocument("")).createElement("base")).href=b.location.href,t.head.appendChild(r)):t=b),a=!n&&[],(i=N.exec(e))?[t.createElement(i[1])]:(i=we([e],t,a),a&&a.length&&C(a).remove(),C.merge([],i.childNodes)));var r,i,a},C.fn.load=function(e,t,n){var r,i,a,o=this,s=e.indexOf(" ");return s>-1&&(r=yt(e.slice(s)),e=e.slice(0,s)),g(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),o.length>0&&C.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done((function(e){a=arguments,o.html(r?C("<div>").append(C.parseHTML(e)).find(r):e)})).always(n&&function(e,t){o.each((function(){n.apply(this,a||[e.responseText,t,e])}))}),this},C.expr.pseudos.animated=function(e){return C.grep(C.timers,(function(t){return e===t.elem})).length},C.offset={setOffset:function(e,t,n){var r,i,a,o,s,l,c=C.css(e,"position"),u=C(e),d={};"static"===c&&(e.style.position="relative"),s=u.offset(),a=C.css(e,"top"),l=C.css(e,"left"),("absolute"===c||"fixed"===c)&&(a+l).indexOf("auto")>-1?(o=(r=u.position()).top,i=r.left):(o=parseFloat(a)||0,i=parseFloat(l)||0),g(t)&&(t=t.call(e,n,C.extend({},s))),null!=t.top&&(d.top=t.top-s.top+o),null!=t.left&&(d.left=t.left-s.left+i),"using"in t?t.using.call(e,d):u.css(d)}},C.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){C.offset.setOffset(this,e,t)}));var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===C.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"===C.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=C(e).offset()).top+=C.css(e,"borderTopWidth",!0),i.left+=C.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-C.css(r,"marginTop",!0),left:t.left-i.left-C.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===C.css(e,"position");)e=e.offsetParent;return e||ae}))}}),C.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;C.fn[e]=function(r){return F(this,(function(e,r,i){var a;if(m(e)?a=e:9===e.nodeType&&(a=e.defaultView),void 0===i)return a?a[t]:e[r];a?a.scrollTo(n?a.pageXOffset:i,n?i:a.pageYOffset):e[r]=i}),e,r,arguments.length)}})),C.each(["top","left"],(function(e,t){C.cssHooks[t]=Fe(y.pixelPosition,(function(e,n){if(n)return n=We(e,t),Be.test(n)?C(e).position()[t]+"px":n}))})),C.each({Height:"height",Width:"width"},(function(e,t){C.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){C.fn[r]=function(i,a){var o=arguments.length&&(n||"boolean"!=typeof i),s=n||(!0===i||!0===a?"margin":"border");return F(this,(function(t,n,i){var a;return m(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(a=t.documentElement,Math.max(t.body["scroll"+e],a["scroll"+e],t.body["offset"+e],a["offset"+e],a["client"+e])):void 0===i?C.css(t,n,s):C.style(t,n,i,s)}),t,o?i:void 0,o)}}))})),C.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){C.fn[t]=function(e){return this.on(t,e)}})),C.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)}}),C.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,t){C.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var Xt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;C.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),g(e))return r=s.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(s.call(arguments)))}).guid=e.guid=e.guid||C.guid++,i},C.holdReady=function(e){e?C.readyWait++:C.ready(!0)},C.isArray=Array.isArray,C.parseJSON=JSON.parse,C.nodeName=D,C.isFunction=g,C.isWindow=m,C.camelCase=X,C.type=w,C.now=Date.now,C.isNumeric=function(e){var t=C.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},C.trim=function(e){return null==e?"":(e+"").replace(Xt,"")},void 0===(r=function(){return C}.apply(t,[]))||(e.exports=r);var Yt=n.jQuery,Gt=n.$;return C.noConflict=function(e){return n.$===C&&(n.$=Gt),e&&n.jQuery===C&&(n.jQuery=Yt),C},void 0===i&&(n.jQuery=n.$=C),C}))},function(e,t,n){n(2),e.exports=n(6)},function(e,t,n){"use strict";n.r(t);n(3),n(4),n(5)},function(e,t,n){var r,i,a;/*! jQuery UI Virtual Keyboard v1.30.4 */i=[n(0)],void 0===(a="function"==typeof(r=function(e){"use strict";var t=e.keyboard=function(n,r){var i,a=this;a.version="1.30.4",a.$el=e(n),a.el=n,a.$el.data("keyboard",a),a.init=function(){a.initialized=!1,a.isTextArea="textarea"===a.el.nodeName.toLowerCase(),a.isInput="input"===a.el.nodeName.toLowerCase(),a.isContentEditable=!a.isTextArea&&!a.isInput&&a.el.isContentEditable;var n,o,s,l=t.css,c=t.events;if(a.isInput&&e.inArray((a.el.type||"").toLowerCase(),t.supportedInputTypes)<0)throw new TypeError('Input of type "'+a.el.type+'" is not supported; use type text, search, URL, tel or password');a.settings=r||{},r&&r.position&&(o=e.extend({},r.position),r.position=null),a.options=i=e.extend(!0,{},t.defaultOptions,r),o&&(i.position=o,r.position=o),a.el.active=!0,a.namespace=".keyboard"+Math.random().toString(16).slice(2),a.extensionNamespace=[],a.shiftActive=a.altActive=a.metaActive=a.sets=a.capsLock=!1,a.rows=["","-shift","-alt","-alt-shift"],a.inPlaceholder=a.$el.attr("placeholder")||"",a.watermark=t.watermark&&""!==a.inPlaceholder,a.repeatTime=1e3/(i.repeatRate||20),i.preventDoubleEventTime=i.preventDoubleEventTime||100,a.isOpen=!1,a.wheel="function"==typeof e.fn.mousewheel,a.escapeRegex=/[-\/\\^$*+?.()|[\]{}]/g,n=t.keyCodes,a.alwaysAllowed=[n.capsLock,n.pageUp,n.pageDown,n.end,n.home,n.left,n.up,n.right,n.down,n.insert,n.delete],a.$keyboard=[],a.enabled=!0,a.checkCaret=i.lockInput||t.checkCaretSupport(),a.isContentEditable&&(i.usePreview=!1),a.last={start:0,end:0,key:"",val:"",preVal:"",layout:"",virtual:!0,keyset:[!1,!1,!1],wheel_$Keys:[],wheelIndex:0,wheelLayers:[]},a.temp=["",0,0],e.each([c.kbInit,c.kbBeforeVisible,c.kbVisible,c.kbHidden,c.inputCanceled,c.inputAccepted,c.kbBeforeClose,c.inputRestricted],(function(e,t){"function"==typeof i[t]&&a.$el.bind(t+a.namespace+"callbacks",i[t])})),i.alwaysOpen&&(i.stayOpen=!0),s=e(document),a.el.ownerDocument!==document&&(s=s.add(a.el.ownerDocument));var u="keyup checkkeyboard mousedown touchstart ";i.closeByClickEvent&&(u+="click "),s.bind(u.split(" ").join(a.namespace+" "),(function(e){clearTimeout(a.timer3),a.timer3=setTimeout((function(){a.checkClose(e)}),1)})),a.$el.addClass(l.input+" "+i.css.input).attr({"aria-haspopup":"true",role:"textbox"}),(i.lockInput||a.el.readOnly)&&(i.lockInput=!0,a.$el.addClass(l.locked).attr({readonly:"readonly"})),a.isUnavailable()&&a.$el.addClass(l.noKeyboard),i.openOn&&a.bindFocus(),a.watermark||""!==a.getValue(a.$el)||""===a.inPlaceholder||""===a.$el.attr("placeholder")||(a.$el.addClass(l.placeholder),a.setValue(a.inPlaceholder,a.$el)),a.$el.trigger(c.kbInit,[a,a.el]),i.alwaysOpen&&a.reveal(),a.initialized=!0},a.toggle=function(){if(a.hasKeyboard()){var e=a.$keyboard.find("."+t.css.keyToggle),n=!a.enabled;return a.preview.readonly=n||a.options.lockInput,a.$keyboard.toggleClass(t.css.keyDisabled,n).find("."+t.css.keyButton).not(e).attr("aria-disabled",n).each((function(){this.disabled=n})),e.toggleClass(t.css.keyDisabled,n),n&&a.typing_options&&(a.typing_options.text=""),a}},a.setCurrent=function(){var n=t.css,r=e("."+n.isCurrent),i=r.data("keyboard");e.isEmptyObject(i)||i.el===a.el||i.close(!!i.options.autoAccept&&"true"),r.removeClass(n.isCurrent),e("."+n.hasFocus).removeClass(n.hasFocus),a.$el.addClass(n.isCurrent),a.$preview.focus(),a.$keyboard.addClass(n.hasFocus),a.isCurrent(!0),a.isOpen=!0},a.isUnavailable=function(){return a.$el.is(":disabled")||!a.options.activeOnReadonly&&a.$el.attr("readonly")&&!a.$el.hasClass(t.css.locked)},a.isCurrent=function(e){var n=t.currentKeyboard||!1;return e?n=t.currentKeyboard=a.el:!1===e&&n===a.el&&(n=t.currentKeyboard=""),n===a.el},a.hasKeyboard=function(){return a.$keyboard&&a.$keyboard.length>0},a.isVisible=function(){return!!a.hasKeyboard()&&a.$keyboard.is(":visible")},a.setFocus=function(){var e=a.$preview||a.$el;i.noFocus||e.focus(),a.isContentEditable?t.setEditableCaret(e,a.last.start,a.last.end):t.caret(e,a.last)},a.focusOn=function(){a&&a.el.active&&(a.isVisible()?a.setCurrent():(clearTimeout(a.timer),a.reveal()))},a.redraw=function(e){return e&&(a.options.layout=e),a.$keyboard.length&&(a.last.preVal=""+a.last.val,a.saveLastChange(),a.setValue(a.last.val,a.$el),a.removeKeyboard(),a.shiftActive=a.altActive=a.metaActive=!1),a.isOpen=i.alwaysOpen,a.reveal(!0),a},a.reveal=function(n){var r,o=a.isOpen,s=t.css;if(a.opening=!o,e("."+s.keyboard).not("."+s.alwaysOpen).each((function(){var t=e(this).data("keyboard");e.isEmptyObject(t)||t.close(!!t.options.autoAccept&&"true")})),!a.isUnavailable())return a.$el.removeClass(s.noKeyboard),i.openOn&&a.$el.unbind(e.trim((i.openOn+" ").split(/\s+/).join(a.namespace+" "))),a.$keyboard&&(!a.$keyboard||a.$keyboard.length&&!e.contains(a.el.ownerDocument.body,a.$keyboard[0]))||a.startup(),a.watermark||a.getValue()!==a.inPlaceholder||(a.$el.removeClass(s.placeholder),a.setValue("",a.$el)),a.originalContent=a.isContentEditable?a.$el.html():a.getValue(a.$el),a.el===a.preview||a.isContentEditable||a.setValue(a.originalContent),i.acceptValid&&i.checkValidOnInit&&a.checkValid(),i.resetDefault&&(a.shiftActive=a.altActive=a.metaActive=!1),a.showSet(),a.isVisible()||a.$el.trigger(t.events.kbBeforeVisible,[a,a.el]),(a.initialized||i.initialFocus||!i.initialFocus&&a.$el.hasClass(t.css.initialFocus))&&a.setCurrent(),a.toggle(),a.$keyboard.show(),i.usePreview&&t.msie&&(void 0===a.width&&(a.$preview.hide(),a.width=Math.ceil(a.$keyboard.width()),a.$preview.show()),a.$preview.width(a.width)),a.reposition(),a.checkDecimal(),a.lineHeight=parseInt(a.$preview.css("lineHeight"),10)||parseInt(a.$preview.css("font-size"),10)+4,i.caretToEnd&&(r=a.isContentEditable?t.getEditableLength(a.el):a.originalContent.length,a.saveCaret(r,r)),t.allie&&(0===a.last.end&&a.last.start>0&&(a.last.end=a.last.start),a.last.start<0&&(a.last.start=a.last.end=a.originalContent.length)),o||n?(t.caret(a.$preview,a.last),a.opening=!1,a):(a.timer2=setTimeout((function(){a.opening=!1,/(number|email)/i.test(a.el.type)||i.caretToEnd||a.saveCaret(void 0,void 0,a.$el),(i.initialFocus||a.$el.hasClass(t.css.initialFocus))&&t.caret(a.$preview,a.last),a.last.eventTime=(new Date).getTime(),a.$el.trigger(t.events.kbVisible,[a,a.el]),a.timer=setTimeout((function(){a&&a.saveCaret()}),200)}),10),a)},a.updateLanguage=function(){var n=t.layouts,r=i.language||n[i.layout]&&n[i.layout].lang&&n[i.layout].lang||[i.language||"en"],o=t.language;r="[object Array]"===Object.prototype.toString.call(r)?r[0]:r,a.language=r,r=r.split("-")[0],i.display=e.extend(!0,{},o.en.display,o[r]&&o[r].display||{},a.settings.display),i.combos=e.extend(!0,{},o.en.combos,o[r]&&o[r].combos||{},a.settings.combos),i.wheelMessage=o[r]&&o[r].wheelMessage||o.en.wheelMessage,i.rtl=n[i.layout]&&n[i.layout].rtl||o[r]&&o[r].rtl||!1,o[r]&&o[r].comboRegex&&(a.regex=o[r].comboRegex),a.decimal=/^\./.test(i.display.dec),a.$el.toggleClass("rtl",i.rtl).css("direction",i.rtl?"rtl":"")},a.startup=function(){var n=t.css;(i.alwaysOpen||i.userClosed)&&a.$preview||a.makePreview(),a.hasKeyboard()||("custom"===i.layout&&(i.layoutHash="custom"+a.customHash()),a.layout="custom"===i.layout?i.layoutHash:i.layout,a.last.layout=a.layout,a.updateLanguage(),void 0===t.builtLayouts[a.layout]&&("function"==typeof i.create?a.$keyboard=i.create(a):a.$keyboard.length||a.buildKeyboard(a.layout,!0)),a.$keyboard=t.builtLayouts[a.layout].$keyboard.clone(),a.$keyboard.data("keyboard",a),""!==(a.el.id||"")&&a.$keyboard.attr("id",a.el.id+t.css.idSuffix),a.makePreview()),a.$keyboard.attr("data-"+n.keyboard+"-layout",i.layout).attr("data-"+n.keyboard+"-language",a.language),a.$decBtn=a.$keyboard.find("."+n.keyPrefix+"dec"),(i.enterNavigation||a.isTextArea)&&a.alwaysAllowed.push(t.keyCodes.enter),a.bindKeyboard(),a.$keyboard.appendTo(i.appendLocally?a.$el.parent():i.appendTo||"body"),a.bindKeys(),i.reposition&&e.ui&&e.ui.position&&"body"===i.appendTo&&e(window).bind("resize"+a.namespace,(function(){a.reposition()}))},a.reposition=function(){return a.position=!e.isEmptyObject(i.position)&&i.position,e.ui&&e.ui.position&&a.position&&(a.position.of=a.position.of||a.$el.data("keyboardPosition")||a.$el,a.position.collision=a.position.collision||"flipfit flipfit",a.position.at=i.usePreview?i.position.at:i.position.at2,a.isVisible()&&a.$keyboard.position(a.position)),a},a.makePreview=function(){if(i.usePreview){var n,r,o,s,l=t.css;for(a.$preview=a.$el.clone(!1).data("keyboard",a).removeClass(l.placeholder+" "+l.input).addClass(l.preview+" "+i.css.input).attr("tabindex","-1").show(),a.preview=a.$preview[0],s=/^(data-|id|aria-haspopup)/i,n=(r=a.$preview.get(0).attributes).length-1;n>=0;n--)o=r[n]&&r[n].name,s.test(o)&&a.preview.removeAttribute(o);e("<div />").addClass(l.wrapper).append(a.$preview).prependTo(a.$keyboard)}else a.$preview=a.$el,a.preview=a.el},a.caret=function(n,r){var i=t.caret(a.$preview,n,r);return i instanceof e?(a.saveCaret(i.start,i.end),a):i},a.saveCaret=function(e,n,r){var i;a.isCurrent()&&(i=void 0===e?t.caret(r||a.$preview):t.caret(r||a.$preview,e,n),a.last.start=void 0===e?i.start:e,a.last.end=void 0===n?i.end:n)},a.saveLastChange=function(e){a.last.val=e||a.getValue(a.$preview||a.$el),a.isContentEditable&&(a.last.elms=a.el.cloneNode(!0))},a.setScroll=function(){if(!a.isContentEditable&&a.last.virtual){var e,n,r,o,s=a.last.val.substring(0,Math.max(a.last.start,a.last.end));a.$previewCopy||(a.$previewCopy=a.$preview.clone().removeAttr("id").css({position:"absolute",left:0,zIndex:-10,visibility:"hidden"}).addClass(t.css.inputClone),a.$previewCopy[0].disabled=!0,a.isTextArea||a.$previewCopy.css({"white-space":"pre",width:0}),i.usePreview?a.$preview.after(a.$previewCopy):a.$keyboard.prepend(a.$previewCopy)),a.isTextArea?(a.$previewCopy.height(a.lineHeight).val(s),a.preview.scrollTop=a.lineHeight*(Math.floor(a.$previewCopy[0].scrollHeight/a.lineHeight)-1)):(a.$previewCopy.val(s.replace(/\s/g," ")),r=/c/i.test(i.scrollAdjustment)?a.preview.clientWidth/2:i.scrollAdjustment,e=a.$previewCopy[0].scrollWidth-1,void 0===a.last.scrollWidth&&(a.last.scrollWidth=e,a.last.direction=!0),o=a.last.scrollWidth===e?a.last.direction:a.last.scrollWidth<e,n=a.preview.clientWidth-r,o?a.preview.scrollLeft=e<n?0:e-n:e>=a.preview.scrollWidth-n?a.preview.scrollLeft=a.preview.scrollWidth-r:a.preview.scrollLeft=e-r>0?e-r:0,a.last.scrollWidth=e,a.last.direction=o)}},a.bindFocus=function(){i.openOn&&a&&a.el.active&&(a.$el.bind(i.openOn+a.namespace,(function(){a.focusOn()})),e(":focus")[0]===a.el&&a.$el.blur())},a.bindKeyboard=function(){var n,r=t.keyCodes,o=t.builtLayouts[a.layout],s=a.namespace+"keybindings";a.$preview.unbind(a.namespace).bind("click"+s+" touchstart"+s,(function(){i.alwaysOpen&&!a.isCurrent()&&a.reveal(),a.timer2=setTimeout((function(){a&&a.saveCaret()}),150)})).bind("keypress"+s,(function(s){if(i.lockInput)return!1;if(a.isCurrent()){var l=s.charCode||s.which,c=l>=r.A&&l<=r.Z,u=l>=r.a&&l<=r.z,d=a.last.key=String.fromCharCode(l);if(!(l<r.space)){if(a.last.virtual=!1,a.last.event=s,a.last.$key=[],a.checkCaret&&a.saveCaret(),l!==r.capsLock&&(c||u)&&(a.capsLock=c&&!s.shiftKey||u&&s.shiftKey,a.capsLock&&!a.shiftActive&&(a.shiftActive=!0,a.showSet())),i.restrictInput){if((s.which===r.backSpace||0===s.which)&&e.inArray(s.keyCode,a.alwaysAllowed))return;-1===e.inArray(d,o.acceptedKeys)&&(s.preventDefault(),(n=e.extend({},s)).type=t.events.inputRestricted,a.$el.trigger(n,[a,a.el]))}else if((s.ctrlKey||s.metaKey)&&(s.which===r.A||s.which===r.C||s.which===r.V||s.which>=r.X&&s.which<=r.Z))return;o.hasMappedKeys&&o.mappedKeys.hasOwnProperty(d)&&(a.last.key=o.mappedKeys[d],a.insertText(a.last.key),s.preventDefault()),"function"==typeof i.beforeInsert&&(a.insertText(a.last.key),s.preventDefault()),a.checkMaxLength()}}})).bind("keyup"+s,(function(n){if(a.isCurrent()){switch(a.last.virtual=!1,n.which){case r.tab:if(a.tab&&!i.lockInput){a.shiftActive=n.shiftKey;var o=t.keyaction.tab(a);if(a.tab=!1,!o)return!1}else n.preventDefault();break;case r.escape:return i.ignoreEsc||a.close(!(!i.autoAccept||!i.autoAcceptOnEsc)&&"true"),!1}clearTimeout(a.throttled),a.throttled=setTimeout((function(){a&&a.isVisible()&&a.checkCombos()}),100),a.checkMaxLength(),a.last.preVal=""+a.last.val,a.saveLastChange();var s=e.Event(t.events.kbChange);if(s.action=a.last.key,a.$el.trigger(s,[a,a.el]),"function"==typeof i.change)return s.type=t.events.inputChange,i.change(s,a,a.el),!1;i.acceptValid&&i.autoAcceptOnValid&&"function"==typeof i.validate&&i.validate(a,a.getValue(a.$preview))&&(a.$preview.blur(),a.accept())}})).bind("keydown"+s,(function(e){if(a.last.keyPress=e.which,i.alwaysOpen&&!a.isCurrent()&&a.reveal(),e.which===r.tab)return a.tab=!0,!1;if(i.lockInput||e.timeStamp===a.last.timeStamp)return!i.lockInput;switch(a.last.timeStamp=e.timeStamp,a.last.virtual=!1,e.which){case r.backSpace:t.keyaction.bksp(a,null,e),e.preventDefault();break;case r.enter:t.keyaction.enter(a,null,e);break;case r.capsLock:a.shiftActive=a.capsLock=!a.capsLock,a.showSet();break;case r.V:if(e.ctrlKey||e.metaKey){if(i.preventPaste)return void e.preventDefault();a.checkCombos()}}})).bind("mouseup touchend ".split(" ").join(s+" "),(function(){a.last.virtual=!0,a.saveCaret()})),a.$keyboard.bind("mousedown click touchstart ".split(" ").join(a.namespace+" "),(function(t){t.stopPropagation(),a.isCurrent()||(a.reveal(),e(a.el.ownerDocument).trigger("checkkeyboard"+a.namespace)),a.setFocus()})),i.preventPaste&&(a.$preview.bind("contextmenu"+a.namespace,(function(e){e.preventDefault()})),a.$el.bind("contextmenu"+a.namespace,(function(e){e.preventDefault()})))},a.bindButton=function(n,r){var i="."+t.css.keyButton,o=function(n){n.stopPropagation(),n.$target=e(this).closest("."+t.css.keyboard+", ."+t.css.input),r.call(this,n)};return e.fn.on?a.$keyboard.on(n,i,o):e.fn.delegate&&a.$keyboard.delegate(i,n,o),a},a.unbindButton=function(n){return e.fn.off?a.$keyboard.off(n):e.fn.undelegate&&a.$keyboard.undelegate("."+t.css.keyButton,n),a},a.bindKeys=function(){var n=t.css;a.unbindButton(a.namespace+" "+a.namespace+"kb").bindButton("mouseenter mouseleave touchstart ".split(" ").join(a.namespace+" "),(function(t){if(!i.alwaysOpen&&!i.userClosed||"mouseleave"===t.type||a.isCurrent()||(a.reveal(),a.setFocus()),a.isCurrent()&&!this.disabled){var n,r,o=a.last,s=e(this),l=t.type;i.useWheel&&a.wheel&&(n=a.getLayers(s),r=(n.length?n.map((function(){return e(this).attr("data-value")||""})).get():"")||[s.text()],o.wheel_$Keys=n,o.wheelLayers=r,o.wheelIndex=e.inArray(s.attr("data-value"),r)),"mouseenter"!==l&&"touchstart"!==l||"password"===a.el.type||s.hasClass(i.css.buttonDisabled)||(s.addClass(i.css.buttonHover),i.useWheel&&a.wheel&&s.attr("title",(function(e,t){return a.wheel&&""===t&&a.sets&&r.length>1&&"touchstart"!==l?i.wheelMessage:t}))),"mouseleave"===l&&(s.removeClass("password"===a.el.type?"":i.css.buttonHover),i.useWheel&&a.wheel&&(o.wheelIndex=0,o.wheelLayers=[],o.wheel_$Keys=[],s.attr("title",(function(e,t){return t===i.wheelMessage?"":t})).html(s.attr("data-html"))))}})).bindButton(i.keyBinding.split(" ").join(a.namespace+" ")+a.namespace+" "+t.events.kbRepeater,(function(r){if(r.preventDefault(),!a.$keyboard.is(":visible")||this.disabled)return!1;var o,s=a.last,l=e(this),c=(new Date).getTime();if(i.useWheel&&a.wheel&&(l=s.wheel_$Keys.length&&s.wheelIndex>-1?s.wheel_$Keys.eq(s.wheelIndex):l),o=l.attr("data-action"),!(c-(s.eventTime||0)<i.preventDoubleEventTime)){if(s.eventTime=c,s.event=r,s.virtual=!0,s.$key=l,s.key=l.attr("data-value"),s.keyPress="",a.setFocus(),/^meta/.test(o)&&(o="meta"),o===s.key&&"string"==typeof t.keyaction[o])s.key=o=t.keyaction[o];else if(o in t.keyaction&&"function"==typeof t.keyaction[o]){if(!1===t.keyaction[o](a,this,r))return!1;o=null}return!!a.hasKeyboard()&&(null!=o&&(s.key=e(this).hasClass(n.keyAction)?o:s.key,a.insertText(s.key),a.capsLock||i.stickyShift||r.shiftKey||(a.shiftActive=!1,a.showSet(l.attr("data-name")))),t.caret(a.$preview,s),a.checkCombos(),(r=e.extend({},r,e.Event(t.events.kbChange))).target=a.el,r.action=s.key,a.$el.trigger(r,[a,a.el]),s.preVal=""+s.val,a.saveLastChange(),"function"==typeof i.change?(r.type=t.events.inputChange,i.change(r,a,a.el),!1):void 0)}})).bindButton("mouseup"+a.namespace+" "+"mouseleave touchend touchmove touchcancel ".split(" ").join(a.namespace+"kb "),(function(n){a.last.virtual=!0;var r,o=e(this);if("touchmove"===n.type){if((r=o.offset()).right=r.left+o.outerWidth(),r.bottom=r.top+o.outerHeight(),n.originalEvent.touches[0].pageX>=r.left&&n.originalEvent.touches[0].pageX<r.right&&n.originalEvent.touches[0].pageY>=r.top&&n.originalEvent.touches[0].pageY<r.bottom)return!0}else/(mouseleave|touchend|touchcancel)/i.test(n.type)?o.removeClass(i.css.buttonHover):(!i.noFocus&&a.isCurrent()&&a.isVisible()&&a.$preview.focus(),a.checkCaret&&t.caret(a.$preview,a.last));return a.mouseRepeat=[!1,""],clearTimeout(a.repeater),i.acceptValid&&i.autoAcceptOnValid&&"function"==typeof i.validate&&i.validate(a,a.getValue())&&(a.$preview.blur(),a.accept()),!1})).bindButton("click"+a.namespace,(function(){return!1})).bindButton("mousewheel"+a.namespace,a.throttleEvent((function(t,r){var o=e(this);if(o&&!o.hasClass(n.keyAction)&&a.last.wheel_$Keys[0]===this&&i.useWheel&&a.wheel){r=r||t.deltaY;var s,l=a.last.wheelLayers||[];return l.length>1?((s=a.last.wheelIndex+(r>0?-1:1))>l.length-1&&(s=0),s<0&&(s=l.length-1)):s=0,a.last.wheelIndex=s,o.html(l[s]),!1}}),30)).bindButton("mousedown touchstart ".split(" ").join(a.namespace+"kb "),(function(){var t=e(this);if(t&&(!t.hasClass(n.keyAction)||t.is("."+n.keyPrefix+"tab bksp space enter".split(" ").join(",."+n.keyPrefix))))return 0!==i.repeatRate&&(a.mouseRepeat=[!0,t],setTimeout((function(){a&&a.mouseRepeat[0]&&a.mouseRepeat[1]===t&&!t[0].disabled&&a.repeatKey(t)}),i.repeatDelay)),!1}))},a.throttleEvent=function(e,t){var n;return function(){n||(e.apply(this,arguments),n=!0,setTimeout((function(){n=!1}),t))}},a.execCommand=function(e,t){a.el.ownerDocument.execCommand(e,!1,t),a.el.normalize(),i.reposition&&a.reposition()},a.getValue=function(e){return(e=e||a.$preview)[a.isContentEditable?"text":"val"]()},a.setValue=function(e,n){return n=n||a.$preview,a.isContentEditable?e!==n.text()&&(t.replaceContent(n,e),a.saveCaret()):n.val(e),a},a.insertText=function(e){if(!a.$preview)return a;if("function"==typeof i.beforeInsert&&(e=i.beforeInsert(a.last.event,a,a.el,e)),void 0===e||!1===e)return a.last.key="",a;if(a.isContentEditable)return a.insertContentEditable(e);var n,r=!1,o="\b"===e,s=a.getValue(),l=t.caret(a.$preview),c=s.length;return l.end<l.start&&(l.end=l.start),l.start>c&&(l.end=l.start=c),a.isTextArea&&t.msie&&"\n"===s.substring(l.start,l.start+1)&&(l.start+=1,l.end+=1),n=l.start,"{d}"===e&&(e="",l.end+=1),o&&(e="",r=o&&n===l.end&&n>0),s=s.substring(0,n-(r?1:0))+e+s.substring(l.end),n+=r?-1:e.length,a.setValue(s),a.saveCaret(n,n),a.setScroll(),a},a.insertContentEditable=function(e){return a.$preview.focus(),a.execCommand("insertText",e),a.saveCaret(),a},a.checkMaxLength=function(){if(a.$preview){var e,n,r=a.getValue(),o=a.isContentEditable?t.getEditableLength(a.el):r.length;return!1!==i.maxLength&&o>i.maxLength&&(e=t.caret(a.$preview).start,n=Math.min(e,i.maxLength),i.maxInsert||(r=a.last.val,n=e-1),a.setValue(r.substring(0,i.maxLength)),a.saveCaret(n,n)),a.$decBtn.length&&a.checkDecimal(),a}},a.repeatKey=function(e){e.trigger(t.events.kbRepeater),a.mouseRepeat[0]&&(a.repeater=setTimeout((function(){a&&a.repeatKey(e)}),a.repeatTime))},a.getKeySet=function(){var e=[];return a.altActive&&e.push("alt"),a.shiftActive&&e.push("shift"),a.metaActive&&e.push(a.metaActive),e.length?e.join("+"):"normal"},a.showKeySet=function(e){return"string"==typeof e?(a.last.keyset=[a.shiftActive,a.altActive,a.metaActive],a.shiftActive=/shift/i.test(e),a.altActive=/alt/i.test(e),/\bmeta/.test(e)?(a.metaActive=!0,a.showSet(e.match(/\bmeta[\w-]+/i)[0])):(a.metaActive=!1,a.showSet())):a.showSet(e),a},a.showSet=function(e){if(a.hasKeyboard()){i=a.options;var n=t.css,r="."+n.keyPrefix,o=i.css.buttonActive,s="",l=(a.shiftActive?1:0)+(a.altActive?2:0);if(a.shiftActive||(a.capsLock=!1),a.metaActive?(a.shiftActive&&(e=(e||"").replace("-shift","")),a.altActive&&(e=(e||"").replace("-alt","")),""===(s=/^meta/i.test(e)?e:"")?s=!0===a.metaActive?"":a.metaActive:a.metaActive=s,(!i.stickyShift&&a.last.keyset[2]!==a.metaActive||(a.shiftActive||a.altActive)&&!a.$keyboard.find("."+n.keySet+"-"+s+a.rows[l]).length)&&(a.shiftActive=a.altActive=!1)):!i.stickyShift&&a.last.keyset[2]!==a.metaActive&&a.shiftActive&&(a.shiftActive=a.altActive=!1),s=0!=(l=(a.shiftActive?1:0)+(a.altActive?2:0))||a.metaActive?""===s?"":"-"+s:"-normal",!a.$keyboard.find("."+n.keySet+s+a.rows[l]).length)return a.shiftActive=a.last.keyset[0],a.altActive=a.last.keyset[1],void(a.metaActive=a.last.keyset[2]);a.$keyboard.find(r+"alt,"+r+"shift,."+n.keyAction+"[class*=meta]").removeClass(o).end().find(r+"alt").toggleClass(o,a.altActive).end().find(r+"shift").toggleClass(o,a.shiftActive).end().find(r+"lock").toggleClass(o,a.capsLock).end().find("."+n.keySet).hide().end().find("."+(n.keyAction+r+s).replace("--","-")).addClass(o),a.$keyboard.find("."+n.keySet+s+a.rows[l])[0].style.display="inline-block",a.metaActive&&a.$keyboard.find(r+a.metaActive).toggleClass(o,!1!==a.metaActive),a.last.keyset=[a.shiftActive,a.altActive,a.metaActive],a.$el.trigger(t.events.kbKeysetChange,[a,a.el]),i.reposition&&a.reposition()}},a.checkCombos=function(){if(!(a.isVisible()||a.hasKeyboard()&&a.$keyboard.hasClass(t.css.hasFocus)))return a.getValue(a.$preview||a.$el);var r,o,s,l,c=a.getValue(),u=t.caret(a.$preview),d=t.builtLayouts[a.layout],p=a.isContentEditable?t.getEditableLength(a.el):c.length,f=p;return""===c?(i.acceptValid&&a.checkValid(),c):(u.end<u.start&&(u.end=u.start),u.start>f&&(u.end=u.start=f),t.msie&&"\n"===c.substring(u.start,u.start+1)&&(u.start+=1,u.end+=1),i.useCombos&&(t.msie?c=c.replace(a.regex,(function(e,t,n){return i.combos.hasOwnProperty(t)&&i.combos[t][n]||e})):a.$preview.length&&(o=u.start-(u.start-2>=0?2:0),t.caret(a.$preview,o,u.end),s=(l=function(e){return(e||"").replace(a.regex,(function(e,t,n){return i.combos.hasOwnProperty(t)&&i.combos[t][n]||e}))})((o=t.caret(a.$preview)).text),o&&o.replaceStr&&s!==o.text&&(a.isContentEditable?t.replaceContent(n,l):a.setValue(o.replaceStr(s))),c=a.getValue())),i.restrictInput&&""!==c&&(o=d.acceptedKeys.length,(r=d.acceptedKeysRegex)||(s=e.map(d.acceptedKeys,(function(e){return e.replace(a.escapeRegex,"\\$&")})),a.alwaysAllowed.indexOf(t.keyCodes.enter)>-1&&s.push("\\n"),r=d.acceptedKeysRegex=new RegExp("("+s.join("|")+")","g")),(s=c.match(r))?c=s.join(""):(c="",f=0)),u.start+=p-f,u.end+=p-f,a.setValue(c),a.saveCaret(u.start,u.end),a.setScroll(),a.checkMaxLength(),i.acceptValid&&a.checkValid(),c)},a.checkValid=function(){var e=t.css,n=a.$keyboard.find("."+e.keyPrefix+"accept"),r=!0;"function"==typeof i.validate&&(r=i.validate(a,a.getValue(),!1)),n.toggleClass(e.inputInvalid,!r).toggleClass(e.inputValid,r).attr("title",n.attr("data-title")+" ("+i.display[r?"valid":"invalid"]+")")},a.checkDecimal=function(){a.decimal&&/\./g.test(a.preview.value)||!a.decimal&&/\,/g.test(a.preview.value)?a.$decBtn.attr({disabled:"disabled","aria-disabled":"true"}).removeClass(i.css.buttonHover).addClass(i.css.buttonDisabled):a.$decBtn.removeAttr("disabled").attr({"aria-disabled":"false"}).addClass(i.css.buttonDefault).removeClass(i.css.buttonDisabled)},a.getLayers=function(n){var r=t.css,i=n.attr("data-pos");return n.closest("."+r.keyboard).find('button[data-pos="'+i+'"]').filter((function(){return""!==e(this).find("."+r.keyText).text()})).add(n)},a.switchInput=function(t,n){if("function"==typeof i.switchInput)i.switchInput(a,t,n);else{a.$keyboard.length&&a.$keyboard.hide();var r,o=!1,s=e("button, input, select, textarea, a, [contenteditable]").filter(":visible").not(":disabled"),l=s.index(a.$el)+(t?1:-1);if(a.$keyboard.length&&a.$keyboard.show(),l>s.length-1&&(o=i.stopAtEnd,l=0),l<0&&(o=i.stopAtEnd,l=s.length-1),!o){if(!(n=a.close(n)))return;(r=s.eq(l).data("keyboard"))&&r.options.openOn.length?r.focusOn():s.eq(l).focus()}}return!1},a.close=function(e){if(a.isOpen&&a.$keyboard.length){clearTimeout(a.throttled);var n=t.css,r=t.events,o=e?a.checkCombos():a.originalContent;if(e&&"function"==typeof i.validate&&!i.validate(a,o,!0)&&(o=a.originalContent,e=!1,i.cancelClose))return;a.isCurrent(!1),a.isOpen=i.alwaysOpen||i.userClosed,a.isContentEditable&&!e?a.$el.html(o):a.setValue(o,a.$el),a.$el.removeClass(n.isCurrent+" "+n.inputAutoAccepted).addClass(e?!0===e?"":n.inputAutoAccepted:"").trigger(r.inputChange),i.alwaysOpen||a.$el.trigger(r.kbBeforeClose,[a,a.el,e||!1]),t.caret(a.$preview,a.last),a.$el.trigger(e?r.inputAccepted:r.inputCanceled,[a,a.el]).trigger(i.alwaysOpen?r.kbInactive:r.kbHidden,[a,a.el]).blur(),a&&(a.last.eventTime=(new Date).getTime(),i.alwaysOpen||i.userClosed&&"true"===e||!a.$keyboard.length||(a.removeKeyboard(),a.timer=setTimeout((function(){a&&a.bindFocus()}),200)),a.watermark||""!==a.el.value||""===a.inPlaceholder||(a.$el.addClass(n.placeholder),a.setValue(a.inPlaceholder,a.$el)))}return!!e},a.accept=function(){return a.close(!0)},a.checkClose=function(n){if(!a.opening){var r=e.keyboard.css,o=n.$target||e(n.target).closest("."+t.css.keyboard+", ."+t.css.input);if(o.length||(o=e(n.target)),o.length&&o.hasClass(r.keyboard)){var s=o.data("keyboard");s!==a&&!s.$el.hasClass(r.isCurrent)&&s.options.openOn&&n.type===i.openOn&&s.focusOn()}else a.escClose(n,o)}},a.escCloseCallback={keepOpen:function(){return!a.isOpen}},a.escClose=function(n,r){if(a.isOpen){if(n&&"keyup"===n.type)return n.which!==t.keyCodes.escape||i.ignoreEsc?"":a.close(!(!i.autoAccept||!i.autoAcceptOnEsc)&&"true");var o=!1,s=r.length&&r||e(n.target);if(e.each(a.escCloseCallback,(function(e,t){"function"==typeof t&&(o=o||t(s))})),!o&&(!a.isCurrent()&&a.isOpen||a.isOpen&&s[0]!==a.el)){if((i.stayOpen||i.userClosed)&&!s.hasClass(t.css.input))return;if(t.allie&&n.preventDefault(),i.closeByClickEvent){var l=s[0]&&s[0].nodeName.toLowerCase();"input"!==l&&"textarea"!==l&&"click"!==n.type||a.close(!!i.autoAccept&&"true")}else a.close(!!i.autoAccept&&"true")}}},a.keyBtn=e("<button />").attr({role:"button",type:"button","aria-disabled":"false",tabindex:"-1"}).addClass(t.css.keyButton),a.processName=function(e){var t,n,r=(e||"").replace(/[^a-z0-9-_]/gi,""),i=r.length,a=[];if(i>1&&e===r)return e;if(i=e.length){for(t=0;t<i;t++)n=e[t],a.push(/[a-z0-9-_]/i.test(n)?/[-_]/.test(n)&&0!==t?"":n:(0===t?"":"-")+n.charCodeAt(0));return a.join("")}return e},a.processKeys=function(t){var n,r,i=t.indexOf("</"),a={name:t,map:"",title:""};return i>-1||(r=t.split(/:(?!\/\/)/),/\(.+\)/.test(r[0])||/^:\(.+\)/.test(t)||/\([(:)]\)/.test(t)?/\([(:)]\)/.test(t)?(n=r[0].match(/([^(]+)\((.+)\)/))&&n.length?(a.name=n[1],a.map=n[2],a.title=r.length>1?r.slice(1).join(":"):""):(a.name=t.match(/([^(]+)/)[0],":"===a.name&&(r=r.slice(1)),null===n&&(a.map=":",r=r.slice(2)),a.title=r.length?r.join(":"):""):(a.map=t.match(/\(([^()]+?)\)/)[1],""===(n=(t=t.replace(/\(([^()]+)\)/,"")).split(":"))[0]?(a.name=":",r=r.slice(1)):a.name=n[0],a.title=r.length>1?r.slice(1).join(":"):""):(""!==t&&""===r[0]?(a.name=":",r=r.slice(1)):a.name=r[0],a.title=r.length>1?r.slice(1).join(":"):""),a.title=e.trim(a.title).replace(/_/g," ")),a},a.addKey=function(e,n,r){var o,s,l,c={},u=a.processKeys(r?e:n),d=t.css;return!r&&i.display[u.name]?(l=a.processKeys(i.display[u.name])).action=a.processKeys(e).name:(l=u).action=u.name,c.name=a.processName(u.name),""!==l.name&&(""!==l.map?(t.builtLayouts[a.layout].mappedKeys[l.map]=l.name,t.builtLayouts[a.layout].acceptedKeys.push(l.name)):r&&t.builtLayouts[a.layout].acceptedKeys.push(l.name)),o=r?""===c.name?"":d.keyPrefix+c.name:d.keyAction+" "+d.keyPrefix+l.action,o+=(l.name.length>2?" "+d.keyWide:"")+" "+i.css.buttonDefault,c.html='<span class="'+d.keyText+'">'+l.name+"</span>",c.$key=a.keyBtn.clone().attr({"data-value":r?l.name:l.action,"data-name":l.action,"data-pos":a.temp[1]+","+a.temp[2],"data-action":l.action,"data-html":c.html}).addClass(o).html(c.html).appendTo(a.temp[0]),l.map&&c.$key.attr("data-mapped",l.map),(l.title||u.title)&&c.$key.attr({"data-title":u.title||l.title,title:u.title||l.title}),"function"==typeof i.buildKey&&(s=(c=i.buildKey(a,c)).$key.html(),c.$key.attr("data-html",s)),c.$key},a.customHash=function(e){var t,n,r,a,o=[],s=[];for(n in e=void 0===e?i.customLayout:e)e.hasOwnProperty(n)&&o.push(e[n]);if(r=0,0===(a=(s=s.concat.apply(s,o).join(" ")).length))return r;for(t=0;t<a;t++)r=(r<<5)-r+s.charCodeAt(t),r&=r;return r},a.buildKeyboard=function(n,r){e.isEmptyObject(i.display)&&a.updateLanguage();var o,s,l,c,u=t.css,d=0,p=t.builtLayouts[n||a.layout||i.layout]={mappedKeys:{},acceptedKeys:[]},f=p.acceptedKeys=i.restrictInclude&&(""+i.restrictInclude).split(/\s+/)||[],h=u.keyboard+" "+i.css.popup+" "+i.css.container+(i.alwaysOpen||i.userClosed?" "+u.alwaysOpen:""),v=e("<div />").addClass(h).attr({role:"textbox"}).hide();return(o=e.inArray("{space}",f))>-1&&(f[o]=" "),r&&"custom"===i.layout||!t.layouts.hasOwnProperty(i.layout)?(i.layout="custom",h=t.layouts.custom=i.customLayout||{normal:["{cancel}"]}):h=t.layouts[r?i.layout:n||a.layout||i.layout],e.each(h,(function(t,n){if(""!==t&&!/^(name|lang|rtl)$/i.test(t))for("default"===t&&(t="normal"),d++,l=e("<div />").attr("name",t).addClass(u.keySet+" "+u.keySet+"-"+t).appendTo(v).toggle("normal"===t),s=0;s<n.length;s++)c=e.trim(n[s]).replace(/\{(\.?)[\s+]?:[\s+]?(\.?)\}/g,"{$1:$2}"),a.buildRow(l,s,c.split(/\s+/),f),l.find("."+u.keyButton+",."+u.keySpacer).filter(":last").after('<br class="'+u.endRow+'"/>')})),d>1&&(a.sets=!0),p.hasMappedKeys=!e.isEmptyObject(p.mappedKeys),p.$keyboard=v,v},a.buildRow=function(n,r,o,s){var l,c,u,d,p,f,h=t.css;for(u=0;u<o.length;u++)if(a.temp=[n,r,u],d=!1,0!==o[u].length)if(/^\{\S+\}$/.test(o[u])){if(p=o[u].match(/^\{(\S+)\}$/)[1],/\!\!/.test(p)&&(p=p.replace("!!",""),d=!0),/^sp:((\d+)?([\.|,]\d+)?)(em|px)?$/i.test(p)&&(f=parseFloat(p.replace(/,/,".").match(/^sp:((\d+)?([\.|,]\d+)?)(em|px)?$/i)[1]||0),e('<span class="'+h.keyText+'"></span>').width(p.match(/px/i)?f+"px":2*f+"em").addClass(h.keySpacer).appendTo(n)),/^empty(:((\d+)?([\.|,]\d+)?)(em|px)?)?$/i.test(p)){f=/:/.test(p)?parseFloat(p.replace(/,/,".").match(/^empty:((\d+)?([\.|,]\d+)?)(em|px)?$/i)[1]||0):"",a.addKey(""," ",!0).addClass(i.css.buttonDisabled+" "+i.css.buttonEmpty).attr("aria-disabled",!0).width(f?p.match("px")?f+"px":2*f+"em":"");continue}if(/^meta[\w-]+\:?(\w+)?/i.test(p)){a.addKey(p.split(":")[0],p).addClass(h.keyHasActive);continue}switch((c=p.split(":"))[0].toLowerCase()){case"a":case"accept":a.addKey("accept",p).addClass(i.css.buttonAction+" "+h.keyAction);break;case"alt":case"altgr":a.addKey("alt",p).addClass(h.keyHasActive);break;case"b":case"bksp":a.addKey("bksp",p);break;case"c":case"cancel":a.addKey("cancel",p).addClass(i.css.buttonAction+" "+h.keyAction);break;case"combo":a.addKey("combo",p).addClass(h.keyHasActive).attr("title",(function(e,t){return t+" "+i.display[i.useCombos?"active":"disabled"]})).toggleClass(i.css.buttonActive,i.useCombos);break;case"dec":s.push(a.decimal?".":","),a.addKey("dec",p);break;case"e":case"enter":a.addKey("enter",p).addClass(i.css.buttonAction+" "+h.keyAction);break;case"lock":a.addKey("lock",p).addClass(h.keyHasActive);break;case"s":case"shift":a.addKey("shift",p).addClass(h.keyHasActive);break;case"sign":s.push("-"),a.addKey("sign",p);break;case"space":s.push(" "),a.addKey("space",p);break;case"t":case"tab":a.addKey("tab",p);break;default:t.keyaction.hasOwnProperty(c[0])&&a.addKey(c[0],p).toggleClass(i.css.buttonAction+" "+h.keyAction,d)}}else l=o[u],a.addKey(l,l,!0)},a.removeBindings=function(t){e(document).unbind(t),a.el.ownerDocument!==document&&e(a.el.ownerDocument).unbind(t),e(window).unbind(t),a.$el.unbind(t)},a.removeKeyboard=function(){a.$decBtn=[],i.usePreview&&a.$preview.removeData("keyboard"),a.$preview.unbind(a.namespace+"keybindings"),a.preview=null,a.$preview=null,a.$previewCopy=null,a.$keyboard.removeData("keyboard"),a.$keyboard.remove(),a.$keyboard=[],a.isOpen=!1,a.isCurrent(!1)},a.destroy=function(e){var n,r=t.css,o=a.extensionNamespace.length,s=[r.input,r.locked,r.placeholder,r.noKeyboard,r.alwaysOpen,i.css.input,r.isCurrent].join(" ");for(clearTimeout(a.timer),clearTimeout(a.timer2),clearTimeout(a.timer3),a.$keyboard.length&&a.removeKeyboard(),a.options.openOn&&a.removeBindings(a.options.openOn),a.removeBindings(a.namespace),a.removeBindings(a.namespace+"callbacks"),n=0;n<o;n++)a.removeBindings(a.extensionNamespace[n]);a.el.active=!1,a.$el.removeClass(s).removeAttr("aria-haspopup").removeAttr("role").removeData("keyboard"),a=null,"function"==typeof e&&e()},a.init()};return t.keyCodes={backSpace:8,tab:9,enter:13,capsLock:20,escape:27,space:32,pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,A:65,Z:90,V:86,C:67,X:88,a:97,z:122},t.css={idSuffix:"_keyboard",initialFocus:"keyboard-init-focus",input:"ui-keyboard-input",inputClone:"ui-keyboard-preview-clone",wrapper:"ui-keyboard-preview-wrapper",preview:"ui-keyboard-preview",keyboard:"ui-keyboard",keySet:"ui-keyboard-keyset",keyButton:"ui-keyboard-button",keyWide:"ui-keyboard-widekey",keyPrefix:"ui-keyboard-",keyText:"ui-keyboard-text",keyHasActive:"ui-keyboard-hasactivestate",keyAction:"ui-keyboard-actionkey",keySpacer:"ui-keyboard-spacer",keyToggle:"ui-keyboard-toggle",keyDisabled:"ui-keyboard-disabled",divWrapperCE:"ui-keyboard-div-wrapper",locked:"ui-keyboard-lockedinput",alwaysOpen:"ui-keyboard-always-open",noKeyboard:"ui-keyboard-nokeyboard",placeholder:"ui-keyboard-placeholder",hasFocus:"ui-keyboard-has-focus",isCurrent:"ui-keyboard-input-current",inputValid:"ui-keyboard-valid-input",inputInvalid:"ui-keyboard-invalid-input",inputAutoAccepted:"ui-keyboard-autoaccepted",endRow:"ui-keyboard-button-endrow"},t.events={kbChange:"keyboardChange",kbBeforeClose:"beforeClose",kbBeforeVisible:"beforeVisible",kbVisible:"visible",kbInit:"initialized",kbInactive:"inactive",kbHidden:"hidden",kbRepeater:"repeater",kbKeysetChange:"keysetChange",inputAccepted:"accepted",inputCanceled:"canceled",inputChange:"change",inputRestricted:"restricted"},t.keyaction={accept:function(e){return e.close(!0),!1},alt:function(e){e.altActive=!e.altActive,e.showSet()},bksp:function(e){e.isContentEditable?(e.execCommand("delete"),e.saveCaret()):e.insertText("\b")},cancel:function(e){return e.close(),!1},clear:function(e){e.$preview[e.isContentEditable?"text":"val"](""),e.$decBtn.length&&e.checkDecimal()},combo:function(e){var n=e.options,r=!n.useCombos,i=e.$keyboard.find("."+t.css.keyPrefix+"combo");return n.useCombos=r,i.toggleClass(n.css.buttonActive,r).attr("title",i.attr("data-title")+" ("+n.display[r?"active":"disabled"]+")"),r&&e.checkCombos(),!1},dec:function(e){e.insertText(e.decimal?".":",")},del:function(e){e.isContentEditable?e.execCommand("forwardDelete"):e.insertText("{d}")},default:function(e){e.shiftActive=e.altActive=e.metaActive=!1,e.showSet()},enter:function(n,r,i){var a=n.options;return i.shiftKey?a.enterNavigation?n.switchInput(!i[a.enterMod],!0):n.close(!0):!a.enterNavigation||n.isTextArea&&!i[a.enterMod]?(n.isTextArea&&e(i.target).closest("button").length&&n.insertText((t.msie?" ":"")+"\n"),void(n.isContentEditable&&!a.enterNavigation&&(n.execCommand("insertHTML",'<div><br class="'+t.css.divWrapperCE+'"></div>'),setTimeout((function(){t.keyaction.right(n),n.saveCaret()}),0)))):n.switchInput(!i[a.enterMod],!!a.autoAccept&&"true")},lock:function(e){e.last.keyset[0]=e.shiftActive=e.capsLock=!e.capsLock,e.showSet()},left:function(e){var n=t.caret(e.$preview);n.start-1>=0&&(e.last.start=e.last.end=n.start-1,t.caret(e.$preview,e.last),e.setScroll())},meta:function(t,n){var r=e(n);t.metaActive=!r.hasClass(t.options.css.buttonActive),t.showSet(r.attr("data-name"))},next:function(e){return e.switchInput(!0,e.options.autoAccept),!1},normal:function(e){e.shiftActive=e.altActive=e.metaActive=!1,e.showSet()},prev:function(e){return e.switchInput(!1,e.options.autoAccept),!1},right:function(e){var n=t.caret(e.$preview),r=e.isContentEditable?t.getEditableLength(e.el):e.getValue().length;n.end+1<=r&&(e.last.start=e.last.end=n.end+1,t.caret(e.$preview,e.last),e.setScroll())},shift:function(e){e.last.keyset[0]=e.shiftActive=!e.shiftActive,e.showSet()},sign:function(e){if((e.decimal?/^[+-]?\d*\.?\d*$/:/^[+-]?\d*,?\d*$/).test(e.getValue())){var n,r=t.caret(e.$preview),i=e.getValue(),a=e.isContentEditable?t.getEditableLength(e.el):i.length;e.setValue(-1*i),n=a-i.length,e.last.start=r.start+n,e.last.end=r.end+n,t.caret(e.$preview,e.last),e.setScroll()}},space:function(e){e.insertText(" ")},tab:function(e){var t=e.options;if(!e.isTextArea){if(t.tabNavigation)return e.switchInput(!e.shiftActive,!0);if(e.isInput)return!1}e.insertText("\t")},toggle:function(e){e.enabled=!e.enabled,e.toggle()},NBSP:" ",ZWSP:"​",ZWNJ:"‌",ZWJ:"‍",LRM:"‎",RLM:"‏"},t.builtLayouts={},t.layouts={alpha:{normal:["` 1 2 3 4 5 6 7 8 9 0 - = {bksp}","{tab} a b c d e f g h i j [ ] \\","k l m n o p q r s ; ' {enter}","{shift} t u v w x y z , . / {shift}","{accept} {space} {cancel}"],shift:["~ ! @ # $ % ^ & * ( ) _ + {bksp}","{tab} A B C D E F G H I J { } |",'K L M N O P Q R S : " {enter}',"{shift} T U V W X Y Z < > ? {shift}","{accept} {space} {cancel}"]},qwerty:{normal:["` 1 2 3 4 5 6 7 8 9 0 - = {bksp}","{tab} q w e r t y u i o p [ ] \\","a s d f g h j k l ; ' {enter}","{shift} z x c v b n m , . / {shift}","{accept} {space} {cancel}"],shift:["~ ! @ # $ % ^ & * ( ) _ + {bksp}","{tab} Q W E R T Y U I O P { } |",'A S D F G H J K L : " {enter}',"{shift} Z X C V B N M < > ? {shift}","{accept} {space} {cancel}"]},international:{normal:["` 1 2 3 4 5 6 7 8 9 0 - = {bksp}","{tab} q w e r t y u i o p [ ] \\","a s d f g h j k l ; ' {enter}","{shift} z x c v b n m , . / {shift}","{accept} {alt} {space} {alt} {cancel}"],shift:["~ ! @ # $ % ^ & * ( ) _ + {bksp}","{tab} Q W E R T Y U I O P { } |",'A S D F G H J K L : " {enter}',"{shift} Z X C V B N M < > ? {shift}","{accept} {alt} {space} {alt} {cancel}"],alt:["~ ¡ ² ³ ¤ € ¼ ½ ¾ ‘ ’ ¥ × {bksp}","{tab} ä å é ® þ ü ú í ó ö « » ¬","á ß ð f g h j k ø ¶ ´ {enter}","{shift} æ x © v b ñ µ ç > ¿ {shift}","{accept} {alt} {space} {alt} {cancel}"],"alt-shift":["~ ¹ ² ³ £ € ¼ ½ ¾ ‘ ’ ¥ ÷ {bksp}","{tab} Ä Å É ® Þ Ü Ú Í Ó Ö « » ¦","Ä § Ð F G H J K Ø ° ¨ {enter}","{shift} Æ X ¢ V B Ñ µ Ç . ¿ {shift}","{accept} {alt} {space} {alt} {cancel}"]},colemak:{normal:["` 1 2 3 4 5 6 7 8 9 0 - = {bksp}","{tab} q w f p g j l u y ; [ ] \\","{bksp} a r s t d h n e i o ' {enter}","{shift} z x c v b k m , . / {shift}","{accept} {space} {cancel}"],shift:["~ ! @ # $ % ^ & * ( ) _ + {bksp}","{tab} Q W F P G J L U Y : { } |",'{bksp} A R S T D H N E I O " {enter}',"{shift} Z X C V B K M < > ? {shift}","{accept} {space} {cancel}"]},dvorak:{normal:["` 1 2 3 4 5 6 7 8 9 0 [ ] {bksp}","{tab} ' , . p y f g c r l / = \\","a o e u i d h t n s - {enter}","{shift} ; q j k x b m w v z {shift}","{accept} {space} {cancel}"],shift:["~ ! @ # $ % ^ & * ( ) { } {bksp}",'{tab} " < > P Y F G C R L ? + |',"A O E U I D H T N S _ {enter}","{shift} : Q J K X B M W V Z {shift}","{accept} {space} {cancel}"]},num:{normal:["= ( ) {b}","{clear} / * -","7 8 9 +","4 5 6 {sign}","1 2 3 %","0 {dec} {a} {c}"]}},t.language={en:{display:{a:"✔:Accept (Shift+Enter)",accept:"Accept:Accept (Shift+Enter)",alt:"Alt:⌥ AltGr",b:"⌫:Backspace",bksp:"Bksp:Backspace",c:"✖:Cancel (Esc)",cancel:"Cancel:Cancel (Esc)",clear:"C:Clear",combo:"ö:Toggle Combo Keys",dec:".:Decimal",e:"⏎:Enter",empty:" ",enter:"Enter:Enter ⏎",left:"←",lock:"Lock:⇪ Caps Lock",next:"Next ⇨",prev:"⇦ Prev",right:"→",s:"⇧:Shift",shift:"Shift:Shift",sign:"±:Change Sign",space:" :Space",t:"⇥:Tab",tab:"⇥ Tab:Tab",toggle:" ",valid:"valid",invalid:"invalid",active:"active",disabled:"disabled"},wheelMessage:"Use mousewheel to see other keys",comboRegex:/([`\'~\^\"ao])([a-z])/gim,combos:{"`":{a:"à",A:"À",e:"è",E:"È",i:"ì",I:"Ì",o:"ò",O:"Ò",u:"ù",U:"Ù",y:"ỳ",Y:"Ỳ"},"'":{a:"á",A:"Á",e:"é",E:"É",i:"í",I:"Í",o:"ó",O:"Ó",u:"ú",U:"Ú",y:"ý",Y:"Ý"},'"':{a:"ä",A:"Ä",e:"ë",E:"Ë",i:"ï",I:"Ï",o:"ö",O:"Ö",u:"ü",U:"Ü",y:"ÿ",Y:"Ÿ"},"^":{a:"â",A:"Â",e:"ê",E:"Ê",i:"î",I:"Î",o:"ô",O:"Ô",u:"û",U:"Û",y:"ŷ",Y:"Ŷ"},"~":{a:"ã",A:"Ã",e:"ẽ",E:"Ẽ",i:"ĩ",I:"Ĩ",o:"õ",O:"Õ",u:"ũ",U:"Ũ",y:"ỹ",Y:"Ỹ",n:"ñ",N:"Ñ"}}}},t.defaultOptions={language:null,rtl:!1,layout:"qwerty",customLayout:null,position:{of:null,my:"center top",at:"center top",at2:"center bottom"},reposition:!0,usePreview:!0,alwaysOpen:!1,initialFocus:!0,noFocus:!1,stayOpen:!1,userClosed:!1,ignoreEsc:!1,closeByClickEvent:!1,css:{input:"ui-widget-content ui-corner-all",container:"ui-widget-content ui-widget ui-corner-all ui-helper-clearfix",popup:"",buttonDefault:"ui-state-default ui-corner-all",buttonHover:"ui-state-hover",buttonAction:"ui-state-active",buttonActive:"ui-state-active",buttonDisabled:"ui-state-disabled",buttonEmpty:"ui-keyboard-empty"},autoAccept:!1,autoAcceptOnEsc:!1,lockInput:!1,restrictInput:!1,restrictInclude:"",acceptValid:!1,autoAcceptOnValid:!1,checkValidOnInit:!0,cancelClose:!0,tabNavigation:!1,enterNavigation:!1,enterMod:"altKey",stopAtEnd:!0,appendLocally:!1,appendTo:"body",wrapBRs:!0,stickyShift:!0,preventPaste:!1,caretToEnd:!1,scrollAdjustment:10,maxLength:!1,maxInsert:!0,repeatDelay:500,repeatRate:20,resetDefault:!0,openOn:"focus",activeOnReadonly:!1,keyBinding:"mousedown touchstart",useWheel:!0,useCombos:!0,validate:function(){return!0}},t.supportedInputTypes=["text","search","url","tel","password"],t.comboRegex=/([`\'~\^\"ao])([a-z])/gim,t.currentKeyboard="",e('\x3c!--[if lte IE 8]><script>jQuery("body").addClass("oldie");<\/script><![endif]--\x3e\x3c!--[if IE]><script>jQuery("body").addClass("ie");<\/script><![endif]--\x3e').appendTo("body").remove(),t.msie=e("body").hasClass("oldie"),t.allie=e("body").hasClass("ie"),t.watermark=void 0!==document.createElement("input").placeholder,t.checkCaretSupport=function(){if("boolean"!=typeof t.checkCaret){var n=document.activeElement,r=e('<div style="height:0px;width:0px;overflow:hidden;position:fixed;top:0;left:-100px;"><input type="text" value="testing"/></div>').prependTo("body");t.caret(r.find("input"),3,3),t.checkCaret=3!==t.caret(r.find("input").hide().show()).start,r.remove(),n&&n.focus&&n.focus()}return t.checkCaret},t.caret=function(e,n,r){if(!e||!e.length||e.is(":hidden")||"hidden"===e.css("visibility"))return{};var i,a,o,s,l=e.data("keyboard"),c=l&&l.options.noFocus,u=/(textarea|input)/i.test(e[0].nodeName);return c||e.focus(),void 0!==n?("object"==typeof n&&"start"in n&&"end"in n?(i=n.start,a=n.end):void 0===r&&(r=n),"number"==typeof n&&"number"==typeof r?(i=n,a=r):"start"===n?i=a=0:"string"==typeof n&&(i=a="end"),u?e.caret(i,a,c):t.setEditableCaret(e,i,a)):(s=u?e.caret():t.getEditableCaret(e[0]),i=s.start,a=s.end,o=u&&e[0].value||e.text()||"",{start:i,end:a,text:o.substring(i,a),replaceStr:function(e){return o.substring(0,i)+e+o.substring(a,o.length)}})},t.isTextNode=function(e){return e&&3===e.nodeType},t.isBlock=function(e,t){var n=e.ownerDocument.defaultView;return t&&1===t.nodeType&&t!==e&&"block"===n.getComputedStyle(t).display?1:0},t.wrapBRs=function(n){var r=e(n).find("br:not(."+t.css.divWrapperCE+")");r.length&&e.each(r,(function(r,i){var a=i.parentNode.childNodes.length;(1!==a||1===a&&!t.isBlock(n,i.parentNode))&&e(i).addClass(t.css.divWrapperCE).wrap("<div>")}))},t.getEditableCaret=function(n){if(!(n=e(n)[0]).isContentEditable)return{};var r,i,a=(e(n).data("keyboard")||{}).options,o=n.ownerDocument.getSelection().getRangeAt(0),s=c(o.startContainer,o.startOffset),l=s.position;function c(r,i){var o,s="",l=!1,c=0,u=e.makeArray(n.childNodes);function d(e){e&&(c+=e,s+=a&&a.replaceCR||"\n")}for(;!l&&u.length;){if((o=u.shift())===r&&(l=!0),d(t.isBlock(n,o.previousSibling)),t.isTextNode(o)){if(c+=l?i:o.length,s+=o.textContent,l)return{position:c,text:s}}else!l&&o.childNodes&&(u=e.makeArray(o.childNodes).concat(u));d(t.isTextNode(o.previousSibling)&&t.isBlock(n,o))}return{position:c,text:s}}return!1!==a.wrapBRs&&t.wrapBRs(n),o.endContainer===o.startContainer&&o.endOffset===o.startOffset?(r=l,i=""):(r=(s=c(o.endContainer,o.endOffset)).position,i=s.text.substring(l,r)),{start:l,end:r,text:i}},t.getEditableLength=function(e){var n=t.setEditableCaret(e,"getMax");return"number"==typeof n?n:null},t.setEditableCaret=function(n,r,i){if(!(n=e(n)[0]).isContentEditable)return{};var a=n.ownerDocument,o=a.createRange(),s=a.getSelection(),l=(e(n).data("keyboard")||{}).options,c=r,u=i,d="",p=f("getMax"===r?"end":r);function f(r){"end"===r?r=n.innerHTML.length:r<0&&(r=0);var i,a,o="",s=!1,c=0,u=0,d=0,p=e.makeArray(n.childNodes);function f(e){return o+=e?l&&l.replaceCR||"\n":"",e>0}function h(e){var t=c+e;return u=d,d+=e,r-t>=0?r-(c=t)<=0:r-t<=0}for(;!s&&p.length;)if(i=p.shift(),f(a=t.isBlock(n,i.previousSibling))&&h(a)&&(s=!0),f(a=t.isTextNode(i.previousSibling)&&t.isBlock(n,i))&&h(a)&&(s=!0),t.isTextNode(i)){if(o+=i.textContent,h(i.length))return{node:i,offset:a=r-c==0&&c-u>=1?i.length:r-c,position:r,text:o}}else!s&&i.childNodes&&(p=e.makeArray(i.childNodes).concat(p));return p.length?{node:i,offset:r-c,position:r,text:o}:{node:i,offset:i&&i.length||0,position:d,text:o}}if(p.node){if(c=p.position,"getMax"===r)return c;o.setStart(p.node,p.offset),void 0!==i&&i!==r&&(p=f(i)),p.node&&(u=p.position,o.setEnd(p.node,p.offset),d=c===u?"":p.text.substring(c,u)),s.removeAllRanges(),s.addRange(o)}return{start:c,end:u,text:d}},t.replaceContent=function(n,r){n=e(n)[0];for(var i,a,o,s=typeof r,l=t.getEditableCaret(n).start,c=0,u=[n];i=u.pop();)if(t.isTextNode(i))"function"===s?l>=c&&l<=c+i.length&&(i.textContent=r(i.textContent)):"string"===s&&(o=r.substring(c,c+i.length))!==i.textContent&&(i.textContent=o),c+=i.length;else if(i&&i.childNodes)for(a=i.childNodes.length;a--;)u.push(i.childNodes[a]);a=t.getEditableCaret(n),t.setEditableCaret(n,a.start,a.start)},e.fn.keyboard=function(t){return this.each((function(){e(this).data("keyboard")||new e.keyboard(this,t)}))},e.fn.getkeyboard=function(){return this.data("keyboard")},e.fn.caret=function(e,t,n){if(void 0===this[0]||this.is(":hidden")||"hidden"===this.css("visibility")||!/(INPUT|TEXTAREA)/i.test(this[0].nodeName))return this;var r,i,a,o,s,l=this[0],c=l.ownerDocument.selection,u=l.scrollTop,d=!1,p=!0;try{d="selectionStart"in l}catch(e){p=!1}return p&&void 0!==e?(/(email|number)/i.test(l.type)||(d?(l.selectionStart=e,l.selectionEnd=t):((r=l.createTextRange()).collapse(!0),r.moveStart("character",e),r.moveEnd("character",t-e),r.select())),n||!this.is(":visible")&&"hidden"===this.css("visibility")||l.focus(),l.scrollTop=u,this):(/(email|number)/i.test(l.type)?e=t=this.val().length:d?(e=l.selectionStart,t=l.selectionEnd):c?"TEXTAREA"===l.nodeName.toUpperCase()?(s=this.val(),(a=(i=c.createRange()).duplicate()).moveToElementText(l),a.setEndPoint("EndToEnd",i),e=a.text.replace(/\r/g,"\n").length,t=e+i.text.replace(/\r/g,"\n").length):(s=this.val().replace(/\r/g,"\n"),(i=c.createRange().duplicate()).moveEnd("character",s.length),e=""===i.text?s.length:s.lastIndexOf(i.text),(i=c.createRange().duplicate()).moveStart("character",-s.length),t=i.text.length):e=t=(l.value||"").length,o=l.value||"",{start:e,end:t,text:o.substring(e,t),replace:function(n){return o.substring(0,e)+n+o.substring(t,o.length)}})},t})?r.apply(t,i):r)||(e.exports=a)},function(e,t,n){(function(e){e((function(){e("#inputNome").attr("placeholder","Nome:"),e("#inputNome, #inputCidade").keyboard({language:"en",usePreview:!1,autoAccept:!0,display:{bksp:"←",accept:"Enter",default:"ABC",meta1:".?123",meta2:"#+="},layout:"custom",customLayout:{default:["q w e r t y u i o p {bksp}","a s d f g h j k l ç ~","{s} z x c v b n m ' `","{space} {accept}"],shift:["Q W E R T Y U I O P {bksp}","A S D F G H J K L Ç ~","{s} Z X C V B N M ' `","{space} {accept}"]}}),e("#inputEmail").keyboard({language:"en",usePreview:!1,autoAccept:!0,display:{bksp:"←",default:"ABC",meta1:".?123",meta2:"#+=",accept:"Enter"},layout:"custom",customLayout:{default:["q w e r t y u i o p {bksp}","a s d f g h j k l ç ~","{s} z x c v b n m @ .","{meta1} {space} _ - {accept}"],shift:["Q W E R T Y U I O P {bksp}","A S D F G H J K L Ç ~","{s} Z X C V B N M @ .","{meta1} {space} _ - {accept}"],meta1:["1 2 3 4 5 6 7 8 9 0 {bksp}","` | { } % ^ * / '","{meta2} $ & ~ # = + . {meta2}","{default} {space} ! ? {accept}"],meta2:['[ ] { } ‹ › ^ * " , {bksp}',"\\ | / < > $ £ ¥ •","{meta1} € & ~ # = + . {meta1}","{default} {space} ! ? {accept}"]}})}))}).call(this,n(0))},function(e,t,n){(function(e){var t,n,r,i,a,o,s,l,c=[],u=[],d=!1;function p(){d=!0,(t=document.querySelector("#webCamera")).setAttribute("autoplay",""),t.setAttribute("muted",""),t.setAttribute("playsinline",""),t.setAttribute("width","100%"),t.setAttribute("height","100%"),navigator.mediaDevices.getUserMedia&&navigator.mediaDevices.getUserMedia({audio:!1,video:{facingMode:"user"}}).then((function(e){t.srcObject=e})).catch((function(e){alert("Oooopps... Falhou :'(")}))}function f(e){var t=e.srcObject.getTracks();d=!1,t.forEach((function(e){e.stop()})),e.srcObject=null}e((function(){e(".fase-1").on("click",".bt",(function(t){t.preventDefault(),e(".fase-1").removeClass("selected"),e(".fase-2").addClass("selected")})),e("#formRoteiro .fase-2").on("click",".bt-1",(function(t){t.preventDefault(),n=e("#inputNome").val(),r=e("#inputEmail").val(),i=e("#inputCidade").val(),o=function(e){e=(e=e.replace(/^\s+|\s+$/g,"")).toLowerCase();for(var t="àáäâèéëêìíïîòóöôùúüûñç·/_,:;",n=0,r=t.length;n<r;n++)e=e.replace(new RegExp(t.charAt(n),"g"),"aaaaeeeeiiiioooouuuunc------".charAt(n));return e=e.replace(/[^a-z0-9 -]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-")}(n),n&&i&&function(e){return/\S+@\S+\.\S+/.test(e)}(r)&&(e(".fase-2 .tela").removeClass("tela-1"),e(".fase-2 .tela").addClass("tela-2"),p())})),e(".fase-2").on("click",".bt-photo",(function(n){n.preventDefault(),e(".fase-2 .tela").removeClass("tela-2"),e(".fase-2 .tela").addClass("tela-3"),function(){var e=document.querySelector("#webCamera"),t=document.createElement("canvas");t.width=e.videoWidth,t.height=e.videoHeight,t.getContext("2d").drawImage(e,0,0,t.width,t.height);var n=t.toDataURL("image/jpeg");document.querySelector("#base_img").value=n,document.querySelector("#imagemConvertida").setAttribute("src",n),r=n,i=new XMLHttpRequest,i.open("POST",ajaxPhoto,!0),i.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"),i.onload=function(){if(i.status>=200&&i.status<400){var e=JSON.parse(i.responseText);if(e.error)return alert(e.error),!1;document.querySelector("#imagemConvertida").setAttribute("src",e.img),a=e.img}else alert("Erro ao salvar. Tipo:"+i.status)},i.onerror=function(){alert("Erro ao salvar. Back-End inacessível.")},i.send("base_img="+r+"&base_slug="+o);var r,i}(),f(t)})),e(".fase-2").on("click",".bt-refresh",(function(t){t.preventDefault(),e(".fase-2 .tela").removeClass("tela-3"),e(".fase-2 .tela").addClass("tela-2"),p()})),e(".fase-2").on("click",".bt-ok",(function(t){t.preventDefault(),e.ajax({type:"POST",url:ajaxRegistro,dataType:"json",data:{action:"info",nome:n,email:r,cidade:i,foto:a},success:function(t){s=t.participante,e(".fase-2").removeClass("selected"),e(".fase-3").addClass("selected")}})}));var h="",v=0,y=1,g="";e(".fase-3 .opt").on("click","a",(function(t){t.preventDefault(),h=e(this).attr("href"),l=e(this).attr("data-cat")?e(this).attr("data-cat"):h,(v=e("."+h).length)>0&&(e(".fase-3").removeClass("selected"),e(g="."+h+"-1").addClass("selected"))}));var m=0;e(".fase-4 .quest").on("click","a",(function(t){t.preventDefault();var n=e(this).attr("href"),r=e(this).text();u[m]=[{tipo:n,texto:r}],y<v?(y++,e(g).removeClass("selected"),e(g="."+h+"-"+y).addClass("selected")):(c=[{participante:s,categoria:l,respostas:u}],e.ajax({type:"POST",url:ajaxQrCode,dataType:"json",data:{action:"answer",respostas:c},success:function(t){e(".fase-5 .code").attr("src",t.qrcode),e(".fase-4").removeClass("selected"),e(".fase-5").addClass("selected")}})),m++})),e("body").on("click",".btBack",(function(n){n.preventDefault(),e(".fase.selected").removeClass("selected"),e(".fase-1").addClass("selected"),e(".fase-2 .tela").removeClass("tela-2"),e(".fase-2 .tela").removeClass("tela-3"),e(".fase-2 .tela").addClass("tela-1"),e("#inputNome").val(""),e("#inputEmail").val(""),e("#inputCidade").val(""),d&&f(t),v=0,y=1,m=0,c=[],u=[]}))}))}).call(this,n(0))},function(e,t,n){}]);