react-object-table
Version:
React powered table of objects, designed to be editable and fast.
1 lines • 122 kB
JavaScript
var so=Object.create;var Jt=Object.defineProperty,uo=Object.defineProperties,ao=Object.getOwnPropertyDescriptor,lo=Object.getOwnPropertyDescriptors,fo=Object.getOwnPropertyNames,Pi=Object.getOwnPropertySymbols,co=Object.getPrototypeOf,qi=Object.prototype.hasOwnProperty,po=Object.prototype.propertyIsEnumerable;var An=(w,c,p)=>c in w?Jt(w,c,{enumerable:!0,configurable:!0,writable:!0,value:p}):w[c]=p,Ie=(w,c)=>{for(var p in c||(c={}))qi.call(c,p)&&An(w,p,c[p]);if(Pi)for(var p of Pi(c))po.call(c,p)&&An(w,p,c[p]);return w},vt=(w,c)=>uo(w,lo(c)),ho=w=>Jt(w,"__esModule",{value:!0});var wt=(w,c)=>()=>(c||w((c={exports:{}}).exports,c),c.exports);var go=(w,c,p)=>{if(c&&typeof c=="object"||typeof c=="function")for(let m of fo(c))!qi.call(w,m)&&m!=="default"&&Jt(w,m,{get:()=>c[m],enumerable:!(p=ao(c,m))||p.enumerable});return w},Ee=w=>go(ho(Jt(w!=null?so(co(w)):{},"default",w&&w.__esModule&&"default"in w?{get:()=>w.default,enumerable:!0}:{value:w,enumerable:!0})),w);var Q=(w,c,p)=>(An(w,typeof c!="symbol"?c+"":c,p),p);var _i=wt((Co,Li)=>{"use strict";var yo="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";Li.exports=yo});var Bi=wt((To,Fi)=>{"use strict";var mo=_i();function Hi(){}function Mi(){}Mi.resetWarningCache=Hi;Fi.exports=function(){function w(m,C,D,E,R,A){if(A!==mo){var $=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw $.name="Invariant Violation",$}}w.isRequired=w;function c(){return w}var p={array:w,bool:w,func:w,number:w,object:w,string:w,symbol:w,any:w,arrayOf:c,element:w,elementType:w,instanceOf:c,node:w,objectOf:c,oneOf:c,oneOfType:c,shape:c,exact:c,checkPropTypes:Mi,resetWarningCache:Hi};return p.PropTypes=p,p}});var xt=wt((ko,Vi)=>{Vi.exports=Bi()();var So,jo});var On=wt((Wi,Zt)=>{(function(w,c){"use strict";typeof Zt=="object"&&typeof Zt.exports=="object"?Zt.exports=w.document?c(w,!0):function(p){if(!p.document)throw new Error("jQuery requires a window with a document");return c(p)}:c(w)})(typeof window!="undefined"?window:Wi,function(w,c){"use strict";var p=[],m=Object.getPrototypeOf,C=p.slice,D=p.flat?function(e){return p.flat.call(e)}:function(e){return p.concat.apply([],e)},E=p.push,R=p.indexOf,A={},$=A.toString,H=A.hasOwnProperty,U=H.toString,ie=U.call(Object),L={},_=function(t){return typeof t=="function"&&typeof t.nodeType!="number"&&typeof t.item!="function"},J=function(t){return t!=null&&t===t.window},I=w.document,Ne={type:!0,src:!0,nonce:!0,noModule:!0};function we(e,t,n){n=n||I;var i,o,s=n.createElement("script");if(s.text=e,t)for(i in Ne)o=t[i]||t.getAttribute&&t.getAttribute(i),o&&s.setAttribute(i,o);n.head.appendChild(s).parentNode.removeChild(s)}function z(e){return e==null?e+"":typeof e=="object"||typeof e=="function"?A[$.call(e)]||"object":typeof e}var je="3.6.0",r=function(e,t){return new r.fn.init(e,t)};r.fn=r.prototype={jquery:je,constructor:r,length:0,toArray:function(){return C.call(this)},get:function(e){return e==null?C.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=r.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return r.each(this,e)},map:function(e){return this.pushStack(r.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(C.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(r.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(r.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:E,sort:p.sort,splice:p.splice},r.extend=r.fn.extend=function(){var e,t,n,i,o,s,u=arguments[0]||{},f=1,d=arguments.length,g=!1;for(typeof u=="boolean"&&(g=u,u=arguments[f]||{},f++),typeof u!="object"&&!_(u)&&(u={}),f===d&&(u=this,f--);f<d;f++)if((e=arguments[f])!=null)for(t in e)i=e[t],!(t==="__proto__"||u===i)&&(g&&i&&(r.isPlainObject(i)||(o=Array.isArray(i)))?(n=u[t],o&&!Array.isArray(n)?s=[]:!o&&!r.isPlainObject(n)?s={}:s=n,o=!1,u[t]=r.extend(g,s,i)):i!==void 0&&(u[t]=i));return u},r.extend({expando:"jQuery"+(je+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!e||$.call(e)!=="[object Object]"?!1:(t=m(e),t?(n=H.call(t,"constructor")&&t.constructor,typeof n=="function"&&U.call(n)===ie):!0)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){we(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,i=0;if(Fe(e))for(n=e.length;i<n&&t.call(e[i],i,e[i])!==!1;i++);else for(i in e)if(t.call(e[i],i,e[i])===!1)break;return e},makeArray:function(e,t){var n=t||[];return e!=null&&(Fe(Object(e))?r.merge(n,typeof e=="string"?[e]:e):E.call(n,e)),n},inArray:function(e,t,n){return t==null?-1:R.call(t,e,n)},merge:function(e,t){for(var n=+t.length,i=0,o=e.length;i<n;i++)e[o++]=t[i];return e.length=o,e},grep:function(e,t,n){for(var i,o=[],s=0,u=e.length,f=!n;s<u;s++)i=!t(e[s],s),i!==f&&o.push(e[s]);return o},map:function(e,t,n){var i,o,s=0,u=[];if(Fe(e))for(i=e.length;s<i;s++)o=t(e[s],s,n),o!=null&&u.push(o);else for(s in e)o=t(e[s],s,n),o!=null&&u.push(o);return D(u)},guid:1,support:L}),typeof Symbol=="function"&&(r.fn[Symbol.iterator]=p[Symbol.iterator]),r.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){A["[object "+t+"]"]=t.toLowerCase()});function Fe(e){var t=!!e&&"length"in e&&e.length,n=z(e);return _(e)||J(e)?!1:n==="array"||t===0||typeof t=="number"&&t>0&&t-1 in e}var Le=function(e){var t,n,i,o,s,u,f,d,g,v,j,b,x,P,X,q,le,se,xe,ee="sizzle"+1*new Date,K=e.document,me=0,G=0,oe=Xt(),Pt=Xt(),Ut=Xt(),Ce=Xt(),rt=function(a,l){return a===l&&(j=!0),0},ot={}.hasOwnProperty,be=[],Xe=be.pop,De=be.push,Ye=be.push,ji=be.slice,st=function(a,l){for(var h=0,T=a.length;h<T;h++)if(a[h]===l)return h;return-1},Tn="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",Z="[\\x20\\t\\r\\n\\f]",ut="(?:\\\\[\\da-fA-F]{1,6}"+Z+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",ki="\\["+Z+"*("+ut+")(?:"+Z+"*([*^$|!~]?=)"+Z+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+ut+"))|)"+Z+"*\\]",Sn=":("+ut+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+ki+")*)|.*)\\)|)",zr=new RegExp(Z+"+","g"),zt=new RegExp("^"+Z+"+|((?:^|[^\\\\])(?:\\\\.)*)"+Z+"+$","g"),Kr=new RegExp("^"+Z+"*,"+Z+"*"),Di=new RegExp("^"+Z+"*([>+~]|"+Z+")"+Z+"*"),Xr=new RegExp(Z+"|>"),Yr=new RegExp(Sn),Qr=new RegExp("^"+ut+"$"),Kt={ID:new RegExp("^#("+ut+")"),CLASS:new RegExp("^\\.("+ut+")"),TAG:new RegExp("^("+ut+"|[*])"),ATTR:new RegExp("^"+ki),PSEUDO:new RegExp("^"+Sn),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+Z+"*(even|odd|(([+-]|)(\\d*)n|)"+Z+"*(?:([+-]|)"+Z+"*(\\d+)|))"+Z+"*\\)|)","i"),bool:new RegExp("^(?:"+Tn+")$","i"),needsContext:new RegExp("^"+Z+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+Z+"*((?:-\\d)?\\d*)"+Z+"*\\)|)(?=[^-]|$)","i")},Gr=/HTML$/i,Jr=/^(?:input|select|textarea|button)$/i,Zr=/^h\d$/i,qt=/^[^{]+\{\s*\[native \w/,eo=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,jn=/[+~]/,$e=new RegExp("\\\\[\\da-fA-F]{1,6}"+Z+"?|\\\\([^\\r\\n\\f])","g"),Ue=function(a,l){var h="0x"+a.slice(1)-65536;return l||(h<0?String.fromCharCode(h+65536):String.fromCharCode(h>>10|55296,h&1023|56320))},Ei=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,Ni=function(a,l){return l?a==="\0"?"\uFFFD":a.slice(0,-1)+"\\"+a.charCodeAt(a.length-1).toString(16)+" ":"\\"+a},Ri=function(){b()},to=Qt(function(a){return a.disabled===!0&&a.nodeName.toLowerCase()==="fieldset"},{dir:"parentNode",next:"legend"});try{Ye.apply(be=ji.call(K.childNodes),K.childNodes),be[K.childNodes.length].nodeType}catch(a){Ye={apply:be.length?function(l,h){De.apply(l,ji.call(h))}:function(l,h){for(var T=l.length,y=0;l[T++]=h[y++];);l.length=T-1}}}function te(a,l,h,T){var y,S,k,N,O,F,M,W=l&&l.ownerDocument,Y=l?l.nodeType:9;if(h=h||[],typeof a!="string"||!a||Y!==1&&Y!==9&&Y!==11)return h;if(!T&&(b(l),l=l||x,X)){if(Y!==11&&(O=eo.exec(a)))if(y=O[1]){if(Y===9)if(k=l.getElementById(y)){if(k.id===y)return h.push(k),h}else return h;else if(W&&(k=W.getElementById(y))&&xe(l,k)&&k.id===y)return h.push(k),h}else{if(O[2])return Ye.apply(h,l.getElementsByTagName(a)),h;if((y=O[3])&&n.getElementsByClassName&&l.getElementsByClassName)return Ye.apply(h,l.getElementsByClassName(y)),h}if(n.qsa&&!Ce[a+" "]&&(!q||!q.test(a))&&(Y!==1||l.nodeName.toLowerCase()!=="object")){if(M=a,W=l,Y===1&&(Xr.test(a)||Di.test(a))){for(W=jn.test(a)&&Dn(l.parentNode)||l,(W!==l||!n.scope)&&((N=l.getAttribute("id"))?N=N.replace(Ei,Ni):l.setAttribute("id",N=ee)),F=u(a),S=F.length;S--;)F[S]=(N?"#"+N:":scope")+" "+Yt(F[S]);M=F.join(",")}try{return Ye.apply(h,W.querySelectorAll(M)),h}catch(ne){Ce(a,!0)}finally{N===ee&&l.removeAttribute("id")}}}return d(a.replace(zt,"$1"),l,h,T)}function Xt(){var a=[];function l(h,T){return a.push(h+" ")>i.cacheLength&&delete l[a.shift()],l[h+" "]=T}return l}function Ae(a){return a[ee]=!0,a}function Oe(a){var l=x.createElement("fieldset");try{return!!a(l)}catch(h){return!1}finally{l.parentNode&&l.parentNode.removeChild(l),l=null}}function kn(a,l){for(var h=a.split("|"),T=h.length;T--;)i.attrHandle[h[T]]=l}function Ai(a,l){var h=l&&a,T=h&&a.nodeType===1&&l.nodeType===1&&a.sourceIndex-l.sourceIndex;if(T)return T;if(h){for(;h=h.nextSibling;)if(h===l)return-1}return a?1:-1}function no(a){return function(l){var h=l.nodeName.toLowerCase();return h==="input"&&l.type===a}}function io(a){return function(l){var h=l.nodeName.toLowerCase();return(h==="input"||h==="button")&&l.type===a}}function Oi(a){return function(l){return"form"in l?l.parentNode&&l.disabled===!1?"label"in l?"label"in l.parentNode?l.parentNode.disabled===a:l.disabled===a:l.isDisabled===a||l.isDisabled!==!a&&to(l)===a:l.disabled===a:"label"in l?l.disabled===a:!1}}function at(a){return Ae(function(l){return l=+l,Ae(function(h,T){for(var y,S=a([],h.length,l),k=S.length;k--;)h[y=S[k]]&&(h[y]=!(T[y]=h[y]))})})}function Dn(a){return a&&typeof a.getElementsByTagName!="undefined"&&a}n=te.support={},s=te.isXML=function(a){var l=a&&a.namespaceURI,h=a&&(a.ownerDocument||a).documentElement;return!Gr.test(l||h&&h.nodeName||"HTML")},b=te.setDocument=function(a){var l,h,T=a?a.ownerDocument||a:K;return T==x||T.nodeType!==9||!T.documentElement||(x=T,P=x.documentElement,X=!s(x),K!=x&&(h=x.defaultView)&&h.top!==h&&(h.addEventListener?h.addEventListener("unload",Ri,!1):h.attachEvent&&h.attachEvent("onunload",Ri)),n.scope=Oe(function(y){return P.appendChild(y).appendChild(x.createElement("div")),typeof y.querySelectorAll!="undefined"&&!y.querySelectorAll(":scope fieldset div").length}),n.attributes=Oe(function(y){return y.className="i",!y.getAttribute("className")}),n.getElementsByTagName=Oe(function(y){return y.appendChild(x.createComment("")),!y.getElementsByTagName("*").length}),n.getElementsByClassName=qt.test(x.getElementsByClassName),n.getById=Oe(function(y){return P.appendChild(y).id=ee,!x.getElementsByName||!x.getElementsByName(ee).length}),n.getById?(i.filter.ID=function(y){var S=y.replace($e,Ue);return function(k){return k.getAttribute("id")===S}},i.find.ID=function(y,S){if(typeof S.getElementById!="undefined"&&X){var k=S.getElementById(y);return k?[k]:[]}}):(i.filter.ID=function(y){var S=y.replace($e,Ue);return function(k){var N=typeof k.getAttributeNode!="undefined"&&k.getAttributeNode("id");return N&&N.value===S}},i.find.ID=function(y,S){if(typeof S.getElementById!="undefined"&&X){var k,N,O,F=S.getElementById(y);if(F){if(k=F.getAttributeNode("id"),k&&k.value===y)return[F];for(O=S.getElementsByName(y),N=0;F=O[N++];)if(k=F.getAttributeNode("id"),k&&k.value===y)return[F]}return[]}}),i.find.TAG=n.getElementsByTagName?function(y,S){if(typeof S.getElementsByTagName!="undefined")return S.getElementsByTagName(y);if(n.qsa)return S.querySelectorAll(y)}:function(y,S){var k,N=[],O=0,F=S.getElementsByTagName(y);if(y==="*"){for(;k=F[O++];)k.nodeType===1&&N.push(k);return N}return F},i.find.CLASS=n.getElementsByClassName&&function(y,S){if(typeof S.getElementsByClassName!="undefined"&&X)return S.getElementsByClassName(y)},le=[],q=[],(n.qsa=qt.test(x.querySelectorAll))&&(Oe(function(y){var S;P.appendChild(y).innerHTML="<a id='"+ee+"'></a><select id='"+ee+"-\r\\' msallowcapture=''><option selected=''></option></select>",y.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+Z+`*(?:''|"")`),y.querySelectorAll("[selected]").length||q.push("\\["+Z+"*(?:value|"+Tn+")"),y.querySelectorAll("[id~="+ee+"-]").length||q.push("~="),S=x.createElement("input"),S.setAttribute("name",""),y.appendChild(S),y.querySelectorAll("[name='']").length||q.push("\\["+Z+"*name"+Z+"*="+Z+`*(?:''|"")`),y.querySelectorAll(":checked").length||q.push(":checked"),y.querySelectorAll("a#"+ee+"+*").length||q.push(".#.+[+~]"),y.querySelectorAll("\\\f"),q.push("[\\r\\n\\f]")}),Oe(function(y){y.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var S=x.createElement("input");S.setAttribute("type","hidden"),y.appendChild(S).setAttribute("name","D"),y.querySelectorAll("[name=d]").length&&q.push("name"+Z+"*[*^$|!~]?="),y.querySelectorAll(":enabled").length!==2&&q.push(":enabled",":disabled"),P.appendChild(y).disabled=!0,y.querySelectorAll(":disabled").length!==2&&q.push(":enabled",":disabled"),y.querySelectorAll("*,:x"),q.push(",.*:")})),(n.matchesSelector=qt.test(se=P.matches||P.webkitMatchesSelector||P.mozMatchesSelector||P.oMatchesSelector||P.msMatchesSelector))&&Oe(function(y){n.disconnectedMatch=se.call(y,"*"),se.call(y,"[s!='']:x"),le.push("!=",Sn)}),q=q.length&&new RegExp(q.join("|")),le=le.length&&new RegExp(le.join("|")),l=qt.test(P.compareDocumentPosition),xe=l||qt.test(P.contains)?function(y,S){var k=y.nodeType===9?y.documentElement:y,N=S&&S.parentNode;return y===N||!!(N&&N.nodeType===1&&(k.contains?k.contains(N):y.compareDocumentPosition&&y.compareDocumentPosition(N)&16))}:function(y,S){if(S){for(;S=S.parentNode;)if(S===y)return!0}return!1},rt=l?function(y,S){if(y===S)return j=!0,0;var k=!y.compareDocumentPosition-!S.compareDocumentPosition;return k||(k=(y.ownerDocument||y)==(S.ownerDocument||S)?y.compareDocumentPosition(S):1,k&1||!n.sortDetached&&S.compareDocumentPosition(y)===k?y==x||y.ownerDocument==K&&xe(K,y)?-1:S==x||S.ownerDocument==K&&xe(K,S)?1:v?st(v,y)-st(v,S):0:k&4?-1:1)}:function(y,S){if(y===S)return j=!0,0;var k,N=0,O=y.parentNode,F=S.parentNode,M=[y],W=[S];if(!O||!F)return y==x?-1:S==x?1:O?-1:F?1:v?st(v,y)-st(v,S):0;if(O===F)return Ai(y,S);for(k=y;k=k.parentNode;)M.unshift(k);for(k=S;k=k.parentNode;)W.unshift(k);for(;M[N]===W[N];)N++;return N?Ai(M[N],W[N]):M[N]==K?-1:W[N]==K?1:0}),x},te.matches=function(a,l){return te(a,null,null,l)},te.matchesSelector=function(a,l){if(b(a),n.matchesSelector&&X&&!Ce[l+" "]&&(!le||!le.test(l))&&(!q||!q.test(l)))try{var h=se.call(a,l);if(h||n.disconnectedMatch||a.document&&a.document.nodeType!==11)return h}catch(T){Ce(l,!0)}return te(l,x,null,[a]).length>0},te.contains=function(a,l){return(a.ownerDocument||a)!=x&&b(a),xe(a,l)},te.attr=function(a,l){(a.ownerDocument||a)!=x&&b(a);var h=i.attrHandle[l.toLowerCase()],T=h&&ot.call(i.attrHandle,l.toLowerCase())?h(a,l,!X):void 0;return T!==void 0?T:n.attributes||!X?a.getAttribute(l):(T=a.getAttributeNode(l))&&T.specified?T.value:null},te.escape=function(a){return(a+"").replace(Ei,Ni)},te.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},te.uniqueSort=function(a){var l,h=[],T=0,y=0;if(j=!n.detectDuplicates,v=!n.sortStable&&a.slice(0),a.sort(rt),j){for(;l=a[y++];)l===a[y]&&(T=h.push(y));for(;T--;)a.splice(h[T],1)}return v=null,a},o=te.getText=function(a){var l,h="",T=0,y=a.nodeType;if(y){if(y===1||y===9||y===11){if(typeof a.textContent=="string")return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)h+=o(a)}else if(y===3||y===4)return a.nodeValue}else for(;l=a[T++];)h+=o(l);return h},i=te.selectors={cacheLength:50,createPseudo:Ae,match:Kt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace($e,Ue),a[3]=(a[3]||a[4]||a[5]||"").replace($e,Ue),a[2]==="~="&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),a[1].slice(0,3)==="nth"?(a[3]||te.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*(a[3]==="even"||a[3]==="odd")),a[5]=+(a[7]+a[8]||a[3]==="odd")):a[3]&&te.error(a[0]),a},PSEUDO:function(a){var l,h=!a[6]&&a[2];return Kt.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":h&&Yr.test(h)&&(l=u(h,!0))&&(l=h.indexOf(")",h.length-l)-h.length)&&(a[0]=a[0].slice(0,l),a[2]=h.slice(0,l)),a.slice(0,3))}},filter:{TAG:function(a){var l=a.replace($e,Ue).toLowerCase();return a==="*"?function(){return!0}:function(h){return h.nodeName&&h.nodeName.toLowerCase()===l}},CLASS:function(a){var l=oe[a+" "];return l||(l=new RegExp("(^|"+Z+")"+a+"("+Z+"|$)"))&&oe(a,function(h){return l.test(typeof h.className=="string"&&h.className||typeof h.getAttribute!="undefined"&&h.getAttribute("class")||"")})},ATTR:function(a,l,h){return function(T){var y=te.attr(T,a);return y==null?l==="!=":l?(y+="",l==="="?y===h:l==="!="?y!==h:l==="^="?h&&y.indexOf(h)===0:l==="*="?h&&y.indexOf(h)>-1:l==="$="?h&&y.slice(-h.length)===h:l==="~="?(" "+y.replace(zr," ")+" ").indexOf(h)>-1:l==="|="?y===h||y.slice(0,h.length+1)===h+"-":!1):!0}},CHILD:function(a,l,h,T,y){var S=a.slice(0,3)!=="nth",k=a.slice(-4)!=="last",N=l==="of-type";return T===1&&y===0?function(O){return!!O.parentNode}:function(O,F,M){var W,Y,ne,B,fe,pe,Te=S!==k?"nextSibling":"previousSibling",re=O.parentNode,Lt=N&&O.nodeName.toLowerCase(),_t=!M&&!N,Se=!1;if(re){if(S){for(;Te;){for(B=O;B=B[Te];)if(N?B.nodeName.toLowerCase()===Lt:B.nodeType===1)return!1;pe=Te=a==="only"&&!pe&&"nextSibling"}return!0}if(pe=[k?re.firstChild:re.lastChild],k&&_t){for(B=re,ne=B[ee]||(B[ee]={}),Y=ne[B.uniqueID]||(ne[B.uniqueID]={}),W=Y[a]||[],fe=W[0]===me&&W[1],Se=fe&&W[2],B=fe&&re.childNodes[fe];B=++fe&&B&&B[Te]||(Se=fe=0)||pe.pop();)if(B.nodeType===1&&++Se&&B===O){Y[a]=[me,fe,Se];break}}else if(_t&&(B=O,ne=B[ee]||(B[ee]={}),Y=ne[B.uniqueID]||(ne[B.uniqueID]={}),W=Y[a]||[],fe=W[0]===me&&W[1],Se=fe),Se===!1)for(;(B=++fe&&B&&B[Te]||(Se=fe=0)||pe.pop())&&!((N?B.nodeName.toLowerCase()===Lt:B.nodeType===1)&&++Se&&(_t&&(ne=B[ee]||(B[ee]={}),Y=ne[B.uniqueID]||(ne[B.uniqueID]={}),Y[a]=[me,Se]),B===O)););return Se-=y,Se===T||Se%T==0&&Se/T>=0}}},PSEUDO:function(a,l){var h,T=i.pseudos[a]||i.setFilters[a.toLowerCase()]||te.error("unsupported pseudo: "+a);return T[ee]?T(l):T.length>1?(h=[a,a,"",l],i.setFilters.hasOwnProperty(a.toLowerCase())?Ae(function(y,S){for(var k,N=T(y,l),O=N.length;O--;)k=st(y,N[O]),y[k]=!(S[k]=N[O])}):function(y){return T(y,0,h)}):T}},pseudos:{not:Ae(function(a){var l=[],h=[],T=f(a.replace(zt,"$1"));return T[ee]?Ae(function(y,S,k,N){for(var O,F=T(y,null,N,[]),M=y.length;M--;)(O=F[M])&&(y[M]=!(S[M]=O))}):function(y,S,k){return l[0]=y,T(l,null,k,h),l[0]=null,!h.pop()}}),has:Ae(function(a){return function(l){return te(a,l).length>0}}),contains:Ae(function(a){return a=a.replace($e,Ue),function(l){return(l.textContent||o(l)).indexOf(a)>-1}}),lang:Ae(function(a){return Qr.test(a||"")||te.error("unsupported lang: "+a),a=a.replace($e,Ue).toLowerCase(),function(l){var h;do if(h=X?l.lang:l.getAttribute("xml:lang")||l.getAttribute("lang"))return h=h.toLowerCase(),h===a||h.indexOf(a+"-")===0;while((l=l.parentNode)&&l.nodeType===1);return!1}}),target:function(a){var l=e.location&&e.location.hash;return l&&l.slice(1)===a.id},root:function(a){return a===P},focus:function(a){return a===x.activeElement&&(!x.hasFocus||x.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:Oi(!1),disabled:Oi(!0),checked:function(a){var l=a.nodeName.toLowerCase();return l==="input"&&!!a.checked||l==="option"&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!i.pseudos.empty(a)},header:function(a){return Zr.test(a.nodeName)},input:function(a){return Jr.test(a.nodeName)},button:function(a){var l=a.nodeName.toLowerCase();return l==="input"&&a.type==="button"||l==="button"},text:function(a){var l;return a.nodeName.toLowerCase()==="input"&&a.type==="text"&&((l=a.getAttribute("type"))==null||l.toLowerCase()==="text")},first:at(function(){return[0]}),last:at(function(a,l){return[l-1]}),eq:at(function(a,l,h){return[h<0?h+l:h]}),even:at(function(a,l){for(var h=0;h<l;h+=2)a.push(h);return a}),odd:at(function(a,l){for(var h=1;h<l;h+=2)a.push(h);return a}),lt:at(function(a,l,h){for(var T=h<0?h+l:h>l?l:h;--T>=0;)a.push(T);return a}),gt:at(function(a,l,h){for(var T=h<0?h+l:h;++T<l;)a.push(T);return a})}},i.pseudos.nth=i.pseudos.eq;for(t in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.pseudos[t]=no(t);for(t in{submit:!0,reset:!0})i.pseudos[t]=io(t);function Ii(){}Ii.prototype=i.filters=i.pseudos,i.setFilters=new Ii,u=te.tokenize=function(a,l){var h,T,y,S,k,N,O,F=Pt[a+" "];if(F)return l?0:F.slice(0);for(k=a,N=[],O=i.preFilter;k;){(!h||(T=Kr.exec(k)))&&(T&&(k=k.slice(T[0].length)||k),N.push(y=[])),h=!1,(T=Di.exec(k))&&(h=T.shift(),y.push({value:h,type:T[0].replace(zt," ")}),k=k.slice(h.length));for(S in i.filter)(T=Kt[S].exec(k))&&(!O[S]||(T=O[S](T)))&&(h=T.shift(),y.push({value:h,type:S,matches:T}),k=k.slice(h.length));if(!h)break}return l?k.length:k?te.error(a):Pt(a,N).slice(0)};function Yt(a){for(var l=0,h=a.length,T="";l<h;l++)T+=a[l].value;return T}function Qt(a,l,h){var T=l.dir,y=l.next,S=y||T,k=h&&S==="parentNode",N=G++;return l.first?function(O,F,M){for(;O=O[T];)if(O.nodeType===1||k)return a(O,F,M);return!1}:function(O,F,M){var W,Y,ne,B=[me,N];if(M){for(;O=O[T];)if((O.nodeType===1||k)&&a(O,F,M))return!0}else for(;O=O[T];)if(O.nodeType===1||k)if(ne=O[ee]||(O[ee]={}),Y=ne[O.uniqueID]||(ne[O.uniqueID]={}),y&&y===O.nodeName.toLowerCase())O=O[T]||O;else{if((W=Y[S])&&W[0]===me&&W[1]===N)return B[2]=W[2];if(Y[S]=B,B[2]=a(O,F,M))return!0}return!1}}function En(a){return a.length>1?function(l,h,T){for(var y=a.length;y--;)if(!a[y](l,h,T))return!1;return!0}:a[0]}function ro(a,l,h){for(var T=0,y=l.length;T<y;T++)te(a,l[T],h);return h}function Gt(a,l,h,T,y){for(var S,k=[],N=0,O=a.length,F=l!=null;N<O;N++)(S=a[N])&&(!h||h(S,T,y))&&(k.push(S),F&&l.push(N));return k}function Nn(a,l,h,T,y,S){return T&&!T[ee]&&(T=Nn(T)),y&&!y[ee]&&(y=Nn(y,S)),Ae(function(k,N,O,F){var M,W,Y,ne=[],B=[],fe=N.length,pe=k||ro(l||"*",O.nodeType?[O]:O,[]),Te=a&&(k||!l)?Gt(pe,ne,a,O,F):pe,re=h?y||(k?a:fe||T)?[]:N:Te;if(h&&h(Te,re,O,F),T)for(M=Gt(re,B),T(M,[],O,F),W=M.length;W--;)(Y=M[W])&&(re[B[W]]=!(Te[B[W]]=Y));if(k){if(y||a){if(y){for(M=[],W=re.length;W--;)(Y=re[W])&&M.push(Te[W]=Y);y(null,re=[],M,F)}for(W=re.length;W--;)(Y=re[W])&&(M=y?st(k,Y):ne[W])>-1&&(k[M]=!(N[M]=Y))}}else re=Gt(re===N?re.splice(fe,re.length):re),y?y(null,N,re,F):Ye.apply(N,re)})}function Rn(a){for(var l,h,T,y=a.length,S=i.relative[a[0].type],k=S||i.relative[" "],N=S?1:0,O=Qt(function(W){return W===l},k,!0),F=Qt(function(W){return st(l,W)>-1},k,!0),M=[function(W,Y,ne){var B=!S&&(ne||Y!==g)||((l=Y).nodeType?O(W,Y,ne):F(W,Y,ne));return l=null,B}];N<y;N++)if(h=i.relative[a[N].type])M=[Qt(En(M),h)];else{if(h=i.filter[a[N].type].apply(null,a[N].matches),h[ee]){for(T=++N;T<y&&!i.relative[a[T].type];T++);return Nn(N>1&&En(M),N>1&&Yt(a.slice(0,N-1).concat({value:a[N-2].type===" "?"*":""})).replace(zt,"$1"),h,N<T&&Rn(a.slice(N,T)),T<y&&Rn(a=a.slice(T)),T<y&&Yt(a))}M.push(h)}return En(M)}function oo(a,l){var h=l.length>0,T=a.length>0,y=function(S,k,N,O,F){var M,W,Y,ne=0,B="0",fe=S&&[],pe=[],Te=g,re=S||T&&i.find.TAG("*",F),Lt=me+=Te==null?1:Math.random()||.1,_t=re.length;for(F&&(g=k==x||k||F);B!==_t&&(M=re[B])!=null;B++){if(T&&M){for(W=0,!k&&M.ownerDocument!=x&&(b(M),N=!X);Y=a[W++];)if(Y(M,k||x,N)){O.push(M);break}F&&(me=Lt)}h&&((M=!Y&&M)&&ne--,S&&fe.push(M))}if(ne+=B,h&&B!==ne){for(W=0;Y=l[W++];)Y(fe,pe,k,N);if(S){if(ne>0)for(;B--;)fe[B]||pe[B]||(pe[B]=Xe.call(O));pe=Gt(pe)}Ye.apply(O,pe),F&&!S&&pe.length>0&&ne+l.length>1&&te.uniqueSort(O)}return F&&(me=Lt,g=Te),fe};return h?Ae(y):y}return f=te.compile=function(a,l){var h,T=[],y=[],S=Ut[a+" "];if(!S){for(l||(l=u(a)),h=l.length;h--;)S=Rn(l[h]),S[ee]?T.push(S):y.push(S);S=Ut(a,oo(y,T)),S.selector=a}return S},d=te.select=function(a,l,h,T){var y,S,k,N,O,F=typeof a=="function"&&a,M=!T&&u(a=F.selector||a);if(h=h||[],M.length===1){if(S=M[0]=M[0].slice(0),S.length>2&&(k=S[0]).type==="ID"&&l.nodeType===9&&X&&i.relative[S[1].type]){if(l=(i.find.ID(k.matches[0].replace($e,Ue),l)||[])[0],l)F&&(l=l.parentNode);else return h;a=a.slice(S.shift().value.length)}for(y=Kt.needsContext.test(a)?0:S.length;y--&&(k=S[y],!i.relative[N=k.type]);)if((O=i.find[N])&&(T=O(k.matches[0].replace($e,Ue),jn.test(S[0].type)&&Dn(l.parentNode)||l))){if(S.splice(y,1),a=T.length&&Yt(S),!a)return Ye.apply(h,T),h;break}}return(F||f(a,M))(T,l,!X,h,!l||jn.test(a)&&Dn(l.parentNode)||l),h},n.sortStable=ee.split("").sort(rt).join("")===ee,n.detectDuplicates=!!j,b(),n.sortDetached=Oe(function(a){return a.compareDocumentPosition(x.createElement("fieldset"))&1}),Oe(function(a){return a.innerHTML="<a href='#'></a>",a.firstChild.getAttribute("href")==="#"})||kn("type|href|height|width",function(a,l,h){if(!h)return a.getAttribute(l,l.toLowerCase()==="type"?1:2)}),(!n.attributes||!Oe(function(a){return a.innerHTML="<input/>",a.firstChild.setAttribute("value",""),a.firstChild.getAttribute("value")===""}))&&kn("value",function(a,l,h){if(!h&&a.nodeName.toLowerCase()==="input")return a.defaultValue}),Oe(function(a){return a.getAttribute("disabled")==null})||kn(Tn,function(a,l,h){var T;if(!h)return a[l]===!0?l.toLowerCase():(T=a.getAttributeNode(l))&&T.specified?T.value:null}),te}(w);r.find=Le,r.expr=Le.selectors,r.expr[":"]=r.expr.pseudos,r.uniqueSort=r.unique=Le.uniqueSort,r.text=Le.getText,r.isXMLDoc=Le.isXML,r.contains=Le.contains,r.escapeSelector=Le.escape;var ce=function(e,t,n){for(var i=[],o=n!==void 0;(e=e[t])&&e.nodeType!==9;)if(e.nodeType===1){if(o&&r(e).is(n))break;i.push(e)}return i},ft=function(e,t){for(var n=[];e;e=e.nextSibling)e.nodeType===1&&e!==t&&n.push(e);return n},jt=r.expr.match.needsContext;function de(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var Be=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function ct(e,t,n){return _(t)?r.grep(e,function(i,o){return!!t.call(i,o,i)!==n}):t.nodeType?r.grep(e,function(i){return i===t!==n}):typeof t!="string"?r.grep(e,function(i){return R.call(t,i)>-1!==n}):r.filter(t,e,n)}r.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),t.length===1&&i.nodeType===1?r.find.matchesSelector(i,e)?[i]:[]:r.find.matches(e,r.grep(t,function(o){return o.nodeType===1}))},r.fn.extend({find:function(e){var t,n,i=this.length,o=this;if(typeof e!="string")return this.pushStack(r(e).filter(function(){for(t=0;t<i;t++)if(r.contains(o[t],this))return!0}));for(n=this.pushStack([]),t=0;t<i;t++)r.find(e,o[t],n);return i>1?r.uniqueSort(n):n},filter:function(e){return this.pushStack(ct(this,e||[],!1))},not:function(e){return this.pushStack(ct(this,e||[],!0))},is:function(e){return!!ct(this,typeof e=="string"&&jt.test(e)?r(e):e||[],!1).length}});var Ge,Je=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Ze=r.fn.init=function(e,t,n){var i,o;if(!e)return this;if(n=n||Ge,typeof e=="string")if(e[0]==="<"&&e[e.length-1]===">"&&e.length>=3?i=[null,e,null]:i=Je.exec(e),i&&(i[1]||!t))if(i[1]){if(t=t instanceof r?t[0]:t,r.merge(this,r.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:I,!0)),Be.test(i[1])&&r.isPlainObject(t))for(i in t)_(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}else return o=I.getElementById(i[2]),o&&(this[0]=o,this.length=1),this;else return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);else{if(e.nodeType)return this[0]=e,this.length=1,this;if(_(e))return n.ready!==void 0?n.ready(e):e(r)}return r.makeArray(e,this)};Ze.prototype=r.fn,Ge=r(I);var et=/^(?:parents|prev(?:Until|All))/,an={children:!0,contents:!0,next:!0,prev:!0};r.fn.extend({has:function(e){var t=r(e,this),n=t.length;return this.filter(function(){for(var i=0;i<n;i++)if(r.contains(this,t[i]))return!0})},closest:function(e,t){var n,i=0,o=this.length,s=[],u=typeof e!="string"&&r(e);if(!jt.test(e)){for(;i<o;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(u?u.index(n)>-1:n.nodeType===1&&r.find.matchesSelector(n,e))){s.push(n);break}}return this.pushStack(s.length>1?r.uniqueSort(s):s)},index:function(e){return e?typeof e=="string"?R.call(r(e),this[0]):R.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(r.uniqueSort(r.merge(this.get(),r(e,t))))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}});function Un(e,t){for(;(e=e[t])&&e.nodeType!==1;);return e}r.each({parent:function(e){var t=e.parentNode;return t&&t.nodeType!==11?t:null},parents:function(e){return ce(e,"parentNode")},parentsUntil:function(e,t,n){return ce(e,"parentNode",n)},next:function(e){return Un(e,"nextSibling")},prev:function(e){return Un(e,"previousSibling")},nextAll:function(e){return ce(e,"nextSibling")},prevAll:function(e){return ce(e,"previousSibling")},nextUntil:function(e,t,n){return ce(e,"nextSibling",n)},prevUntil:function(e,t,n){return ce(e,"previousSibling",n)},siblings:function(e){return ft((e.parentNode||{}).firstChild,e)},children:function(e){return ft(e.firstChild)},contents:function(e){return e.contentDocument!=null&&m(e.contentDocument)?e.contentDocument:(de(e,"template")&&(e=e.content||e),r.merge([],e.childNodes))}},function(e,t){r.fn[e]=function(n,i){var o=r.map(this,t,n);return e.slice(-5)!=="Until"&&(i=n),i&&typeof i=="string"&&(o=r.filter(i,o)),this.length>1&&(an[e]||r.uniqueSort(o),et.test(e)&&o.reverse()),this.pushStack(o)}});var _e=/[^\x20\t\r\n\f]+/g;function er(e){var t={};return r.each(e.match(_e)||[],function(n,i){t[i]=!0}),t}r.Callbacks=function(e){e=typeof e=="string"?er(e):r.extend({},e);var t,n,i,o,s=[],u=[],f=-1,d=function(){for(o=o||e.once,i=t=!0;u.length;f=-1)for(n=u.shift();++f<s.length;)s[f].apply(n[0],n[1])===!1&&e.stopOnFalse&&(f=s.length,n=!1);e.memory||(n=!1),t=!1,o&&(n?s=[]:s="")},g={add:function(){return s&&(n&&!t&&(f=s.length-1,u.push(n)),function v(j){r.each(j,function(b,x){_(x)?(!e.unique||!g.has(x))&&s.push(x):x&&x.length&&z(x)!=="string"&&v(x)})}(arguments),n&&!t&&d()),this},remove:function(){return r.each(arguments,function(v,j){for(var b;(b=r.inArray(j,s,b))>-1;)s.splice(b,1),b<=f&&f--}),this},has:function(v){return v?r.inArray(v,s)>-1:s.length>0},empty:function(){return s&&(s=[]),this},disable:function(){return o=u=[],s=n="",this},disabled:function(){return!s},lock:function(){return o=u=[],!n&&!t&&(s=n=""),this},locked:function(){return!!o},fireWith:function(v,j){return o||(j=j||[],j=[v,j.slice?j.slice():j],u.push(j),t||d()),this},fire:function(){return g.fireWith(this,arguments),this},fired:function(){return!!i}};return g};function dt(e){return e}function Ht(e){throw e}function zn(e,t,n,i){var o;try{e&&_(o=e.promise)?o.call(e).done(t).fail(n):e&&_(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(i))}catch(s){n.apply(void 0,[s])}}r.extend({Deferred:function(e){var t=[["notify","progress",r.Callbacks("memory"),r.Callbacks("memory"),2],["resolve","done",r.Callbacks("once memory"),r.Callbacks("once memory"),0,"resolved"],["reject","fail",r.Callbacks("once memory"),r.Callbacks("once memory"),1,"rejected"]],n="pending",i={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},catch:function(s){return i.then(null,s)},pipe:function(){var s=arguments;return r.Deferred(function(u){r.each(t,function(f,d){var g=_(s[d[4]])&&s[d[4]];o[d[1]](function(){var v=g&&g.apply(this,arguments);v&&_(v.promise)?v.promise().progress(u.notify).done(u.resolve).fail(u.reject):u[d[0]+"With"](this,g?[v]:arguments)})}),s=null}).promise()},then:function(s,u,f){var d=0;function g(v,j,b,x){return function(){var P=this,X=arguments,q=function(){var se,xe;if(!(v<d)){if(se=b.apply(P,X),se===j.promise())throw new TypeError("Thenable self-resolution");xe=se&&(typeof se=="object"||typeof se=="function")&&se.then,_(xe)?x?xe.call(se,g(d,j,dt,x),g(d,j,Ht,x)):(d++,xe.call(se,g(d,j,dt,x),g(d,j,Ht,x),g(d,j,dt,j.notifyWith))):(b!==dt&&(P=void 0,X=[se]),(x||j.resolveWith)(P,X))}},le=x?q:function(){try{q()}catch(se){r.Deferred.exceptionHook&&r.Deferred.exceptionHook(se,le.stackTrace),v+1>=d&&(b!==Ht&&(P=void 0,X=[se]),j.rejectWith(P,X))}};v?le():(r.Deferred.getStackHook&&(le.stackTrace=r.Deferred.getStackHook()),w.setTimeout(le))}}return r.Deferred(function(v){t[0][3].add(g(0,v,_(f)?f:dt,v.notifyWith)),t[1][3].add(g(0,v,_(s)?s:dt)),t[2][3].add(g(0,v,_(u)?u:Ht))}).promise()},promise:function(s){return s!=null?r.extend(s,i):i}},o={};return r.each(t,function(s,u){var f=u[2],d=u[5];i[u[1]]=f.add,d&&f.add(function(){n=d},t[3-s][2].disable,t[3-s][3].disable,t[0][2].lock,t[0][3].lock),f.add(u[3].fire),o[u[0]]=function(){return o[u[0]+"With"](this===o?void 0:this,arguments),this},o[u[0]+"With"]=f.fireWith}),i.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,i=Array(n),o=C.call(arguments),s=r.Deferred(),u=function(f){return function(d){i[f]=this,o[f]=arguments.length>1?C.call(arguments):d,--t||s.resolveWith(i,o)}};if(t<=1&&(zn(e,s.done(u(n)).resolve,s.reject,!t),s.state()==="pending"||_(o[n]&&o[n].then)))return s.then();for(;n--;)zn(o[n],u(n),s.reject);return s.promise()}});var tr=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;r.Deferred.exceptionHook=function(e,t){w.console&&w.console.warn&&e&&tr.test(e.name)&&w.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},r.readyException=function(e){w.setTimeout(function(){throw e})};var ln=r.Deferred();r.fn.ready=function(e){return ln.then(e).catch(function(t){r.readyException(t)}),this},r.extend({isReady:!1,readyWait:1,ready:function(e){(e===!0?--r.readyWait:r.isReady)||(r.isReady=!0,!(e!==!0&&--r.readyWait>0)&&ln.resolveWith(I,[r]))}}),r.ready.then=ln.then;function Mt(){I.removeEventListener("DOMContentLoaded",Mt),w.removeEventListener("load",Mt),r.ready()}I.readyState==="complete"||I.readyState!=="loading"&&!I.documentElement.doScroll?w.setTimeout(r.ready):(I.addEventListener("DOMContentLoaded",Mt),w.addEventListener("load",Mt));var Ve=function(e,t,n,i,o,s,u){var f=0,d=e.length,g=n==null;if(z(n)==="object"){o=!0;for(f in n)Ve(e,t,f,n[f],!0,s,u)}else if(i!==void 0&&(o=!0,_(i)||(u=!0),g&&(u?(t.call(e,i),t=null):(g=t,t=function(v,j,b){return g.call(r(v),b)})),t))for(;f<d;f++)t(e[f],n,u?i:i.call(e[f],f,t(e[f],n)));return o?e:g?t.call(e):d?t(e[0],n):s},nr=/^-ms-/,ir=/-([a-z])/g;function rr(e,t){return t.toUpperCase()}function He(e){return e.replace(nr,"ms-").replace(ir,rr)}var kt=function(e){return e.nodeType===1||e.nodeType===9||!+e.nodeType};function Dt(){this.expando=r.expando+Dt.uid++}Dt.uid=1,Dt.prototype={cache:function(e){var t=e[this.expando];return t||(t={},kt(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var i,o=this.cache(e);if(typeof t=="string")o[He(t)]=n;else for(i in t)o[He(i)]=t[i];return o},get:function(e,t){return t===void 0?this.cache(e):e[this.expando]&&e[this.expando][He(t)]},access:function(e,t,n){return t===void 0||t&&typeof t=="string"&&n===void 0?this.get(e,t):(this.set(e,t,n),n!==void 0?n:t)},remove:function(e,t){var n,i=e[this.expando];if(i!==void 0){if(t!==void 0)for(Array.isArray(t)?t=t.map(He):(t=He(t),t=t in i?[t]:t.match(_e)||[]),n=t.length;n--;)delete i[t[n]];(t===void 0||r.isEmptyObject(i))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return t!==void 0&&!r.isEmptyObject(t)}};var V=new Dt,he=new Dt,or=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,sr=/[A-Z]/g;function ur(e){return e==="true"?!0:e==="false"?!1:e==="null"?null:e===+e+""?+e:or.test(e)?JSON.parse(e):e}function Kn(e,t,n){var i;if(n===void 0&&e.nodeType===1)if(i="data-"+t.replace(sr,"-$&").toLowerCase(),n=e.getAttribute(i),typeof n=="string"){try{n=ur(n)}catch(o){}he.set(e,t,n)}else n=void 0;return n}r.extend({hasData:function(e){return he.hasData(e)||V.hasData(e)},data:function(e,t,n){return he.access(e,t,n)},removeData:function(e,t){he.remove(e,t)},_data:function(e,t,n){return V.access(e,t,n)},_removeData:function(e,t){V.remove(e,t)}}),r.fn.extend({data:function(e,t){var n,i,o,s=this[0],u=s&&s.attributes;if(e===void 0){if(this.length&&(o=he.get(s),s.nodeType===1&&!V.get(s,"hasDataAttrs"))){for(n=u.length;n--;)u[n]&&(i=u[n].name,i.indexOf("data-")===0&&(i=He(i.slice(5)),Kn(s,i,o[i])));V.set(s,"hasDataAttrs",!0)}return o}return typeof e=="object"?this.each(function(){he.set(this,e)}):Ve(this,function(f){var d;if(s&&f===void 0)return d=he.get(s,e),d!==void 0||(d=Kn(s,e),d!==void 0)?d:void 0;this.each(function(){he.set(this,e,f)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){he.remove(this,e)})}}),r.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=V.get(e,t),n&&(!i||Array.isArray(n)?i=V.access(e,t,r.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=r.queue(e,t),i=n.length,o=n.shift(),s=r._queueHooks(e,t),u=function(){r.dequeue(e,t)};o==="inprogress"&&(o=n.shift(),i--),o&&(t==="fx"&&n.unshift("inprogress"),delete s.stop,o.call(e,u,s)),!i&&s&&s.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return V.get(e,n)||V.access(e,n,{empty:r.Callbacks("once memory").add(function(){V.remove(e,[t+"queue",n])})})}}),r.fn.extend({queue:function(e,t){var n=2;return typeof e!="string"&&(t=e,e="fx",n--),arguments.length<n?r.queue(this[0],e):t===void 0?this:this.each(function(){var i=r.queue(this,e,t);r._queueHooks(this,e),e==="fx"&&i[0]!=="inprogress"&&r.dequeue(this,e)})},dequeue:function(e){return this.each(function(){r.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,o=r.Deferred(),s=this,u=this.length,f=function(){--i||o.resolveWith(s,[s])};for(typeof e!="string"&&(t=e,e=void 0),e=e||"fx";u--;)n=V.get(s[u],e+"queueHooks"),n&&n.empty&&(i++,n.empty.add(f));return f(),o.promise(t)}});var Xn=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Et=new RegExp("^(?:([+-])=|)("+Xn+")([a-z%]*)$","i"),We=["Top","Right","Bottom","Left"],tt=I.documentElement,pt=function(e){return r.contains(e.ownerDocument,e)},ar={composed:!0};tt.getRootNode&&(pt=function(e){return r.contains(e.ownerDocument,e)||e.getRootNode(ar)===e.ownerDocument});var Ft=function(e,t){return e=t||e,e.style.display==="none"||e.style.display===""&&pt(e)&&r.css(e,"display")==="none"};function Yn(e,t,n,i){var o,s,u=20,f=i?function(){return i.cur()}:function(){return r.css(e,t,"")},d=f(),g=n&&n[3]||(r.cssNumber[t]?"":"px"),v=e.nodeType&&(r.cssNumber[t]||g!=="px"&&+d)&&Et.exec(r.css(e,t));if(v&&v[3]!==g){for(d=d/2,g=g||v[3],v=+d||1;u--;)r.style(e,t,v+g),(1-s)*(1-(s=f()/d||.5))<=0&&(u=0),v=v/s;v=v*2,r.style(e,t,v+g),n=n||[]}return n&&(v=+v||+d||0,o=n[1]?v+(n[1]+1)*n[2]:+n[2],i&&(i.unit=g,i.start=v,i.end=o)),o}var Qn={};function lr(e){var t,n=e.ownerDocument,i=e.nodeName,o=Qn[i];return o||(t=n.body.appendChild(n.createElement(i)),o=r.css(t,"display"),t.parentNode.removeChild(t),o==="none"&&(o="block"),Qn[i]=o,o)}function ht(e,t){for(var n,i,o=[],s=0,u=e.length;s<u;s++)i=e[s],!!i.style&&(n=i.style.display,t?(n==="none"&&(o[s]=V.get(i,"display")||null,o[s]||(i.style.display="")),i.style.display===""&&Ft(i)&&(o[s]=lr(i))):n!=="none"&&(o[s]="none",V.set(i,"display",n)));for(s=0;s<u;s++)o[s]!=null&&(e[s].style.display=o[s]);return e}r.fn.extend({show:function(){return ht(this,!0)},hide:function(){return ht(this)},toggle:function(e){return typeof e=="boolean"?e?this.show():this.hide():this.each(function(){Ft(this)?r(this).show():r(this).hide()})}});var Nt=/^(?:checkbox|radio)$/i,Gn=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Jn=/^$|^module$|\/(?:java|ecma)script/i;(function(){var e=I.createDocumentFragment(),t=e.appendChild(I.createElement("div")),n=I.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),L.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",L.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue,t.innerHTML="<option></option>",L.option=!!t.lastChild})();var ke={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,"",""]};ke.tbody=ke.tfoot=ke.colgroup=ke.caption=ke.thead,ke.th=ke.td,L.option||(ke.optgroup=ke.option=[1,"<select multiple='multiple'>","</select>"]);function ge(e,t){var n;return typeof e.getElementsByTagName!="undefined"?n=e.getElementsByTagName(t||"*"):typeof e.querySelectorAll!="undefined"?n=e.querySelectorAll(t||"*"):n=[],t===void 0||t&&de(e,t)?r.merge([e],n):n}function fn(e,t){for(var n=0,i=e.length;n<i;n++)V.set(e[n],"globalEval",!t||V.get(t[n],"globalEval"))}var fr=/<|&#?\w+;/;function Zn(e,t,n,i,o){for(var s,u,f,d,g,v,j=t.createDocumentFragment(),b=[],x=0,P=e.length;x<P;x++)if(s=e[x],s||s===0)if(z(s)==="object")r.merge(b,s.nodeType?[s]:s);else if(!fr.test(s))b.push(t.createTextNode(s));else{for(u=u||j.appendChild(t.createElement("div")),f=(Gn.exec(s)||["",""])[1].toLowerCase(),d=ke[f]||ke._default,u.innerHTML=d[1]+r.htmlPrefilter(s)+d[2],v=d[0];v--;)u=u.lastChild;r.merge(b,u.childNodes),u=j.firstChild,u.textContent=""}for(j.textContent="",x=0;s=b[x++];){if(i&&r.inArray(s,i)>-1){o&&o.push(s);continue}if(g=pt(s),u=ge(j.appendChild(s),"script"),g&&fn(u),n)for(v=0;s=u[v++];)Jn.test(s.type||"")&&n.push(s)}return j}var ei=/^([^.]*)(?:\.(.+)|)/;function gt(){return!0}function yt(){return!1}function cr(e,t){return e===dr()==(t==="focus")}function dr(){try{return I.activeElement}catch(e){}}function cn(e,t,n,i,o,s){var u,f;if(typeof t=="object"){typeof n!="string"&&(i=i||n,n=void 0);for(f in t)cn(e,f,n,i,t[f],s);return e}if(i==null&&o==null?(o=n,i=n=void 0):o==null&&(typeof n=="string"?(o=i,i=void 0):(o=i,i=n,n=void 0)),o===!1)o=yt;else if(!o)return e;return s===1&&(u=o,o=function(d){return r().off(d),u.apply(this,arguments)},o.guid=u.guid||(u.guid=r.guid++)),e.each(function(){r.event.add(this,t,o,i,n)})}r.event={global:{},add:function(e,t,n,i,o){var s,u,f,d,g,v,j,b,x,P,X,q=V.get(e);if(!!kt(e))for(n.handler&&(s=n,n=s.handler,o=s.selector),o&&r.find.matchesSelector(tt,o),n.guid||(n.guid=r.guid++),(d=q.events)||(d=q.events=Object.create(null)),(u=q.handle)||(u=q.handle=function(le){return typeof r!="undefined"&&r.event.triggered!==le.type?r.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(_e)||[""],g=t.length;g--;)f=ei.exec(t[g])||[],x=X=f[1],P=(f[2]||"").split(".").sort(),!!x&&(j=r.event.special[x]||{},x=(o?j.delegateType:j.bindType)||x,j=r.event.special[x]||{},v=r.extend({type:x,origType:X,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&r.expr.match.needsContext.test(o),namespace:P.join(".")},s),(b=d[x])||(b=d[x]=[],b.delegateCount=0,(!j.setup||j.setup.call(e,i,P,u)===!1)&&e.addEventListener&&e.addEventListener(x,u)),j.add&&(j.add.call(e,v),v.handler.guid||(v.handler.guid=n.guid)),o?b.splice(b.delegateCount++,0,v):b.push(v),r.event.global[x]=!0)},remove:function(e,t,n,i,o){var s,u,f,d,g,v,j,b,x,P,X,q=V.hasData(e)&&V.get(e);if(!(!q||!(d=q.events))){for(t=(t||"").match(_e)||[""],g=t.length;g--;){if(f=ei.exec(t[g])||[],x=X=f[1],P=(f[2]||"").split(".").sort(),!x){for(x in d)r.event.remove(e,x+t[g],n,i,!0);continue}for(j=r.event.special[x]||{},x=(i?j.delegateType:j.bindType)||x,b=d[x]||[],f=f[2]&&new RegExp("(^|\\.)"+P.join("\\.(?:.*\\.|)")+"(\\.|$)"),u=s=b.length;s--;)v=b[s],(o||X===v.origType)&&(!n||n.guid===v.guid)&&(!f||f.test(v.namespace))&&(!i||i===v.selector||i==="**"&&v.selector)&&(b.splice(s,1),v.selector&&b.delegateCount--,j.remove&&j.remove.call(e,v));u&&!b.length&&((!j.teardown||j.teardown.call(e,P,q.handle)===!1)&&r.removeEvent(e,x,q.handle),delete d[x])}r.isEmptyObject(d)&&V.remove(e,"handle events")}},dispatch:function(e){var t,n,i,o,s,u,f=new Array(arguments.length),d=r.event.fix(e),g=(V.get(this,"events")||Object.create(null))[d.type]||[],v=r.event.special[d.type]||{};for(f[0]=d,t=1;t<arguments.length;t++)f[t]=arguments[t];if(d.delegateTarget=this,!(v.preDispatch&&v.preDispatch.call(this,d)===!1)){for(u=r.event.handlers.call(this,d,g),t=0;(o=u[t++])&&!d.isPropagationStopped();)for(d.currentTarget=o.elem,n=0;(s=o.handlers[n++])&&!d.isImmediatePropagationStopped();)(!d.rnamespace||s.namespace===!1||d.rnamespace.test(s.namespace))&&(d.handleObj=s,d.data=s.data,i=((r.event.special[s.origType]||{}).handle||s.handler).apply(o.elem,f),i!==void 0&&(d.result=i)===!1&&(d.preventDefault(),d.stopPropagation()));return v.postDispatch&&v.postDispatch.call(this,d),d.result}},handlers:function(e,t){var n,i,o,s,u,f=[],d=t.delegateCount,g=e.target;if(d&&g.nodeType&&!(e.type==="click"&&e.button>=1)){for(;g!==this;g=g.parentNode||this)if(g.nodeType===1&&!(e.type==="click"&&g.disabled===!0)){for(s=[],u={},n=0;n<d;n++)i=t[n],o=i.selector+" ",u[o]===void 0&&(u[o]=i.needsContext?r(o,this).index(g)>-1:r.find(o,this,null,[g]).length),u[o]&&s.push(i);s.length&&f.push({elem:g,handlers:s})}}return g=this,d<t.length&&f.push({elem:g,handlers:t.slice(d)}),f},addProp:function(e,t){Object.defineProperty(r.Event.prototype,e,{enumerable:!0,configurable:!0,get:_(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(n){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:n})}})},fix:function(e){return e[r.expando]?e:new r.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return Nt.test(t.type)&&t.click&&de(t,"input")&&Bt(t,"click",gt),!1},trigger:function(e){var t=this||e;return Nt.test(t.type)&&t.click&&de(t,"input")&&Bt(t,"click"),!0},_default:function(e){var t=e.target;return Nt.test(t.type)&&t.click&&de(t,"input")&&V.get(t,"click")||de(t,"a")}},beforeunload:{postDispatch:function(e){e.result!==void 0&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}};function Bt(e,t,n){if(!n){V.get(e,t)===void 0&&r.event.add(e,t,gt);return}V.set(e,t,!1),r.event.add(e,t,{namespace:!1,handler:function(i){var o,s,u=V.get(this,t);if(i.isTrigger&1&&this[t]){if(u.length)(r.event.special[t]||{}).delegateType&&i.stopPropagation();else if(u=C.call(arguments),V.set(this,t,u),o=n(this,t),this[t](),s=V.get(this,t),u!==s||o?V.set(this,t,!1):s={},u!==s)return i.stopImmediatePropagation(),i.preventDefault(),s&&s.value}else u.length&&(V.set(this,t,{value:r.event.trigger(r.extend(u[0],r.Event.prototype),u.slice(1),this)}),i.stopImmediatePropagation())}})}r.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},r.Event=function(e,t){if(!(this instanceof r.Event))return new r.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.defaultPrevented===void 0&&e.returnValue===!1?gt:yt,this.target=e.target&&e.target.nodeType===3?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&r.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[r.expando]=!0},r.Event.prototype={constructor:r.Event,isDefaultPrevented:yt,isPropagationStopped:yt,isImmediatePropagationStopped:yt,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=gt,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=gt,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=gt,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},r.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},r.event.addProp),r.each({focus:"focusin",blur:"focusout"},function(e,t){r.event.special[e]={setup:function(){return Bt(this,e,cr),!1},trigger:function(){return Bt(this,e),!0},_default:function(){return!0},delegateType:t}}),r.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){r.event.special[e]={delegateType:t,bindType:t,handle:function(n){var i,o=this,s=n.relatedTarget,u=n.handleObj;return(!s||s!==o&&!r.contains(o,s))&&(n.type=u.origType,i=u.handler.apply(this,arguments),n.type=t),i}}}),r.fn.extend({on:function(e,t,n,i){return cn(this,e,t,n,i)},one:function(e,t,n,i){return cn(this,e,t,n,i,1)},off:function(e,t,n){var i,o;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,r(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if(typeof e=="object"){for(o in e)this.off(o,t,e[o]);return this}return(t===!1||typeof t=="function")&&(n=t,t=void 0),n===!1&&(n=yt),this.each(function(){r.event.remove(this,e,n,t)})}});var pr=/<script|<style|<link/i,hr=/checked\s*(?:[^=]|=\s*.checked.)/i,gr=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function ti(e,t){return de(e,"table")&&de(t.nodeType!==11?t:t.firstChild,"tr")&&r(e).children("tbody")[0]||e}function yr(e){return e.type=(e.getAttribute("type")!==null)+"/"+e.type,e}function mr(e){return(e.type||"").slice(0,5)==="true/"?e.type=e.type.slice(5):e.removeAttribute("type"),e}function ni(e,t){var n,i,o,s,u,f,d;if(t.nodeType===1){if(V.hasData(e)