From 60672a56329c0656aa4b4e50f2052e9c85ae25c7 Mon Sep 17 00:00:00 2001 From: Richard Czechowski Date: Thu, 11 Jul 2019 10:24:12 -0600 Subject: [PATCH] Build for release --- dist/subtotal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/subtotal.js b/dist/subtotal.js index d0cef742..bee26836 100644 --- a/dist/subtotal.js +++ b/dist/subtotal.js @@ -36,4 +36,4 @@ * * Date: 2016-08-08 */ -function(t){var n,e,r,i,o,u,a,c,s,l,f,h,d,p,v,b,g,y,m,x="sizzle"+1*new Date,_=t.document,w=0,O=0,j=ut(),T=ut(),C=ut(),M=function(t,n){return t===n&&(f=!0),0},S={}.hasOwnProperty,k=[],A=k.pop,N=k.push,E=k.push,D=k.slice,L=function(t,n){for(var e=0,r=t.length;e+~]|"+R+")"+R+"*"),B=new RegExp("="+R+"*([^\\]'\"]*?)"+R+"*\\]","g"),W=new RegExp(z),Y=new RegExp("^"+P+"$"),V={ID:new RegExp("^#("+P+")"),CLASS:new RegExp("^\\.("+P+")"),TAG:new RegExp("^("+P+"|[*])"),ATTR:new RegExp("^"+F),PSEUDO:new RegExp("^"+z),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+R+"*(even|odd|(([+-]|)(\\d*)n|)"+R+"*(?:([+-]|)"+R+"*(\\d+)|))"+R+"*\\)|)","i"),bool:new RegExp("^(?:"+q+")$","i"),needsContext:new RegExp("^"+R+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+R+"*((?:-\\d)?\\d*)"+R+"*\\)|)(?=[^-]|$)","i")},X=/^(?:input|select|textarea|button)$/i,K=/^h\d$/i,G=/^[^{]+\{\s*\[native \w/,Q=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,J=/[+~]/,Z=new RegExp("\\\\([\\da-f]{1,6}"+R+"?|("+R+")|.)","ig"),tt=function(t,n,e){var r="0x"+n-65536;return r!=r||e?n:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},nt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,et=function(t,n){return n?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},rt=function(){h()},it=yt(function(t){return!0===t.disabled&&("form"in t||"label"in t)},{dir:"parentNode",next:"legend"});try{E.apply(k=D.call(_.childNodes),_.childNodes),k[_.childNodes.length].nodeType}catch(t){E={apply:k.length?function(t,n){N.apply(t,D.call(n))}:function(t,n){for(var e=t.length,r=0;t[e++]=n[r++];);t.length=e-1}}}function ot(t,n,r,i){var o,a,s,l,f,p,g,y=n&&n.ownerDocument,w=n?n.nodeType:9;if(r=r||[],"string"!=typeof t||!t||1!==w&&9!==w&&11!==w)return r;if(!i&&((n?n.ownerDocument||n:_)!==d&&h(n),n=n||d,v)){if(11!==w&&(f=Q.exec(t)))if(o=f[1]){if(9===w){if(!(s=n.getElementById(o)))return r;if(s.id===o)return r.push(s),r}else if(y&&(s=y.getElementById(o))&&m(n,s)&&s.id===o)return r.push(s),r}else{if(f[2])return E.apply(r,n.getElementsByTagName(t)),r;if((o=f[3])&&e.getElementsByClassName&&n.getElementsByClassName)return E.apply(r,n.getElementsByClassName(o)),r}if(e.qsa&&!C[t+" "]&&(!b||!b.test(t))){if(1!==w)y=n,g=t;else if("object"!==n.nodeName.toLowerCase()){for((l=n.getAttribute("id"))?l=l.replace(nt,et):n.setAttribute("id",l=x),a=(p=u(t)).length;a--;)p[a]="#"+l+" "+gt(p[a]);g=p.join(","),y=J.test(t)&&vt(n.parentNode)||n}if(g)try{return E.apply(r,y.querySelectorAll(g)),r}catch(t){}finally{l===x&&n.removeAttribute("id")}}}return c(t.replace(I,"$1"),n,r,i)}function ut(){var t=[];return function n(e,i){return t.push(e+" ")>r.cacheLength&&delete n[t.shift()],n[e+" "]=i}}function at(t){return t[x]=!0,t}function ct(t){var n=d.createElement("fieldset");try{return!!t(n)}catch(t){return!1}finally{n.parentNode&&n.parentNode.removeChild(n),n=null}}function st(t,n){for(var e=t.split("|"),i=e.length;i--;)r.attrHandle[e[i]]=n}function lt(t,n){var e=n&&t,r=e&&1===t.nodeType&&1===n.nodeType&&t.sourceIndex-n.sourceIndex;if(r)return r;if(e)for(;e=e.nextSibling;)if(e===n)return-1;return t?1:-1}function ft(t){return function(n){return"input"===n.nodeName.toLowerCase()&&n.type===t}}function ht(t){return function(n){var e=n.nodeName.toLowerCase();return("input"===e||"button"===e)&&n.type===t}}function dt(t){return function(n){return"form"in n?n.parentNode&&!1===n.disabled?"label"in n?"label"in n.parentNode?n.parentNode.disabled===t:n.disabled===t:n.isDisabled===t||n.isDisabled!==!t&&it(n)===t:n.disabled===t:"label"in n&&n.disabled===t}}function pt(t){return at(function(n){return n=+n,at(function(e,r){for(var i,o=t([],e.length,n),u=o.length;u--;)e[i=o[u]]&&(e[i]=!(r[i]=e[i]))})})}function vt(t){return t&&void 0!==t.getElementsByTagName&&t}for(n in e=ot.support={},o=ot.isXML=function(t){var n=t&&(t.ownerDocument||t).documentElement;return!!n&&"HTML"!==n.nodeName},h=ot.setDocument=function(t){var n,i,u=t?t.ownerDocument||t:_;return u!==d&&9===u.nodeType&&u.documentElement?(p=(d=u).documentElement,v=!o(d),_!==d&&(i=d.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",rt,!1):i.attachEvent&&i.attachEvent("onunload",rt)),e.attributes=ct(function(t){return t.className="i",!t.getAttribute("className")}),e.getElementsByTagName=ct(function(t){return t.appendChild(d.createComment("")),!t.getElementsByTagName("*").length}),e.getElementsByClassName=G.test(d.getElementsByClassName),e.getById=ct(function(t){return p.appendChild(t).id=x,!d.getElementsByName||!d.getElementsByName(x).length}),e.getById?(r.filter.ID=function(t){var n=t.replace(Z,tt);return function(t){return t.getAttribute("id")===n}},r.find.ID=function(t,n){if(void 0!==n.getElementById&&v){var e=n.getElementById(t);return e?[e]:[]}}):(r.filter.ID=function(t){var n=t.replace(Z,tt);return function(t){var e=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return e&&e.value===n}},r.find.ID=function(t,n){if(void 0!==n.getElementById&&v){var e,r,i,o=n.getElementById(t);if(o){if((e=o.getAttributeNode("id"))&&e.value===t)return[o];for(i=n.getElementsByName(t),r=0;o=i[r++];)if((e=o.getAttributeNode("id"))&&e.value===t)return[o]}return[]}}),r.find.TAG=e.getElementsByTagName?function(t,n){return void 0!==n.getElementsByTagName?n.getElementsByTagName(t):e.qsa?n.querySelectorAll(t):void 0}:function(t,n){var e,r=[],i=0,o=n.getElementsByTagName(t);if("*"===t){for(;e=o[i++];)1===e.nodeType&&r.push(e);return r}return o},r.find.CLASS=e.getElementsByClassName&&function(t,n){if(void 0!==n.getElementsByClassName&&v)return n.getElementsByClassName(t)},g=[],b=[],(e.qsa=G.test(d.querySelectorAll))&&(ct(function(t){p.appendChild(t).innerHTML="",t.querySelectorAll("[msallowcapture^='']").length&&b.push("[*^$]="+R+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||b.push("\\["+R+"*(?:value|"+q+")"),t.querySelectorAll("[id~="+x+"-]").length||b.push("~="),t.querySelectorAll(":checked").length||b.push(":checked"),t.querySelectorAll("a#"+x+"+*").length||b.push(".#.+[+~]")}),ct(function(t){t.innerHTML="";var n=d.createElement("input");n.setAttribute("type","hidden"),t.appendChild(n).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&b.push("name"+R+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&b.push(":enabled",":disabled"),p.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&b.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),b.push(",.*:")})),(e.matchesSelector=G.test(y=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&ct(function(t){e.disconnectedMatch=y.call(t,"*"),y.call(t,"[s!='']:x"),g.push("!=",z)}),b=b.length&&new RegExp(b.join("|")),g=g.length&&new RegExp(g.join("|")),n=G.test(p.compareDocumentPosition),m=n||G.test(p.contains)?function(t,n){var e=9===t.nodeType?t.documentElement:t,r=n&&n.parentNode;return t===r||!(!r||1!==r.nodeType||!(e.contains?e.contains(r):t.compareDocumentPosition&&16&t.compareDocumentPosition(r)))}:function(t,n){if(n)for(;n=n.parentNode;)if(n===t)return!0;return!1},M=n?function(t,n){if(t===n)return f=!0,0;var r=!t.compareDocumentPosition-!n.compareDocumentPosition;return r||(1&(r=(t.ownerDocument||t)===(n.ownerDocument||n)?t.compareDocumentPosition(n):1)||!e.sortDetached&&n.compareDocumentPosition(t)===r?t===d||t.ownerDocument===_&&m(_,t)?-1:n===d||n.ownerDocument===_&&m(_,n)?1:l?L(l,t)-L(l,n):0:4&r?-1:1)}:function(t,n){if(t===n)return f=!0,0;var e,r=0,i=t.parentNode,o=n.parentNode,u=[t],a=[n];if(!i||!o)return t===d?-1:n===d?1:i?-1:o?1:l?L(l,t)-L(l,n):0;if(i===o)return lt(t,n);for(e=t;e=e.parentNode;)u.unshift(e);for(e=n;e=e.parentNode;)a.unshift(e);for(;u[r]===a[r];)r++;return r?lt(u[r],a[r]):u[r]===_?-1:a[r]===_?1:0},d):d},ot.matches=function(t,n){return ot(t,null,null,n)},ot.matchesSelector=function(t,n){if((t.ownerDocument||t)!==d&&h(t),n=n.replace(B,"='$1']"),e.matchesSelector&&v&&!C[n+" "]&&(!g||!g.test(n))&&(!b||!b.test(n)))try{var r=y.call(t,n);if(r||e.disconnectedMatch||t.document&&11!==t.document.nodeType)return r}catch(t){}return ot(n,d,null,[t]).length>0},ot.contains=function(t,n){return(t.ownerDocument||t)!==d&&h(t),m(t,n)},ot.attr=function(t,n){(t.ownerDocument||t)!==d&&h(t);var i=r.attrHandle[n.toLowerCase()],o=i&&S.call(r.attrHandle,n.toLowerCase())?i(t,n,!v):void 0;return void 0!==o?o:e.attributes||!v?t.getAttribute(n):(o=t.getAttributeNode(n))&&o.specified?o.value:null},ot.escape=function(t){return(t+"").replace(nt,et)},ot.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},ot.uniqueSort=function(t){var n,r=[],i=0,o=0;if(f=!e.detectDuplicates,l=!e.sortStable&&t.slice(0),t.sort(M),f){for(;n=t[o++];)n===t[o]&&(i=r.push(o));for(;i--;)t.splice(r[i],1)}return l=null,t},i=ot.getText=function(t){var n,e="",r=0,o=t.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)e+=i(t)}else if(3===o||4===o)return t.nodeValue}else for(;n=t[r++];)e+=i(n);return e},(r=ot.selectors={cacheLength:50,createPseudo:at,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(Z,tt),t[3]=(t[3]||t[4]||t[5]||"").replace(Z,tt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||ot.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&ot.error(t[0]),t},PSEUDO:function(t){var n,e=!t[6]&&t[2];return V.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":e&&W.test(e)&&(n=u(e,!0))&&(n=e.indexOf(")",e.length-n)-e.length)&&(t[0]=t[0].slice(0,n),t[2]=e.slice(0,n)),t.slice(0,3))}},filter:{TAG:function(t){var n=t.replace(Z,tt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===n}},CLASS:function(t){var n=j[t+" "];return n||(n=new RegExp("(^|"+R+")"+t+"("+R+"|$)"))&&j(t,function(t){return n.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,n,e){return function(r){var i=ot.attr(r,t);return null==i?"!="===n:!n||(i+="","="===n?i===e:"!="===n?i!==e:"^="===n?e&&0===i.indexOf(e):"*="===n?e&&i.indexOf(e)>-1:"$="===n?e&&i.slice(-e.length)===e:"~="===n?(" "+i.replace(H," ")+" ").indexOf(e)>-1:"|="===n&&(i===e||i.slice(0,e.length+1)===e+"-"))}},CHILD:function(t,n,e,r,i){var o="nth"!==t.slice(0,3),u="last"!==t.slice(-4),a="of-type"===n;return 1===r&&0===i?function(t){return!!t.parentNode}:function(n,e,c){var s,l,f,h,d,p,v=o!==u?"nextSibling":"previousSibling",b=n.parentNode,g=a&&n.nodeName.toLowerCase(),y=!c&&!a,m=!1;if(b){if(o){for(;v;){for(h=n;h=h[v];)if(a?h.nodeName.toLowerCase()===g:1===h.nodeType)return!1;p=v="only"===t&&!p&&"nextSibling"}return!0}if(p=[u?b.firstChild:b.lastChild],u&&y){for(m=(d=(s=(l=(f=(h=b)[x]||(h[x]={}))[h.uniqueID]||(f[h.uniqueID]={}))[t]||[])[0]===w&&s[1])&&s[2],h=d&&b.childNodes[d];h=++d&&h&&h[v]||(m=d=0)||p.pop();)if(1===h.nodeType&&++m&&h===n){l[t]=[w,d,m];break}}else if(y&&(m=d=(s=(l=(f=(h=n)[x]||(h[x]={}))[h.uniqueID]||(f[h.uniqueID]={}))[t]||[])[0]===w&&s[1]),!1===m)for(;(h=++d&&h&&h[v]||(m=d=0)||p.pop())&&((a?h.nodeName.toLowerCase()!==g:1!==h.nodeType)||!++m||(y&&((l=(f=h[x]||(h[x]={}))[h.uniqueID]||(f[h.uniqueID]={}))[t]=[w,m]),h!==n)););return(m-=i)===r||m%r==0&&m/r>=0}}},PSEUDO:function(t,n){var e,i=r.pseudos[t]||r.setFilters[t.toLowerCase()]||ot.error("unsupported pseudo: "+t);return i[x]?i(n):i.length>1?(e=[t,t,"",n],r.setFilters.hasOwnProperty(t.toLowerCase())?at(function(t,e){for(var r,o=i(t,n),u=o.length;u--;)t[r=L(t,o[u])]=!(e[r]=o[u])}):function(t){return i(t,0,e)}):i}},pseudos:{not:at(function(t){var n=[],e=[],r=a(t.replace(I,"$1"));return r[x]?at(function(t,n,e,i){for(var o,u=r(t,null,i,[]),a=t.length;a--;)(o=u[a])&&(t[a]=!(n[a]=o))}):function(t,i,o){return n[0]=t,r(n,null,o,e),n[0]=null,!e.pop()}}),has:at(function(t){return function(n){return ot(t,n).length>0}}),contains:at(function(t){return t=t.replace(Z,tt),function(n){return(n.textContent||n.innerText||i(n)).indexOf(t)>-1}}),lang:at(function(t){return Y.test(t||"")||ot.error("unsupported lang: "+t),t=t.replace(Z,tt).toLowerCase(),function(n){var e;do{if(e=v?n.lang:n.getAttribute("xml:lang")||n.getAttribute("lang"))return(e=e.toLowerCase())===t||0===e.indexOf(t+"-")}while((n=n.parentNode)&&1===n.nodeType);return!1}}),target:function(n){var e=t.location&&t.location.hash;return e&&e.slice(1)===n.id},root:function(t){return t===p},focus:function(t){return t===d.activeElement&&(!d.hasFocus||d.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:dt(!1),disabled:dt(!0),checked:function(t){var n=t.nodeName.toLowerCase();return"input"===n&&!!t.checked||"option"===n&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!r.pseudos.empty(t)},header:function(t){return K.test(t.nodeName)},input:function(t){return X.test(t.nodeName)},button:function(t){var n=t.nodeName.toLowerCase();return"input"===n&&"button"===t.type||"button"===n},text:function(t){var n;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(n=t.getAttribute("type"))||"text"===n.toLowerCase())},first:pt(function(){return[0]}),last:pt(function(t,n){return[n-1]}),eq:pt(function(t,n,e){return[e<0?e+n:e]}),even:pt(function(t,n){for(var e=0;e=0;)t.push(r);return t}),gt:pt(function(t,n,e){for(var r=e<0?e+n:e;++r1?function(n,e,r){for(var i=t.length;i--;)if(!t[i](n,e,r))return!1;return!0}:t[0]}function xt(t,n,e,r,i){for(var o,u=[],a=0,c=t.length,s=null!=n;a-1&&(o[s]=!(u[s]=f))}}else g=xt(g===u?g.splice(p,g.length):g),i?i(null,u,g,c):E.apply(u,g)})}function wt(t){for(var n,e,i,o=t.length,u=r.relative[t[0].type],a=u||r.relative[" "],c=u?1:0,l=yt(function(t){return t===n},a,!0),f=yt(function(t){return L(n,t)>-1},a,!0),h=[function(t,e,r){var i=!u&&(r||e!==s)||((n=e).nodeType?l(t,e,r):f(t,e,r));return n=null,i}];c1&&mt(h),c>1&>(t.slice(0,c-1).concat({value:" "===t[c-2].type?"*":""})).replace(I,"$1"),e,c0,i=t.length>0,o=function(o,u,a,c,l){var f,p,b,g=0,y="0",m=o&&[],x=[],_=s,O=o||i&&r.find.TAG("*",l),j=w+=null==_?1:Math.random()||.1,T=O.length;for(l&&(s=u===d||u||l);y!==T&&null!=(f=O[y]);y++){if(i&&f){for(p=0,u||f.ownerDocument===d||(h(f),a=!v);b=t[p++];)if(b(f,u||d,a)){c.push(f);break}l&&(w=j)}e&&((f=!b&&f)&&g--,o&&m.push(f))}if(g+=y,e&&y!==g){for(p=0;b=n[p++];)b(m,x,u,a);if(o){if(g>0)for(;y--;)m[y]||x[y]||(x[y]=A.call(c));x=xt(x)}E.apply(c,x),l&&!o&&x.length>0&&g+n.length>1&&ot.uniqueSort(c)}return l&&(w=j,s=_),m};return e?at(o):o}(o,i))).selector=t}return a},c=ot.select=function(t,n,e,i){var o,c,s,l,f,h="function"==typeof t&&t,d=!i&&u(t=h.selector||t);if(e=e||[],1===d.length){if((c=d[0]=d[0].slice(0)).length>2&&"ID"===(s=c[0]).type&&9===n.nodeType&&v&&r.relative[c[1].type]){if(!(n=(r.find.ID(s.matches[0].replace(Z,tt),n)||[])[0]))return e;h&&(n=n.parentNode),t=t.slice(c.shift().value.length)}for(o=V.needsContext.test(t)?0:c.length;o--&&(s=c[o],!r.relative[l=s.type]);)if((f=r.find[l])&&(i=f(s.matches[0].replace(Z,tt),J.test(c[0].type)&&vt(n.parentNode)||n))){if(c.splice(o,1),!(t=i.length&>(c)))return E.apply(e,i),e;break}}return(h||a(t,d))(i,n,!v,e,!n||J.test(t)&&vt(n.parentNode)||n),e},e.sortStable=x.split("").sort(M).join("")===x,e.detectDuplicates=!!f,h(),e.sortDetached=ct(function(t){return 1&t.compareDocumentPosition(d.createElement("fieldset"))}),ct(function(t){return t.innerHTML="","#"===t.firstChild.getAttribute("href")})||st("type|href|height|width",function(t,n,e){if(!e)return t.getAttribute(n,"type"===n.toLowerCase()?1:2)}),e.attributes&&ct(function(t){return t.innerHTML="",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||st("value",function(t,n,e){if(!e&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),ct(function(t){return null==t.getAttribute("disabled")})||st(q,function(t,n,e){var r;if(!e)return!0===t[n]?n.toLowerCase():(r=t.getAttributeNode(n))&&r.specified?r.value:null}),ot}(e);O.find=C,O.expr=C.selectors,O.expr[":"]=O.expr.pseudos,O.uniqueSort=O.unique=C.uniqueSort,O.text=C.getText,O.isXMLDoc=C.isXML,O.contains=C.contains,O.escapeSelector=C.escape;var M=function(t,n,e){for(var r=[],i=void 0!==e;(t=t[n])&&9!==t.nodeType;)if(1===t.nodeType){if(i&&O(t).is(e))break;r.push(t)}return r},S=function(t,n){for(var e=[];t;t=t.nextSibling)1===t.nodeType&&t!==n&&e.push(t);return e},k=O.expr.match.needsContext;function A(t,n){return t.nodeName&&t.nodeName.toLowerCase()===n.toLowerCase()}var N=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function E(t,n,e){return y(n)?O.grep(t,function(t,r){return!!n.call(t,r,t)!==e}):n.nodeType?O.grep(t,function(t){return t===n!==e}):"string"!=typeof n?O.grep(t,function(t){return f.call(n,t)>-1!==e}):O.filter(n,t,e)}O.filter=function(t,n,e){var r=n[0];return e&&(t=":not("+t+")"),1===n.length&&1===r.nodeType?O.find.matchesSelector(r,t)?[r]:[]:O.find.matches(t,O.grep(n,function(t){return 1===t.nodeType}))},O.fn.extend({find:function(t){var n,e,r=this.length,i=this;if("string"!=typeof t)return this.pushStack(O(t).filter(function(){for(n=0;n1?O.uniqueSort(e):e},filter:function(t){return this.pushStack(E(this,t||[],!1))},not:function(t){return this.pushStack(E(this,t||[],!0))},is:function(t){return!!E(this,"string"==typeof t&&k.test(t)?O(t):t||[],!1).length}});var D,L=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(O.fn.init=function(t,n,e){var r,i;if(!t)return this;if(e=e||D,"string"==typeof t){if(!(r="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:L.exec(t))||!r[1]&&n)return!n||n.jquery?(n||e).find(t):this.constructor(n).find(t);if(r[1]){if(n=n instanceof O?n[0]:n,O.merge(this,O.parseHTML(r[1],n&&n.nodeType?n.ownerDocument||n:u,!0)),N.test(r[1])&&O.isPlainObject(n))for(r in n)y(this[r])?this[r](n[r]):this.attr(r,n[r]);return this}return(i=u.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):y(t)?void 0!==e.ready?e.ready(t):t(O):O.makeArray(t,this)}).prototype=O.fn,D=O(u);var q=/^(?:parents|prev(?:Until|All))/,R={children:!0,contents:!0,next:!0,prev:!0};function P(t,n){for(;(t=t[n])&&1!==t.nodeType;);return t}O.fn.extend({has:function(t){var n=O(t,this),e=n.length;return this.filter(function(){for(var t=0;t-1:1===e.nodeType&&O.find.matchesSelector(e,t))){o.push(e);break}return this.pushStack(o.length>1?O.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?f.call(O(t),this[0]):f.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,n){return this.pushStack(O.uniqueSort(O.merge(this.get(),O(t,n))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),O.each({parent:function(t){var n=t.parentNode;return n&&11!==n.nodeType?n:null},parents:function(t){return M(t,"parentNode")},parentsUntil:function(t,n,e){return M(t,"parentNode",e)},next:function(t){return P(t,"nextSibling")},prev:function(t){return P(t,"previousSibling")},nextAll:function(t){return M(t,"nextSibling")},prevAll:function(t){return M(t,"previousSibling")},nextUntil:function(t,n,e){return M(t,"nextSibling",e)},prevUntil:function(t,n,e){return M(t,"previousSibling",e)},siblings:function(t){return S((t.parentNode||{}).firstChild,t)},children:function(t){return S(t.firstChild)},contents:function(t){return A(t,"iframe")?t.contentDocument:(A(t,"template")&&(t=t.content||t),O.merge([],t.childNodes))}},function(t,n){O.fn[t]=function(e,r){var i=O.map(this,n,e);return"Until"!==t.slice(-5)&&(r=e),r&&"string"==typeof r&&(i=O.filter(r,i)),this.length>1&&(R[t]||O.uniqueSort(i),q.test(t)&&i.reverse()),this.pushStack(i)}});var F=/[^\x20\t\r\n\f]+/g;function z(t){return t}function H(t){throw t}function I(t,n,e,r){var i;try{t&&y(i=t.promise)?i.call(t).done(n).fail(e):t&&y(i=t.then)?i.call(t,n,e):n.apply(void 0,[t].slice(r))}catch(t){e.apply(void 0,[t])}}O.Callbacks=function(t){t="string"==typeof t?function(t){var n={};return O.each(t.match(F)||[],function(t,e){n[e]=!0}),n}(t):O.extend({},t);var n,e,r,i,o=[],u=[],a=-1,c=function(){for(i=i||t.once,r=n=!0;u.length;a=-1)for(e=u.shift();++a-1;)o.splice(e,1),e<=a&&a--}),this},has:function(t){return t?O.inArray(t,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=u=[],o=e="",this},disabled:function(){return!o},lock:function(){return i=u=[],e||n||(o=e=""),this},locked:function(){return!!i},fireWith:function(t,e){return i||(e=[t,(e=e||[]).slice?e.slice():e],u.push(e),n||c()),this},fire:function(){return s.fireWith(this,arguments),this},fired:function(){return!!r}};return s},O.extend({Deferred:function(t){var n=[["notify","progress",O.Callbacks("memory"),O.Callbacks("memory"),2],["resolve","done",O.Callbacks("once memory"),O.Callbacks("once memory"),0,"resolved"],["reject","fail",O.Callbacks("once memory"),O.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},catch:function(t){return i.then(null,t)},pipe:function(){var t=arguments;return O.Deferred(function(e){O.each(n,function(n,r){var i=y(t[r[4]])&&t[r[4]];o[r[1]](function(){var t=i&&i.apply(this,arguments);t&&y(t.promise)?t.promise().progress(e.notify).done(e.resolve).fail(e.reject):e[r[0]+"With"](this,i?[t]:arguments)})}),t=null}).promise()},then:function(t,r,i){var o=0;function u(t,n,r,i){return function(){var a=this,c=arguments,s=function(){var e,s;if(!(t=o&&(r!==H&&(a=void 0,c=[e]),n.rejectWith(a,c))}};t?l():(O.Deferred.getStackHook&&(l.stackTrace=O.Deferred.getStackHook()),e.setTimeout(l))}}return O.Deferred(function(e){n[0][3].add(u(0,e,y(i)?i:z,e.notifyWith)),n[1][3].add(u(0,e,y(t)?t:z)),n[2][3].add(u(0,e,y(r)?r:H))}).promise()},promise:function(t){return null!=t?O.extend(t,i):i}},o={};return O.each(n,function(t,e){var u=e[2],a=e[5];i[e[1]]=u.add,a&&u.add(function(){r=a},n[3-t][2].disable,n[3-t][3].disable,n[0][2].lock,n[0][3].lock),u.add(e[3].fire),o[e[0]]=function(){return o[e[0]+"With"](this===o?void 0:this,arguments),this},o[e[0]+"With"]=u.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(t){var n=arguments.length,e=n,r=Array(e),i=c.call(arguments),o=O.Deferred(),u=function(t){return function(e){r[t]=this,i[t]=arguments.length>1?c.call(arguments):e,--n||o.resolveWith(r,i)}};if(n<=1&&(I(t,o.done(u(e)).resolve,o.reject,!n),"pending"===o.state()||y(i[e]&&i[e].then)))return o.then();for(;e--;)I(i[e],u(e),o.reject);return o.promise()}});var $=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;O.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&$.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},O.readyException=function(t){e.setTimeout(function(){throw t})};var U=O.Deferred();function B(){u.removeEventListener("DOMContentLoaded",B),e.removeEventListener("load",B),O.ready()}O.fn.ready=function(t){return U.then(t).catch(function(t){O.readyException(t)}),this},O.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--O.readyWait:O.isReady)||(O.isReady=!0,!0!==t&&--O.readyWait>0||U.resolveWith(u,[O]))}}),O.ready.then=U.then,"complete"===u.readyState||"loading"!==u.readyState&&!u.documentElement.doScroll?e.setTimeout(O.ready):(u.addEventListener("DOMContentLoaded",B),e.addEventListener("load",B));var W=function(t,n,e,r,i,o,u){var a=0,c=t.length,s=null==e;if("object"===w(e))for(a in i=!0,e)W(t,n,a,e[a],!0,o,u);else if(void 0!==r&&(i=!0,y(r)||(u=!0),s&&(u?(n.call(t,r),n=null):(s=n,n=function(t,n,e){return s.call(O(t),e)})),n))for(;a1,null,!0)},removeData:function(t){return this.each(function(){Z.remove(this,t)})}}),O.extend({queue:function(t,n,e){var r;if(t)return n=(n||"fx")+"queue",r=J.get(t,n),e&&(!r||Array.isArray(e)?r=J.access(t,n,O.makeArray(e)):r.push(e)),r||[]},dequeue:function(t,n){n=n||"fx";var e=O.queue(t,n),r=e.length,i=e.shift(),o=O._queueHooks(t,n);"inprogress"===i&&(i=e.shift(),r--),i&&("fx"===n&&e.unshift("inprogress"),delete o.stop,i.call(t,function(){O.dequeue(t,n)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(t,n){var e=n+"queueHooks";return J.get(t,e)||J.access(t,e,{empty:O.Callbacks("once memory").add(function(){J.remove(t,[n+"queue",e])})})}}),O.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length\x20\t\r\n\f]+)/i,pt=/^$|^module$|\/(?:java|ecma)script/i,vt={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function bt(t,n){var e;return e=void 0!==t.getElementsByTagName?t.getElementsByTagName(n||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(n||"*"):[],void 0===n||n&&A(t,n)?O.merge([t],e):e}function gt(t,n){for(var e=0,r=t.length;e-1)i&&i.push(o);else if(s=O.contains(o.ownerDocument,o),u=bt(f.appendChild(o),"script"),s&>(u),e)for(l=0;o=u[l++];)pt.test(o.type||"")&&e.push(o);return f}yt=u.createDocumentFragment().appendChild(u.createElement("div")),(mt=u.createElement("input")).setAttribute("type","radio"),mt.setAttribute("checked","checked"),mt.setAttribute("name","t"),yt.appendChild(mt),g.checkClone=yt.cloneNode(!0).cloneNode(!0).lastChild.checked,yt.innerHTML="",g.noCloneChecked=!!yt.cloneNode(!0).lastChild.defaultValue;var wt=u.documentElement,Ot=/^key/,jt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Tt=/^([^.]*)(?:\.(.+)|)/;function Ct(){return!0}function Mt(){return!1}function St(){try{return u.activeElement}catch(t){}}function kt(t,n,e,r,i,o){var u,a;if("object"==typeof n){for(a in"string"!=typeof e&&(r=r||e,e=void 0),n)kt(t,a,e,r,n[a],o);return t}if(null==r&&null==i?(i=e,r=e=void 0):null==i&&("string"==typeof e?(i=r,r=void 0):(i=r,r=e,e=void 0)),!1===i)i=Mt;else if(!i)return t;return 1===o&&(u=i,(i=function(t){return O().off(t),u.apply(this,arguments)}).guid=u.guid||(u.guid=O.guid++)),t.each(function(){O.event.add(this,n,i,r,e)})}O.event={global:{},add:function(t,n,e,r,i){var o,u,a,c,s,l,f,h,d,p,v,b=J.get(t);if(b)for(e.handler&&(e=(o=e).handler,i=o.selector),i&&O.find.matchesSelector(wt,i),e.guid||(e.guid=O.guid++),(c=b.events)||(c=b.events={}),(u=b.handle)||(u=b.handle=function(n){return void 0!==O&&O.event.triggered!==n.type?O.event.dispatch.apply(t,arguments):void 0}),s=(n=(n||"").match(F)||[""]).length;s--;)d=v=(a=Tt.exec(n[s])||[])[1],p=(a[2]||"").split(".").sort(),d&&(f=O.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=O.event.special[d]||{},l=O.extend({type:d,origType:v,data:r,handler:e,guid:e.guid,selector:i,needsContext:i&&O.expr.match.needsContext.test(i),namespace:p.join(".")},o),(h=c[d])||((h=c[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,p,u)||t.addEventListener&&t.addEventListener(d,u)),f.add&&(f.add.call(t,l),l.handler.guid||(l.handler.guid=e.guid)),i?h.splice(h.delegateCount++,0,l):h.push(l),O.event.global[d]=!0)},remove:function(t,n,e,r,i){var o,u,a,c,s,l,f,h,d,p,v,b=J.hasData(t)&&J.get(t);if(b&&(c=b.events)){for(s=(n=(n||"").match(F)||[""]).length;s--;)if(d=v=(a=Tt.exec(n[s])||[])[1],p=(a[2]||"").split(".").sort(),d){for(f=O.event.special[d]||{},h=c[d=(r?f.delegateType:f.bindType)||d]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),u=o=h.length;o--;)l=h[o],!i&&v!==l.origType||e&&e.guid!==l.guid||a&&!a.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(h.splice(o,1),l.selector&&h.delegateCount--,f.remove&&f.remove.call(t,l));u&&!h.length&&(f.teardown&&!1!==f.teardown.call(t,p,b.handle)||O.removeEvent(t,d,b.handle),delete c[d])}else for(d in c)O.event.remove(t,d+n[s],e,r,!0);O.isEmptyObject(c)&&J.remove(t,"handle events")}},dispatch:function(t){var n,e,r,i,o,u,a=O.event.fix(t),c=new Array(arguments.length),s=(J.get(this,"events")||{})[a.type]||[],l=O.event.special[a.type]||{};for(c[0]=a,n=1;n=1))for(;s!==this;s=s.parentNode||this)if(1===s.nodeType&&("click"!==t.type||!0!==s.disabled)){for(o=[],u={},e=0;e-1:O.find(i,this,null,[s]).length),u[i]&&o.push(r);o.length&&a.push({elem:s,handlers:o})}return s=this,c\x20\t\r\n\f]*)[^>]*)\/>/gi,Nt=/\s*$/g;function Lt(t,n){return A(t,"table")&&A(11!==n.nodeType?n:n.firstChild,"tr")&&O(t).children("tbody")[0]||t}function qt(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Rt(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Pt(t,n){var e,r,i,o,u,a,c,s;if(1===n.nodeType){if(J.hasData(t)&&(o=J.access(t),u=J.set(n,o),s=o.events))for(i in delete u.handle,u.events={},s)for(e=0,r=s[i].length;e1&&"string"==typeof p&&!g.checkClone&&Et.test(p))return t.each(function(i){var o=t.eq(i);v&&(n[0]=p.call(this,i,o.html())),Ft(o,n,e,r)});if(h&&(o=(i=_t(n,t[0].ownerDocument,!1,t,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(a=(u=O.map(bt(i,"script"),qt)).length;f")},clone:function(t,n,e){var r,i,o,u,a,c,s,l=t.cloneNode(!0),f=O.contains(t.ownerDocument,t);if(!(g.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||O.isXMLDoc(t)))for(u=bt(l),r=0,i=(o=bt(t)).length;r0&>(u,!f&&bt(t,"script")),l},cleanData:function(t){for(var n,e,r,i=O.event.special,o=0;void 0!==(e=t[o]);o++)if(G(e)){if(n=e[J.expando]){if(n.events)for(r in n.events)i[r]?O.event.remove(e,r):O.removeEvent(e,r,n.handle);e[J.expando]=void 0}e[Z.expando]&&(e[Z.expando]=void 0)}}}),O.fn.extend({detach:function(t){return zt(this,t,!0)},remove:function(t){return zt(this,t)},text:function(t){return W(this,function(t){return void 0===t?O.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return Ft(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Lt(this,t).appendChild(t)})},prepend:function(){return Ft(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var n=Lt(this,t);n.insertBefore(t,n.firstChild)}})},before:function(){return Ft(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return Ft(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,n=0;null!=(t=this[n]);n++)1===t.nodeType&&(O.cleanData(bt(t,!1)),t.textContent="");return this},clone:function(t,n){return t=null!=t&&t,n=null==n?t:n,this.map(function(){return O.clone(this,t,n)})},html:function(t){return W(this,function(t){var n=this[0]||{},e=0,r=this.length;if(void 0===t&&1===n.nodeType)return n.innerHTML;if("string"==typeof t&&!Nt.test(t)&&!vt[(dt.exec(t)||["",""])[1].toLowerCase()]){t=O.htmlPrefilter(t);try{for(;e=0&&(c+=Math.max(0,Math.ceil(t["offset"+n[0].toUpperCase()+n.slice(1)]-o-c-a-.5))),c}function tn(t,n,e){var r=It(t),i=Ut(t,n,r),o="border-box"===O.css(t,"boxSizing",!1,r),u=o;if(Ht.test(i)){if(!e)return i;i="auto"}return u=u&&(g.boxSizingReliable()||i===t.style[n]),("auto"===i||!parseFloat(i)&&"inline"===O.css(t,"display",!1,r))&&(i=t["offset"+n[0].toUpperCase()+n.slice(1)],u=!0),(i=parseFloat(i)||0)+Zt(t,n,e||(o?"border":"content"),u,r,i)+"px"}function nn(t,n,e,r,i){return new nn.prototype.init(t,n,e,r,i)}O.extend({cssHooks:{opacity:{get:function(t,n){if(n){var e=Ut(t,"opacity");return""===e?"1":e}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,n,e,r){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var i,o,u,a=K(n),c=Yt.test(n),s=t.style;if(c||(n=Qt(a)),u=O.cssHooks[n]||O.cssHooks[a],void 0===e)return u&&"get"in u&&void 0!==(i=u.get(t,!1,r))?i:s[n];"string"===(o=typeof e)&&(i=it.exec(e))&&i[1]&&(e=ct(t,n,i),o="number"),null!=e&&e==e&&("number"===o&&(e+=i&&i[3]||(O.cssNumber[a]?"":"px")),g.clearCloneStyle||""!==e||0!==n.indexOf("background")||(s[n]="inherit"),u&&"set"in u&&void 0===(e=u.set(t,e,r))||(c?s.setProperty(n,e):s[n]=e))}},css:function(t,n,e,r){var i,o,u,a=K(n);return Yt.test(n)||(n=Qt(a)),(u=O.cssHooks[n]||O.cssHooks[a])&&"get"in u&&(i=u.get(t,!0,e)),void 0===i&&(i=Ut(t,n,r)),"normal"===i&&n in Xt&&(i=Xt[n]),""===e||e?(o=parseFloat(i),!0===e||isFinite(o)?o||0:i):i}}),O.each(["height","width"],function(t,n){O.cssHooks[n]={get:function(t,e,r){if(e)return!Wt.test(O.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?tn(t,n,r):at(t,Vt,function(){return tn(t,n,r)})},set:function(t,e,r){var i,o=It(t),u="border-box"===O.css(t,"boxSizing",!1,o),a=r&&Zt(t,n,r,u,o);return u&&g.scrollboxSize()===o.position&&(a-=Math.ceil(t["offset"+n[0].toUpperCase()+n.slice(1)]-parseFloat(o[n])-Zt(t,n,"border",!1,o)-.5)),a&&(i=it.exec(e))&&"px"!==(i[3]||"px")&&(t.style[n]=e,e=O.css(t,n)),Jt(0,e,a)}}}),O.cssHooks.marginLeft=Bt(g.reliableMarginLeft,function(t,n){if(n)return(parseFloat(Ut(t,"marginLeft"))||t.getBoundingClientRect().left-at(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),O.each({margin:"",padding:"",border:"Width"},function(t,n){O.cssHooks[t+n]={expand:function(e){for(var r=0,i={},o="string"==typeof e?e.split(" "):[e];r<4;r++)i[t+ot[r]+n]=o[r]||o[r-2]||o[0];return i}},"margin"!==t&&(O.cssHooks[t+n].set=Jt)}),O.fn.extend({css:function(t,n){return W(this,function(t,n,e){var r,i,o={},u=0;if(Array.isArray(n)){for(r=It(t),i=n.length;u1)}}),O.Tween=nn,nn.prototype={constructor:nn,init:function(t,n,e,r,i,o){this.elem=t,this.prop=e,this.easing=i||O.easing._default,this.options=n,this.start=this.now=this.cur(),this.end=r,this.unit=o||(O.cssNumber[e]?"":"px")},cur:function(){var t=nn.propHooks[this.prop];return t&&t.get?t.get(this):nn.propHooks._default.get(this)},run:function(t){var n,e=nn.propHooks[this.prop];return this.options.duration?this.pos=n=O.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=n=t,this.now=(this.end-this.start)*n+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),e&&e.set?e.set(this):nn.propHooks._default.set(this),this}},nn.prototype.init.prototype=nn.prototype,nn.propHooks={_default:{get:function(t){var n;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(n=O.css(t.elem,t.prop,""))&&"auto"!==n?n:0},set:function(t){O.fx.step[t.prop]?O.fx.step[t.prop](t):1!==t.elem.nodeType||null==t.elem.style[O.cssProps[t.prop]]&&!O.cssHooks[t.prop]?t.elem[t.prop]=t.now:O.style(t.elem,t.prop,t.now+t.unit)}}},nn.propHooks.scrollTop=nn.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},O.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},O.fx=nn.prototype.init,O.fx.step={};var en,rn,on=/^(?:toggle|show|hide)$/,un=/queueHooks$/;function an(){rn&&(!1===u.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(an):e.setTimeout(an,O.fx.interval),O.fx.tick())}function cn(){return e.setTimeout(function(){en=void 0}),en=Date.now()}function sn(t,n){var e,r=0,i={height:t};for(n=n?1:0;r<4;r+=2-n)i["margin"+(e=ot[r])]=i["padding"+e]=t;return n&&(i.opacity=i.width=t),i}function ln(t,n,e){for(var r,i=(fn.tweeners[n]||[]).concat(fn.tweeners["*"]),o=0,u=i.length;o1)},removeAttr:function(t){return this.each(function(){O.removeAttr(this,t)})}}),O.extend({attr:function(t,n,e){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===t.getAttribute?O.prop(t,n,e):(1===o&&O.isXMLDoc(t)||(i=O.attrHooks[n.toLowerCase()]||(O.expr.match.bool.test(n)?hn:void 0)),void 0!==e?null===e?void O.removeAttr(t,n):i&&"set"in i&&void 0!==(r=i.set(t,e,n))?r:(t.setAttribute(n,e+""),e):i&&"get"in i&&null!==(r=i.get(t,n))?r:null==(r=O.find.attr(t,n))?void 0:r)},attrHooks:{type:{set:function(t,n){if(!g.radioValue&&"radio"===n&&A(t,"input")){var e=t.value;return t.setAttribute("type",n),e&&(t.value=e),n}}}},removeAttr:function(t,n){var e,r=0,i=n&&n.match(F);if(i&&1===t.nodeType)for(;e=i[r++];)t.removeAttribute(e)}}),hn={set:function(t,n,e){return!1===n?O.removeAttr(t,e):t.setAttribute(e,e),e}},O.each(O.expr.match.bool.source.match(/\w+/g),function(t,n){var e=dn[n]||O.find.attr;dn[n]=function(t,n,r){var i,o,u=n.toLowerCase();return r||(o=dn[u],dn[u]=i,i=null!=e(t,n,r)?u:null,dn[u]=o),i}});var pn=/^(?:input|select|textarea|button)$/i,vn=/^(?:a|area)$/i;function bn(t){return(t.match(F)||[]).join(" ")}function gn(t){return t.getAttribute&&t.getAttribute("class")||""}function yn(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(F)||[]}O.fn.extend({prop:function(t,n){return W(this,O.prop,t,n,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[O.propFix[t]||t]})}}),O.extend({prop:function(t,n,e){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&O.isXMLDoc(t)||(n=O.propFix[n]||n,i=O.propHooks[n]),void 0!==e?i&&"set"in i&&void 0!==(r=i.set(t,e,n))?r:t[n]=e:i&&"get"in i&&null!==(r=i.get(t,n))?r:t[n]},propHooks:{tabIndex:{get:function(t){var n=O.find.attr(t,"tabindex");return n?parseInt(n,10):pn.test(t.nodeName)||vn.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(O.propHooks.selected={get:function(t){var n=t.parentNode;return n&&n.parentNode&&n.parentNode.selectedIndex,null},set:function(t){var n=t.parentNode;n&&(n.selectedIndex,n.parentNode&&n.parentNode.selectedIndex)}}),O.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){O.propFix[this.toLowerCase()]=this}),O.fn.extend({addClass:function(t){var n,e,r,i,o,u,a,c=0;if(y(t))return this.each(function(n){O(this).addClass(t.call(this,n,gn(this)))});if((n=yn(t)).length)for(;e=this[c++];)if(i=gn(e),r=1===e.nodeType&&" "+bn(i)+" "){for(u=0;o=n[u++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(a=bn(r))&&e.setAttribute("class",a)}return this},removeClass:function(t){var n,e,r,i,o,u,a,c=0;if(y(t))return this.each(function(n){O(this).removeClass(t.call(this,n,gn(this)))});if(!arguments.length)return this.attr("class","");if((n=yn(t)).length)for(;e=this[c++];)if(i=gn(e),r=1===e.nodeType&&" "+bn(i)+" "){for(u=0;o=n[u++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");i!==(a=bn(r))&&e.setAttribute("class",a)}return this},toggleClass:function(t,n){var e=typeof t,r="string"===e||Array.isArray(t);return"boolean"==typeof n&&r?n?this.addClass(t):this.removeClass(t):y(t)?this.each(function(e){O(this).toggleClass(t.call(this,e,gn(this),n),n)}):this.each(function(){var n,i,o,u;if(r)for(i=0,o=O(this),u=yn(t);n=u[i++];)o.hasClass(n)?o.removeClass(n):o.addClass(n);else void 0!==t&&"boolean"!==e||((n=gn(this))&&J.set(this,"__className__",n),this.setAttribute&&this.setAttribute("class",n||!1===t?"":J.get(this,"__className__")||""))})},hasClass:function(t){var n,e,r=0;for(n=" "+t+" ";e=this[r++];)if(1===e.nodeType&&(" "+bn(gn(e))+" ").indexOf(n)>-1)return!0;return!1}});var mn=/\r/g;O.fn.extend({val:function(t){var n,e,r,i=this[0];return arguments.length?(r=y(t),this.each(function(e){var i;1===this.nodeType&&(null==(i=r?t.call(this,e,O(this).val()):t)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=O.map(i,function(t){return null==t?"":t+""})),(n=O.valHooks[this.type]||O.valHooks[this.nodeName.toLowerCase()])&&"set"in n&&void 0!==n.set(this,i,"value")||(this.value=i))})):i?(n=O.valHooks[i.type]||O.valHooks[i.nodeName.toLowerCase()])&&"get"in n&&void 0!==(e=n.get(i,"value"))?e:"string"==typeof(e=i.value)?e.replace(mn,""):null==e?"":e:void 0}}),O.extend({valHooks:{option:{get:function(t){var n=O.find.attr(t,"value");return null!=n?n:bn(O.text(t))}},select:{get:function(t){var n,e,r,i=t.options,o=t.selectedIndex,u="select-one"===t.type,a=u?null:[],c=u?o+1:i.length;for(r=o<0?c:u?o:0;r-1)&&(e=!0);return e||(t.selectedIndex=-1),o}}}}),O.each(["radio","checkbox"],function(){O.valHooks[this]={set:function(t,n){if(Array.isArray(n))return t.checked=O.inArray(O(t).val(),n)>-1}},g.checkOn||(O.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),g.focusin="onfocusin"in e;var xn=/^(?:focusinfocus|focusoutblur)$/,_n=function(t){t.stopPropagation()};O.extend(O.event,{trigger:function(t,n,r,i){var o,a,c,s,l,f,h,d,v=[r||u],b=p.call(t,"type")?t.type:t,g=p.call(t,"namespace")?t.namespace.split("."):[];if(a=d=c=r=r||u,3!==r.nodeType&&8!==r.nodeType&&!xn.test(b+O.event.triggered)&&(b.indexOf(".")>-1&&(b=(g=b.split(".")).shift(),g.sort()),l=b.indexOf(":")<0&&"on"+b,(t=t[O.expando]?t:new O.Event(b,"object"==typeof t&&t)).isTrigger=i?2:3,t.namespace=g.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),n=null==n?[t]:O.makeArray(n,[t]),h=O.event.special[b]||{},i||!h.trigger||!1!==h.trigger.apply(r,n))){if(!i&&!h.noBubble&&!m(r)){for(s=h.delegateType||b,xn.test(s+b)||(a=a.parentNode);a;a=a.parentNode)v.push(a),c=a;c===(r.ownerDocument||u)&&v.push(c.defaultView||c.parentWindow||e)}for(o=0;(a=v[o++])&&!t.isPropagationStopped();)d=a,t.type=o>1?s:h.bindType||b,(f=(J.get(a,"events")||{})[t.type]&&J.get(a,"handle"))&&f.apply(a,n),(f=l&&a[l])&&f.apply&&G(a)&&(t.result=f.apply(a,n),!1===t.result&&t.preventDefault());return t.type=b,i||t.isDefaultPrevented()||h._default&&!1!==h._default.apply(v.pop(),n)||!G(r)||l&&y(r[b])&&!m(r)&&((c=r[l])&&(r[l]=null),O.event.triggered=b,t.isPropagationStopped()&&d.addEventListener(b,_n),r[b](),t.isPropagationStopped()&&d.removeEventListener(b,_n),O.event.triggered=void 0,c&&(r[l]=c)),t.result}},simulate:function(t,n,e){var r=O.extend(new O.Event,e,{type:t,isSimulated:!0});O.event.trigger(r,null,n)}}),O.fn.extend({trigger:function(t,n){return this.each(function(){O.event.trigger(t,n,this)})},triggerHandler:function(t,n){var e=this[0];if(e)return O.event.trigger(t,n,e,!0)}}),g.focusin||O.each({focus:"focusin",blur:"focusout"},function(t,n){var e=function(t){O.event.simulate(n,t.target,O.event.fix(t))};O.event.special[n]={setup:function(){var r=this.ownerDocument||this,i=J.access(r,n);i||r.addEventListener(t,e,!0),J.access(r,n,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=J.access(r,n)-1;i?J.access(r,n,i):(r.removeEventListener(t,e,!0),J.remove(r,n))}}});var wn=e.location,On=Date.now(),jn=/\?/;O.parseXML=function(t){var n;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(t){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||O.error("Invalid XML: "+t),n};var Tn=/\[\]$/,Cn=/\r?\n/g,Mn=/^(?:submit|button|image|reset|file)$/i,Sn=/^(?:input|select|textarea|keygen)/i;function kn(t,n,e,r){var i;if(Array.isArray(n))O.each(n,function(n,i){e||Tn.test(t)?r(t,i):kn(t+"["+("object"==typeof i&&null!=i?n:"")+"]",i,e,r)});else if(e||"object"!==w(n))r(t,n);else for(i in n)kn(t+"["+i+"]",n[i],e,r)}O.param=function(t,n){var e,r=[],i=function(t,n){var e=y(n)?n():n;r[r.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==e?"":e)};if(Array.isArray(t)||t.jquery&&!O.isPlainObject(t))O.each(t,function(){i(this.name,this.value)});else for(e in t)kn(e,t[e],n,i);return r.join("&")},O.fn.extend({serialize:function(){return O.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=O.prop(this,"elements");return t?O.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!O(this).is(":disabled")&&Sn.test(this.nodeName)&&!Mn.test(t)&&(this.checked||!ht.test(t))}).map(function(t,n){var e=O(this).val();return null==e?null:Array.isArray(e)?O.map(e,function(t){return{name:n.name,value:t.replace(Cn,"\r\n")}}):{name:n.name,value:e.replace(Cn,"\r\n")}}).get()}});var An=/%20/g,Nn=/#.*$/,En=/([?&])_=[^&]*/,Dn=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ln=/^(?:GET|HEAD)$/,qn=/^\/\//,Rn={},Pn={},Fn="*/".concat("*"),zn=u.createElement("a");function Hn(t){return function(n,e){"string"!=typeof n&&(e=n,n="*");var r,i=0,o=n.toLowerCase().match(F)||[];if(y(e))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(t[r]=t[r]||[]).unshift(e)):(t[r]=t[r]||[]).push(e)}}function In(t,n,e,r){var i={},o=t===Pn;function u(a){var c;return i[a]=!0,O.each(t[a]||[],function(t,a){var s=a(n,e,r);return"string"!=typeof s||o||i[s]?o?!(c=s):void 0:(n.dataTypes.unshift(s),u(s),!1)}),c}return u(n.dataTypes[0])||!i["*"]&&u("*")}function $n(t,n){var e,r,i=O.ajaxSettings.flatOptions||{};for(e in n)void 0!==n[e]&&((i[e]?t:r||(r={}))[e]=n[e]);return r&&O.extend(!0,t,r),t}zn.href=wn.href,O.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:wn.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(wn.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Fn,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":O.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,n){return n?$n($n(t,O.ajaxSettings),n):$n(O.ajaxSettings,t)},ajaxPrefilter:Hn(Rn),ajaxTransport:Hn(Pn),ajax:function(t,n){"object"==typeof t&&(n=t,t=void 0),n=n||{};var r,i,o,a,c,s,l,f,h,d,p=O.ajaxSetup({},n),v=p.context||p,b=p.context&&(v.nodeType||v.jquery)?O(v):O.event,g=O.Deferred(),y=O.Callbacks("once memory"),m=p.statusCode||{},x={},_={},w="canceled",j={readyState:0,getResponseHeader:function(t){var n;if(l){if(!a)for(a={};n=Dn.exec(o);)a[n[1].toLowerCase()]=n[2];n=a[t.toLowerCase()]}return null==n?null:n},getAllResponseHeaders:function(){return l?o:null},setRequestHeader:function(t,n){return null==l&&(t=_[t.toLowerCase()]=_[t.toLowerCase()]||t,x[t]=n),this},overrideMimeType:function(t){return null==l&&(p.mimeType=t),this},statusCode:function(t){var n;if(t)if(l)j.always(t[j.status]);else for(n in t)m[n]=[m[n],t[n]];return this},abort:function(t){var n=t||w;return r&&r.abort(n),T(0,n),this}};if(g.promise(j),p.url=((t||p.url||wn.href)+"").replace(qn,wn.protocol+"//"),p.type=n.method||n.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(F)||[""],null==p.crossDomain){s=u.createElement("a");try{s.href=p.url,s.href=s.href,p.crossDomain=zn.protocol+"//"+zn.host!=s.protocol+"//"+s.host}catch(t){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=O.param(p.data,p.traditional)),In(Rn,p,n,j),l)return j;for(h in(f=O.event&&p.global)&&0==O.active++&&O.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Ln.test(p.type),i=p.url.replace(Nn,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(An,"+")):(d=p.url.slice(i.length),p.data&&(p.processData||"string"==typeof p.data)&&(i+=(jn.test(i)?"&":"?")+p.data,delete p.data),!1===p.cache&&(i=i.replace(En,"$1"),d=(jn.test(i)?"&":"?")+"_="+On+++d),p.url=i+d),p.ifModified&&(O.lastModified[i]&&j.setRequestHeader("If-Modified-Since",O.lastModified[i]),O.etag[i]&&j.setRequestHeader("If-None-Match",O.etag[i])),(p.data&&p.hasContent&&!1!==p.contentType||n.contentType)&&j.setRequestHeader("Content-Type",p.contentType),j.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Fn+"; q=0.01":""):p.accepts["*"]),p.headers)j.setRequestHeader(h,p.headers[h]);if(p.beforeSend&&(!1===p.beforeSend.call(v,j,p)||l))return j.abort();if(w="abort",y.add(p.complete),j.done(p.success),j.fail(p.error),r=In(Pn,p,n,j)){if(j.readyState=1,f&&b.trigger("ajaxSend",[j,p]),l)return j;p.async&&p.timeout>0&&(c=e.setTimeout(function(){j.abort("timeout")},p.timeout));try{l=!1,r.send(x,T)}catch(t){if(l)throw t;T(-1,t)}}else T(-1,"No Transport");function T(t,n,u,a){var s,h,d,x,_,w=n;l||(l=!0,c&&e.clearTimeout(c),r=void 0,o=a||"",j.readyState=t>0?4:0,s=t>=200&&t<300||304===t,u&&(x=function(t,n,e){for(var r,i,o,u,a=t.contents,c=t.dataTypes;"*"===c[0];)c.shift(),void 0===r&&(r=t.mimeType||n.getResponseHeader("Content-Type"));if(r)for(i in a)if(a[i]&&a[i].test(r)){c.unshift(i);break}if(c[0]in e)o=c[0];else{for(i in e){if(!c[0]||t.converters[i+" "+c[0]]){o=i;break}u||(u=i)}o=o||u}if(o)return o!==c[0]&&c.unshift(o),e[o]}(p,j,u)),x=function(t,n,e,r){var i,o,u,a,c,s={},l=t.dataTypes.slice();if(l[1])for(u in t.converters)s[u.toLowerCase()]=t.converters[u];for(o=l.shift();o;)if(t.responseFields[o]&&(e[t.responseFields[o]]=n),!c&&r&&t.dataFilter&&(n=t.dataFilter(n,t.dataType)),c=o,o=l.shift())if("*"===o)o=c;else if("*"!==c&&c!==o){if(!(u=s[c+" "+o]||s["* "+o]))for(i in s)if((a=i.split(" "))[1]===o&&(u=s[c+" "+a[0]]||s["* "+a[0]])){!0===u?u=s[i]:!0!==s[i]&&(o=a[0],l.unshift(a[1]));break}if(!0!==u)if(u&&t.throws)n=u(n);else try{n=u(n)}catch(t){return{state:"parsererror",error:u?t:"No conversion from "+c+" to "+o}}}return{state:"success",data:n}}(p,x,j,s),s?(p.ifModified&&((_=j.getResponseHeader("Last-Modified"))&&(O.lastModified[i]=_),(_=j.getResponseHeader("etag"))&&(O.etag[i]=_)),204===t||"HEAD"===p.type?w="nocontent":304===t?w="notmodified":(w=x.state,h=x.data,s=!(d=x.error))):(d=w,!t&&w||(w="error",t<0&&(t=0))),j.status=t,j.statusText=(n||w)+"",s?g.resolveWith(v,[h,w,j]):g.rejectWith(v,[j,w,d]),j.statusCode(m),m=void 0,f&&b.trigger(s?"ajaxSuccess":"ajaxError",[j,p,s?h:d]),y.fireWith(v,[j,w]),f&&(b.trigger("ajaxComplete",[j,p]),--O.active||O.event.trigger("ajaxStop")))}return j},getJSON:function(t,n,e){return O.get(t,n,e,"json")},getScript:function(t,n){return O.get(t,void 0,n,"script")}}),O.each(["get","post"],function(t,n){O[n]=function(t,e,r,i){return y(e)&&(i=i||r,r=e,e=void 0),O.ajax(O.extend({url:t,type:n,dataType:i,data:e,success:r},O.isPlainObject(t)&&t))}}),O._evalUrl=function(t){return O.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},O.fn.extend({wrapAll:function(t){var n;return this[0]&&(y(t)&&(t=t.call(this[0])),n=O(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&n.insertBefore(this[0]),n.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(t){return y(t)?this.each(function(n){O(this).wrapInner(t.call(this,n))}):this.each(function(){var n=O(this),e=n.contents();e.length?e.wrapAll(t):n.append(t)})},wrap:function(t){var n=y(t);return this.each(function(e){O(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){O(this).replaceWith(this.childNodes)}),this}}),O.expr.pseudos.hidden=function(t){return!O.expr.pseudos.visible(t)},O.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},O.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(t){}};var Un={0:200,1223:204},Bn=O.ajaxSettings.xhr();g.cors=!!Bn&&"withCredentials"in Bn,g.ajax=Bn=!!Bn,O.ajaxTransport(function(t){var n,r;if(g.cors||Bn&&!t.crossDomain)return{send:function(i,o){var u,a=t.xhr();if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(u in t.xhrFields)a[u]=t.xhrFields[u];for(u in t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)a.setRequestHeader(u,i[u]);n=function(t){return function(){n&&(n=r=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===t?a.abort():"error"===t?"number"!=typeof a.status?o(0,"error"):o(a.status,a.statusText):o(Un[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=n(),r=a.onerror=a.ontimeout=n("error"),void 0!==a.onabort?a.onabort=r:a.onreadystatechange=function(){4===a.readyState&&e.setTimeout(function(){n&&r()})},n=n("abort");try{a.send(t.hasContent&&t.data||null)}catch(t){if(n)throw t}},abort:function(){n&&n()}}}),O.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),O.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return O.globalEval(t),t}}}),O.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),O.ajaxTransport("script",function(t){var n,e;if(t.crossDomain)return{send:function(r,i){n=O("