Comparing version 3.4.1 to 3.5.0
@@ -322,1 +322,7 @@ Authors ordered by first contribution. | ||
buddh4 <mail@jharrer.de> | ||
Pat O'Callaghan <patocallaghan@gmail.com> | ||
Ahmed.S.ElAfifi <ahmed.s.elafifi@gmail.com> | ||
Wonseop Kim <wonseop.kim@samsung.com> | ||
Christian Oliff <christianoliff@pm.me> | ||
Christian Wenz <christian@wenz.org> | ||
Sean Robinson <sean.robinson@scottsdalecc.edu> |
@@ -1,3 +0,3 @@ | ||
/*! Sizzle v2.3.4 | (c) JS Foundation and other contributors | js.foundation */ | ||
!function(e){var t,n,r,i,o,u,l,a,c,s,f,d,p,h,g,m,y,w,v,b="sizzle"+1*new Date,N=e.document,x=0,C=0,E=ae(),D=ae(),S=ae(),A=ae(),T=function(e,t){return e===t&&(f=!0),0},L={}.hasOwnProperty,I=[],q=I.pop,B=I.push,R=I.push,$=I.slice,k=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},H="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",P="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",z="\\["+M+"*("+P+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+P+"))|)"+M+"*\\]",F=":("+P+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+z+")*)|.*)\\)|)",O=new RegExp(M+"+","g"),j=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),G=new RegExp("^"+M+"*,"+M+"*"),U=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),V=new RegExp(M+"|>"),X=new RegExp(F),J=new RegExp("^"+P+"$"),K={ID:new RegExp("^#("+P+")"),CLASS:new RegExp("^\\.("+P+")"),TAG:new RegExp("^("+P+"|[*])"),ATTR:new RegExp("^"+z),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+H+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Q=/HTML$/i,W=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,_=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ne=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){d()},ue=we(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{R.apply(I=$.call(N.childNodes),N.childNodes),I[N.childNodes.length].nodeType}catch(e){R={apply:I.length?function(e,t){B.apply(e,$.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function le(e,t,r,i){var o,l,c,s,f,h,y,w=t&&t.ownerDocument,x=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==x&&9!==x&&11!==x)return r;if(!i&&((t?t.ownerDocument||t:N)!==p&&d(t),t=t||p,g)){if(11!==x&&(f=_.exec(e)))if(o=f[1]){if(9===x){if(!(c=t.getElementById(o)))return r;if(c.id===o)return r.push(c),r}else if(w&&(c=w.getElementById(o))&&v(t,c)&&c.id===o)return r.push(c),r}else{if(f[2])return R.apply(r,t.getElementsByTagName(e)),r;if((o=f[3])&&n.getElementsByClassName&&t.getElementsByClassName)return R.apply(r,t.getElementsByClassName(o)),r}if(n.qsa&&!A[e+" "]&&(!m||!m.test(e))&&(1!==x||"object"!==t.nodeName.toLowerCase())){if(y=e,w=t,1===x&&V.test(e)){(s=t.getAttribute("id"))?s=s.replace(re,ie):t.setAttribute("id",s=b),l=(h=u(e)).length;while(l--)h[l]="#"+s+" "+ye(h[l]);y=h.join(","),w=ee.test(e)&&ge(t.parentNode)||t}try{return R.apply(r,w.querySelectorAll(y)),r}catch(t){A(e,!0)}finally{s===b&&t.removeAttribute("id")}}}return a(e.replace(j,"$1"),t,r,i)}function ae(){var e=[];function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}return t}function ce(e){return e[b]=!0,e}function se(e){var t=p.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),i=n.length;while(i--)r.attrHandle[n[i]]=t}function de(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function pe(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ue(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function he(e){return ce(function(t){return t=+t,ce(function(n,r){var i,o=e([],n.length,t),u=o.length;while(u--)n[i=o[u]]&&(n[i]=!(r[i]=n[i]))})})}function ge(e){return e&&void 0!==e.getElementsByTagName&&e}n=le.support={},o=le.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Q.test(t||n&&n.nodeName||"HTML")},d=le.setDocument=function(e){var t,i,u=e?e.ownerDocument||e:N;return u!==p&&9===u.nodeType&&u.documentElement?(p=u,h=p.documentElement,g=!o(p),N!==p&&(i=p.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",oe,!1):i.attachEvent&&i.attachEvent("onunload",oe)),n.attributes=se(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=se(function(e){return e.appendChild(p.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=Z.test(p.getElementsByClassName),n.getById=se(function(e){return h.appendChild(e).id=b,!p.getElementsByName||!p.getElementsByName(b).length}),n.getById?(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&g)return t.getElementsByClassName(e)},y=[],m=[],(n.qsa=Z.test(p.querySelectorAll))&&(se(function(e){h.appendChild(e).innerHTML="<a id='"+b+"'></a><select id='"+b+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+M+"*(?:value|"+H+")"),e.querySelectorAll("[id~="+b+"-]").length||m.push("~="),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+b+"+*").length||m.push(".#.+[+~]")}),se(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=p.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")})),(n.matchesSelector=Z.test(w=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&se(function(e){n.disconnectedMatch=w.call(e,"*"),w.call(e,"[s!='']:x"),y.push("!=",F)}),m=m.length&&new RegExp(m.join("|")),y=y.length&&new RegExp(y.join("|")),t=Z.test(h.compareDocumentPosition),v=t||Z.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},T=t?function(e,t){if(e===t)return f=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e===p||e.ownerDocument===N&&v(N,e)?-1:t===p||t.ownerDocument===N&&v(N,t)?1:s?k(s,e)-k(s,t):0:4&r?-1:1)}:function(e,t){if(e===t)return f=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,u=[e],l=[t];if(!i||!o)return e===p?-1:t===p?1:i?-1:o?1:s?k(s,e)-k(s,t):0;if(i===o)return de(e,t);n=e;while(n=n.parentNode)u.unshift(n);n=t;while(n=n.parentNode)l.unshift(n);while(u[r]===l[r])r++;return r?de(u[r],l[r]):u[r]===N?-1:l[r]===N?1:0},p):p},le.matches=function(e,t){return le(e,null,null,t)},le.matchesSelector=function(e,t){if((e.ownerDocument||e)!==p&&d(e),n.matchesSelector&&g&&!A[t+" "]&&(!y||!y.test(t))&&(!m||!m.test(t)))try{var r=w.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){A(t,!0)}return le(t,p,null,[e]).length>0},le.contains=function(e,t){return(e.ownerDocument||e)!==p&&d(e),v(e,t)},le.attr=function(e,t){(e.ownerDocument||e)!==p&&d(e);var i=r.attrHandle[t.toLowerCase()],o=i&&L.call(r.attrHandle,t.toLowerCase())?i(e,t,!g):void 0;return void 0!==o?o:n.attributes||!g?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},le.escape=function(e){return(e+"").replace(re,ie)},le.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},le.uniqueSort=function(e){var t,r=[],i=0,o=0;if(f=!n.detectDuplicates,s=!n.sortStable&&e.slice(0),e.sort(T),f){while(t=e[o++])t===e[o]&&(i=r.push(o));while(i--)e.splice(r[i],1)}return s=null,e},i=le.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else while(t=e[r++])n+=i(t);return n},(r=le.selectors={cacheLength:50,createPseudo:ce,match:K,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||le.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&le.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return K.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=u(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=E[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&E(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=le.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace(O," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),u="last"!==e.slice(-4),l="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,a){var c,s,f,d,p,h,g=o!==u?"nextSibling":"previousSibling",m=t.parentNode,y=l&&t.nodeName.toLowerCase(),w=!a&&!l,v=!1;if(m){if(o){while(g){d=t;while(d=d[g])if(l?d.nodeName.toLowerCase()===y:1===d.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[u?m.firstChild:m.lastChild],u&&w){v=(p=(c=(s=(f=(d=m)[b]||(d[b]={}))[d.uniqueID]||(f[d.uniqueID]={}))[e]||[])[0]===x&&c[1])&&c[2],d=p&&m.childNodes[p];while(d=++p&&d&&d[g]||(v=p=0)||h.pop())if(1===d.nodeType&&++v&&d===t){s[e]=[x,p,v];break}}else if(w&&(v=p=(c=(s=(f=(d=t)[b]||(d[b]={}))[d.uniqueID]||(f[d.uniqueID]={}))[e]||[])[0]===x&&c[1]),!1===v)while(d=++p&&d&&d[g]||(v=p=0)||h.pop())if((l?d.nodeName.toLowerCase()===y:1===d.nodeType)&&++v&&(w&&((s=(f=d[b]||(d[b]={}))[d.uniqueID]||(f[d.uniqueID]={}))[e]=[x,v]),d===t))break;return(v-=i)===r||v%r==0&&v/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||le.error("unsupported pseudo: "+e);return i[b]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?ce(function(e,n){var r,o=i(e,t),u=o.length;while(u--)e[r=k(e,o[u])]=!(n[r]=o[u])}):function(e){return i(e,0,n)}):i}},pseudos:{not:ce(function(e){var t=[],n=[],r=l(e.replace(j,"$1"));return r[b]?ce(function(e,t,n,i){var o,u=r(e,null,i,[]),l=e.length;while(l--)(o=u[l])&&(e[l]=!(t[l]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}}),has:ce(function(e){return function(t){return le(e,t).length>0}}),contains:ce(function(e){return e=e.replace(te,ne),function(t){return(t.textContent||i(t)).indexOf(e)>-1}}),lang:ce(function(e){return J.test(e||"")||le.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=g?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:pe(!1),disabled:pe(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return Y.test(e.nodeName)},input:function(e){return W.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:he(function(){return[0]}),last:he(function(e,t){return[t-1]}),eq:he(function(e,t,n){return[n<0?n+t:n]}),even:he(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:he(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:he(function(e,t,n){for(var r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e}),gt:he(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=r.pseudos.eq;for(t in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=function(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=function(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}(t);function me(){}me.prototype=r.filters=r.pseudos,r.setFilters=new me,u=le.tokenize=function(e,t){var n,i,o,u,l,a,c,s=D[e+" "];if(s)return t?0:s.slice(0);l=e,a=[],c=r.preFilter;while(l){n&&!(i=G.exec(l))||(i&&(l=l.slice(i[0].length)||l),a.push(o=[])),n=!1,(i=U.exec(l))&&(n=i.shift(),o.push({value:n,type:i[0].replace(j," ")}),l=l.slice(n.length));for(u in r.filter)!(i=K[u].exec(l))||c[u]&&!(i=c[u](i))||(n=i.shift(),o.push({value:n,type:u,matches:i}),l=l.slice(n.length));if(!n)break}return t?l.length:l?le.error(e):D(e,a).slice(0)};function ye(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function we(e,t,n){var r=t.dir,i=t.next,o=i||r,u=n&&"parentNode"===o,l=C++;return t.first?function(t,n,i){while(t=t[r])if(1===t.nodeType||u)return e(t,n,i);return!1}:function(t,n,a){var c,s,f,d=[x,l];if(a){while(t=t[r])if((1===t.nodeType||u)&&e(t,n,a))return!0}else while(t=t[r])if(1===t.nodeType||u)if(f=t[b]||(t[b]={}),s=f[t.uniqueID]||(f[t.uniqueID]={}),i&&i===t.nodeName.toLowerCase())t=t[r]||t;else{if((c=s[o])&&c[0]===x&&c[1]===l)return d[2]=c[2];if(s[o]=d,d[2]=e(t,n,a))return!0}return!1}}function ve(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function be(e,t,n){for(var r=0,i=t.length;r<i;r++)le(e,t[r],n);return n}function Ne(e,t,n,r,i){for(var o,u=[],l=0,a=e.length,c=null!=t;l<a;l++)(o=e[l])&&(n&&!n(o,r,i)||(u.push(o),c&&t.push(l)));return u}function xe(e,t,n,r,i,o){return r&&!r[b]&&(r=xe(r)),i&&!i[b]&&(i=xe(i,o)),ce(function(o,u,l,a){var c,s,f,d=[],p=[],h=u.length,g=o||be(t||"*",l.nodeType?[l]:l,[]),m=!e||!o&&t?g:Ne(g,d,e,l,a),y=n?i||(o?e:h||r)?[]:u:m;if(n&&n(m,y,l,a),r){c=Ne(y,p),r(c,[],l,a),s=c.length;while(s--)(f=c[s])&&(y[p[s]]=!(m[p[s]]=f))}if(o){if(i||e){if(i){c=[],s=y.length;while(s--)(f=y[s])&&c.push(m[s]=f);i(null,y=[],c,a)}s=y.length;while(s--)(f=y[s])&&(c=i?k(o,f):d[s])>-1&&(o[c]=!(u[c]=f))}}else y=Ne(y===u?y.splice(h,y.length):y),i?i(null,u,y,a):R.apply(u,y)})}function Ce(e){for(var t,n,i,o=e.length,u=r.relative[e[0].type],l=u||r.relative[" "],a=u?1:0,s=we(function(e){return e===t},l,!0),f=we(function(e){return k(t,e)>-1},l,!0),d=[function(e,n,r){var i=!u&&(r||n!==c)||((t=n).nodeType?s(e,n,r):f(e,n,r));return t=null,i}];a<o;a++)if(n=r.relative[e[a].type])d=[we(ve(d),n)];else{if((n=r.filter[e[a].type].apply(null,e[a].matches))[b]){for(i=++a;i<o;i++)if(r.relative[e[i].type])break;return xe(a>1&&ve(d),a>1&&ye(e.slice(0,a-1).concat({value:" "===e[a-2].type?"*":""})).replace(j,"$1"),n,a<i&&Ce(e.slice(a,i)),i<o&&Ce(e=e.slice(i)),i<o&&ye(e))}d.push(n)}return ve(d)}function Ee(e,t){var n=t.length>0,i=e.length>0,o=function(o,u,l,a,s){var f,h,m,y=0,w="0",v=o&&[],b=[],N=c,C=o||i&&r.find.TAG("*",s),E=x+=null==N?1:Math.random()||.1,D=C.length;for(s&&(c=u===p||u||s);w!==D&&null!=(f=C[w]);w++){if(i&&f){h=0,u||f.ownerDocument===p||(d(f),l=!g);while(m=e[h++])if(m(f,u||p,l)){a.push(f);break}s&&(x=E)}n&&((f=!m&&f)&&y--,o&&v.push(f))}if(y+=w,n&&w!==y){h=0;while(m=t[h++])m(v,b,u,l);if(o){if(y>0)while(w--)v[w]||b[w]||(b[w]=q.call(a));b=Ne(b)}R.apply(a,b),s&&!o&&b.length>0&&y+t.length>1&&le.uniqueSort(a)}return s&&(x=E,c=N),v};return n?ce(o):o}l=le.compile=function(e,t){var n,r=[],i=[],o=S[e+" "];if(!o){t||(t=u(e)),n=t.length;while(n--)(o=Ce(t[n]))[b]?r.push(o):i.push(o);(o=S(e,Ee(i,r))).selector=e}return o},a=le.select=function(e,t,n,i){var o,a,c,s,f,d="function"==typeof e&&e,p=!i&&u(e=d.selector||e);if(n=n||[],1===p.length){if((a=p[0]=p[0].slice(0)).length>2&&"ID"===(c=a[0]).type&&9===t.nodeType&&g&&r.relative[a[1].type]){if(!(t=(r.find.ID(c.matches[0].replace(te,ne),t)||[])[0]))return n;d&&(t=t.parentNode),e=e.slice(a.shift().value.length)}o=K.needsContext.test(e)?0:a.length;while(o--){if(c=a[o],r.relative[s=c.type])break;if((f=r.find[s])&&(i=f(c.matches[0].replace(te,ne),ee.test(a[0].type)&&ge(t.parentNode)||t))){if(a.splice(o,1),!(e=i.length&&ye(a)))return R.apply(n,i),n;break}}}return(d||l(e,p))(i,t,!g,n,!t||ee.test(e)&&ge(t.parentNode)||t),n},n.sortStable=b.split("").sort(T).join("")===b,n.detectDuplicates=!!f,d(),n.sortDetached=se(function(e){return 1&e.compareDocumentPosition(p.createElement("fieldset"))}),se(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||fe("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&se(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||fe("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),se(function(e){return null==e.getAttribute("disabled")})||fe(H,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null});var De=e.Sizzle;le.noConflict=function(){return e.Sizzle===le&&(e.Sizzle=De),le},"function"==typeof define&&define.amd?define(function(){return le}):"undefined"!=typeof module&&module.exports?module.exports=le:e.Sizzle=le}(window); | ||
/*! Sizzle v2.3.5 | (c) JS Foundation and other contributors | js.foundation */ | ||
!function(e){var t,n,r,i,o,u,l,a,c,s,d,f,p,h,g,m,y,v,w,b="sizzle"+1*new Date,N=e.document,C=0,x=0,E=ae(),A=ae(),S=ae(),D=ae(),T=function(e,t){return e===t&&(d=!0),0},L={}.hasOwnProperty,q=[],I=q.pop,B=q.push,R=q.push,$=q.slice,k=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},H="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",P="(?:\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",z="\\["+M+"*("+P+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+P+"))|)"+M+"*\\]",F=":("+P+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+z+")*)|.*)\\)|)",O=new RegExp(M+"+","g"),j=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),G=new RegExp("^"+M+"*,"+M+"*"),U=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),V=new RegExp(M+"|>"),X=new RegExp(F),J=new RegExp("^"+P+"$"),K={ID:new RegExp("^#("+P+")"),CLASS:new RegExp("^\\.("+P+")"),TAG:new RegExp("^("+P+"|[*])"),ATTR:new RegExp("^"+z),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+H+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Q=/HTML$/i,W=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,_=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){f()},ue=ve(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{R.apply(q=$.call(N.childNodes),N.childNodes),q[N.childNodes.length].nodeType}catch(e){R={apply:q.length?function(e,t){B.apply(e,$.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function le(e,t,r,i){var o,l,c,s,d,h,y,v=t&&t.ownerDocument,N=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==N&&9!==N&&11!==N)return r;if(!i&&(f(t),t=t||p,g)){if(11!==N&&(d=_.exec(e)))if(o=d[1]){if(9===N){if(!(c=t.getElementById(o)))return r;if(c.id===o)return r.push(c),r}else if(v&&(c=v.getElementById(o))&&w(t,c)&&c.id===o)return r.push(c),r}else{if(d[2])return R.apply(r,t.getElementsByTagName(e)),r;if((o=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return R.apply(r,t.getElementsByClassName(o)),r}if(n.qsa&&!D[e+" "]&&(!m||!m.test(e))&&(1!==N||"object"!==t.nodeName.toLowerCase())){if(y=e,v=t,1===N&&(V.test(e)||U.test(e))){(v=ee.test(e)&&ge(t.parentNode)||t)===t&&n.scope||((s=t.getAttribute("id"))?s=s.replace(re,ie):t.setAttribute("id",s=b)),l=(h=u(e)).length;while(l--)h[l]=(s?"#"+s:":scope")+" "+ye(h[l]);y=h.join(",")}try{return R.apply(r,v.querySelectorAll(y)),r}catch(t){D(e,!0)}finally{s===b&&t.removeAttribute("id")}}}return a(e.replace(j,"$1"),t,r,i)}function ae(){var e=[];function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}return t}function ce(e){return e[b]=!0,e}function se(e){var t=p.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){var n=e.split("|"),i=n.length;while(i--)r.attrHandle[n[i]]=t}function fe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function pe(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ue(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function he(e){return ce(function(t){return t=+t,ce(function(n,r){var i,o=e([],n.length,t),u=o.length;while(u--)n[i=o[u]]&&(n[i]=!(r[i]=n[i]))})})}function ge(e){return e&&void 0!==e.getElementsByTagName&&e}n=le.support={},o=le.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Q.test(t||n&&n.nodeName||"HTML")},f=le.setDocument=function(e){var t,i,u=e?e.ownerDocument||e:N;return u!=p&&9===u.nodeType&&u.documentElement?(p=u,h=p.documentElement,g=!o(p),N!=p&&(i=p.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",oe,!1):i.attachEvent&&i.attachEvent("onunload",oe)),n.scope=se(function(e){return h.appendChild(e).appendChild(p.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),n.attributes=se(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=se(function(e){return e.appendChild(p.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=Z.test(p.getElementsByClassName),n.getById=se(function(e){return h.appendChild(e).id=b,!p.getElementsByName||!p.getElementsByName(b).length}),n.getById?(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&g)return t.getElementsByClassName(e)},y=[],m=[],(n.qsa=Z.test(p.querySelectorAll))&&(se(function(e){var t;h.appendChild(e).innerHTML="<a id='"+b+"'></a><select id='"+b+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+M+"*(?:value|"+H+")"),e.querySelectorAll("[id~="+b+"-]").length||m.push("~="),(t=p.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||m.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+b+"+*").length||m.push(".#.+[+~]"),e.querySelectorAll("\\\f"),m.push("[\\r\\n\\f]")}),se(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=p.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")})),(n.matchesSelector=Z.test(v=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&se(function(e){n.disconnectedMatch=v.call(e,"*"),v.call(e,"[s!='']:x"),y.push("!=",F)}),m=m.length&&new RegExp(m.join("|")),y=y.length&&new RegExp(y.join("|")),t=Z.test(h.compareDocumentPosition),w=t||Z.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},T=t?function(e,t){if(e===t)return d=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e==p||e.ownerDocument==N&&w(N,e)?-1:t==p||t.ownerDocument==N&&w(N,t)?1:s?k(s,e)-k(s,t):0:4&r?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,u=[e],l=[t];if(!i||!o)return e==p?-1:t==p?1:i?-1:o?1:s?k(s,e)-k(s,t):0;if(i===o)return fe(e,t);n=e;while(n=n.parentNode)u.unshift(n);n=t;while(n=n.parentNode)l.unshift(n);while(u[r]===l[r])r++;return r?fe(u[r],l[r]):u[r]==N?-1:l[r]==N?1:0},p):p},le.matches=function(e,t){return le(e,null,null,t)},le.matchesSelector=function(e,t){if(f(e),n.matchesSelector&&g&&!D[t+" "]&&(!y||!y.test(t))&&(!m||!m.test(t)))try{var r=v.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){D(t,!0)}return le(t,p,null,[e]).length>0},le.contains=function(e,t){return(e.ownerDocument||e)!=p&&f(e),w(e,t)},le.attr=function(e,t){(e.ownerDocument||e)!=p&&f(e);var i=r.attrHandle[t.toLowerCase()],o=i&&L.call(r.attrHandle,t.toLowerCase())?i(e,t,!g):void 0;return void 0!==o?o:n.attributes||!g?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},le.escape=function(e){return(e+"").replace(re,ie)},le.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},le.uniqueSort=function(e){var t,r=[],i=0,o=0;if(d=!n.detectDuplicates,s=!n.sortStable&&e.slice(0),e.sort(T),d){while(t=e[o++])t===e[o]&&(i=r.push(o));while(i--)e.splice(r[i],1)}return s=null,e},i=le.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else while(t=e[r++])n+=i(t);return n},(r=le.selectors={cacheLength:50,createPseudo:ce,match:K,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||le.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&le.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return K.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=u(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=E[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&E(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=le.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace(O," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),u="last"!==e.slice(-4),l="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,a){var c,s,d,f,p,h,g=o!==u?"nextSibling":"previousSibling",m=t.parentNode,y=l&&t.nodeName.toLowerCase(),v=!a&&!l,w=!1;if(m){if(o){while(g){f=t;while(f=f[g])if(l?f.nodeName.toLowerCase()===y:1===f.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[u?m.firstChild:m.lastChild],u&&v){w=(p=(c=(s=(d=(f=m)[b]||(f[b]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===C&&c[1])&&c[2],f=p&&m.childNodes[p];while(f=++p&&f&&f[g]||(w=p=0)||h.pop())if(1===f.nodeType&&++w&&f===t){s[e]=[C,p,w];break}}else if(v&&(w=p=(c=(s=(d=(f=t)[b]||(f[b]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===C&&c[1]),!1===w)while(f=++p&&f&&f[g]||(w=p=0)||h.pop())if((l?f.nodeName.toLowerCase()===y:1===f.nodeType)&&++w&&(v&&((s=(d=f[b]||(f[b]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]=[C,w]),f===t))break;return(w-=i)===r||w%r==0&&w/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||le.error("unsupported pseudo: "+e);return i[b]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?ce(function(e,n){var r,o=i(e,t),u=o.length;while(u--)e[r=k(e,o[u])]=!(n[r]=o[u])}):function(e){return i(e,0,n)}):i}},pseudos:{not:ce(function(e){var t=[],n=[],r=l(e.replace(j,"$1"));return r[b]?ce(function(e,t,n,i){var o,u=r(e,null,i,[]),l=e.length;while(l--)(o=u[l])&&(e[l]=!(t[l]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}}),has:ce(function(e){return function(t){return le(e,t).length>0}}),contains:ce(function(e){return e=e.replace(te,ne),function(t){return(t.textContent||i(t)).indexOf(e)>-1}}),lang:ce(function(e){return J.test(e||"")||le.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=g?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:pe(!1),disabled:pe(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return Y.test(e.nodeName)},input:function(e){return W.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:he(function(){return[0]}),last:he(function(e,t){return[t-1]}),eq:he(function(e,t,n){return[n<0?n+t:n]}),even:he(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:he(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:he(function(e,t,n){for(var r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e}),gt:he(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=r.pseudos.eq;for(t in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=function(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=function(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}(t);function me(){}me.prototype=r.filters=r.pseudos,r.setFilters=new me,u=le.tokenize=function(e,t){var n,i,o,u,l,a,c,s=A[e+" "];if(s)return t?0:s.slice(0);l=e,a=[],c=r.preFilter;while(l){n&&!(i=G.exec(l))||(i&&(l=l.slice(i[0].length)||l),a.push(o=[])),n=!1,(i=U.exec(l))&&(n=i.shift(),o.push({value:n,type:i[0].replace(j," ")}),l=l.slice(n.length));for(u in r.filter)!(i=K[u].exec(l))||c[u]&&!(i=c[u](i))||(n=i.shift(),o.push({value:n,type:u,matches:i}),l=l.slice(n.length));if(!n)break}return t?l.length:l?le.error(e):A(e,a).slice(0)};function ye(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function ve(e,t,n){var r=t.dir,i=t.next,o=i||r,u=n&&"parentNode"===o,l=x++;return t.first?function(t,n,i){while(t=t[r])if(1===t.nodeType||u)return e(t,n,i);return!1}:function(t,n,a){var c,s,d,f=[C,l];if(a){while(t=t[r])if((1===t.nodeType||u)&&e(t,n,a))return!0}else while(t=t[r])if(1===t.nodeType||u)if(d=t[b]||(t[b]={}),s=d[t.uniqueID]||(d[t.uniqueID]={}),i&&i===t.nodeName.toLowerCase())t=t[r]||t;else{if((c=s[o])&&c[0]===C&&c[1]===l)return f[2]=c[2];if(s[o]=f,f[2]=e(t,n,a))return!0}return!1}}function we(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function be(e,t,n){for(var r=0,i=t.length;r<i;r++)le(e,t[r],n);return n}function Ne(e,t,n,r,i){for(var o,u=[],l=0,a=e.length,c=null!=t;l<a;l++)(o=e[l])&&(n&&!n(o,r,i)||(u.push(o),c&&t.push(l)));return u}function Ce(e,t,n,r,i,o){return r&&!r[b]&&(r=Ce(r)),i&&!i[b]&&(i=Ce(i,o)),ce(function(o,u,l,a){var c,s,d,f=[],p=[],h=u.length,g=o||be(t||"*",l.nodeType?[l]:l,[]),m=!e||!o&&t?g:Ne(g,f,e,l,a),y=n?i||(o?e:h||r)?[]:u:m;if(n&&n(m,y,l,a),r){c=Ne(y,p),r(c,[],l,a),s=c.length;while(s--)(d=c[s])&&(y[p[s]]=!(m[p[s]]=d))}if(o){if(i||e){if(i){c=[],s=y.length;while(s--)(d=y[s])&&c.push(m[s]=d);i(null,y=[],c,a)}s=y.length;while(s--)(d=y[s])&&(c=i?k(o,d):f[s])>-1&&(o[c]=!(u[c]=d))}}else y=Ne(y===u?y.splice(h,y.length):y),i?i(null,u,y,a):R.apply(u,y)})}function xe(e){for(var t,n,i,o=e.length,u=r.relative[e[0].type],l=u||r.relative[" "],a=u?1:0,s=ve(function(e){return e===t},l,!0),d=ve(function(e){return k(t,e)>-1},l,!0),f=[function(e,n,r){var i=!u&&(r||n!==c)||((t=n).nodeType?s(e,n,r):d(e,n,r));return t=null,i}];a<o;a++)if(n=r.relative[e[a].type])f=[ve(we(f),n)];else{if((n=r.filter[e[a].type].apply(null,e[a].matches))[b]){for(i=++a;i<o;i++)if(r.relative[e[i].type])break;return Ce(a>1&&we(f),a>1&&ye(e.slice(0,a-1).concat({value:" "===e[a-2].type?"*":""})).replace(j,"$1"),n,a<i&&xe(e.slice(a,i)),i<o&&xe(e=e.slice(i)),i<o&&ye(e))}f.push(n)}return we(f)}function Ee(e,t){var n=t.length>0,i=e.length>0,o=function(o,u,l,a,s){var d,h,m,y=0,v="0",w=o&&[],b=[],N=c,x=o||i&&r.find.TAG("*",s),E=C+=null==N?1:Math.random()||.1,A=x.length;for(s&&(c=u==p||u||s);v!==A&&null!=(d=x[v]);v++){if(i&&d){h=0,u||d.ownerDocument==p||(f(d),l=!g);while(m=e[h++])if(m(d,u||p,l)){a.push(d);break}s&&(C=E)}n&&((d=!m&&d)&&y--,o&&w.push(d))}if(y+=v,n&&v!==y){h=0;while(m=t[h++])m(w,b,u,l);if(o){if(y>0)while(v--)w[v]||b[v]||(b[v]=I.call(a));b=Ne(b)}R.apply(a,b),s&&!o&&b.length>0&&y+t.length>1&&le.uniqueSort(a)}return s&&(C=E,c=N),w};return n?ce(o):o}l=le.compile=function(e,t){var n,r=[],i=[],o=S[e+" "];if(!o){t||(t=u(e)),n=t.length;while(n--)(o=xe(t[n]))[b]?r.push(o):i.push(o);(o=S(e,Ee(i,r))).selector=e}return o},a=le.select=function(e,t,n,i){var o,a,c,s,d,f="function"==typeof e&&e,p=!i&&u(e=f.selector||e);if(n=n||[],1===p.length){if((a=p[0]=p[0].slice(0)).length>2&&"ID"===(c=a[0]).type&&9===t.nodeType&&g&&r.relative[a[1].type]){if(!(t=(r.find.ID(c.matches[0].replace(te,ne),t)||[])[0]))return n;f&&(t=t.parentNode),e=e.slice(a.shift().value.length)}o=K.needsContext.test(e)?0:a.length;while(o--){if(c=a[o],r.relative[s=c.type])break;if((d=r.find[s])&&(i=d(c.matches[0].replace(te,ne),ee.test(a[0].type)&&ge(t.parentNode)||t))){if(a.splice(o,1),!(e=i.length&&ye(a)))return R.apply(n,i),n;break}}}return(f||l(e,p))(i,t,!g,n,!t||ee.test(e)&&ge(t.parentNode)||t),n},n.sortStable=b.split("").sort(T).join("")===b,n.detectDuplicates=!!d,f(),n.sortDetached=se(function(e){return 1&e.compareDocumentPosition(p.createElement("fieldset"))}),se(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||de("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&se(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||de("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),se(function(e){return null==e.getAttribute("disabled")})||de(H,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null});var Ae=e.Sizzle;le.noConflict=function(){return e.Sizzle===le&&(e.Sizzle=Ae),le},"function"==typeof define&&define.amd?define(function(){return le}):"undefined"!=typeof module&&module.exports?module.exports=le:e.Sizzle=le}(window); | ||
//# sourceMappingURL=sizzle.min.map |
@@ -5,3 +5,3 @@ { | ||
"description": "JavaScript library for DOM operations", | ||
"version": "3.4.1", | ||
"version": "3.5.0", | ||
"main": "dist/jquery.js", | ||
@@ -11,3 +11,3 @@ "homepage": "https://jquery.com", | ||
"name": "JS Foundation and other contributors", | ||
"url": "https://github.com/jquery/jquery/blob/3.4.1/AUTHORS.txt" | ||
"url": "https://github.com/jquery/jquery/blob/3.5.0/AUTHORS.txt" | ||
}, | ||
@@ -34,3 +34,3 @@ "repository": { | ||
"core-js": "2.6.5", | ||
"eslint-config-jquery": "1.0.1", | ||
"eslint-config-jquery": "2.0.0", | ||
"grunt": "1.0.3", | ||
@@ -42,3 +42,3 @@ "grunt-babel": "8.0.0", | ||
"grunt-contrib-watch": "1.1.0", | ||
"grunt-eslint": "21.0.0", | ||
"grunt-eslint": "22.0.0", | ||
"grunt-git-authors": "3.2.0", | ||
@@ -68,3 +68,3 @@ "grunt-jsonlint": "1.1.0", | ||
"sinon": "2.3.7", | ||
"sizzle": "2.3.4", | ||
"sizzle": "2.3.5", | ||
"strip-json-comments": "2.0.1", | ||
@@ -79,3 +79,7 @@ "testswarm": "1.1.0", | ||
"test:browser": "grunt && grunt karma:main", | ||
"test": "grunt && grunt test:slow && grunt karma:main", | ||
"test:amd": "grunt && grunt karma:amd", | ||
"test:no-deprecated": "grunt test:prepare && grunt custom:-deprecated && grunt karma:main", | ||
"test:no-sizzle": "grunt test:prepare && grunt custom:-sizzle && grunt karma:main", | ||
"test:slim": "grunt test:prepare && grunt custom:slim && grunt karma:main", | ||
"test": "npm run test:slim && npm run test:no-deprecated && npm run test:no-sizzle && grunt && grunt test:slow && grunt karma:main && grunt karma:amd", | ||
"jenkins": "npm run test:browserless" | ||
@@ -82,0 +86,0 @@ }, |
@@ -8,3 +8,3 @@ # jQuery | ||
If upgrading, please see the [blog post for 3.4.1](https://blog.jquery.com/2019/05/01/jquery-3-4-1-triggering-focus-events-in-ie-and-finding-root-elements-in-ios-10/). This includes notable differences from the previous version and a more readable changelog. | ||
If upgrading, please see the [blog post for 3.5.0](https://blog.jquery.com/2020/04/10/jquery-3-5-0-released/). This includes notable differences from the previous version and a more readable changelog. | ||
@@ -20,3 +20,3 @@ ## Including jQuery | ||
```html | ||
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script> | ||
<script src="https://code.jquery.com/jquery-3.5.0.min.js"></script> | ||
``` | ||
@@ -37,3 +37,3 @@ | ||
```js | ||
var $ = require("jquery"); | ||
var $ = require( "jquery" ); | ||
``` | ||
@@ -46,5 +46,5 @@ | ||
```js | ||
define(["jquery"], function($) { | ||
define( [ "jquery" ], function( $ ) { | ||
}); | ||
} ); | ||
``` | ||
@@ -63,10 +63,5 @@ | ||
```js | ||
require("jsdom").env("", function(err, window) { | ||
if (err) { | ||
console.error(err); | ||
return; | ||
} | ||
var $ = require("jquery")(window); | ||
}); | ||
const { JSDOM } = require( "jsdom" ); | ||
const { window } = new JSDOM( "" ); | ||
const $ = require( "jquery" )( window ); | ||
``` |
@@ -11,3 +11,3 @@ define( [ | ||
"./core/init", | ||
"./ajax/parseXML", | ||
"./core/parseXML", | ||
"./event/trigger", | ||
@@ -614,3 +614,4 @@ "./deferred", | ||
cacheURL = cacheURL.replace( rantiCache, "$1" ); | ||
uncached = ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ( nonce++ ) + uncached; | ||
uncached = ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ( nonce.guid++ ) + | ||
uncached; | ||
} | ||
@@ -748,2 +749,7 @@ | ||
// Use a noop converter for missing script | ||
if ( !isSuccess && jQuery.inArray( "script", s.dataTypes ) > -1 ) { | ||
s.converters[ "text script" ] = function() {}; | ||
} | ||
// Convert no matter what (that way responseXXX fields are always set) | ||
@@ -839,3 +845,3 @@ response = ajaxConvert( s, response, jqXHR, isSuccess ); | ||
jQuery.each( [ "get", "post" ], function( i, method ) { | ||
jQuery.each( [ "get", "post" ], function( _i, method ) { | ||
jQuery[ method ] = function( url, data, callback, type ) { | ||
@@ -861,3 +867,12 @@ | ||
jQuery.ajaxPrefilter( function( s ) { | ||
var i; | ||
for ( i in s.headers ) { | ||
if ( i.toLowerCase() === "content-type" ) { | ||
s.contentType = s.headers[ i ] || ""; | ||
} | ||
} | ||
} ); | ||
return jQuery; | ||
} ); |
@@ -18,3 +18,3 @@ define( [ | ||
jsonpCallback: function() { | ||
var callback = oldCallbacks.pop() || ( jQuery.expando + "_" + ( nonce++ ) ); | ||
var callback = oldCallbacks.pop() || ( jQuery.expando + "_" + ( nonce.guid++ ) ); | ||
this[ callback ] = true; | ||
@@ -21,0 +21,0 @@ return callback; |
define( function() { | ||
"use strict"; | ||
return Date.now(); | ||
return { guid: Date.now() }; | ||
} ); |
@@ -120,3 +120,3 @@ define( [ | ||
jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( i, name ) { | ||
jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( _i, name ) { | ||
var getter = attrHandle[ name ] || jQuery.find.attr; | ||
@@ -123,0 +123,0 @@ |
@@ -7,6 +7,5 @@ /* global Symbol */ | ||
"./var/arr", | ||
"./var/document", | ||
"./var/getProto", | ||
"./var/slice", | ||
"./var/concat", | ||
"./var/flat", | ||
"./var/push", | ||
@@ -24,3 +23,3 @@ "./var/indexOf", | ||
"./core/toType" | ||
], function( arr, document, getProto, slice, concat, push, indexOf, | ||
], function( arr, getProto, slice, flat, push, indexOf, | ||
class2type, toString, hasOwn, fnToString, ObjectFunctionString, | ||
@@ -32,3 +31,3 @@ support, isFunction, isWindow, DOMEval, toType ) { | ||
var | ||
version = "3.4.1", | ||
version = "3.5.0", | ||
@@ -41,8 +40,4 @@ // Define a local copy of jQuery | ||
return new jQuery.fn.init( selector, context ); | ||
}, | ||
}; | ||
// Support: Android <=4.0 only | ||
// Make sure we trim BOM and NBSP | ||
rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g; | ||
jQuery.fn = jQuery.prototype = { | ||
@@ -112,2 +107,14 @@ | ||
even: function() { | ||
return this.pushStack( jQuery.grep( this, function( _elem, i ) { | ||
return ( i + 1 ) % 2; | ||
} ) ); | ||
}, | ||
odd: function() { | ||
return this.pushStack( jQuery.grep( this, function( _elem, i ) { | ||
return i % 2; | ||
} ) ); | ||
}, | ||
eq: function( i ) { | ||
@@ -246,5 +253,6 @@ var len = this.length, | ||
// Evaluates a script in a global context | ||
globalEval: function( code, options ) { | ||
DOMEval( code, { nonce: options && options.nonce } ); | ||
// Evaluates a script in a provided context; falls back to the global one | ||
// if not specified. | ||
globalEval: function( code, options, doc ) { | ||
DOMEval( code, { nonce: options && options.nonce }, doc ); | ||
}, | ||
@@ -273,9 +281,2 @@ | ||
// Support: Android <=4.0 only | ||
trim: function( text ) { | ||
return text == null ? | ||
"" : | ||
( text + "" ).replace( rtrim, "" ); | ||
}, | ||
// results is for internal usage only | ||
@@ -367,3 +368,3 @@ makeArray: function( arr, results ) { | ||
// Flatten any nested arrays | ||
return concat.apply( [], ret ); | ||
return flat( ret ); | ||
}, | ||
@@ -385,3 +386,3 @@ | ||
jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ), | ||
function( i, name ) { | ||
function( _i, name ) { | ||
class2type[ "[object " + name + "]" ] = name.toLowerCase(); | ||
@@ -388,0 +389,0 @@ } ); |
@@ -41,3 +41,3 @@ define( [ | ||
bulk = fn; | ||
fn = function( elem, key, value ) { | ||
fn = function( elem, _key, value ) { | ||
return bulk.call( jQuery( elem ), value ); | ||
@@ -44,0 +44,0 @@ }; |
@@ -10,3 +10,3 @@ define( [], function() { | ||
// Used by camelCase as callback to replace() | ||
function fcamelCase( all, letter ) { | ||
function fcamelCase( _all, letter ) { | ||
return letter.toUpperCase(); | ||
@@ -13,0 +13,0 @@ } |
@@ -5,2 +5,3 @@ define( [ | ||
"./core/camelCase", | ||
"./core/nodeName", | ||
"./var/rcssNum", | ||
@@ -20,3 +21,3 @@ "./css/var/rnumnonpx", | ||
"./selector" // contains | ||
], function( jQuery, access, camelCase, rcssNum, rnumnonpx, cssExpand, | ||
], function( jQuery, access, camelCase, nodeName, rcssNum, rnumnonpx, cssExpand, | ||
getStyles, swap, curCSS, adjustCSS, addGetHookIf, support, finalPropName ) { | ||
@@ -39,3 +40,3 @@ | ||
function setPositiveNumber( elem, value, subtract ) { | ||
function setPositiveNumber( _elem, value, subtract ) { | ||
@@ -145,13 +146,22 @@ // Any relative (+/-) values have already been | ||
// Fall back to offsetWidth/offsetHeight when value is "auto" | ||
// This happens for inline elements with no explicit setting (gh-3571) | ||
// Support: Android <=4.1 - 4.3 only | ||
// Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602) | ||
// Support: IE 9-11 only | ||
// Also use offsetWidth/offsetHeight for when box sizing is unreliable | ||
// We use getClientRects() to check for hidden/disconnected. | ||
// In those cases, the computed value can be trusted to be border-box | ||
// Support: IE 9 - 11 only | ||
// Use offsetWidth/offsetHeight for when box sizing is unreliable. | ||
// In those cases, the computed value can be trusted to be border-box. | ||
if ( ( !support.boxSizingReliable() && isBorderBox || | ||
// Support: IE 10 - 11+, Edge 15 - 18+ | ||
// IE/Edge misreport `getComputedStyle` of table rows with width/height | ||
// set in CSS while `offset*` properties report correct values. | ||
// Interestingly, in some cases IE 9 doesn't suffer from this issue. | ||
!support.reliableTrDimensions() && nodeName( elem, "tr" ) || | ||
// Fall back to offsetWidth/offsetHeight when value is "auto" | ||
// This happens for inline elements with no explicit setting (gh-3571) | ||
val === "auto" || | ||
// Support: Android <=4.1 - 4.3 only | ||
// Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602) | ||
!parseFloat( val ) && jQuery.css( elem, "display", false, styles ) === "inline" ) && | ||
// Make sure the element is visible & connected | ||
elem.getClientRects().length ) { | ||
@@ -351,3 +361,3 @@ | ||
jQuery.each( [ "height", "width" ], function( i, dimension ) { | ||
jQuery.each( [ "height", "width" ], function( _i, dimension ) { | ||
jQuery.cssHooks[ dimension ] = { | ||
@@ -354,0 +364,0 @@ get: function( elem, computed, extra ) { |
@@ -63,3 +63,3 @@ define( [ | ||
var pixelPositionVal, boxSizingReliableVal, scrollboxSizeVal, pixelBoxStylesVal, | ||
reliableMarginLeftVal, | ||
reliableTrDimensionsVal, reliableMarginLeftVal, | ||
container = document.createElement( "div" ), | ||
@@ -99,2 +99,31 @@ div = document.createElement( "div" ); | ||
return scrollboxSizeVal; | ||
}, | ||
// Support: IE 9 - 11+, Edge 15 - 18+ | ||
// IE/Edge misreport `getComputedStyle` of table rows with width/height | ||
// set in CSS while `offset*` properties report correct values. | ||
// Behavior in IE 9 is more subtle than in newer versions & it passes | ||
// some versions of this test; make sure not to make it pass there! | ||
reliableTrDimensions: function() { | ||
var table, tr, trChild, trStyle; | ||
if ( reliableTrDimensionsVal == null ) { | ||
table = document.createElement( "table" ); | ||
tr = document.createElement( "tr" ); | ||
trChild = document.createElement( "div" ); | ||
table.style.cssText = "position:absolute;left:-11111px"; | ||
tr.style.height = "1px"; | ||
trChild.style.height = "9px"; | ||
documentElement | ||
.appendChild( table ) | ||
.appendChild( tr ) | ||
.appendChild( trChild ); | ||
trStyle = window.getComputedStyle( tr ); | ||
reliableTrDimensionsVal = parseInt( trStyle.height ) > 3; | ||
documentElement.removeChild( table ); | ||
} | ||
return reliableTrDimensionsVal; | ||
} | ||
@@ -101,0 +130,0 @@ } ); |
@@ -6,3 +6,3 @@ define( function() { | ||
// A method for quickly swapping in/out CSS properties to get correct calculations. | ||
return function( elem, options, callback, args ) { | ||
return function( elem, options, callback ) { | ||
var ret, name, | ||
@@ -17,3 +17,3 @@ old = {}; | ||
ret = callback.apply( elem, args || [] ); | ||
ret = callback.call( elem ); | ||
@@ -20,0 +20,0 @@ // Revert the old values |
@@ -25,3 +25,3 @@ define( [ | ||
if ( !value ) { | ||
value = {}; | ||
value = Object.create( null ); | ||
@@ -28,0 +28,0 @@ // We can accept data for non-element nodes in modern browsers, |
@@ -82,3 +82,3 @@ define( [ | ||
return jQuery.Deferred( function( newDefer ) { | ||
jQuery.each( tuples, function( i, tuple ) { | ||
jQuery.each( tuples, function( _i, tuple ) { | ||
@@ -85,0 +85,0 @@ // Map tuples (progress, done, fail) to arguments (done, fail, progress) |
@@ -10,3 +10,4 @@ define( [ | ||
"./event/alias" | ||
"./deprecated/ajax-event-alias", | ||
"./deprecated/event" | ||
], function( jQuery, nodeName, camelCase, toType, isFunction, isWindow, slice ) { | ||
@@ -16,23 +17,6 @@ | ||
jQuery.fn.extend( { | ||
// Support: Android <=4.0 only | ||
// Make sure we trim BOM and NBSP | ||
var rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g; | ||
bind: function( types, data, fn ) { | ||
return this.on( types, null, data, fn ); | ||
}, | ||
unbind: function( types, fn ) { | ||
return this.off( types, null, fn ); | ||
}, | ||
delegate: function( selector, types, data, fn ) { | ||
return this.on( types, selector, data, fn ); | ||
}, | ||
undelegate: function( selector, types, fn ) { | ||
// ( namespace ) or ( selector, types [, fn] ) | ||
return arguments.length === 1 ? | ||
this.off( selector, "**" ) : | ||
this.off( types, selector || "**", fn ); | ||
} | ||
} ); | ||
// Bind a function to a context, optionally partially applying any | ||
@@ -100,2 +84,7 @@ // arguments. | ||
jQuery.trim = function( text ) { | ||
return text == null ? | ||
"" : | ||
( text + "" ).replace( rtrim, "" ); | ||
}; | ||
} ); |
@@ -10,3 +10,2 @@ define( [ | ||
"./css/var/isHiddenWithinTree", | ||
"./css/var/swap", | ||
"./css/adjustCSS", | ||
@@ -24,3 +23,3 @@ "./data/var/dataPriv", | ||
], function( jQuery, camelCase, document, isFunction, rcssNum, rnothtmlwhite, cssExpand, | ||
isHiddenWithinTree, swap, adjustCSS, dataPriv, showHide ) { | ||
isHiddenWithinTree, adjustCSS, dataPriv, showHide ) { | ||
@@ -547,3 +546,3 @@ "use strict"; | ||
} | ||
if ( clearQueue && type !== false ) { | ||
if ( clearQueue ) { | ||
this.queue( type || "fx", [] ); | ||
@@ -631,3 +630,3 @@ } | ||
jQuery.each( [ "toggle", "show", "hide" ], function( i, name ) { | ||
jQuery.each( [ "toggle", "show", "hide" ], function( _i, name ) { | ||
var cssFn = jQuery.fn[ name ]; | ||
@@ -634,0 +633,0 @@ jQuery.fn[ name ] = function( speed, easing, callback ) { |
@@ -9,2 +9,3 @@ define( [ | ||
"./var/slice", | ||
"./data/var/acceptData", | ||
"./data/var/dataPriv", | ||
@@ -16,3 +17,3 @@ "./core/nodeName", | ||
], function( jQuery, document, documentElement, isFunction, rnothtmlwhite, | ||
rcheckableType, slice, dataPriv, nodeName ) { | ||
rcheckableType, slice, acceptData, dataPriv, nodeName ) { | ||
@@ -129,4 +130,4 @@ "use strict"; | ||
// Don't attach events to noData or text/comment nodes (but allow plain objects) | ||
if ( !elemData ) { | ||
// Only attach events to objects that accept data | ||
if ( !acceptData( elem ) ) { | ||
return; | ||
@@ -155,3 +156,3 @@ } | ||
if ( !( events = elemData.events ) ) { | ||
events = elemData.events = {}; | ||
events = elemData.events = Object.create( null ); | ||
} | ||
@@ -314,8 +315,11 @@ if ( !( eventHandle = elemData.handle ) ) { | ||
// Make a writable jQuery.Event from the native event object | ||
var event = jQuery.event.fix( nativeEvent ); | ||
var i, j, ret, matched, handleObj, handlerQueue, | ||
args = new Array( arguments.length ), | ||
handlers = ( dataPriv.get( this, "events" ) || {} )[ event.type ] || [], | ||
// Make a writable jQuery.Event from the native event object | ||
event = jQuery.event.fix( nativeEvent ), | ||
handlers = ( | ||
dataPriv.get( this, "events" ) || Object.create( null ) | ||
)[ event.type ] || [], | ||
special = jQuery.event.special[ event.type ] || {}; | ||
@@ -322,0 +326,0 @@ |
@@ -30,3 +30,6 @@ define( [ | ||
setup: function() { | ||
var doc = this.ownerDocument || this, | ||
// Handle: regular nodes (via `this.ownerDocument`), window | ||
// (via `this.document`) & document (via `this`). | ||
var doc = this.ownerDocument || this.document || this, | ||
attaches = dataPriv.access( doc, fix ); | ||
@@ -40,3 +43,3 @@ | ||
teardown: function() { | ||
var doc = this.ownerDocument || this, | ||
var doc = this.ownerDocument || this.document || this, | ||
attaches = dataPriv.access( doc, fix ) - 1; | ||
@@ -43,0 +46,0 @@ |
@@ -106,3 +106,5 @@ define( [ | ||
// jQuery handler | ||
handle = ( dataPriv.get( cur, "events" ) || {} )[ event.type ] && | ||
handle = ( | ||
dataPriv.get( cur, "events" ) || Object.create( null ) | ||
)[ event.type ] && | ||
dataPriv.get( cur, "handle" ); | ||
@@ -109,0 +111,0 @@ if ( handle ) { |
define( [ | ||
"../core" | ||
], function( jQuery, noGlobal ) { | ||
], function( jQuery ) { | ||
@@ -30,3 +30,3 @@ "use strict"; | ||
// and CommonJS for browser emulators (#13566) | ||
if ( !noGlobal ) { | ||
if ( typeof noGlobal === "undefined" ) { | ||
window.jQuery = window.$ = jQuery; | ||
@@ -33,0 +33,0 @@ } |
@@ -26,3 +26,4 @@ define( [ | ||
"./ajax/load", | ||
"./event/ajax", | ||
"./core/parseXML", | ||
"./core/parseHTML", | ||
"./effects", | ||
@@ -29,0 +30,0 @@ "./effects/animatedSelector", |
define( [ | ||
"./core", | ||
"./core/isAttached", | ||
"./var/concat", | ||
"./var/flat", | ||
"./var/isFunction", | ||
@@ -27,3 +27,3 @@ "./var/push", | ||
"./event" | ||
], function( jQuery, isAttached, concat, isFunction, push, rcheckableType, | ||
], function( jQuery, isAttached, flat, isFunction, push, rcheckableType, | ||
access, rtagName, rscriptType, | ||
@@ -37,9 +37,2 @@ wrapMap, getAll, setGlobalEval, buildFragment, support, | ||
/* eslint-disable max-len */ | ||
// See https://github.com/eslint/eslint/issues/3229 | ||
rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi, | ||
/* eslint-enable */ | ||
// Support: IE <=10 - 11, Edge 12 - 13 only | ||
@@ -81,3 +74,3 @@ // In IE/Edge using regex groups here causes severe slowdowns. | ||
function cloneCopyEvent( src, dest ) { | ||
var i, l, type, pdataOld, pdataCur, udataOld, udataCur, events; | ||
var i, l, type, pdataOld, udataOld, udataCur, events; | ||
@@ -90,9 +83,7 @@ if ( dest.nodeType !== 1 ) { | ||
if ( dataPriv.hasData( src ) ) { | ||
pdataOld = dataPriv.access( src ); | ||
pdataCur = dataPriv.set( dest, pdataOld ); | ||
pdataOld = dataPriv.get( src ); | ||
events = pdataOld.events; | ||
if ( events ) { | ||
delete pdataCur.handle; | ||
pdataCur.events = {}; | ||
dataPriv.remove( dest, "handle events" ); | ||
@@ -133,3 +124,3 @@ for ( type in events ) { | ||
// Flatten any nested arrays | ||
args = concat.apply( [], args ); | ||
args = flat( args ); | ||
@@ -209,3 +200,3 @@ var fragment, first, scripts, hasScripts, node, doc, | ||
nonce: node.nonce || node.getAttribute( "nonce" ) | ||
} ); | ||
}, doc ); | ||
} | ||
@@ -247,3 +238,3 @@ } else { | ||
htmlPrefilter: function( html ) { | ||
return html.replace( rxhtmlTag, "<$1></$2>" ); | ||
return html; | ||
}, | ||
@@ -250,0 +241,0 @@ |
@@ -7,3 +7,3 @@ define( [ | ||
jQuery._evalUrl = function( url, options ) { | ||
jQuery._evalUrl = function( url, options, doc ) { | ||
return jQuery.ajax( { | ||
@@ -26,3 +26,3 @@ url: url, | ||
dataFilter: function( response ) { | ||
jQuery.globalEval( response, options ); | ||
jQuery.globalEval( response, options, doc ); | ||
} | ||
@@ -29,0 +29,0 @@ } ); |
@@ -31,2 +31,8 @@ define( [ | ||
support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; | ||
// Support: IE <=9 only | ||
// IE <=9 replaces <option> tags with their contents when inserted outside of | ||
// the select element. | ||
div.innerHTML = "<option></option>"; | ||
support.option = !!div.lastChild; | ||
} )(); | ||
@@ -33,0 +39,0 @@ |
@@ -1,2 +0,4 @@ | ||
define( function() { | ||
define( [ | ||
"./support" | ||
], function( support ) { | ||
@@ -8,5 +10,2 @@ "use strict"; | ||
// Support: IE <=9 only | ||
option: [ 1, "<select multiple='multiple'>", "</select>" ], | ||
// XHTML parsers do not magically insert elements in the | ||
@@ -23,9 +22,11 @@ // same way that tag soup parsers do. So we cannot shorten | ||
// Support: IE <=9 only | ||
wrapMap.optgroup = wrapMap.option; | ||
wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; | ||
wrapMap.th = wrapMap.td; | ||
// Support: IE <=9 only | ||
if ( !support.option ) { | ||
wrapMap.optgroup = wrapMap.option = [ 1, "<select multiple='multiple'>", "</select>" ]; | ||
} | ||
return wrapMap; | ||
} ); |
define( [ | ||
"./core", | ||
"./core/access", | ||
"./var/document", | ||
"./var/documentElement", | ||
@@ -15,4 +14,4 @@ "./var/isFunction", | ||
"./selector" // contains | ||
], function( jQuery, access, document, documentElement, isFunction, rnumnonpx, | ||
curCSS, addGetHookIf, support, isWindow ) { | ||
], function( jQuery, access, documentElement, isFunction, rnumnonpx, | ||
curCSS, addGetHookIf, support, isWindow ) { | ||
@@ -68,2 +67,8 @@ "use strict"; | ||
} else { | ||
if ( typeof props.top === "number" ) { | ||
props.top += "px"; | ||
} | ||
if ( typeof props.left === "number" ) { | ||
props.left += "px"; | ||
} | ||
curElem.css( props ); | ||
@@ -219,3 +224,3 @@ } | ||
// rather than make the css module depend on the offset module, just check for it here | ||
jQuery.each( [ "top", "left" ], function( i, prop ) { | ||
jQuery.each( [ "top", "left" ], function( _i, prop ) { | ||
jQuery.cssHooks[ prop ] = addGetHookIf( support.pixelPosition, | ||
@@ -222,0 +227,0 @@ function( elem, computed ) { |
@@ -37,2 +37,3 @@ define( [ | ||
var hasDuplicate, sortInput, | ||
rhtmlSuffix = /HTML$/i, | ||
sortStable = jQuery.expando.split( "" ).sort( sortOrder ).join( "" ) === jQuery.expando, | ||
@@ -204,7 +205,10 @@ matches = documentElement.matches || | ||
isXMLDoc: function( elem ) { | ||
var namespace = elem.namespaceURI, | ||
documentElement = ( elem.ownerDocument || elem ).documentElement; | ||
// documentElement is verified for cases where it doesn't yet exist | ||
// (such as loading iframes in IE - #4833) | ||
var documentElement = elem && ( elem.ownerDocument || elem ).documentElement; | ||
return documentElement ? documentElement.nodeName !== "HTML" : false; | ||
// Assume HTML when documentElement doesn't yet exist, such as inside | ||
// document fragments. | ||
return !rhtmlSuffix.test( namespace || | ||
documentElement && documentElement.nodeName || | ||
"HTML" ); | ||
}, | ||
@@ -211,0 +215,0 @@ expr: { |
@@ -117,3 +117,3 @@ define( [ | ||
} ) | ||
.map( function( i, elem ) { | ||
.map( function( _i, elem ) { | ||
var val = jQuery( this ).val(); | ||
@@ -120,0 +120,0 @@ |
define( [ | ||
"./core", | ||
"./var/getProto", | ||
"./var/indexOf", | ||
@@ -12,3 +13,3 @@ "./traversing/var/dir", | ||
"./selector" | ||
], function( jQuery, indexOf, dir, siblings, rneedsContext, nodeName ) { | ||
], function( jQuery, getProto, indexOf, dir, siblings, rneedsContext, nodeName ) { | ||
@@ -121,3 +122,3 @@ "use strict"; | ||
}, | ||
parentsUntil: function( elem, i, until ) { | ||
parentsUntil: function( elem, _i, until ) { | ||
return dir( elem, "parentNode", until ); | ||
@@ -137,6 +138,6 @@ }, | ||
}, | ||
nextUntil: function( elem, i, until ) { | ||
nextUntil: function( elem, _i, until ) { | ||
return dir( elem, "nextSibling", until ); | ||
}, | ||
prevUntil: function( elem, i, until ) { | ||
prevUntil: function( elem, _i, until ) { | ||
return dir( elem, "previousSibling", until ); | ||
@@ -151,3 +152,9 @@ }, | ||
contents: function( elem ) { | ||
if ( typeof elem.contentDocument !== "undefined" ) { | ||
if ( elem.contentDocument != null && | ||
// Support: IE 11+ | ||
// <object> elements with no `data` attribute has an object | ||
// `contentDocument` with a `null` prototype. | ||
getProto( elem.contentDocument ) ) { | ||
return elem.contentDocument; | ||
@@ -154,0 +161,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1315634
26493
123
63
1