22 lines
119 KiB
JavaScript
22 lines
119 KiB
JavaScript
/*!
|
||
* jQuery JavaScript Library v3.7.1
|
||
* https://jquery.com/
|
||
*
|
||
* Copyright OpenJS Foundation and other contributors
|
||
* Released under the MIT license
|
||
* https://jquery.org/license
|
||
*
|
||
* Date: 2023-08-28T13:37Z
|
||
*/
|
||
!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,(function(e,t){"use strict";var n=[],A=Object.getPrototypeOf,r=n.slice,o=n.flat?function(e){return n.flat.call(e)}:function(e){return n.concat.apply([],e)},i=n.push,s=n.indexOf,a={},u=a.toString,l=a.hasOwnProperty,c=l.toString,d=c.call(Object),f={},p=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},h=function(e){return null!=e&&e===e.window},g=e.document,m={type:!0,src:!0,nonce:!0,noModule:!0};function v(e,t,n){var A,r,o=(n=n||g).createElement("script");if(o.text=e,t)for(A in m)(r=t[A]||t.getAttribute&&t.getAttribute(A))&&o.setAttribute(A,r);n.head.appendChild(o).parentNode.removeChild(o)}function y(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?a[u.call(e)]||"object":typeof e}var b="3.7.1",x=/HTML$/i,C=function(e,t){return new C.fn.init(e,t)};function E(e){var t=!!e&&"length"in e&&e.length,n=y(e);return!p(e)&&!h(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function w(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}C.fn=C.prototype={jquery:b,constructor:C,length:0,toArray:function(){return r.call(this)},get:function(e){return null==e?r.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(r.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:i,sort:n.sort,splice:n.splice},C.extend=C.fn.extend=function(){var e,t,n,A,r,o,i=arguments[0]||{},s=1,a=arguments.length,u=!1;for("boolean"==typeof i&&(u=i,i=arguments[s]||{},s++),"object"==typeof i||p(i)||(i={}),s===a&&(i=this,s--);s<a;s++)if(null!=(e=arguments[s]))for(t in e)A=e[t],"__proto__"!==t&&i!==A&&(u&&A&&(C.isPlainObject(A)||(r=Array.isArray(A)))?(n=i[t],o=r&&!Array.isArray(n)?[]:r||C.isPlainObject(n)?n:{},r=!1,i[t]=C.extend(u,o,A)):void 0!==A&&(i[t]=A));return i},C.extend({expando:"jQuery"+(b+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]"!==u.call(e))&&(!(t=A(e))||"function"==typeof(n=l.call(t,"constructor")&&t.constructor)&&c.call(n)===d)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){v(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,A=0;if(E(e))for(n=e.length;A<n&&!1!==t.call(e[A],A,e[A]);A++);else for(A in e)if(!1===t.call(e[A],A,e[A]))break;return e},text:function(e){var t,n="",A=0,r=e.nodeType;if(!r)for(;t=e[A++];)n+=C.text(t);return 1===r||11===r?e.textContent:9===r?e.documentElement.textContent:3===r||4===r?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return null!=e&&(E(Object(e))?C.merge(n,"string"==typeof e?[e]:e):i.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:s.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!x.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,A=0,r=e.length;A<n;A++)e[r++]=t[A];return e.length=r,e},grep:function(e,t,n){for(var A=[],r=0,o=e.length,i=!n;r<o;r++)!t(e[r],r)!==i&&A.push(e[r]);return A},map:function(e,t,n){var A,r,i=0,s=[];if(E(e))for(A=e.length;i<A;i++)null!=(r=t(e[i],i,n))&&s.push(r);else for(i in e)null!=(r=t(e[i],i,n))&&s.push(r);return o(s)},guid:1,support:f}),"function"==typeof Symbol&&(C.fn[Symbol.iterator]=n[Symbol.iterator]),C.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){a["[object "+t+"]"]=t.toLowerCase()}));var B=n.pop,S=n.sort,I=n.splice,k="[\\x20\\t\\r\\n\\f]",T=new RegExp("^"+k+"+|((?:^|[^\\\\])(?:\\\\.)*)"+k+"+$","g");C.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var D=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function Q(e,t){return t?"\0"===e?"<22>":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}C.escapeSelector=function(e){return(e+"").replace(D,Q)};var j=g,M=i;!function(){var t,A,o,i,a,u,c,d,p,h,g=M,m=C.expando,v=0,y=0,b=ee(),x=ee(),E=ee(),D=ee(),Q=function(e,t){return e===t&&(a=!0),0},q="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",O="(?:\\\\[\\da-fA-F]{1,6}"+k+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",R="\\["+k+"*("+O+")(?:"+k+"*([*^$|!~]?=)"+k+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+O+"))|)"+k+"*\\]",V=":("+O+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+R+")*)|.*)\\)|)",F=new RegExp(k+"+","g"),H=new RegExp("^"+k+"*,"+k+"*"),L=new RegExp("^"+k+"*([>+~]|"+k+")"+k+"*"),N=new RegExp(k+"|>"),Z=new RegExp(V),W=new RegExp("^"+O+"$"),Y={ID:new RegExp("^#("+O+")"),CLASS:new RegExp("^\\.("+O+")"),TAG:new RegExp("^("+O+"|[*])"),ATTR:new RegExp("^"+R),PSEUDO:new RegExp("^"+V),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+k+"*(even|odd|(([+-]|)(\\d*)n|)"+k+"*(?:([+-]|)"+k+"*(\\d+)|))"+k+"*\\)|)","i"),bool:new RegExp("^(?:"+q+")$","i"),needsContext:new RegExp("^"+k+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+k+"*((?:-\\d)?\\d*)"+k+"*\\)|)(?=[^-]|$)","i")},X=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,P=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,G=/[+~]/,U=new RegExp("\\\\[\\da-fA-F]{1,6}"+k+"?|\\\\([^\\r\\n\\f])","g"),z=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))},K=function(){ae()},_=de((function(e){return!0===e.disabled&&w(e,"fieldset")}),{dir:"parentNode",next:"legend"});try{g.apply(n=r.call(j.childNodes),j.childNodes),n[j.childNodes.length].nodeType}catch(e){g={apply:function(e,t){M.apply(e,r.call(t))},call:function(e){M.apply(e,r.call(arguments,1))}}}function $(e,t,n,A){var r,o,i,s,a,l,c,h=t&&t.ownerDocument,v=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==v&&9!==v&&11!==v)return n;if(!A&&(ae(t),t=t||u,d)){if(11!==v&&(a=P.exec(e)))if(r=a[1]){if(9===v){if(!(i=t.getElementById(r)))return n;if(i.id===r)return g.call(n,i),n}else if(h&&(i=h.getElementById(r))&&$.contains(t,i)&&i.id===r)return g.call(n,i),n}else{if(a[2])return g.apply(n,t.getElementsByTagName(e)),n;if((r=a[3])&&t.getElementsByClassName)return g.apply(n,t.getElementsByClassName(r)),n}if(!(D[e+" "]||p&&p.test(e))){if(c=e,h=t,1===v&&(N.test(e)||L.test(e))){for((h=G.test(e)&&se(t.parentNode)||t)==t&&f.scope||((s=t.getAttribute("id"))?s=C.escapeSelector(s):t.setAttribute("id",s=m)),o=(l=le(e)).length;o--;)l[o]=(s?"#"+s:":scope")+" "+ce(l[o]);c=l.join(",")}try{return g.apply(n,h.querySelectorAll(c)),n}catch(t){D(e,!0)}finally{s===m&&t.removeAttribute("id")}}}return ve(e.replace(T,"$1"),t,n,A)}function ee(){var e=[];return function t(n,r){return e.push(n+" ")>A.cacheLength&&delete t[e.shift()],t[n+" "]=r}}function te(e){return e[m]=!0,e}function ne(e){var t=u.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function Ae(e){return function(t){return w(t,"input")&&t.type===e}}function re(e){return function(t){return(w(t,"input")||w(t,"button"))&&t.type===e}}function oe(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&&_(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ie(e){return te((function(t){return t=+t,te((function(n,A){for(var r,o=e([],n.length,t),i=o.length;i--;)n[r=o[i]]&&(n[r]=!(A[r]=n[r]))}))}))}function se(e){return e&&void 0!==e.getElementsByTagName&&e}function ae(e){var t,n=e?e.ownerDocument||e:j;return n!=u&&9===n.nodeType&&n.documentElement?(c=(u=n).documentElement,d=!C.isXMLDoc(u),h=c.matches||c.webkitMatchesSelector||c.msMatchesSelector,c.msMatchesSelector&&j!=u&&(t=u.defaultView)&&t.top!==t&&t.addEventListener("unload",K),f.getById=ne((function(e){return c.appendChild(e).id=C.expando,!u.getElementsByName||!u.getElementsByName(C.expando).length})),f.disconnectedMatch=ne((function(e){return h.call(e,"*")})),f.scope=ne((function(){return u.querySelectorAll(":scope")})),f.cssHas=ne((function(){try{return u.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}})),f.getById?(A.filter.ID=function(e){var t=e.replace(U,z);return function(e){return e.getAttribute("id")===t}},A.find.ID=function(e,t){if(void 0!==t.getElementById&&d){var n=t.getElementById(e);return n?[n]:[]}}):(A.filter.ID=function(e){var t=e.replace(U,z);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},A.find.ID=function(e,t){if(void 0!==t.getElementById&&d){var n,A,r,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(r=t.getElementsByName(e),A=0;o=r[A++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),A.find.TAG=function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},A.find.CLASS=function(e,t){if(void 0!==t.getElementsByClassName&&d)return t.getElementsByClassName(e)},p=[],ne((function(e){var t;c.appendChild(e).innerHTML="<a id='"+m+"' href='' disabled='disabled'></a><select id='"+m+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||p.push("\\["+k+"*(?:value|"+q+")"),e.querySelectorAll("[id~="+m+"-]").length||p.push("~="),e.querySelectorAll("a#"+m+"+*").length||p.push(".#.+[+~]"),e.querySelectorAll(":checked").length||p.push(":checked"),(t=u.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),c.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&p.push(":enabled",":disabled"),(t=u.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||p.push("\\["+k+"*name"+k+"*="+k+"*(?:''|\"\")")})),f.cssHas||p.push(":has"),p=p.length&&new RegExp(p.join("|")),Q=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!f.sortDetached&&t.compareDocumentPosition(e)===n?e===u||e.ownerDocument==j&&$.contains(j,e)?-1:t===u||t.ownerDocument==j&&$.contains(j,t)?1:i?s.call(i,e)-s.call(i,t):0:4&n?-1:1)},u):u}for(t in $.matches=function(e,t){return $(e,null,null,t)},$.matchesSelector=function(e,t){if(ae(e),d&&!D[t+" "]&&(!p||!p.test(t)))try{var n=h.call(e,t);if(n||f.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){D(t,!0)}return $(t,u,null,[e]).length>0},$.contains=function(e,t){return(e.ownerDocument||e)!=u&&ae(e),C.contains(e,t)},$.attr=function(e,t){(e.ownerDocument||e)!=u&&ae(e);var n=A.attrHandle[t.toLowerCase()],r=n&&l.call(A.attrHandle,t.toLowerCase())?n(e,t,!d):void 0;return void 0!==r?r:e.getAttribute(t)},$.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},C.uniqueSort=function(e){var t,n=[],A=0,o=0;if(a=!f.sortStable,i=!f.sortStable&&r.call(e,0),S.call(e,Q),a){for(;t=e[o++];)t===e[o]&&(A=n.push(o));for(;A--;)I.call(e,n[A],1)}return i=null,e},C.fn.uniqueSort=function(){return this.pushStack(C.uniqueSort(r.apply(this)))},A=C.expr={cacheLength:50,createPseudo:te,match:Y,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(U,z),e[3]=(e[3]||e[4]||e[5]||"").replace(U,z),"~="===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]||$.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]&&$.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return Y.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&Z.test(n)&&(t=le(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(U,z).toLowerCase();return"*"===e?function(){return!0}:function(e){return w(e,t)}},CLASS:function(e){var t=b[e+" "];return t||(t=new RegExp("(^|"+k+")"+e+"("+k+"|$)"))&&b(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(A){var r=$.attr(A,e);return null==r?"!="===t:!t||(r+="","="===t?r===n:"!="===t?r!==n:"^="===t?n&&0===r.indexOf(n):"*="===t?n&&r.indexOf(n)>-1:"$="===t?n&&r.slice(-n.length)===n:"~="===t?(" "+r.replace(F," ")+" ").indexOf(n)>-1:"|="===t&&(r===n||r.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,A,r){var o="nth"!==e.slice(0,3),i="last"!==e.slice(-4),s="of-type"===t;return 1===A&&0===r?function(e){return!!e.parentNode}:function(t,n,a){var u,l,c,d,f,p=o!==i?"nextSibling":"previousSibling",h=t.parentNode,g=s&&t.nodeName.toLowerCase(),y=!a&&!s,b=!1;if(h){if(o){for(;p;){for(c=t;c=c[p];)if(s?w(c,g):1===c.nodeType)return!1;f=p="only"===e&&!f&&"nextSibling"}return!0}if(f=[i?h.firstChild:h.lastChild],i&&y){for(b=(d=(u=(l=h[m]||(h[m]={}))[e]||[])[0]===v&&u[1])&&u[2],c=d&&h.childNodes[d];c=++d&&c&&c[p]||(b=d=0)||f.pop();)if(1===c.nodeType&&++b&&c===t){l[e]=[v,d,b];break}}else if(y&&(b=d=(u=(l=t[m]||(t[m]={}))[e]||[])[0]===v&&u[1]),!1===b)for(;(c=++d&&c&&c[p]||(b=d=0)||f.pop())&&(!(s?w(c,g):1===c.nodeType)||!++b||(y&&((l=c[m]||(c[m]={}))[e]=[v,b]),c!==t)););return(b-=r)===A||b%A==0&&b/A>=0}}},PSEUDO:function(e,t){var n,r=A.pseudos[e]||A.setFilters[e.toLowerCase()]||$.error("unsupported pseudo: "+e);return r[m]?r(t):r.length>1?(n=[e,e,"",t],A.setFilters.hasOwnProperty(e.toLowerCase())?te((function(e,n){for(var A,o=r(e,t),i=o.length;i--;)e[A=s.call(e,o[i])]=!(n[A]=o[i])})):function(e){return r(e,0,n)}):r}},pseudos:{not:te((function(e){var t=[],n=[],A=me(e.replace(T,"$1"));return A[m]?te((function(e,t,n,r){for(var o,i=A(e,null,r,[]),s=e.length;s--;)(o=i[s])&&(e[s]=!(t[s]=o))})):function(e,r,o){return t[0]=e,A(t,null,o,n),t[0]=null,!n.pop()}})),has:te((function(e){return function(t){return $(e,t).length>0}})),contains:te((function(e){return e=e.replace(U,z),function(t){return(t.textContent||C.text(t)).indexOf(e)>-1}})),lang:te((function(e){return W.test(e||"")||$.error("unsupported lang: "+e),e=e.replace(U,z).toLowerCase(),function(t){var n;do{if(n=d?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===c},focus:function(e){return e===function(){try{return u.activeElement}catch(e){}}()&&u.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:oe(!1),disabled:oe(!0),checked:function(e){return w(e,"input")&&!!e.checked||w(e,"option")&&!!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!A.pseudos.empty(e)},header:function(e){return J.test(e.nodeName)},input:function(e){return X.test(e.nodeName)},button:function(e){return w(e,"input")&&"button"===e.type||w(e,"button")},text:function(e){var t;return w(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ie((function(){return[0]})),last:ie((function(e,t){return[t-1]})),eq:ie((function(e,t,n){return[n<0?n+t:n]})),even:ie((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:ie((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:ie((function(e,t,n){var A;for(A=n<0?n+t:n>t?t:n;--A>=0;)e.push(A);return e})),gt:ie((function(e,t,n){for(var A=n<0?n+t:n;++A<t;)e.push(A);return e}))}},A.pseudos.nth=A.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})A.pseudos[t]=Ae(t);for(t in{submit:!0,reset:!0})A.pseudos[t]=re(t);function ue(){}function le(e,t){var n,r,o,i,s,a,u,l=x[e+" "];if(l)return t?0:l.slice(0);for(s=e,a=[],u=A.preFilter;s;){for(i in n&&!(r=H.exec(s))||(r&&(s=s.slice(r[0].length)||s),a.push(o=[])),n=!1,(r=L.exec(s))&&(n=r.shift(),o.push({value:n,type:r[0].replace(T," ")}),s=s.slice(n.length)),A.filter)!(r=Y[i].exec(s))||u[i]&&!(r=u[i](r))||(n=r.shift(),o.push({value:n,type:i,matches:r}),s=s.slice(n.length));if(!n)break}return t?s.length:s?$.error(e):x(e,a).slice(0)}function ce(e){for(var t=0,n=e.length,A="";t<n;t++)A+=e[t].value;return A}function de(e,t,n){var A=t.dir,r=t.next,o=r||A,i=n&&"parentNode"===o,s=y++;return t.first?function(t,n,r){for(;t=t[A];)if(1===t.nodeType||i)return e(t,n,r);return!1}:function(t,n,a){var u,l,c=[v,s];if(a){for(;t=t[A];)if((1===t.nodeType||i)&&e(t,n,a))return!0}else for(;t=t[A];)if(1===t.nodeType||i)if(l=t[m]||(t[m]={}),r&&w(t,r))t=t[A]||t;else{if((u=l[o])&&u[0]===v&&u[1]===s)return c[2]=u[2];if(l[o]=c,c[2]=e(t,n,a))return!0}return!1}}function fe(e){return e.length>1?function(t,n,A){for(var r=e.length;r--;)if(!e[r](t,n,A))return!1;return!0}:e[0]}function pe(e,t,n,A,r){for(var o,i=[],s=0,a=e.length,u=null!=t;s<a;s++)(o=e[s])&&(n&&!n(o,A,r)||(i.push(o),u&&t.push(s)));return i}function he(e,t,n,A,r,o){return A&&!A[m]&&(A=he(A)),r&&!r[m]&&(r=he(r,o)),te((function(o,i,a,u){var l,c,d,f,p=[],h=[],m=i.length,v=o||function(e,t,n){for(var A=0,r=t.length;A<r;A++)$(e,t[A],n);return n}(t||"*",a.nodeType?[a]:a,[]),y=!e||!o&&t?v:pe(v,p,e,a,u);if(n?n(y,f=r||(o?e:m||A)?[]:i,a,u):f=y,A)for(l=pe(f,h),A(l,[],a,u),c=l.length;c--;)(d=l[c])&&(f[h[c]]=!(y[h[c]]=d));if(o){if(r||e){if(r){for(l=[],c=f.length;c--;)(d=f[c])&&l.push(y[c]=d);r(null,f=[],l,u)}for(c=f.length;c--;)(d=f[c])&&(l=r?s.call(o,d):p[c])>-1&&(o[l]=!(i[l]=d))}}else f=pe(f===i?f.splice(m,f.length):f),r?r(null,i,f,u):g.apply(i,f)}))}function ge(e){for(var t,n,r,i=e.length,a=A.relative[e[0].type],u=a||A.relative[" "],l=a?1:0,c=de((function(e){return e===t}),u,!0),d=de((function(e){return s.call(t,e)>-1}),u,!0),f=[function(e,n,A){var r=!a&&(A||n!=o)||((t=n).nodeType?c(e,n,A):d(e,n,A));return t=null,r}];l<i;l++)if(n=A.relative[e[l].type])f=[de(fe(f),n)];else{if((n=A.filter[e[l].type].apply(null,e[l].matches))[m]){for(r=++l;r<i&&!A.relative[e[r].type];r++);return he(l>1&&fe(f),l>1&&ce(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(T,"$1"),n,l<r&&ge(e.slice(l,r)),r<i&&ge(e=e.slice(r)),r<i&&ce(e))}f.push(n)}return fe(f)}function me(e,t){var n,r=[],i=[],s=E[e+" "];if(!s){for(t||(t=le(e)),n=t.length;n--;)(s=ge(t[n]))[m]?r.push(s):i.push(s);s=E(e,function(e,t){var n=t.length>0,r=e.length>0,i=function(i,s,a,l,c){var f,p,h,m=0,y="0",b=i&&[],x=[],E=o,w=i||r&&A.find.TAG("*",c),S=v+=null==E?1:Math.random()||.1,I=w.length;for(c&&(o=s==u||s||c);y!==I&&null!=(f=w[y]);y++){if(r&&f){for(p=0,s||f.ownerDocument==u||(ae(f),a=!d);h=e[p++];)if(h(f,s||u,a)){g.call(l,f);break}c&&(v=S)}n&&((f=!h&&f)&&m--,i&&b.push(f))}if(m+=y,n&&y!==m){for(p=0;h=t[p++];)h(b,x,s,a);if(i){if(m>0)for(;y--;)b[y]||x[y]||(x[y]=B.call(l));x=pe(x)}g.apply(l,x),c&&!i&&x.length>0&&m+t.length>1&&C.uniqueSort(l)}return c&&(v=S,o=E),b};return n?te(i):i}(i,r)),s.selector=e}return s}function ve(e,t,n,r){var o,i,s,a,u,l="function"==typeof e&&e,c=!r&&le(e=l.selector||e);if(n=n||[],1===c.length){if((i=c[0]=c[0].slice(0)).length>2&&"ID"===(s=i[0]).type&&9===t.nodeType&&d&&A.relative[i[1].type]){if(!(t=(A.find.ID(s.matches[0].replace(U,z),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(i.shift().value.length)}for(o=Y.needsContext.test(e)?0:i.length;o--&&(s=i[o],!A.relative[a=s.type]);)if((u=A.find[a])&&(r=u(s.matches[0].replace(U,z),G.test(i[0].type)&&se(t.parentNode)||t))){if(i.splice(o,1),!(e=r.length&&ce(i)))return g.apply(n,r),n;break}}return(l||me(e,c))(r,t,!d,n,!t||G.test(e)&&se(t.parentNode)||t),n}ue.prototype=A.filters=A.pseudos,A.setFilters=new ue,f.sortStable=m.split("").sort(Q).join("")===m,ae(),f.sortDetached=ne((function(e){return 1&e.compareDocumentPosition(u.createElement("fieldset"))})),C.find=$,C.expr[":"]=C.expr.pseudos,C.unique=C.uniqueSort,$.compile=me,$.select=ve,$.setDocument=ae,$.tokenize=le,$.escape=C.escapeSelector,$.getText=C.text,$.isXML=C.isXMLDoc,$.selectors=C.expr,$.support=C.support,$.uniqueSort=C.uniqueSort}();var q=function(e,t,n){for(var A=[],r=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&C(e).is(n))break;A.push(e)}return A},O=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},R=C.expr.match.needsContext,V=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function F(e,t,n){return p(t)?C.grep(e,(function(e,A){return!!t.call(e,A,e)!==n})):t.nodeType?C.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?C.grep(e,(function(e){return s.call(t,e)>-1!==n})):C.filter(t,e,n)}C.filter=function(e,t,n){var A=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===A.nodeType?C.find.matchesSelector(A,e)?[A]:[]:C.find.matches(e,C.grep(t,(function(e){return 1===e.nodeType})))},C.fn.extend({find:function(e){var t,n,A=this.length,r=this;if("string"!=typeof e)return this.pushStack(C(e).filter((function(){for(t=0;t<A;t++)if(C.contains(r[t],this))return!0})));for(n=this.pushStack([]),t=0;t<A;t++)C.find(e,r[t],n);return A>1?C.uniqueSort(n):n},filter:function(e){return this.pushStack(F(this,e||[],!1))},not:function(e){return this.pushStack(F(this,e||[],!0))},is:function(e){return!!F(this,"string"==typeof e&&R.test(e)?C(e):e||[],!1).length}});var H,L=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(C.fn.init=function(e,t,n){var A,r;if(!e)return this;if(n=n||H,"string"==typeof e){if(!(A="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:L.exec(e))||!A[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(A[1]){if(t=t instanceof C?t[0]:t,C.merge(this,C.parseHTML(A[1],t&&t.nodeType?t.ownerDocument||t:g,!0)),V.test(A[1])&&C.isPlainObject(t))for(A in t)p(this[A])?this[A](t[A]):this.attr(A,t[A]);return this}return(r=g.getElementById(A[2]))&&(this[0]=r,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):p(e)?void 0!==n.ready?n.ready(e):e(C):C.makeArray(e,this)}).prototype=C.fn,H=C(g);var N=/^(?:parents|prev(?:Until|All))/,Z={children:!0,contents:!0,next:!0,prev:!0};function W(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,A=0,r=this.length,o=[],i="string"!=typeof e&&C(e);if(!R.test(e))for(;A<r;A++)for(n=this[A];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(i?i.index(n)>-1:1===n.nodeType&&C.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?C.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?s.call(C(e),this[0]):s.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 q(e,"parentNode")},parentsUntil:function(e,t,n){return q(e,"parentNode",n)},next:function(e){return W(e,"nextSibling")},prev:function(e){return W(e,"previousSibling")},nextAll:function(e){return q(e,"nextSibling")},prevAll:function(e){return q(e,"previousSibling")},nextUntil:function(e,t,n){return q(e,"nextSibling",n)},prevUntil:function(e,t,n){return q(e,"previousSibling",n)},siblings:function(e){return O((e.parentNode||{}).firstChild,e)},children:function(e){return O(e.firstChild)},contents:function(e){return null!=e.contentDocument&&A(e.contentDocument)?e.contentDocument:(w(e,"template")&&(e=e.content||e),C.merge([],e.childNodes))}},(function(e,t){C.fn[e]=function(n,A){var r=C.map(this,t,n);return"Until"!==e.slice(-5)&&(A=n),A&&"string"==typeof A&&(r=C.filter(A,r)),this.length>1&&(Z[e]||C.uniqueSort(r),N.test(e)&&r.reverse()),this.pushStack(r)}}));var Y=/[^\x20\t\r\n\f]+/g;function X(e){return e}function J(e){throw e}function P(e,t,n,A){var r;try{e&&p(r=e.promise)?r.call(e).done(t).fail(n):e&&p(r=e.then)?r.call(e,t,n):t.apply(void 0,[e].slice(A))}catch(e){n.apply(void 0,[e])}}C.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return C.each(e.match(Y)||[],(function(e,n){t[n]=!0})),t}(e):C.extend({},e);var t,n,A,r,o=[],i=[],s=-1,a=function(){for(r=r||e.once,A=t=!0;i.length;s=-1)for(n=i.shift();++s<o.length;)!1===o[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=o.length,n=!1);e.memory||(n=!1),t=!1,r&&(o=n?[]:"")},u={add:function(){return o&&(n&&!t&&(s=o.length-1,i.push(n)),function t(n){C.each(n,(function(n,A){p(A)?e.unique&&u.has(A)||o.push(A):A&&A.length&&"string"!==y(A)&&t(A)}))}(arguments),n&&!t&&a()),this},remove:function(){return C.each(arguments,(function(e,t){for(var n;(n=C.inArray(t,o,n))>-1;)o.splice(n,1),n<=s&&s--})),this},has:function(e){return e?C.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return r=i=[],o=n="",this},disabled:function(){return!o},lock:function(){return r=i=[],n||t||(o=n=""),this},locked:function(){return!!r},fireWith:function(e,n){return r||(n=[e,(n=n||[]).slice?n.slice():n],i.push(n),t||a()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!A}};return u},C.extend({Deferred:function(t){var n=[["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"]],A="pending",r={state:function(){return A},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return r.then(null,e)},pipe:function(){var e=arguments;return C.Deferred((function(t){C.each(n,(function(n,A){var r=p(e[A[4]])&&e[A[4]];o[A[1]]((function(){var e=r&&r.apply(this,arguments);e&&p(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[A[0]+"With"](this,r?[e]:arguments)}))})),e=null})).promise()},then:function(t,A,r){var o=0;function i(t,n,A,r){return function(){var s=this,a=arguments,u=function(){var e,u;if(!(t<o)){if((e=A.apply(s,a))===n.promise())throw new TypeError("Thenable self-resolution");u=e&&("object"==typeof e||"function"==typeof e)&&e.then,p(u)?r?u.call(e,i(o,n,X,r),i(o,n,J,r)):(o++,u.call(e,i(o,n,X,r),i(o,n,J,r),i(o,n,X,n.notifyWith))):(A!==X&&(s=void 0,a=[e]),(r||n.resolveWith)(s,a))}},l=r?u:function(){try{u()}catch(e){C.Deferred.exceptionHook&&C.Deferred.exceptionHook(e,l.error),t+1>=o&&(A!==J&&(s=void 0,a=[e]),n.rejectWith(s,a))}};t?l():(C.Deferred.getErrorHook?l.error=C.Deferred.getErrorHook():C.Deferred.getStackHook&&(l.error=C.Deferred.getStackHook()),e.setTimeout(l))}}return C.Deferred((function(e){n[0][3].add(i(0,e,p(r)?r:X,e.notifyWith)),n[1][3].add(i(0,e,p(t)?t:X)),n[2][3].add(i(0,e,p(A)?A:J))})).promise()},promise:function(e){return null!=e?C.extend(e,r):r}},o={};return C.each(n,(function(e,t){var i=t[2],s=t[5];r[t[1]]=i.add,s&&i.add((function(){A=s}),n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),i.add(t[3].fire),o[t[0]]=function(){return o[t[0]+"With"](this===o?void 0:this,arguments),this},o[t[0]+"With"]=i.fireWith})),r.promise(o),t&&t.call(o,o),o},when:function(e){var t=arguments.length,n=t,A=Array(n),o=r.call(arguments),i=C.Deferred(),s=function(e){return function(n){A[e]=this,o[e]=arguments.length>1?r.call(arguments):n,--t||i.resolveWith(A,o)}};if(t<=1&&(P(e,i.done(s(n)).resolve,i.reject,!t),"pending"===i.state()||p(o[n]&&o[n].then)))return i.then();for(;n--;)P(o[n],s(n),i.reject);return i.promise()}});var G=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;C.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&G.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},C.readyException=function(t){e.setTimeout((function(){throw t}))};var U=C.Deferred();function z(){g.removeEventListener("DOMContentLoaded",z),e.removeEventListener("load",z),C.ready()}C.fn.ready=function(e){return U.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||U.resolveWith(g,[C]))}}),C.ready.then=U.then,"complete"===g.readyState||"loading"!==g.readyState&&!g.documentElement.doScroll?e.setTimeout(C.ready):(g.addEventListener("DOMContentLoaded",z),e.addEventListener("load",z));var K=function(e,t,n,A,r,o,i){var s=0,a=e.length,u=null==n;if("object"===y(n))for(s in r=!0,n)K(e,t,s,n[s],!0,o,i);else if(void 0!==A&&(r=!0,p(A)||(i=!0),u&&(i?(t.call(e,A),t=null):(u=t,t=function(e,t,n){return u.call(C(e),n)})),t))for(;s<a;s++)t(e[s],n,i?A:A.call(e[s],s,t(e[s],n)));return r?e:u?t.call(e):a?t(e[0],n):o},_=/^-ms-/,$=/-([a-z])/g;function ee(e,t){return t.toUpperCase()}function te(e){return e.replace(_,"ms-").replace($,ee)}var ne=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function Ae(){this.expando=C.expando+Ae.uid++}Ae.uid=1,Ae.prototype={cache:function(e){var t=e[this.expando];return t||(t={},ne(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var A,r=this.cache(e);if("string"==typeof t)r[te(t)]=n;else for(A in t)r[te(A)]=t[A];return r},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][te(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,A=e[this.expando];if(void 0!==A){if(void 0!==t){n=(t=Array.isArray(t)?t.map(te):(t=te(t))in A?[t]:t.match(Y)||[]).length;for(;n--;)delete A[t[n]]}(void 0===t||C.isEmptyObject(A))&&(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 re=new Ae,oe=new Ae,ie=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,se=/[A-Z]/g;function ae(e,t,n){var A;if(void 0===n&&1===e.nodeType)if(A="data-"+t.replace(se,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(A))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ie.test(e)?JSON.parse(e):e)}(n)}catch(e){}oe.set(e,t,n)}else n=void 0;return n}C.extend({hasData:function(e){return oe.hasData(e)||re.hasData(e)},data:function(e,t,n){return oe.access(e,t,n)},removeData:function(e,t){oe.remove(e,t)},_data:function(e,t,n){return re.access(e,t,n)},_removeData:function(e,t){re.remove(e,t)}}),C.fn.extend({data:function(e,t){var n,A,r,o=this[0],i=o&&o.attributes;if(void 0===e){if(this.length&&(r=oe.get(o),1===o.nodeType&&!re.get(o,"hasDataAttrs"))){for(n=i.length;n--;)i[n]&&0===(A=i[n].name).indexOf("data-")&&(A=te(A.slice(5)),ae(o,A,r[A]));re.set(o,"hasDataAttrs",!0)}return r}return"object"==typeof e?this.each((function(){oe.set(this,e)})):K(this,(function(t){var n;if(o&&void 0===t)return void 0!==(n=oe.get(o,e))||void 0!==(n=ae(o,e))?n:void 0;this.each((function(){oe.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){oe.remove(this,e)}))}}),C.extend({queue:function(e,t,n){var A;if(e)return t=(t||"fx")+"queue",A=re.get(e,t),n&&(!A||Array.isArray(n)?A=re.access(e,t,C.makeArray(n)):A.push(n)),A||[]},dequeue:function(e,t){t=t||"fx";var n=C.queue(e,t),A=n.length,r=n.shift(),o=C._queueHooks(e,t);"inprogress"===r&&(r=n.shift(),A--),r&&("fx"===t&&n.unshift("inprogress"),delete o.stop,r.call(e,(function(){C.dequeue(e,t)}),o)),!A&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return re.get(e,n)||re.access(e,n,{empty:C.Callbacks("once memory").add((function(){re.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,A=1,r=C.Deferred(),o=this,i=this.length,s=function(){--A||r.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";i--;)(n=re.get(o[i],e+"queueHooks"))&&n.empty&&(A++,n.empty.add(s));return s(),r.promise(t)}});var ue=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,le=new RegExp("^(?:([+-])=|)("+ue+")([a-z%]*)$","i"),ce=["Top","Right","Bottom","Left"],de=g.documentElement,fe=function(e){return C.contains(e.ownerDocument,e)},pe={composed:!0};de.getRootNode&&(fe=function(e){return C.contains(e.ownerDocument,e)||e.getRootNode(pe)===e.ownerDocument});var he=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&fe(e)&&"none"===C.css(e,"display")};function ge(e,t,n,A){var r,o,i=20,s=A?function(){return A.cur()}:function(){return C.css(e,t,"")},a=s(),u=n&&n[3]||(C.cssNumber[t]?"":"px"),l=e.nodeType&&(C.cssNumber[t]||"px"!==u&&+a)&&le.exec(C.css(e,t));if(l&&l[3]!==u){for(a/=2,u=u||l[3],l=+a||1;i--;)C.style(e,t,l+u),(1-o)*(1-(o=s()/a||.5))<=0&&(i=0),l/=o;l*=2,C.style(e,t,l+u),n=n||[]}return n&&(l=+l||+a||0,r=n[1]?l+(n[1]+1)*n[2]:+n[2],A&&(A.unit=u,A.start=l,A.end=r)),r}var me={};function ve(e){var t,n=e.ownerDocument,A=e.nodeName,r=me[A];return r||(t=n.body.appendChild(n.createElement(A)),r=C.css(t,"display"),t.parentNode.removeChild(t),"none"===r&&(r="block"),me[A]=r,r)}function ye(e,t){for(var n,A,r=[],o=0,i=e.length;o<i;o++)(A=e[o]).style&&(n=A.style.display,t?("none"===n&&(r[o]=re.get(A,"display")||null,r[o]||(A.style.display="")),""===A.style.display&&he(A)&&(r[o]=ve(A))):"none"!==n&&(r[o]="none",re.set(A,"display",n)));for(o=0;o<i;o++)null!=r[o]&&(e[o].style.display=r[o]);return e}C.fn.extend({show:function(){return ye(this,!0)},hide:function(){return ye(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){he(this)?C(this).show():C(this).hide()}))}});var be,xe,Ce=/^(?:checkbox|radio)$/i,Ee=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,we=/^$|^module$|\/(?:java|ecma)script/i;be=g.createDocumentFragment().appendChild(g.createElement("div")),(xe=g.createElement("input")).setAttribute("type","radio"),xe.setAttribute("checked","checked"),xe.setAttribute("name","t"),be.appendChild(xe),f.checkClone=be.cloneNode(!0).cloneNode(!0).lastChild.checked,be.innerHTML="<textarea>x</textarea>",f.noCloneChecked=!!be.cloneNode(!0).lastChild.defaultValue,be.innerHTML="<option></option>",f.option=!!be.lastChild;var Be={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 Se(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&w(e,t)?C.merge([e],n):n}function Ie(e,t){for(var n=0,A=e.length;n<A;n++)re.set(e[n],"globalEval",!t||re.get(t[n],"globalEval"))}Be.tbody=Be.tfoot=Be.colgroup=Be.caption=Be.thead,Be.th=Be.td,f.option||(Be.optgroup=Be.option=[1,"<select multiple='multiple'>","</select>"]);var ke=/<|&#?\w+;/;function Te(e,t,n,A,r){for(var o,i,s,a,u,l,c=t.createDocumentFragment(),d=[],f=0,p=e.length;f<p;f++)if((o=e[f])||0===o)if("object"===y(o))C.merge(d,o.nodeType?[o]:o);else if(ke.test(o)){for(i=i||c.appendChild(t.createElement("div")),s=(Ee.exec(o)||["",""])[1].toLowerCase(),a=Be[s]||Be._default,i.innerHTML=a[1]+C.htmlPrefilter(o)+a[2],l=a[0];l--;)i=i.lastChild;C.merge(d,i.childNodes),(i=c.firstChild).textContent=""}else d.push(t.createTextNode(o));for(c.textContent="",f=0;o=d[f++];)if(A&&C.inArray(o,A)>-1)r&&r.push(o);else if(u=fe(o),i=Se(c.appendChild(o),"script"),u&&Ie(i),n)for(l=0;o=i[l++];)we.test(o.type||"")&&n.push(o);return c}var De=/^([^.]*)(?:\.(.+)|)/;function Qe(){return!0}function je(){return!1}function Me(e,t,n,A,r,o){var i,s;if("object"==typeof t){for(s in"string"!=typeof n&&(A=A||n,n=void 0),t)Me(e,s,n,A,t[s],o);return e}if(null==A&&null==r?(r=n,A=n=void 0):null==r&&("string"==typeof n?(r=A,A=void 0):(r=A,A=n,n=void 0)),!1===r)r=je;else if(!r)return e;return 1===o&&(i=r,r=function(e){return C().off(e),i.apply(this,arguments)},r.guid=i.guid||(i.guid=C.guid++)),e.each((function(){C.event.add(this,t,r,A,n)}))}function qe(e,t,n){n?(re.set(e,t,!1),C.event.add(e,t,{namespace:!1,handler:function(e){var n,A=re.get(this,t);if(1&e.isTrigger&&this[t]){if(A)(C.event.special[t]||{}).delegateType&&e.stopPropagation();else if(A=r.call(arguments),re.set(this,t,A),this[t](),n=re.get(this,t),re.set(this,t,!1),A!==n)return e.stopImmediatePropagation(),e.preventDefault(),n}else A&&(re.set(this,t,C.event.trigger(A[0],A.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Qe)}})):void 0===re.get(e,t)&&C.event.add(e,t,Qe)}C.event={global:{},add:function(e,t,n,A,r){var o,i,s,a,u,l,c,d,f,p,h,g=re.get(e);if(ne(e))for(n.handler&&(n=(o=n).handler,r=o.selector),r&&C.find.matchesSelector(de,r),n.guid||(n.guid=C.guid++),(a=g.events)||(a=g.events=Object.create(null)),(i=g.handle)||(i=g.handle=function(t){return void 0!==C&&C.event.triggered!==t.type?C.event.dispatch.apply(e,arguments):void 0}),u=(t=(t||"").match(Y)||[""]).length;u--;)f=h=(s=De.exec(t[u])||[])[1],p=(s[2]||"").split(".").sort(),f&&(c=C.event.special[f]||{},f=(r?c.delegateType:c.bindType)||f,c=C.event.special[f]||{},l=C.extend({type:f,origType:h,data:A,handler:n,guid:n.guid,selector:r,needsContext:r&&C.expr.match.needsContext.test(r),namespace:p.join(".")},o),(d=a[f])||((d=a[f]=[]).delegateCount=0,c.setup&&!1!==c.setup.call(e,A,p,i)||e.addEventListener&&e.addEventListener(f,i)),c.add&&(c.add.call(e,l),l.handler.guid||(l.handler.guid=n.guid)),r?d.splice(d.delegateCount++,0,l):d.push(l),C.event.global[f]=!0)},remove:function(e,t,n,A,r){var o,i,s,a,u,l,c,d,f,p,h,g=re.hasData(e)&&re.get(e);if(g&&(a=g.events)){for(u=(t=(t||"").match(Y)||[""]).length;u--;)if(f=h=(s=De.exec(t[u])||[])[1],p=(s[2]||"").split(".").sort(),f){for(c=C.event.special[f]||{},d=a[f=(A?c.delegateType:c.bindType)||f]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),i=o=d.length;o--;)l=d[o],!r&&h!==l.origType||n&&n.guid!==l.guid||s&&!s.test(l.namespace)||A&&A!==l.selector&&("**"!==A||!l.selector)||(d.splice(o,1),l.selector&&d.delegateCount--,c.remove&&c.remove.call(e,l));i&&!d.length&&(c.teardown&&!1!==c.teardown.call(e,p,g.handle)||C.removeEvent(e,f,g.handle),delete a[f])}else for(f in a)C.event.remove(e,f+t[u],n,A,!0);C.isEmptyObject(a)&&re.remove(e,"handle events")}},dispatch:function(e){var t,n,A,r,o,i,s=new Array(arguments.length),a=C.event.fix(e),u=(re.get(this,"events")||Object.create(null))[a.type]||[],l=C.event.special[a.type]||{};for(s[0]=a,t=1;t<arguments.length;t++)s[t]=arguments[t];if(a.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,a)){for(i=C.event.handlers.call(this,a,u),t=0;(r=i[t++])&&!a.isPropagationStopped();)for(a.currentTarget=r.elem,n=0;(o=r.handlers[n++])&&!a.isImmediatePropagationStopped();)a.rnamespace&&!1!==o.namespace&&!a.rnamespace.test(o.namespace)||(a.handleObj=o,a.data=o.data,void 0!==(A=((C.event.special[o.origType]||{}).handle||o.handler).apply(r.elem,s))&&!1===(a.result=A)&&(a.preventDefault(),a.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,a),a.result}},handlers:function(e,t){var n,A,r,o,i,s=[],a=t.delegateCount,u=e.target;if(a&&u.nodeType&&!("click"===e.type&&e.button>=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(o=[],i={},n=0;n<a;n++)void 0===i[r=(A=t[n]).selector+" "]&&(i[r]=A.needsContext?C(r,this).index(u)>-1:C.find(r,this,null,[u]).length),i[r]&&o.push(A);o.length&&s.push({elem:u,handlers:o})}return u=this,a<t.length&&s.push({elem:u,handlers:t.slice(a)}),s},addProp:function(e,t){Object.defineProperty(C.Event.prototype,e,{enumerable:!0,configurable:!0,get:p(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 Ce.test(t.type)&&t.click&&w(t,"input")&&qe(t,"click",!0),!1},trigger:function(e){var t=this||e;return Ce.test(t.type)&&t.click&&w(t,"input")&&qe(t,"click"),!0},_default:function(e){var t=e.target;return Ce.test(t.type)&&t.click&&w(t,"input")&&re.get(t,"click")||w(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?Qe:je,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:je,isPropagationStopped:je,isImmediatePropagationStopped:je,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Qe,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Qe,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Qe,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){function n(e){if(g.documentMode){var n=re.get(this,"handle"),A=C.event.fix(e);A.type="focusin"===e.type?"focus":"blur",A.isSimulated=!0,n(e),A.target===A.currentTarget&&n(A)}else C.event.simulate(t,e.target,C.event.fix(e))}C.event.special[e]={setup:function(){var A;if(qe(this,e,!0),!g.documentMode)return!1;(A=re.get(this,t))||this.addEventListener(t,n),re.set(this,t,(A||0)+1)},trigger:function(){return qe(this,e),!0},teardown:function(){var e;if(!g.documentMode)return!1;(e=re.get(this,t)-1)?re.set(this,t,e):(this.removeEventListener(t,n),re.remove(this,t))},_default:function(t){return re.get(t.target,e)},delegateType:t},C.event.special[t]={setup:function(){var A=this.ownerDocument||this.document||this,r=g.documentMode?this:A,o=re.get(r,t);o||(g.documentMode?this.addEventListener(t,n):A.addEventListener(e,n,!0)),re.set(r,t,(o||0)+1)},teardown:function(){var A=this.ownerDocument||this.document||this,r=g.documentMode?this:A,o=re.get(r,t)-1;o?re.set(r,t,o):(g.documentMode?this.removeEventListener(t,n):A.removeEventListener(e,n,!0),re.remove(r,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,A=e.relatedTarget,r=e.handleObj;return A&&(A===this||C.contains(this,A))||(e.type=r.origType,n=r.handler.apply(this,arguments),e.type=t),n}}})),C.fn.extend({on:function(e,t,n,A){return Me(this,e,t,n,A)},one:function(e,t,n,A){return Me(this,e,t,n,A,1)},off:function(e,t,n){var A,r;if(e&&e.preventDefault&&e.handleObj)return A=e.handleObj,C(e.delegateTarget).off(A.namespace?A.origType+"."+A.namespace:A.origType,A.selector,A.handler),this;if("object"==typeof e){for(r in e)this.off(r,t,e[r]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=je),this.each((function(){C.event.remove(this,e,n,t)}))}});var Oe=/<script|<style|<link/i,Re=/checked\s*(?:[^=]|=\s*.checked.)/i,Ve=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Fe(e,t){return w(e,"table")&&w(11!==t.nodeType?t:t.firstChild,"tr")&&C(e).children("tbody")[0]||e}function He(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Le(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Ne(e,t){var n,A,r,o,i,s;if(1===t.nodeType){if(re.hasData(e)&&(s=re.get(e).events))for(r in re.remove(t,"handle events"),s)for(n=0,A=s[r].length;n<A;n++)C.event.add(t,r,s[r][n]);oe.hasData(e)&&(o=oe.access(e),i=C.extend({},o),oe.set(t,i))}}function Ze(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Ce.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function We(e,t,n,A){t=o(t);var r,i,s,a,u,l,c=0,d=e.length,h=d-1,g=t[0],m=p(g);if(m||d>1&&"string"==typeof g&&!f.checkClone&&Re.test(g))return e.each((function(r){var o=e.eq(r);m&&(t[0]=g.call(this,r,o.html())),We(o,t,n,A)}));if(d&&(i=(r=Te(t,e[0].ownerDocument,!1,e,A)).firstChild,1===r.childNodes.length&&(r=i),i||A)){for(a=(s=C.map(Se(r,"script"),He)).length;c<d;c++)u=r,c!==h&&(u=C.clone(u,!0,!0),a&&C.merge(s,Se(u,"script"))),n.call(e[c],u,c);if(a)for(l=s[s.length-1].ownerDocument,C.map(s,Le),c=0;c<a;c++)u=s[c],we.test(u.type||"")&&!re.access(u,"globalEval")&&C.contains(l,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?C._evalUrl&&!u.noModule&&C._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},l):v(u.textContent.replace(Ve,""),u,l))}return e}function Ye(e,t,n){for(var A,r=t?C.filter(t,e):e,o=0;null!=(A=r[o]);o++)n||1!==A.nodeType||C.cleanData(Se(A)),A.parentNode&&(n&&fe(A)&&Ie(Se(A,"script")),A.parentNode.removeChild(A));return e}C.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var A,r,o,i,s=e.cloneNode(!0),a=fe(e);if(!(f.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||C.isXMLDoc(e)))for(i=Se(s),A=0,r=(o=Se(e)).length;A<r;A++)Ze(o[A],i[A]);if(t)if(n)for(o=o||Se(e),i=i||Se(s),A=0,r=o.length;A<r;A++)Ne(o[A],i[A]);else Ne(e,s);return(i=Se(s,"script")).length>0&&Ie(i,!a&&Se(e,"script")),s},cleanData:function(e){for(var t,n,A,r=C.event.special,o=0;void 0!==(n=e[o]);o++)if(ne(n)){if(t=n[re.expando]){if(t.events)for(A in t.events)r[A]?C.event.remove(n,A):C.removeEvent(n,A,t.handle);n[re.expando]=void 0}n[oe.expando]&&(n[oe.expando]=void 0)}}}),C.fn.extend({detach:function(e){return Ye(this,e,!0)},remove:function(e){return Ye(this,e)},text:function(e){return K(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 We(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Fe(this,e).appendChild(e)}))},prepend:function(){return We(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Fe(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return We(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return We(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(Se(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 K(this,(function(e){var t=this[0]||{},n=0,A=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Oe.test(e)&&!Be[(Ee.exec(e)||["",""])[1].toLowerCase()]){e=C.htmlPrefilter(e);try{for(;n<A;n++)1===(t=this[n]||{}).nodeType&&(C.cleanData(Se(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return We(this,arguments,(function(t){var n=this.parentNode;C.inArray(this,e)<0&&(C.cleanData(Se(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,A=[],r=C(e),o=r.length-1,s=0;s<=o;s++)n=s===o?this:this.clone(!0),C(r[s])[t](n),i.apply(A,n.get());return this.pushStack(A)}}));var Xe=new RegExp("^("+ue+")(?!px)[a-z%]+$","i"),Je=/^--/,Pe=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},Ge=function(e,t,n){var A,r,o={};for(r in t)o[r]=e.style[r],e.style[r]=t[r];for(r in A=n.call(e),t)e.style[r]=o[r];return A},Ue=new RegExp(ce.join("|"),"i");function ze(e,t,n){var A,r,o,i,s=Je.test(t),a=e.style;return(n=n||Pe(e))&&(i=n.getPropertyValue(t)||n[t],s&&i&&(i=i.replace(T,"$1")||void 0),""!==i||fe(e)||(i=C.style(e,t)),!f.pixelBoxStyles()&&Xe.test(i)&&Ue.test(t)&&(A=a.width,r=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=i,i=n.width,a.width=A,a.minWidth=r,a.maxWidth=o)),void 0!==i?i+"":i}function Ke(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function t(){if(l){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",de.appendChild(u).appendChild(l);var t=e.getComputedStyle(l);A="1%"!==t.top,a=12===n(t.marginLeft),l.style.right="60%",i=36===n(t.right),r=36===n(t.width),l.style.position="absolute",o=12===n(l.offsetWidth/3),de.removeChild(u),l=null}}function n(e){return Math.round(parseFloat(e))}var A,r,o,i,s,a,u=g.createElement("div"),l=g.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",f.clearCloneStyle="content-box"===l.style.backgroundClip,C.extend(f,{boxSizingReliable:function(){return t(),r},pixelBoxStyles:function(){return t(),i},pixelPosition:function(){return t(),A},reliableMarginLeft:function(){return t(),a},scrollboxSize:function(){return t(),o},reliableTrDimensions:function(){var t,n,A,r;return null==s&&(t=g.createElement("table"),n=g.createElement("tr"),A=g.createElement("div"),t.style.cssText="position:absolute;left:-11111px;border-collapse:separate",n.style.cssText="box-sizing:content-box;border:1px solid",n.style.height="1px",A.style.height="9px",A.style.display="block",de.appendChild(t).appendChild(n).appendChild(A),r=e.getComputedStyle(n),s=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===n.offsetHeight,de.removeChild(t)),s}}))}();var _e=["Webkit","Moz","ms"],$e=g.createElement("div").style,et={};function tt(e){var t=C.cssProps[e]||et[e];return t||(e in $e?e:et[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=_e.length;n--;)if((e=_e[n]+t)in $e)return e}(e)||e)}var nt=/^(none|table(?!-c[ea]).+)/,At={position:"absolute",visibility:"hidden",display:"block"},rt={letterSpacing:"0",fontWeight:"400"};function ot(e,t,n){var A=le.exec(t);return A?Math.max(0,A[2]-(n||0))+(A[3]||"px"):t}function it(e,t,n,A,r,o){var i="width"===t?1:0,s=0,a=0,u=0;if(n===(A?"border":"content"))return 0;for(;i<4;i+=2)"margin"===n&&(u+=C.css(e,n+ce[i],!0,r)),A?("content"===n&&(a-=C.css(e,"padding"+ce[i],!0,r)),"margin"!==n&&(a-=C.css(e,"border"+ce[i]+"Width",!0,r))):(a+=C.css(e,"padding"+ce[i],!0,r),"padding"!==n?a+=C.css(e,"border"+ce[i]+"Width",!0,r):s+=C.css(e,"border"+ce[i]+"Width",!0,r));return!A&&o>=0&&(a+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-a-s-.5))||0),a+u}function st(e,t,n){var A=Pe(e),r=(!f.boxSizingReliable()||n)&&"border-box"===C.css(e,"boxSizing",!1,A),o=r,i=ze(e,t,A),s="offset"+t[0].toUpperCase()+t.slice(1);if(Xe.test(i)){if(!n)return i;i="auto"}return(!f.boxSizingReliable()&&r||!f.reliableTrDimensions()&&w(e,"tr")||"auto"===i||!parseFloat(i)&&"inline"===C.css(e,"display",!1,A))&&e.getClientRects().length&&(r="border-box"===C.css(e,"boxSizing",!1,A),(o=s in e)&&(i=e[s])),(i=parseFloat(i)||0)+it(e,t,n||(r?"border":"content"),o,A,i)+"px"}function at(e,t,n,A,r){return new at.prototype.init(e,t,n,A,r)}C.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=ze(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!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,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,A){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,o,i,s=te(t),a=Je.test(t),u=e.style;if(a||(t=tt(s)),i=C.cssHooks[t]||C.cssHooks[s],void 0===n)return i&&"get"in i&&void 0!==(r=i.get(e,!1,A))?r:u[t];"string"===(o=typeof n)&&(r=le.exec(n))&&r[1]&&(n=ge(e,t,r),o="number"),null!=n&&n==n&&("number"!==o||a||(n+=r&&r[3]||(C.cssNumber[s]?"":"px")),f.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),i&&"set"in i&&void 0===(n=i.set(e,n,A))||(a?u.setProperty(t,n):u[t]=n))}},css:function(e,t,n,A){var r,o,i,s=te(t);return Je.test(t)||(t=tt(s)),(i=C.cssHooks[t]||C.cssHooks[s])&&"get"in i&&(r=i.get(e,!0,n)),void 0===r&&(r=ze(e,t,A)),"normal"===r&&t in rt&&(r=rt[t]),""===n||n?(o=parseFloat(r),!0===n||isFinite(o)?o||0:r):r}}),C.each(["height","width"],(function(e,t){C.cssHooks[t]={get:function(e,n,A){if(n)return!nt.test(C.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?st(e,t,A):Ge(e,At,(function(){return st(e,t,A)}))},set:function(e,n,A){var r,o=Pe(e),i=!f.scrollboxSize()&&"absolute"===o.position,s=(i||A)&&"border-box"===C.css(e,"boxSizing",!1,o),a=A?it(e,t,A,s,o):0;return s&&i&&(a-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-it(e,t,"border",!1,o)-.5)),a&&(r=le.exec(n))&&"px"!==(r[3]||"px")&&(e.style[t]=n,n=C.css(e,t)),ot(0,n,a)}}})),C.cssHooks.marginLeft=Ke(f.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(ze(e,"marginLeft"))||e.getBoundingClientRect().left-Ge(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 A=0,r={},o="string"==typeof n?n.split(" "):[n];A<4;A++)r[e+ce[A]+t]=o[A]||o[A-2]||o[0];return r}},"margin"!==e&&(C.cssHooks[e+t].set=ot)})),C.fn.extend({css:function(e,t){return K(this,(function(e,t,n){var A,r,o={},i=0;if(Array.isArray(t)){for(A=Pe(e),r=t.length;i<r;i++)o[t[i]]=C.css(e,t[i],!1,A);return o}return void 0!==n?C.style(e,t,n):C.css(e,t)}),e,t,arguments.length>1)}}),C.Tween=at,at.prototype={constructor:at,init:function(e,t,n,A,r,o){this.elem=e,this.prop=n,this.easing=r||C.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=A,this.unit=o||(C.cssNumber[n]?"":"px")},cur:function(){var e=at.propHooks[this.prop];return e&&e.get?e.get(this):at.propHooks._default.get(this)},run:function(e){var t,n=at.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):at.propHooks._default.set(this),this}},at.prototype.init.prototype=at.prototype,at.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[tt(e.prop)]?e.elem[e.prop]=e.now:C.style(e.elem,e.prop,e.now+e.unit)}}},at.propHooks.scrollTop=at.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=at.prototype.init,C.fx.step={};var ut,lt,ct=/^(?:toggle|show|hide)$/,dt=/queueHooks$/;function ft(){lt&&(!1===g.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(ft):e.setTimeout(ft,C.fx.interval),C.fx.tick())}function pt(){return e.setTimeout((function(){ut=void 0})),ut=Date.now()}function ht(e,t){var n,A=0,r={height:e};for(t=t?1:0;A<4;A+=2-t)r["margin"+(n=ce[A])]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function gt(e,t,n){for(var A,r=(mt.tweeners[t]||[]).concat(mt.tweeners["*"]),o=0,i=r.length;o<i;o++)if(A=r[o].call(n,t,e))return A}function mt(e,t,n){var A,r,o=0,i=mt.prefilters.length,s=C.Deferred().always((function(){delete a.elem})),a=function(){if(r)return!1;for(var t=ut||pt(),n=Math.max(0,u.startTime+u.duration-t),A=1-(n/u.duration||0),o=0,i=u.tweens.length;o<i;o++)u.tweens[o].run(A);return s.notifyWith(e,[u,A,n]),A<1&&i?n:(i||s.notifyWith(e,[u,1,0]),s.resolveWith(e,[u]),!1)},u=s.promise({elem:e,props:C.extend({},t),opts:C.extend(!0,{specialEasing:{},easing:C.easing._default},n),originalProperties:t,originalOptions:n,startTime:ut||pt(),duration:n.duration,tweens:[],createTween:function(t,n){var A=C.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(A),A},stop:function(t){var n=0,A=t?u.tweens.length:0;if(r)return this;for(r=!0;n<A;n++)u.tweens[n].run(1);return t?(s.notifyWith(e,[u,1,0]),s.resolveWith(e,[u,t])):s.rejectWith(e,[u,t]),this}}),l=u.props;for(!function(e,t){var n,A,r,o,i;for(n in e)if(r=t[A=te(n)],o=e[n],Array.isArray(o)&&(r=o[1],o=e[n]=o[0]),n!==A&&(e[A]=o,delete e[n]),(i=C.cssHooks[A])&&"expand"in i)for(n in o=i.expand(o),delete e[A],o)n in e||(e[n]=o[n],t[n]=r);else t[A]=r}(l,u.opts.specialEasing);o<i;o++)if(A=mt.prefilters[o].call(u,e,l,u.opts))return p(A.stop)&&(C._queueHooks(u.elem,u.opts.queue).stop=A.stop.bind(A)),A;return C.map(l,gt,u),p(u.opts.start)&&u.opts.start.call(e,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),C.fx.timer(C.extend(a,{elem:e,anim:u,queue:u.opts.queue})),u}C.Animation=C.extend(mt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ge(n.elem,e,le.exec(t),n),n}]},tweener:function(e,t){p(e)?(t=e,e=["*"]):e=e.match(Y);for(var n,A=0,r=e.length;A<r;A++)n=e[A],mt.tweeners[n]=mt.tweeners[n]||[],mt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var A,r,o,i,s,a,u,l,c="width"in t||"height"in t,d=this,f={},p=e.style,h=e.nodeType&&he(e),g=re.get(e,"fxshow");for(A in n.queue||(null==(i=C._queueHooks(e,"fx")).unqueued&&(i.unqueued=0,s=i.empty.fire,i.empty.fire=function(){i.unqueued||s()}),i.unqueued++,d.always((function(){d.always((function(){i.unqueued--,C.queue(e,"fx").length||i.empty.fire()}))}))),t)if(r=t[A],ct.test(r)){if(delete t[A],o=o||"toggle"===r,r===(h?"hide":"show")){if("show"!==r||!g||void 0===g[A])continue;h=!0}f[A]=g&&g[A]||C.style(e,A)}if((a=!C.isEmptyObject(t))||!C.isEmptyObject(f))for(A in c&&1===e.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],null==(u=g&&g.display)&&(u=re.get(e,"display")),"none"===(l=C.css(e,"display"))&&(u?l=u:(ye([e],!0),u=e.style.display||u,l=C.css(e,"display"),ye([e]))),("inline"===l||"inline-block"===l&&null!=u)&&"none"===C.css(e,"float")&&(a||(d.done((function(){p.display=u})),null==u&&(l=p.display,u="none"===l?"":l)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",d.always((function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}))),a=!1,f)a||(g?"hidden"in g&&(h=g.hidden):g=re.access(e,"fxshow",{display:u}),o&&(g.hidden=!h),h&&ye([e],!0),d.done((function(){for(A in h||ye([e]),re.remove(e,"fxshow"),f)C.style(e,A,f[A])}))),a=gt(h?g[A]:0,A,d),A in g||(g[A]=a.start,h&&(a.end=a.start,a.start=0))}],prefilter:function(e,t){t?mt.prefilters.unshift(e):mt.prefilters.push(e)}}),C.speed=function(e,t,n){var A=e&&"object"==typeof e?C.extend({},e):{complete:n||!n&&t||p(e)&&e,duration:e,easing:n&&t||t&&!p(t)&&t};return C.fx.off?A.duration=0:"number"!=typeof A.duration&&(A.duration in C.fx.speeds?A.duration=C.fx.speeds[A.duration]:A.duration=C.fx.speeds._default),null!=A.queue&&!0!==A.queue||(A.queue="fx"),A.old=A.complete,A.complete=function(){p(A.old)&&A.old.call(this),A.queue&&C.dequeue(this,A.queue)},A},C.fn.extend({fadeTo:function(e,t,n,A){return this.filter(he).css("opacity",0).show().end().animate({opacity:t},e,n,A)},animate:function(e,t,n,A){var r=C.isEmptyObject(e),o=C.speed(t,n,A),i=function(){var t=mt(this,C.extend({},e),o);(r||re.get(this,"finish"))&&t.stop(!0)};return i.finish=i,r||!1===o.queue?this.each(i):this.queue(o.queue,i)},stop:function(e,t,n){var A=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,r=null!=e&&e+"queueHooks",o=C.timers,i=re.get(this);if(r)i[r]&&i[r].stop&&A(i[r]);else for(r in i)i[r]&&i[r].stop&&dt.test(r)&&A(i[r]);for(r=o.length;r--;)o[r].elem!==this||null!=e&&o[r].queue!==e||(o[r].anim.stop(n),t=!1,o.splice(r,1));!t&&n||C.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=re.get(this),A=n[e+"queue"],r=n[e+"queueHooks"],o=C.timers,i=A?A.length:0;for(n.finish=!0,C.queue(this,e,[]),r&&r.stop&&r.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<i;t++)A[t]&&A[t].finish&&A[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,A,r){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ht(t,!0),e,A,r)}})),C.each({slideDown:ht("show"),slideUp:ht("hide"),slideToggle:ht("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){C.fn[e]=function(e,n,A){return this.animate(t,e,n,A)}})),C.timers=[],C.fx.tick=function(){var e,t=0,n=C.timers;for(ut=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||C.fx.stop(),ut=void 0},C.fx.timer=function(e){C.timers.push(e),C.fx.start()},C.fx.interval=13,C.fx.start=function(){lt||(lt=!0,ft())},C.fx.stop=function(){lt=null},C.fx.speeds={slow:600,fast:200,_default:400},C.fn.delay=function(t,n){return t=C.fx&&C.fx.speeds[t]||t,n=n||"fx",this.queue(n,(function(n,A){var r=e.setTimeout(n,t);A.stop=function(){e.clearTimeout(r)}}))},function(){var e=g.createElement("input"),t=g.createElement("select").appendChild(g.createElement("option"));e.type="checkbox",f.checkOn=""!==e.value,f.optSelected=t.selected,(e=g.createElement("input")).value="t",e.type="radio",f.radioValue="t"===e.value}();var vt,yt=C.expr.attrHandle;C.fn.extend({attr:function(e,t){return K(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 A,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?C.prop(e,t,n):(1===o&&C.isXMLDoc(e)||(r=C.attrHooks[t.toLowerCase()]||(C.expr.match.bool.test(t)?vt:void 0)),void 0!==n?null===n?void C.removeAttr(e,t):r&&"set"in r&&void 0!==(A=r.set(e,n,t))?A:(e.setAttribute(t,n+""),n):r&&"get"in r&&null!==(A=r.get(e,t))?A:null==(A=C.find.attr(e,t))?void 0:A)},attrHooks:{type:{set:function(e,t){if(!f.radioValue&&"radio"===t&&w(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,A=0,r=t&&t.match(Y);if(r&&1===e.nodeType)for(;n=r[A++];)e.removeAttribute(n)}}),vt={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=yt[t]||C.find.attr;yt[t]=function(e,t,A){var r,o,i=t.toLowerCase();return A||(o=yt[i],yt[i]=r,r=null!=n(e,t,A)?i:null,yt[i]=o),r}}));var bt=/^(?:input|select|textarea|button)$/i,xt=/^(?:a|area)$/i;function Ct(e){return(e.match(Y)||[]).join(" ")}function Et(e){return e.getAttribute&&e.getAttribute("class")||""}function wt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(Y)||[]}C.fn.extend({prop:function(e,t){return K(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 A,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&C.isXMLDoc(e)||(t=C.propFix[t]||t,r=C.propHooks[t]),void 0!==n?r&&"set"in r&&void 0!==(A=r.set(e,n,t))?A:e[t]=n:r&&"get"in r&&null!==(A=r.get(e,t))?A:e[t]},propHooks:{tabIndex:{get:function(e){var t=C.find.attr(e,"tabindex");return t?parseInt(t,10):bt.test(e.nodeName)||xt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),f.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,A,r,o,i;return p(e)?this.each((function(t){C(this).addClass(e.call(this,t,Et(this)))})):(t=wt(e)).length?this.each((function(){if(A=Et(this),n=1===this.nodeType&&" "+Ct(A)+" "){for(o=0;o<t.length;o++)r=t[o],n.indexOf(" "+r+" ")<0&&(n+=r+" ");i=Ct(n),A!==i&&this.setAttribute("class",i)}})):this},removeClass:function(e){var t,n,A,r,o,i;return p(e)?this.each((function(t){C(this).removeClass(e.call(this,t,Et(this)))})):arguments.length?(t=wt(e)).length?this.each((function(){if(A=Et(this),n=1===this.nodeType&&" "+Ct(A)+" "){for(o=0;o<t.length;o++)for(r=t[o];n.indexOf(" "+r+" ")>-1;)n=n.replace(" "+r+" "," ");i=Ct(n),A!==i&&this.setAttribute("class",i)}})):this:this.attr("class","")},toggleClass:function(e,t){var n,A,r,o,i=typeof e,s="string"===i||Array.isArray(e);return p(e)?this.each((function(n){C(this).toggleClass(e.call(this,n,Et(this),t),t)})):"boolean"==typeof t&&s?t?this.addClass(e):this.removeClass(e):(n=wt(e),this.each((function(){if(s)for(o=C(this),r=0;r<n.length;r++)A=n[r],o.hasClass(A)?o.removeClass(A):o.addClass(A);else void 0!==e&&"boolean"!==i||((A=Et(this))&&re.set(this,"__className__",A),this.setAttribute&&this.setAttribute("class",A||!1===e?"":re.get(this,"__className__")||""))})))},hasClass:function(e){var t,n,A=0;for(t=" "+e+" ";n=this[A++];)if(1===n.nodeType&&(" "+Ct(Et(n))+" ").indexOf(t)>-1)return!0;return!1}});var Bt=/\r/g;C.fn.extend({val:function(e){var t,n,A,r=this[0];return arguments.length?(A=p(e),this.each((function(n){var r;1===this.nodeType&&(null==(r=A?e.call(this,n,C(this).val()):e)?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=C.map(r,(function(e){return null==e?"":e+""}))),(t=C.valHooks[this.type]||C.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,r,"value")||(this.value=r))}))):r?(t=C.valHooks[r.type]||C.valHooks[r.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(r,"value"))?n:"string"==typeof(n=r.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:Ct(C.text(e))}},select:{get:function(e){var t,n,A,r=e.options,o=e.selectedIndex,i="select-one"===e.type,s=i?null:[],a=i?o+1:r.length;for(A=o<0?a:i?o:0;A<a;A++)if(((n=r[A]).selected||A===o)&&!n.disabled&&(!n.parentNode.disabled||!w(n.parentNode,"optgroup"))){if(t=C(n).val(),i)return t;s.push(t)}return s},set:function(e,t){for(var n,A,r=e.options,o=C.makeArray(t),i=r.length;i--;)((A=r[i]).selected=C.inArray(C.valHooks.option.get(A),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),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}},f.checkOn||(C.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}));var St=e.location,It={guid:Date.now()},kt=/\?/;C.parseXML=function(t){var n,A;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(e){}return A=n&&n.getElementsByTagName("parsererror")[0],n&&!A||C.error("Invalid XML: "+(A?C.map(A.childNodes,(function(e){return e.textContent})).join("\n"):t)),n};var Tt=/^(?:focusinfocus|focusoutblur)$/,Dt=function(e){e.stopPropagation()};C.extend(C.event,{trigger:function(t,n,A,r){var o,i,s,a,u,c,d,f,m=[A||g],v=l.call(t,"type")?t.type:t,y=l.call(t,"namespace")?t.namespace.split("."):[];if(i=f=s=A=A||g,3!==A.nodeType&&8!==A.nodeType&&!Tt.test(v+C.event.triggered)&&(v.indexOf(".")>-1&&(y=v.split("."),v=y.shift(),y.sort()),u=v.indexOf(":")<0&&"on"+v,(t=t[C.expando]?t:new C.Event(v,"object"==typeof t&&t)).isTrigger=r?2:3,t.namespace=y.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=A),n=null==n?[t]:C.makeArray(n,[t]),d=C.event.special[v]||{},r||!d.trigger||!1!==d.trigger.apply(A,n))){if(!r&&!d.noBubble&&!h(A)){for(a=d.delegateType||v,Tt.test(a+v)||(i=i.parentNode);i;i=i.parentNode)m.push(i),s=i;s===(A.ownerDocument||g)&&m.push(s.defaultView||s.parentWindow||e)}for(o=0;(i=m[o++])&&!t.isPropagationStopped();)f=i,t.type=o>1?a:d.bindType||v,(c=(re.get(i,"events")||Object.create(null))[t.type]&&re.get(i,"handle"))&&c.apply(i,n),(c=u&&i[u])&&c.apply&&ne(i)&&(t.result=c.apply(i,n),!1===t.result&&t.preventDefault());return t.type=v,r||t.isDefaultPrevented()||d._default&&!1!==d._default.apply(m.pop(),n)||!ne(A)||u&&p(A[v])&&!h(A)&&((s=A[u])&&(A[u]=null),C.event.triggered=v,t.isPropagationStopped()&&f.addEventListener(v,Dt),A[v](),t.isPropagationStopped()&&f.removeEventListener(v,Dt),C.event.triggered=void 0,s&&(A[u]=s)),t.result}},simulate:function(e,t,n){var A=C.extend(new C.Event,n,{type:e,isSimulated:!0});C.event.trigger(A,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)}});var Qt=/\[\]$/,jt=/\r?\n/g,Mt=/^(?:submit|button|image|reset|file)$/i,qt=/^(?:input|select|textarea|keygen)/i;function Ot(e,t,n,A){var r;if(Array.isArray(t))C.each(t,(function(t,r){n||Qt.test(e)?A(e,r):Ot(e+"["+("object"==typeof r&&null!=r?t:"")+"]",r,n,A)}));else if(n||"object"!==y(t))A(e,t);else for(r in t)Ot(e+"["+r+"]",t[r],n,A)}C.param=function(e,t){var n,A=[],r=function(e,t){var n=p(t)?t():t;A[A.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!C.isPlainObject(e))C.each(e,(function(){r(this.name,this.value)}));else for(n in e)Ot(n,e[n],t,r);return A.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")&&qt.test(this.nodeName)&&!Mt.test(e)&&(this.checked||!Ce.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(jt,"\r\n")}})):{name:t.name,value:n.replace(jt,"\r\n")}})).get()}});var Rt=/%20/g,Vt=/#.*$/,Ft=/([?&])_=[^&]*/,Ht=/^(.*?):[ \t]*([^\r\n]*)$/gm,Lt=/^(?:GET|HEAD)$/,Nt=/^\/\//,Zt={},Wt={},Yt="*/".concat("*"),Xt=g.createElement("a");function Jt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var A,r=0,o=t.toLowerCase().match(Y)||[];if(p(n))for(;A=o[r++];)"+"===A[0]?(A=A.slice(1)||"*",(e[A]=e[A]||[]).unshift(n)):(e[A]=e[A]||[]).push(n)}}function Pt(e,t,n,A){var r={},o=e===Wt;function i(s){var a;return r[s]=!0,C.each(e[s]||[],(function(e,s){var u=s(t,n,A);return"string"!=typeof u||o||r[u]?o?!(a=u):void 0:(t.dataTypes.unshift(u),i(u),!1)})),a}return i(t.dataTypes[0])||!r["*"]&&i("*")}function Gt(e,t){var n,A,r=C.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((r[n]?e:A||(A={}))[n]=t[n]);return A&&C.extend(!0,e,A),e}Xt.href=St.href,C.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:St.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(St.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Yt,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?Gt(Gt(e,C.ajaxSettings),t):Gt(C.ajaxSettings,e)},ajaxPrefilter:Jt(Zt),ajaxTransport:Jt(Wt),ajax:function(t,n){"object"==typeof t&&(n=t,t=void 0),n=n||{};var A,r,o,i,s,a,u,l,c,d,f=C.ajaxSetup({},n),p=f.context||f,h=f.context&&(p.nodeType||p.jquery)?C(p):C.event,m=C.Deferred(),v=C.Callbacks("once memory"),y=f.statusCode||{},b={},x={},E="canceled",w={readyState:0,getResponseHeader:function(e){var t;if(u){if(!i)for(i={};t=Ht.exec(o);)i[t[1].toLowerCase()+" "]=(i[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=i[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return u?o:null},setRequestHeader:function(e,t){return null==u&&(e=x[e.toLowerCase()]=x[e.toLowerCase()]||e,b[e]=t),this},overrideMimeType:function(e){return null==u&&(f.mimeType=e),this},statusCode:function(e){var t;if(e)if(u)w.always(e[w.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||E;return A&&A.abort(t),B(0,t),this}};if(m.promise(w),f.url=((t||f.url||St.href)+"").replace(Nt,St.protocol+"//"),f.type=n.method||n.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(Y)||[""],null==f.crossDomain){a=g.createElement("a");try{a.href=f.url,a.href=a.href,f.crossDomain=Xt.protocol+"//"+Xt.host!=a.protocol+"//"+a.host}catch(e){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=C.param(f.data,f.traditional)),Pt(Zt,f,n,w),u)return w;for(c in(l=C.event&&f.global)&&0==C.active++&&C.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!Lt.test(f.type),r=f.url.replace(Vt,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(Rt,"+")):(d=f.url.slice(r.length),f.data&&(f.processData||"string"==typeof f.data)&&(r+=(kt.test(r)?"&":"?")+f.data,delete f.data),!1===f.cache&&(r=r.replace(Ft,"$1"),d=(kt.test(r)?"&":"?")+"_="+It.guid+++d),f.url=r+d),f.ifModified&&(C.lastModified[r]&&w.setRequestHeader("If-Modified-Since",C.lastModified[r]),C.etag[r]&&w.setRequestHeader("If-None-Match",C.etag[r])),(f.data&&f.hasContent&&!1!==f.contentType||n.contentType)&&w.setRequestHeader("Content-Type",f.contentType),w.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Yt+"; q=0.01":""):f.accepts["*"]),f.headers)w.setRequestHeader(c,f.headers[c]);if(f.beforeSend&&(!1===f.beforeSend.call(p,w,f)||u))return w.abort();if(E="abort",v.add(f.complete),w.done(f.success),w.fail(f.error),A=Pt(Wt,f,n,w)){if(w.readyState=1,l&&h.trigger("ajaxSend",[w,f]),u)return w;f.async&&f.timeout>0&&(s=e.setTimeout((function(){w.abort("timeout")}),f.timeout));try{u=!1,A.send(b,B)}catch(e){if(u)throw e;B(-1,e)}}else B(-1,"No Transport");function B(t,n,i,a){var c,d,g,b,x,E=n;u||(u=!0,s&&e.clearTimeout(s),A=void 0,o=a||"",w.readyState=t>0?4:0,c=t>=200&&t<300||304===t,i&&(b=function(e,t,n){for(var A,r,o,i,s=e.contents,a=e.dataTypes;"*"===a[0];)a.shift(),void 0===A&&(A=e.mimeType||t.getResponseHeader("Content-Type"));if(A)for(r in s)if(s[r]&&s[r].test(A)){a.unshift(r);break}if(a[0]in n)o=a[0];else{for(r in n){if(!a[0]||e.converters[r+" "+a[0]]){o=r;break}i||(i=r)}o=o||i}if(o)return o!==a[0]&&a.unshift(o),n[o]}(f,w,i)),!c&&C.inArray("script",f.dataTypes)>-1&&C.inArray("json",f.dataTypes)<0&&(f.converters["text script"]=function(){}),b=function(e,t,n,A){var r,o,i,s,a,u={},l=e.dataTypes.slice();if(l[1])for(i in e.converters)u[i.toLowerCase()]=e.converters[i];for(o=l.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!a&&A&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),a=o,o=l.shift())if("*"===o)o=a;else if("*"!==a&&a!==o){if(!(i=u[a+" "+o]||u["* "+o]))for(r in u)if((s=r.split(" "))[1]===o&&(i=u[a+" "+s[0]]||u["* "+s[0]])){!0===i?i=u[r]:!0!==u[r]&&(o=s[0],l.unshift(s[1]));break}if(!0!==i)if(i&&e.throws)t=i(t);else try{t=i(t)}catch(e){return{state:"parsererror",error:i?e:"No conversion from "+a+" to "+o}}}return{state:"success",data:t}}(f,b,w,c),c?(f.ifModified&&((x=w.getResponseHeader("Last-Modified"))&&(C.lastModified[r]=x),(x=w.getResponseHeader("etag"))&&(C.etag[r]=x)),204===t||"HEAD"===f.type?E="nocontent":304===t?E="notmodified":(E=b.state,d=b.data,c=!(g=b.error))):(g=E,!t&&E||(E="error",t<0&&(t=0))),w.status=t,w.statusText=(n||E)+"",c?m.resolveWith(p,[d,E,w]):m.rejectWith(p,[w,E,g]),w.statusCode(y),y=void 0,l&&h.trigger(c?"ajaxSuccess":"ajaxError",[w,f,c?d:g]),v.fireWith(p,[w,E]),l&&(h.trigger("ajaxComplete",[w,f]),--C.active||C.event.trigger("ajaxStop")))}return w},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,A,r){return p(n)&&(r=r||A,A=n,n=void 0),C.ajax(C.extend({url:e,type:t,dataType:r,data:n,success:A},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]&&(p(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 p(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=p(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 e.XMLHttpRequest}catch(e){}};var Ut={0:200,1223:204},zt=C.ajaxSettings.xhr();f.cors=!!zt&&"withCredentials"in zt,f.ajax=zt=!!zt,C.ajaxTransport((function(t){var n,A;if(f.cors||zt&&!t.crossDomain)return{send:function(r,o){var i,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(i in t.xhrFields)s[i]=t.xhrFields[i];for(i in t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)s.setRequestHeader(i,r[i]);n=function(e){return function(){n&&(n=A=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Ut[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=n(),A=s.onerror=s.ontimeout=n("error"),void 0!==s.onabort?s.onabort=A:s.onreadystatechange=function(){4===s.readyState&&e.setTimeout((function(){n&&A()}))},n=n("abort");try{s.send(t.hasContent&&t.data||null)}catch(e){if(n)throw e}},abort:function(){n&&n()}}})),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(A,r){t=C("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&r("error"===e.type?404:200,e.type)}),g.head.appendChild(t[0])},abort:function(){n&&n()}}}));var Kt,_t=[],$t=/(=)\?(?=&|$)|\?\?/;C.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=_t.pop()||C.expando+"_"+It.guid++;return this[e]=!0,e}}),C.ajaxPrefilter("json jsonp",(function(t,n,A){var r,o,i,s=!1!==t.jsonp&&($t.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&$t.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return r=t.jsonpCallback=p(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace($t,"$1"+r):!1!==t.jsonp&&(t.url+=(kt.test(t.url)?"&":"?")+t.jsonp+"="+r),t.converters["script json"]=function(){return i||C.error(r+" was not called"),i[0]},t.dataTypes[0]="json",o=e[r],e[r]=function(){i=arguments},A.always((function(){void 0===o?C(e).removeProp(r):e[r]=o,t[r]&&(t.jsonpCallback=n.jsonpCallback,_t.push(r)),i&&p(o)&&o(i[0]),i=o=void 0})),"script"})),f.createHTMLDocument=((Kt=g.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Kt.childNodes.length),C.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(f.createHTMLDocument?((A=(t=g.implementation.createHTMLDocument("")).createElement("base")).href=g.location.href,t.head.appendChild(A)):t=g),o=!n&&[],(r=V.exec(e))?[t.createElement(r[1])]:(r=Te([e],t,o),o&&o.length&&C(o).remove(),C.merge([],r.childNodes)));var A,r,o},C.fn.load=function(e,t,n){var A,r,o,i=this,s=e.indexOf(" ");return s>-1&&(A=Ct(e.slice(s)),e=e.slice(0,s)),p(t)?(n=t,t=void 0):t&&"object"==typeof t&&(r="POST"),i.length>0&&C.ajax({url:e,type:r||"GET",dataType:"html",data:t}).done((function(e){o=arguments,i.html(A?C("<div>").append(C.parseHTML(e)).find(A):e)})).always(n&&function(e,t){i.each((function(){n.apply(this,o||[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 A,r,o,i,s,a,u=C.css(e,"position"),l=C(e),c={};"static"===u&&(e.style.position="relative"),s=l.offset(),o=C.css(e,"top"),a=C.css(e,"left"),("absolute"===u||"fixed"===u)&&(o+a).indexOf("auto")>-1?(i=(A=l.position()).top,r=A.left):(i=parseFloat(o)||0,r=parseFloat(a)||0),p(t)&&(t=t.call(e,n,C.extend({},s))),null!=t.top&&(c.top=t.top-s.top+i),null!=t.left&&(c.left=t.left-s.left+r),"using"in t?t.using.call(e,c):l.css(c)}},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,A=this[0];return A?A.getClientRects().length?(t=A.getBoundingClientRect(),n=A.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,A=this[0],r={top:0,left:0};if("fixed"===C.css(A,"position"))t=A.getBoundingClientRect();else{for(t=this.offset(),n=A.ownerDocument,e=A.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===C.css(e,"position");)e=e.parentNode;e&&e!==A&&1===e.nodeType&&((r=C(e).offset()).top+=C.css(e,"borderTopWidth",!0),r.left+=C.css(e,"borderLeftWidth",!0))}return{top:t.top-r.top-C.css(A,"marginTop",!0),left:t.left-r.left-C.css(A,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===C.css(e,"position");)e=e.offsetParent;return e||de}))}}),C.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;C.fn[e]=function(A){return K(this,(function(e,A,r){var o;if(h(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===r)return o?o[t]:e[A];o?o.scrollTo(n?o.pageXOffset:r,n?r:o.pageYOffset):e[A]=r}),e,A,arguments.length)}})),C.each(["top","left"],(function(e,t){C.cssHooks[t]=Ke(f.pixelPosition,(function(e,n){if(n)return n=ze(e,t),Xe.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,A){C.fn[A]=function(r,o){var i=arguments.length&&(n||"boolean"!=typeof r),s=n||(!0===r||!0===o?"margin":"border");return K(this,(function(t,n,r){var o;return h(t)?0===A.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===r?C.css(t,n,s):C.style(t,n,r,s)}),t,i?r:void 0,i)}}))})),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,A){return this.on(t,e,n,A)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("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 en=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;C.proxy=function(e,t){var n,A,o;if("string"==typeof t&&(n=e[t],t=e,e=n),p(e))return A=r.call(arguments,2),o=function(){return e.apply(t||this,A.concat(r.call(arguments)))},o.guid=e.guid=e.guid||C.guid++,o},C.holdReady=function(e){e?C.readyWait++:C.ready(!0)},C.isArray=Array.isArray,C.parseJSON=JSON.parse,C.nodeName=w,C.isFunction=p,C.isWindow=h,C.camelCase=te,C.type=y,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(en,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],(function(){return C}));var tn=e.jQuery,nn=e.$;return C.noConflict=function(t){return e.$===C&&(e.$=nn),t&&e.jQuery===C&&(e.jQuery=tn),C},void 0===t&&(e.jQuery=e.$=C),C})),function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):e("object"==typeof exports&&"function"==typeof require?require("jquery"):jQuery)}((function(e){"use strict";function t(n,A){var r=e.noop,o=this,i={ajaxSettings:{},autoSelectFirst:!1,appendTo:document.body,serviceUrl:null,lookup:null,onSelect:null,width:"auto",minChars:1,maxHeight:300,deferRequestBy:0,params:{},formatResult:t.formatResult,delimiter:null,zIndex:9999,type:"GET",noCache:!1,onSearchStart:r,onSearchComplete:r,onSearchError:r,preserveInput:!1,containerClass:"autocomplete-suggestions",tabDisabled:!1,dataType:"text",currentRequest:null,triggerSelectOnValidInput:!0,preventBadQueries:!0,lookupFilter:function(e,t,n){return-1!==e.value.toLowerCase().indexOf(n)},paramName:"query",transformResult:function(t){return"string"==typeof t?e.parseJSON(t):t},showNoSuggestionNotice:!1,noSuggestionNotice:"No results",orientation:"bottom",forceFixPosition:!1};o.element=n,o.el=e(n),o.suggestions=[],o.badQueries=[],o.selectedIndex=-1,o.currentValue=o.element.value,o.intervalId=0,o.cachedResponse={},o.onChangeInterval=null,o.onChange=null,o.isLocal=!1,o.suggestionsContainer=null,o.noSuggestionsContainer=null,o.options=e.extend({},i,A),o.classes={selected:"autocomplete-selected",suggestion:"autocomplete-suggestion"},o.hint=null,o.hintValue="",o.selection=null,o.initialize(),o.setOptions(A)}var n={escapeRegExChars:function(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")},createNode:function(e){var t=document.createElement("div");return t.className=e,t.style.position="absolute",t.style.display="none",t}},A=27,r=9,o=13,i=38,s=39,a=40;t.utils=n,e.Autocomplete=t,t.formatResult=function(e,t){if(!t)return e.value;var A="("+n.escapeRegExChars(t)+")";return e.value.replace(new RegExp(A,"gi"),"<strong>$1</strong>").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/<(\/?strong)>/g,"<$1>")},t.prototype={killerFn:null,initialize:function(){var n,A=this,r="."+A.classes.suggestion,o=A.classes.selected,i=A.options;A.element.setAttribute("autocomplete","off"),A.killerFn=function(t){e(t.target).closest("."+A.options.containerClass).length||(A.killSuggestions(),A.disableKillerFn())},A.noSuggestionsContainer=e('<div class="autocomplete-no-suggestion"></div>').html(this.options.noSuggestionNotice).get(0),A.suggestionsContainer=t.utils.createNode(i.containerClass),(n=e(A.suggestionsContainer)).appendTo(i.appendTo),"auto"!==i.width&&n.css("width",i.width),n.on("mouseover.autocomplete",r,(function(){A.activate(e(this).data("index"))})),n.on("mouseout.autocomplete",(function(){A.selectedIndex=-1,n.children("."+o).removeClass(o)})),n.on("click.autocomplete",r,(function(){return A.select(e(this).data("index")),!1})),A.fixPositionCapture=function(){A.visible&&A.fixPosition()},e(window).on("resize.autocomplete",A.fixPositionCapture),A.el.on("keydown.autocomplete",(function(e){A.onKeyPress(e)})),A.el.on("keyup.autocomplete",(function(e){A.onKeyUp(e)})),A.el.on("blur.autocomplete",(function(){A.onBlur()})),A.el.on("focus.autocomplete",(function(){A.onFocus()})),A.el.on("change.autocomplete",(function(e){A.onKeyUp(e)})),A.el.on("input.autocomplete",(function(e){A.onKeyUp(e)}))},onFocus:function(){var e=this;e.fixPosition(),e.el.val().length>=e.options.minChars&&e.onValueChange()},onBlur:function(){this.enableKillerFn()},abortAjax:function(){var e=this;e.currentRequest&&(e.currentRequest.abort(),e.currentRequest=null)},setOptions:function(t){var n=this,A=n.options;e.extend(A,t),n.isLocal=e.isArray(A.lookup),n.isLocal&&(A.lookup=n.verifySuggestionsFormat(A.lookup)),A.orientation=n.validateOrientation(A.orientation,"bottom"),e(n.suggestionsContainer).css({"max-height":A.maxHeight+"px",width:A.width+"px","z-index":A.zIndex})},clearCache:function(){this.cachedResponse={},this.badQueries=[]},clear:function(){this.clearCache(),this.currentValue="",this.suggestions=[]},disable:function(){var e=this;e.disabled=!0,clearInterval(e.onChangeInterval),e.abortAjax()},enable:function(){this.disabled=!1},fixPosition:function(){var t=this,n=e(t.suggestionsContainer),A=n.parent().get(0);if(A===document.body||t.options.forceFixPosition){var r=t.options.orientation,o=n.outerHeight(),i=t.el.outerHeight(),s=t.el.offset(),a={top:s.top,left:s.left};if("auto"===r){var u=e(window).height(),l=e(window).scrollTop(),c=-l+s.top-o,d=l+u-(s.top+i+o);r=Math.max(c,d)===c?"top":"bottom"}if(a.top+="top"===r?-o:i,A!==document.body){var f,p=n.css("opacity");t.visible||n.css("opacity",0).show(),f=n.offsetParent().offset(),a.top-=f.top,a.left-=f.left,t.visible||n.css("opacity",p).hide()}"auto"===t.options.width&&(a.width=t.el.outerWidth()+"px"),n.css(a)}},enableKillerFn:function(){e(document).on("click.autocomplete",this.killerFn)},disableKillerFn:function(){e(document).off("click.autocomplete",this.killerFn)},killSuggestions:function(){var e=this;e.stopKillSuggestions(),e.intervalId=window.setInterval((function(){e.visible&&(e.options.preserveInput||e.el.val(e.currentValue),e.hide()),e.stopKillSuggestions()}),50)},stopKillSuggestions:function(){window.clearInterval(this.intervalId)},isCursorAtEnd:function(){var e,t=this.el.val().length,n=this.element.selectionStart;return"number"==typeof n?n===t:!document.selection||((e=document.selection.createRange()).moveStart("character",-t),t===e.text.length)},onKeyPress:function(e){var t=this;if(t.disabled||t.visible||e.which!==a||!t.currentValue){if(!t.disabled&&t.visible){switch(e.which){case A:t.el.val(t.currentValue),t.hide();break;case s:if(t.hint&&t.options.onHint&&t.isCursorAtEnd()){t.selectHint();break}return;case r:if(t.hint&&t.options.onHint)return void t.selectHint();if(-1===t.selectedIndex)return void t.hide();if(t.select(t.selectedIndex),!1===t.options.tabDisabled)return;break;case o:if(-1===t.selectedIndex)return void t.hide();t.select(t.selectedIndex);break;case i:t.moveUp();break;case a:t.moveDown();break;default:return}e.stopImmediatePropagation(),e.preventDefault()}}else t.suggest()},onKeyUp:function(e){var t=this;if(!t.disabled){switch(e.which){case i:case a:return}clearInterval(t.onChangeInterval),t.currentValue!==t.el.val()&&(t.findBestHint(),t.options.deferRequestBy>0?t.onChangeInterval=setInterval((function(){t.onValueChange()}),t.options.deferRequestBy):t.onValueChange())}},onValueChange:function(){var t=this,n=t.options,A=t.el.val(),r=t.getQuery(A);return t.selection&&t.currentValue!==r&&(t.selection=null,(n.onInvalidateSelection||e.noop).call(t.element)),clearInterval(t.onChangeInterval),t.currentValue=A,t.selectedIndex=-1,n.triggerSelectOnValidInput&&t.isExactMatch(r)?void t.select(0):void(r.length<n.minChars?t.hide():t.getSuggestions(r))},isExactMatch:function(e){var t=this.suggestions;return 1===t.length&&t[0].value.toLowerCase()===e.toLowerCase()},getQuery:function(t){var n,A=this.options.delimiter;return A?(n=t.split(A),e.trim(n[n.length-1])):t},getSuggestionsLocal:function(t){var n,A=this.options,r=t.toLowerCase(),o=A.lookupFilter,i=parseInt(A.lookupLimit,10);return n={suggestions:e.grep(A.lookup,(function(e){return o(e,t,r)}))},i&&n.suggestions.length>i&&(n.suggestions=n.suggestions.slice(0,i)),n},getSuggestions:function(t){var n,A,r,o,i=this,s=i.options,a=s.serviceUrl;if(s.params[s.paramName]=t,A=s.ignoreParams?null:s.params,!1!==s.onSearchStart.call(i.element,s.params)){if(e.isFunction(s.lookup))return void s.lookup(t,(function(e){i.suggestions=e.suggestions,i.suggest(),s.onSearchComplete.call(i.element,t,e.suggestions)}));i.isLocal?n=i.getSuggestionsLocal(t):(e.isFunction(a)&&(a=a.call(i.element,t)),r=a+"?"+e.param(A||{}),n=i.cachedResponse[r]),n&&e.isArray(n.suggestions)?(i.suggestions=n.suggestions,i.suggest(),s.onSearchComplete.call(i.element,t,n.suggestions)):i.isBadQuery(t)?s.onSearchComplete.call(i.element,t,[]):(i.abortAjax(),o={url:a,data:A,type:s.type,dataType:s.dataType},e.extend(o,s.ajaxSettings),i.currentRequest=e.ajax(o).done((function(e){var n;i.currentRequest=null,n=s.transformResult(e,t),i.processResponse(n,t,r),s.onSearchComplete.call(i.element,t,n.suggestions)})).fail((function(e,n,A){s.onSearchError.call(i.element,t,e,n,A)})))}},isBadQuery:function(e){if(!this.options.preventBadQueries)return!1;for(var t=this.badQueries,n=t.length;n--;)if(0===e.indexOf(t[n]))return!0;return!1},hide:function(){var t=this,n=e(t.suggestionsContainer);e.isFunction(t.options.onHide)&&t.visible&&t.options.onHide.call(t.element,n),t.visible=!1,t.selectedIndex=-1,clearInterval(t.onChangeInterval),e(t.suggestionsContainer).hide(),t.signalHint(null)},suggest:function(){if(this.suggestions.length){var t,n=this,A=n.options,r=A.groupBy,o=A.formatResult,i=n.getQuery(n.currentValue),s=n.classes.suggestion,a=n.classes.selected,u=e(n.suggestionsContainer),l=e(n.noSuggestionsContainer),c=A.beforeRender,d="",f=function(e,n){var A=e.data[r];return t===A?"":'<div class="autocomplete-group"><strong>'+(t=A)+"</strong></div>"};return A.triggerSelectOnValidInput&&n.isExactMatch(i)?void n.select(0):(e.each(n.suggestions,(function(e,t){r&&(d+=f(t,0)),d+='<div class="'+s+'" data-index="'+e+'">'+o(t,i,e)+"</div>"})),this.adjustContainerWidth(),l.detach(),u.html(d),e.isFunction(c)&&c.call(n.element,u,n.suggestions),n.fixPosition(),u.show(),A.autoSelectFirst&&(n.selectedIndex=0,u.scrollTop(0),u.children("."+s).first().addClass(a)),n.visible=!0,void n.findBestHint())}this.options.showNoSuggestionNotice?this.noSuggestions():this.hide()},noSuggestions:function(){var t=this,n=e(t.suggestionsContainer),A=e(t.noSuggestionsContainer);this.adjustContainerWidth(),A.detach(),n.empty(),n.append(A),t.fixPosition(),n.show(),t.visible=!0},adjustContainerWidth:function(){var t,n=this,A=n.options,r=e(n.suggestionsContainer);"auto"===A.width&&(t=n.el.outerWidth(),r.css("width",t>0?t:300))},findBestHint:function(){var t=this,n=t.el.val().toLowerCase(),A=null;n&&(e.each(t.suggestions,(function(e,t){var r=0===t.value.toLowerCase().indexOf(n);return r&&(A=t),!r})),t.signalHint(A))},signalHint:function(t){var n="",A=this;t&&(n=A.currentValue+t.value.substr(A.currentValue.length)),A.hintValue!==n&&(A.hintValue=n,A.hint=t,(this.options.onHint||e.noop)(n))},verifySuggestionsFormat:function(t){return t.length&&"string"==typeof t[0]?e.map(t,(function(e){return{value:e,data:null}})):t},validateOrientation:function(t,n){return t=e.trim(t||"").toLowerCase(),-1===e.inArray(t,["auto","bottom","top"])&&(t=n),t},processResponse:function(e,t,n){var A=this,r=A.options;e.suggestions=A.verifySuggestionsFormat(e.suggestions),r.noCache||(A.cachedResponse[n]=e,r.preventBadQueries&&!e.suggestions.length&&A.badQueries.push(t)),t===A.getQuery(A.currentValue)&&(A.suggestions=e.suggestions,A.suggest())},activate:function(t){var n,A=this,r=A.classes.selected,o=e(A.suggestionsContainer),i=o.find("."+A.classes.suggestion);return o.find("."+r).removeClass(r),A.selectedIndex=t,-1!==A.selectedIndex&&i.length>A.selectedIndex?(n=i.get(A.selectedIndex),e(n).addClass(r),n):null},selectHint:function(){var t=this,n=e.inArray(t.hint,t.suggestions);t.select(n)},select:function(e){this.hide(),this.onSelect(e)},moveUp:function(){var t=this;if(-1!==t.selectedIndex)return 0===t.selectedIndex?(e(t.suggestionsContainer).children().first().removeClass(t.classes.selected),t.selectedIndex=-1,t.el.val(t.currentValue),void t.findBestHint()):void t.adjustScroll(t.selectedIndex-1)},moveDown:function(){var e=this;e.selectedIndex!==e.suggestions.length-1&&e.adjustScroll(e.selectedIndex+1)},adjustScroll:function(t){var n=this,A=n.activate(t);if(A){var r,o,i,s=e(A).outerHeight();r=A.offsetTop,i=(o=e(n.suggestionsContainer).scrollTop())+n.options.maxHeight-s,o>r?e(n.suggestionsContainer).scrollTop(r):r>i&&e(n.suggestionsContainer).scrollTop(r-n.options.maxHeight+s),n.options.preserveInput||n.el.val(n.getValue(n.suggestions[t].value)),n.signalHint(null)}},onSelect:function(t){var n=this,A=n.options.onSelect,r=n.suggestions[t];n.currentValue=n.getValue(r.value),n.currentValue===n.el.val()||n.options.preserveInput||n.el.val(n.currentValue),n.signalHint(null),n.suggestions=[],n.selection=r,e.isFunction(A)&&A.call(n.element,r)},getValue:function(e){var t,n,A=this.options.delimiter;return A?1===(n=(t=this.currentValue).split(A)).length?e:t.substr(0,t.length-n[n.length-1].length)+e:e},dispose:function(){var t=this;t.el.off(".autocomplete").removeData("autocomplete"),t.disableKillerFn(),e(window).off("resize.autocomplete",t.fixPositionCapture),e(t.suggestionsContainer).remove()}},e.fn.autocomplete=e.fn.devbridgeAutocomplete=function(n,A){var r="autocomplete";return arguments.length?this.each((function(){var o=e(this),i=o.data(r);"string"==typeof n?i&&"function"==typeof i[n]&&i[n](A):(i&&i.dispose&&i.dispose(),i=new t(this,n),o.data(r,i))})):this.first().data(r)}})),
|
||
/*! NoSleep.js v0.12.0 - git.io/vfn01 - Rich Tibbett - MIT license */
|
||
function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.NoSleep=t():e.NoSleep=t()}(this,(function(){return function(e){var t={};function n(A){if(t[A])return t[A].exports;var r=t[A]={i:A,l:!1,exports:{}};return e[A].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,A){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:A})},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 A=Object.create(null);if(n.r(A),Object.defineProperty(A,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(A,r,function(t){return e[t]}.bind(null,r));return A},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=0)}([function(e,t,n){"use strict";var A=function(){function e(e,t){for(var n=0;n<t.length;n++){var A=t[n];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,A.key,A)}}return function(t,n,A){return n&&e(t.prototype,n),A&&e(t,A),t}}();var r=n(1),o=r.webm,i=r.mp4,s=function(){return"undefined"!=typeof navigator&&parseFloat((""+(/CPU.*OS ([0-9_]{3,4})[0-9_]{0,1}|(CPU like).*AppleWebKit.*Mobile/i.exec(navigator.userAgent)||[0,""])[1]).replace("undefined","3_2").replace("_",".").replace("_",""))<10&&!window.MSStream},a=function(){return"wakeLock"in navigator},u=function(){function e(){var t=this;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.enabled=!1,a()){this._wakeLock=null;var n=function(){null!==t._wakeLock&&"visible"===document.visibilityState&&t.enable()};document.addEventListener("visibilitychange",n),document.addEventListener("fullscreenchange",n)}else s()?this.noSleepTimer=null:(this.noSleepVideo=document.createElement("video"),this.noSleepVideo.setAttribute("title","No Sleep"),this.noSleepVideo.setAttribute("playsinline",""),this._addSourceToVideo(this.noSleepVideo,"webm",o),this._addSourceToVideo(this.noSleepVideo,"mp4",i),this.noSleepVideo.addEventListener("loadedmetadata",(function(){t.noSleepVideo.duration<=1?t.noSleepVideo.setAttribute("loop",""):t.noSleepVideo.addEventListener("timeupdate",(function(){t.noSleepVideo.currentTime>.5&&(t.noSleepVideo.currentTime=Math.random())}))})))}return A(e,[{key:"_addSourceToVideo",value:function(e,t,n){var A=document.createElement("source");A.src=n,A.type="video/"+t,e.appendChild(A)}},{key:"enable",value:function(){var e=this;return a()?navigator.wakeLock.request("screen").then((function(t){e._wakeLock=t,e.enabled=!0,console.log("Wake Lock active."),e._wakeLock.addEventListener("release",(function(){console.log("Wake Lock released.")}))})).catch((function(t){throw e.enabled=!1,console.error(t.name+", "+t.message),t})):s()?(this.disable(),console.warn("\n NoSleep enabled for older iOS devices. This can interrupt\n active or long-running network requests from completing successfully.\n See https://github.com/richtr/NoSleep.js/issues/15 for more details.\n "),this.noSleepTimer=window.setInterval((function(){document.hidden||(window.location.href=window.location.href.split("#")[0],window.setTimeout(window.stop,0))}),15e3),this.enabled=!0,Promise.resolve()):this.noSleepVideo.play().then((function(t){return e.enabled=!0,t})).catch((function(t){throw e.enabled=!1,t}))}},{key:"disable",value:function(){a()?(this._wakeLock&&this._wakeLock.release(),this._wakeLock=null):s()?this.noSleepTimer&&(console.warn("\n NoSleep now disabled for older iOS devices.\n "),window.clearInterval(this.noSleepTimer),this.noSleepTimer=null):this.noSleepVideo.pause(),this.enabled=!1}},{key:"isEnabled",get:function(){return this.enabled}}]),e}();e.exports=u},function(e,t,n){"use strict";e.exports={webm:"data:video/webm;base64,GkXfowEAAAAAAAAfQoaBAUL3gQFC8oEEQvOBCEKChHdlYm1Ch4EEQoWBAhhTgGcBAAAAAAAVkhFNm3RALE27i1OrhBVJqWZTrIHfTbuMU6uEFlSua1OsggEwTbuMU6uEHFO7a1OsghV17AEAAAAAAACkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAVSalmAQAAAAAAAEUq17GDD0JATYCNTGF2ZjU1LjMzLjEwMFdBjUxhdmY1NS4zMy4xMDBzpJBlrrXf3DCDVB8KcgbMpcr+RImIQJBgAAAAAAAWVK5rAQAAAAAAD++uAQAAAAAAADLXgQFzxYEBnIEAIrWcg3VuZIaFVl9WUDiDgQEj44OEAmJaAOABAAAAAAAABrCBsLqBkK4BAAAAAAAPq9eBAnPFgQKcgQAitZyDdW5khohBX1ZPUkJJU4OBAuEBAAAAAAAAEZ+BArWIQOdwAAAAAABiZIEgY6JPbwIeVgF2b3JiaXMAAAAAAoC7AAAAAAAAgLUBAAAAAAC4AQN2b3JiaXMtAAAAWGlwaC5PcmcgbGliVm9yYmlzIEkgMjAxMDExMDEgKFNjaGF1ZmVudWdnZXQpAQAAABUAAABlbmNvZGVyPUxhdmM1NS41Mi4xMDIBBXZvcmJpcyVCQ1YBAEAAACRzGCpGpXMWhBAaQlAZ4xxCzmvsGUJMEYIcMkxbyyVzkCGkoEKIWyiB0JBVAABAAACHQXgUhIpBCCGEJT1YkoMnPQghhIg5eBSEaUEIIYQQQgghhBBCCCGERTloko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qME1VFQAAUOAAABBgg6bE4gCFhqwEAEICAByKYlma5nmeJ4qmqZokSdM8TxRF0TRNU1VJkqZ5niiKommapqqyLE3zPFEURdNUVVWFpnmeKIqiaaqq6sLzPE8URdE0VdV14XmeJ4qiaJqq6roQRVE0TdNUTVV1XSCKpmmaqqqqrgtETxRNU1Vd13WB54miaaqqq7ouEE3TVFVVdV1ZBpimaaqq68oyQFVV1XVdV5YBqqqqruu6sgxQVdd1XVmWZQCu67qyLMsCAAAOHAAAAoygk4wqi7DRhAsPQKEhKwKAKAAAwBimFFPKMCYhpBAaxiSEFEImJaXSUqogpFJSKRWEVEoqJaOUUmopVRBSKamUCkIqJZVSAADYgQMA2IGFUGjISgAgDwCAMEYpxhhzTiKkFGPOOScRUoox55yTSjHmnHPOSSkZc8w556SUzjnnnHNSSuacc845KaVzzjnnnJRSSuecc05KKSWEzkEnpZTSOeecEwAAVOAAABBgo8jmBCNBhYasBABSAQAMjmNZmuZ5omialiRpmud5niiapiZJmuZ5nieKqsnzPE8URdE0VZXneZ4oiqJpqirXFUXTNE1VVV2yLIqmaZqq6rowTdNUVdd1XZimaaqq67oubFtVVdV1ZRm2raqq6rqyDFzXdWXZloEsu67s2rIAAPAEBwCgAhtWRzgpGgssNGQlAJABAEAYg5BCCCFlEEIKIYSUUggJAAAYcAAACDChDBQashIASAUAAIyx1lprrbXWQGettdZaa62AzFprrbXWWmuttdZaa6211lJrrbXWWmuttdZaa6211lprrbXWWmuttdZaa6211lprrbXWWmuttdZaa6211lprrbXWWmstpZRSSimllFJKKaWUUkoppZRSSgUA+lU4APg/2LA6wknRWGChISsBgHAAAMAYpRhzDEIppVQIMeacdFRai7FCiDHnJKTUWmzFc85BKCGV1mIsnnMOQikpxVZjUSmEUlJKLbZYi0qho5JSSq3VWIwxqaTWWoutxmKMSSm01FqLMRYjbE2ptdhqq7EYY2sqLbQYY4zFCF9kbC2m2moNxggjWywt1VprMMYY3VuLpbaaizE++NpSLDHWXAAAd4MDAESCjTOsJJ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AAAAAAAAAAAADMAAAAaAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAACMc3RjbwAAAAAAAAAfAAAALAAAA1UAAANyAAADhgAAA6IAAAO+AAAD0QAAA+0AAAQAAAAEHAAABC8AAARLAAAEZwAABHoAAASWAAAEqQAABMUAAATYAAAE9AAABRAAAAUjAAAFPwAABVIAAAVuAAAFgQAABZ0AAAWwAAAFzAAABegAAAX7AAAGFwAAAGJ1ZHRhAAAAWm1ldGEAAAAAAAAAIWhkbHIAAAAAAAAAAG1kaXJhcHBsAAAAAAAAAAAAAAAALWlsc3QAAAAlqXRvbwAAAB1kYXRhAAAAAQAAAABMYXZmNTUuMzMuMTAw"}}])})),
|
||
/*!
|
||
* swiped-events.js - v@version@
|
||
* Pure JavaScript swipe events
|
||
* https://github.com/john-doherty/swiped-events
|
||
* @inspiration https://stackoverflow.com/questions/16348031/disable-scrolling-when-touch-moving-certain-element
|
||
* @author John Doherty <www.johndoherty.info>
|
||
* @license MIT
|
||
*/
|
||
function(e,t){"use strict";"function"!=typeof e.CustomEvent&&(e.CustomEvent=function(e,n){n=n||{bubbles:!1,cancelable:!1,detail:void 0};var A=t.createEvent("CustomEvent");return A.initCustomEvent(e,n.bubbles,n.cancelable,n.detail),A},e.CustomEvent.prototype=e.Event.prototype),t.addEventListener("touchstart",(function(e){if("true"===e.target.getAttribute("data-swipe-ignore"))return;s=e.target,i=Date.now(),n=e.touches[0].clientX,A=e.touches[0].clientY,r=0,o=0}),!1),t.addEventListener("touchmove",(function(e){if(!n||!A)return;var t=e.touches[0].clientX,i=e.touches[0].clientY;r=n-t,o=A-i}),!1),t.addEventListener("touchend",(function(e){if(s!==e.target)return;var u=parseInt(a(s,"data-swipe-threshold","20"),10),l=a(s,"data-swipe-unit","px"),c=parseInt(a(s,"data-swipe-timeout","500"),10),d=Date.now()-i,f="",p=e.changedTouches||e.touches||[];"vh"===l&&(u=Math.round(u/100*t.documentElement.clientHeight));"vw"===l&&(u=Math.round(u/100*t.documentElement.clientWidth));Math.abs(r)>Math.abs(o)?Math.abs(r)>u&&d<c&&(f=r>0?"swiped-left":"swiped-right"):Math.abs(o)>u&&d<c&&(f=o>0?"swiped-up":"swiped-down");if(""!==f){var h={dir:f.replace(/swiped-/,""),touchType:(p[0]||{}).touchType||"direct",xStart:parseInt(n,10),xEnd:parseInt((p[0]||{}).clientX||-1,10),yStart:parseInt(A,10),yEnd:parseInt((p[0]||{}).clientY||-1,10)};s.dispatchEvent(new CustomEvent("swiped",{bubbles:!0,cancelable:!0,detail:h})),s.dispatchEvent(new CustomEvent(f,{bubbles:!0,cancelable:!0,detail:h}))}n=null,A=null,i=null}),!1);var n=null,A=null,r=null,o=null,i=null,s=null;function a(e,n,A){for(;e&&e!==t.documentElement;){var r=e.getAttribute(n);if(r)return r;e=e.parentNode}return A}}(window,document),function(){"use strict";var e=Math.PI,t=Math.sin,n=Math.cos,A=Math.tan,r=Math.asin,o=Math.atan2,i=Math.acos,s=e/180,a=864e5,u=2440588,l=2451545;function c(e){return new Date((e+.5-u)*a)}function d(e){return function(e){return e.valueOf()/a-.5+u}(e)-l}var f=23.4397*s;function p(e,r){return o(t(e)*n(f)-A(r)*t(f),n(e))}function h(e,A){return r(t(A)*n(f)+n(A)*t(f)*t(e))}function g(e,r,i){return o(t(e),n(e)*t(r)-A(i)*n(r))}function m(e,A,o){return r(t(A)*t(o)+n(A)*n(o)*n(e))}function v(e,t){return s*(280.16+360.9856235*e)-t}function y(e){return s*(357.5291+.98560028*e)}function b(n){return n+s*(1.9148*t(n)+.02*t(2*n)+3e-4*t(3*n))+102.9372*s+e}function x(e){var t=b(y(e));return{dec:h(t,0),ra:p(t,0)}}var C={getPosition:function(e,t,n){var A=s*-n,r=s*t,o=d(e),i=x(o),a=v(o,A)-i.ra;return{azimuth:g(a,r,i.dec),altitude:m(a,r,i.dec)}}},E=C.times=[[-.833,"sunrise","sunset"],[-.3,"sunriseEnd","sunsetStart"],[-6,"dawn","dusk"],[-12,"nauticalDawn","nauticalDusk"],[-18,"nightEnd","night"],[6,"goldenHourEnd","goldenHour"]];C.addTime=function(e,t,n){E.push([e,t,n])};var w=9e-4;function B(t,n,A){return w+(t+n)/(2*e)+A}function S(e,n,A){return l+e+.0053*t(n)-.0069*t(2*A)}function I(e,A,r,o,s,a,u){var l=function(e,A,r){return i((t(e)-t(A)*t(r))/(n(A)*n(r)))}(e,r,o);return S(B(l,A,s),a,u)}function k(e){var A=s*(134.963+13.064993*e),r=s*(93.272+13.22935*e),o=s*(218.316+13.176396*e)+6.289*s*t(A),i=5.128*s*t(r),a=385001-20905*n(A);return{ra:p(o,i),dec:h(o,i),dist:a}}function T(e,t){return new Date(e.valueOf()+t*a/24)}C.getTimes=function(t,n,A,r){var o,i,a,u,l,f=s*-A,p=s*n,g=function(e){return-2.076*Math.sqrt(e)/60}(r=r||0),m=function(t,n){return Math.round(t-w-n/(2*e))}(d(t),f),v=B(0,f,m),x=y(v),C=b(x),k=h(C,0),T=S(v,x,C),D={solarNoon:c(T),nadir:c(T-.5)};for(o=0,i=E.length;o<i;o+=1)l=T-((u=I(((a=E[o])[0]+g)*s,f,p,k,m,x,C))-T),D[a[1]]=c(l),D[a[2]]=c(u);return D},C.getMoonPosition=function(e,r,i){var a=s*-i,u=s*r,l=d(e),c=k(l),f=v(l,a)-c.ra,p=m(f,u,c.dec),h=o(t(f),A(u)*n(c.dec)-t(c.dec)*n(f));return p+=function(e){return e<0&&(e=0),2967e-7/Math.tan(e+.00312536/(e+.08901179))}(p),{azimuth:g(f,u,c.dec),altitude:p,distance:c.dist,parallacticAngle:h}},C.getMoonIllumination=function(e){var A=d(e||new Date),r=x(A),s=k(A),a=149598e3,u=i(t(r.dec)*t(s.dec)+n(r.dec)*n(s.dec)*n(r.ra-s.ra)),l=o(a*t(u),s.dist-a*n(u)),c=o(n(r.dec)*t(r.ra-s.ra),t(r.dec)*n(s.dec)-n(r.dec)*t(s.dec)*n(r.ra-s.ra));return{fraction:(1+n(l))/2,phase:.5+.5*l*(c<0?-1:1)/Math.PI,angle:c}},C.getMoonTimes=function(e,t,n,A){var r=new Date(e);A?r.setUTCHours(0,0,0,0):r.setHours(0,0,0,0);for(var o,i,a,u,l,c,d,f,p,h,g,m,v,y=.133*s,b=C.getMoonPosition(r,t,n).altitude-y,x=1;x<=24&&(o=C.getMoonPosition(T(r,x),t,n).altitude-y,f=((l=(b+(i=C.getMoonPosition(T(r,x+1),t,n).altitude-y))/2-o)*(d=-(c=(i-b)/2)/(2*l))+c)*d+o,h=0,(p=c*c-4*l*o)>=0&&(g=d-(v=Math.sqrt(p)/(2*Math.abs(l))),m=d+v,Math.abs(g)<=1&&h++,Math.abs(m)<=1&&h++,g<-1&&(g=m)),1===h?b<0?a=x+g:u=x+g:2===h&&(a=x+(f<0?m:g),u=x+(f<0?g:m)),!a||!u);x+=2)b=i;var E={};return a&&(E.rise=T(r,a)),u&&(E.set=T(r,u)),a||u||(E[f>0?"alwaysUp":"alwaysDown"]=!0),E},"object"==typeof exports&&"undefined"!=typeof module?module.exports=C:"function"==typeof define&&define.amd?define(C):window.SunCalc=C}(); |