src/myams/resources/js/ext/tinymce/dev/classes/dom/Sizzle.min.js
changeset 5 c9c69b13d884
parent 0 f05d7aea098a
equal deleted inserted replaced
4:440e5d8fae8f 5:c9c69b13d884
     1 define("tinymce/dom/Sizzle",[],function(){var C,aw,s,L,O,m,aa,av,aA,M,ab,ad,G,t,am,ah,au,j,J,ao="sizzle"+-(new Date()),N=window.document,ax=0,ai=0,c=E(),an=E(),K=E(),I=function(i,e){if(i===e){ab=true}return 0},at=typeof undefined,U=1<<31,S=({}).hasOwnProperty,aq=[],ar=aq.pop,Q=aq.push,a=aq.push,r=aq.slice,h=aq.indexOf||function(aC){var aB=0,e=this.length;for(;aB<e;aB++){if(this[aB]===aC){return aB}}return -1},b="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",u="[\\x20\\t\\r\\n\\f]",P="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ak="\\["+u+"*("+P+")(?:"+u+"*([*^$|!~]?=)"+u+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+P+"))|)"+u+"*\\]",p=":("+P+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ak+")*)|.*)\\)|)",w=new RegExp("^"+u+"+|((?:^|[^\\\\])(?:\\\\.)*)"+u+"+$","g"),z=new RegExp("^"+u+"*,"+u+"*"),F=new RegExp("^"+u+"*([>+~]|"+u+")"+u+"*"),y=new RegExp("="+u+"*([^\\]'\"]*?)"+u+"*\\]","g"),W=new RegExp(p),Y=new RegExp("^"+P+"$"),ag={ID:new RegExp("^#("+P+")"),CLASS:new RegExp("^\\.("+P+")"),TAG:new RegExp("^("+P+"|[*])"),ATTR:new RegExp("^"+ak),PSEUDO:new RegExp("^"+p),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+u+"*(even|odd|(([+-]|)(\\d*)n|)"+u+"*(?:([+-]|)"+u+"*(\\d+)|))"+u+"*\\)|)","i"),bool:new RegExp("^(?:"+b+")$","i"),needsContext:new RegExp("^"+u+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+u+"*((?:-\\d)?\\d*)"+u+"*\\)|)(?=[^-]|$)","i")},g=/^(?:input|select|textarea|button)$/i,q=/^h\d$/i,T=/^[^{]+\{\s*\[native \w/,V=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,af=/[+~]/,R=/'|\\/g,x=new RegExp("\\\\([\\da-f]{1,6}"+u+"?|("+u+")|.)","ig"),aj=function(e,aC,i){var aB="0x"+aC-65536;return aB!==aB||i?aC:aB<0?String.fromCharCode(aB+65536):String.fromCharCode(aB>>10|55296,aB&1023|56320)};try{a.apply((aq=r.call(N.childNodes)),N.childNodes);aq[N.childNodes.length].nodeType}catch(H){a={apply:aq.length?function(i,e){Q.apply(i,r.call(e))}:function(aD,aC){var e=aD.length,aB=0;while((aD[e++]=aC[aB++])){}aD.length=e-1}}}function A(aI,aB,aM,aO){var aN,aF,aG,aK,aL,aE,aD,e,aC,aJ;if((aB?aB.ownerDocument||aB:N)!==G){ad(aB)}aB=aB||G;aM=aM||[];if(!aI||typeof aI!=="string"){return aM}if((aK=aB.nodeType)!==1&&aK!==9){return[]}if(am&&!aO){if((aN=V.exec(aI))){if((aG=aN[1])){if(aK===9){aF=aB.getElementById(aG);if(aF&&aF.parentNode){if(aF.id===aG){aM.push(aF);return aM}}else{return aM}}else{if(aB.ownerDocument&&(aF=aB.ownerDocument.getElementById(aG))&&J(aB,aF)&&aF.id===aG){aM.push(aF);return aM}}}else{if(aN[2]){a.apply(aM,aB.getElementsByTagName(aI));return aM}else{if((aG=aN[3])&&aw.getElementsByClassName){a.apply(aM,aB.getElementsByClassName(aG));return aM}}}}if(aw.qsa&&(!ah||!ah.test(aI))){e=aD=ao;aC=aB;aJ=aK===9&&aI;if(aK===1&&aB.nodeName.toLowerCase()!=="object"){aE=m(aI);if((aD=aB.getAttribute("id"))){e=aD.replace(R,"\\$&")}else{aB.setAttribute("id",e)}e="[id='"+e+"'] ";aL=aE.length;while(aL--){aE[aL]=e+n(aE[aL])}aC=af.test(aI)&&X(aB.parentNode)||aB;aJ=aE.join(",")}if(aJ){try{a.apply(aM,aC.querySelectorAll(aJ));return aM}catch(aH){}finally{if(!aD){aB.removeAttribute("id")}}}}}return av(aI.replace(w,"$1"),aB,aM,aO)}function E(){var i=[];function e(aB,aC){if(i.push(aB+" ")>s.cacheLength){delete e[i.shift()]}return(e[aB+" "]=aC)}return e}function o(e){e[ao]=true;return e}function k(i){var aC=G.createElement("div");try{return !!i(aC)}catch(aB){return false}finally{if(aC.parentNode){aC.parentNode.removeChild(aC)}aC=null}}function ay(aB,aD){var e=aB.split("|"),aC=aB.length;while(aC--){s.attrHandle[e[aC]]=aD}}function d(i,e){var aC=e&&i,aB=aC&&i.nodeType===1&&e.nodeType===1&&(~e.sourceIndex||U)-(~i.sourceIndex||U);if(aB){return aB}if(aC){while((aC=aC.nextSibling)){if(aC===e){return -1}}}return i?1:-1}function B(e){return function(aB){var i=aB.nodeName.toLowerCase();return i==="input"&&aB.type===e}}function f(e){return function(aB){var i=aB.nodeName.toLowerCase();return(i==="input"||i==="button")&&aB.type===e}}function al(e){return o(function(i){i=+i;return o(function(aB,aF){var aD,aC=e([],aB.length,i),aE=aC.length;while(aE--){if(aB[(aD=aC[aE])]){aB[aD]=!(aF[aD]=aB[aD])}}})})}function X(e){return e&&typeof e.getElementsByTagName!==at&&e}aw=A.support={};O=A.isXML=function(e){var i=e&&(e.ownerDocument||e).documentElement;return i?i.nodeName!=="HTML":false};ad=A.setDocument=function(aB){var e,aC=aB?aB.ownerDocument||aB:N,i=aC.defaultView;if(aC===G||aC.nodeType!==9||!aC.documentElement){return G}G=aC;t=aC.documentElement;am=!O(aC);if(i&&i!==i.top){if(i.addEventListener){i.addEventListener("unload",function(){ad()},false)}else{if(i.attachEvent){i.attachEvent("onunload",function(){ad()})}}}aw.attributes=k(function(aD){aD.className="i";return !aD.getAttribute("className")});aw.getElementsByTagName=k(function(aD){aD.appendChild(aC.createComment(""));return !aD.getElementsByTagName("*").length});aw.getElementsByClassName=T.test(aC.getElementsByClassName);aw.getById=k(function(aD){t.appendChild(aD).id=ao;return !aC.getElementsByName||!aC.getElementsByName(ao).length});if(aw.getById){s.find.ID=function(aF,aE){if(typeof aE.getElementById!==at&&am){var aD=aE.getElementById(aF);return aD&&aD.parentNode?[aD]:[]}};s.filter.ID=function(aE){var aD=aE.replace(x,aj);return function(aF){return aF.getAttribute("id")===aD}}}else{delete s.find.ID;s.filter.ID=function(aE){var aD=aE.replace(x,aj);return function(aG){var aF=typeof aG.getAttributeNode!==at&&aG.getAttributeNode("id");return aF&&aF.value===aD}}}s.find.TAG=aw.getElementsByTagName?function(aD,aE){if(typeof aE.getElementsByTagName!==at){return aE.getElementsByTagName(aD)}}:function(aD,aH){var aI,aG=[],aF=0,aE=aH.getElementsByTagName(aD);if(aD==="*"){while((aI=aE[aF++])){if(aI.nodeType===1){aG.push(aI)}}return aG}return aE};s.find.CLASS=aw.getElementsByClassName&&function(aE,aD){if(am){return aD.getElementsByClassName(aE)}};au=[];ah=[];if((aw.qsa=T.test(aC.querySelectorAll))){k(function(aD){aD.innerHTML="<select msallowcapture=''><option selected=''></option></select>";if(aD.querySelectorAll("[msallowcapture^='']").length){ah.push("[*^$]="+u+"*(?:''|\"\")")}if(!aD.querySelectorAll("[selected]").length){ah.push("\\["+u+"*(?:value|"+b+")")}if(!aD.querySelectorAll(":checked").length){ah.push(":checked")}});k(function(aE){var aD=aC.createElement("input");aD.setAttribute("type","hidden");aE.appendChild(aD).setAttribute("name","D");if(aE.querySelectorAll("[name=d]").length){ah.push("name"+u+"*[*^$|!~]?=")}if(!aE.querySelectorAll(":enabled").length){ah.push(":enabled",":disabled")}aE.querySelectorAll("*,:x");ah.push(",.*:")})}if((aw.matchesSelector=T.test((j=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.msMatchesSelector)))){k(function(aD){aw.disconnectedMatch=j.call(aD,"div");j.call(aD,"[s!='']:x");au.push("!=",p)})}ah=ah.length&&new RegExp(ah.join("|"));au=au.length&&new RegExp(au.join("|"));e=T.test(t.compareDocumentPosition);J=e||T.test(t.contains)?function(aE,aD){var aG=aE.nodeType===9?aE.documentElement:aE,aF=aD&&aD.parentNode;return aE===aF||!!(aF&&aF.nodeType===1&&(aG.contains?aG.contains(aF):aE.compareDocumentPosition&&aE.compareDocumentPosition(aF)&16))}:function(aE,aD){if(aD){while((aD=aD.parentNode)){if(aD===aE){return true}}}return false};I=e?function(aE,aD){if(aE===aD){ab=true;return 0}var aF=!aE.compareDocumentPosition-!aD.compareDocumentPosition;if(aF){return aF}aF=(aE.ownerDocument||aE)===(aD.ownerDocument||aD)?aE.compareDocumentPosition(aD):1;if(aF&1||(!aw.sortDetached&&aD.compareDocumentPosition(aE)===aF)){if(aE===aC||aE.ownerDocument===N&&J(N,aE)){return -1}if(aD===aC||aD.ownerDocument===N&&J(N,aD)){return 1}return M?(h.call(M,aE)-h.call(M,aD)):0}return aF&4?-1:1}:function(aE,aD){if(aE===aD){ab=true;return 0}var aK,aH=0,aJ=aE.parentNode,aG=aD.parentNode,aF=[aE],aI=[aD];if(!aJ||!aG){return aE===aC?-1:aD===aC?1:aJ?-1:aG?1:M?(h.call(M,aE)-h.call(M,aD)):0}else{if(aJ===aG){return d(aE,aD)}}aK=aE;while((aK=aK.parentNode)){aF.unshift(aK)}aK=aD;while((aK=aK.parentNode)){aI.unshift(aK)}while(aF[aH]===aI[aH]){aH++}return aH?d(aF[aH],aI[aH]):aF[aH]===N?-1:aI[aH]===N?1:0};return aC};A.matches=function(i,e){return A(i,null,null,e)};A.matchesSelector=function(aB,aD){if((aB.ownerDocument||aB)!==G){ad(aB)}aD=aD.replace(y,"='$1']");if(aw.matchesSelector&&am&&(!au||!au.test(aD))&&(!ah||!ah.test(aD))){try{var i=j.call(aB,aD);if(i||aw.disconnectedMatch||aB.document&&aB.document.nodeType!==11){return i}}catch(aC){}}return A(aD,G,null,[aB]).length>0};A.contains=function(e,i){if((e.ownerDocument||e)!==G){ad(e)}return J(e,i)};A.attr=function(aB,e){if((aB.ownerDocument||aB)!==G){ad(aB)}var i=s.attrHandle[e.toLowerCase()],aC=i&&S.call(s.attrHandle,e.toLowerCase())?i(aB,e,!am):undefined;return aC!==undefined?aC:aw.attributes||!am?aB.getAttribute(e):(aC=aB.getAttributeNode(e))&&aC.specified?aC.value:null};A.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)};A.uniqueSort=function(aC){var aD,aE=[],e=0,aB=0;ab=!aw.detectDuplicates;M=!aw.sortStable&&aC.slice(0);aC.sort(I);if(ab){while((aD=aC[aB++])){if(aD===aC[aB]){e=aE.push(aB)}}while(e--){aC.splice(aE[e],1)}}M=null;return aC};L=A.getText=function(aE){var aD,aB="",aC=0,e=aE.nodeType;if(!e){while((aD=aE[aC++])){aB+=L(aD)}}else{if(e===1||e===9||e===11){if(typeof aE.textContent==="string"){return aE.textContent}else{for(aE=aE.firstChild;aE;aE=aE.nextSibling){aB+=L(aE)}}}else{if(e===3||e===4){return aE.nodeValue}}}return aB};s=A.selectors={cacheLength:50,createPseudo:o,match:ag,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:true}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:true},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){e[1]=e[1].replace(x,aj);e[3]=(e[3]||e[4]||e[5]||"").replace(x,aj);if(e[2]==="~="){e[3]=" "+e[3]+" "}return e.slice(0,4)},CHILD:function(e){e[1]=e[1].toLowerCase();if(e[1].slice(0,3)==="nth"){if(!e[3]){A.error(e[0])}e[4]=+(e[4]?e[5]+(e[6]||1):2*(e[3]==="even"||e[3]==="odd"));e[5]=+((e[7]+e[8])||e[3]==="odd")}else{if(e[3]){A.error(e[0])}}return e},PSEUDO:function(i){var e,aB=!i[6]&&i[2];if(ag.CHILD.test(i[0])){return null}if(i[3]){i[2]=i[4]||i[5]||""}else{if(aB&&W.test(aB)&&(e=m(aB,true))&&(e=aB.indexOf(")",aB.length-e)-aB.length)){i[0]=i[0].slice(0,e);i[2]=aB.slice(0,e)}}return i.slice(0,3)}},filter:{TAG:function(i){var e=i.replace(x,aj).toLowerCase();return i==="*"?function(){return true}:function(aB){return aB.nodeName&&aB.nodeName.toLowerCase()===e}},CLASS:function(e){var i=c[e+" "];return i||(i=new RegExp("(^|"+u+")"+e+"("+u+"|$)"))&&c(e,function(aB){return i.test(typeof aB.className==="string"&&aB.className||typeof aB.getAttribute!==at&&aB.getAttribute("class")||"")})},ATTR:function(aB,i,e){return function(aD){var aC=A.attr(aD,aB);if(aC==null){return i==="!="}if(!i){return true}aC+="";return i==="="?aC===e:i==="!="?aC!==e:i==="^="?e&&aC.indexOf(e)===0:i==="*="?e&&aC.indexOf(e)>-1:i==="$="?e&&aC.slice(-e.length)===e:i==="~="?(" "+aC+" ").indexOf(e)>-1:i==="|="?aC===e||aC.slice(0,e.length+1)===e+"-":false}},CHILD:function(i,aD,aC,aE,aB){var aG=i.slice(0,3)!=="nth",e=i.slice(-4)!=="last",aF=aD==="of-type";return aE===1&&aB===0?function(aH){return !!aH.parentNode}:function(aN,aL,aQ){var aH,aT,aO,aS,aP,aK,aM=aG!==e?"nextSibling":"previousSibling",aR=aN.parentNode,aJ=aF&&aN.nodeName.toLowerCase(),aI=!aQ&&!aF;if(aR){if(aG){while(aM){aO=aN;while((aO=aO[aM])){if(aF?aO.nodeName.toLowerCase()===aJ:aO.nodeType===1){return false}}aK=aM=i==="only"&&!aK&&"nextSibling"}return true}aK=[e?aR.firstChild:aR.lastChild];if(e&&aI){aT=aR[ao]||(aR[ao]={});aH=aT[i]||[];aP=aH[0]===ax&&aH[1];aS=aH[0]===ax&&aH[2];aO=aP&&aR.childNodes[aP];while((aO=++aP&&aO&&aO[aM]||(aS=aP=0)||aK.pop())){if(aO.nodeType===1&&++aS&&aO===aN){aT[i]=[ax,aP,aS];break}}}else{if(aI&&(aH=(aN[ao]||(aN[ao]={}))[i])&&aH[0]===ax){aS=aH[1]}else{while((aO=++aP&&aO&&aO[aM]||(aS=aP=0)||aK.pop())){if((aF?aO.nodeName.toLowerCase()===aJ:aO.nodeType===1)&&++aS){if(aI){(aO[ao]||(aO[ao]={}))[i]=[ax,aS]}if(aO===aN){break}}}}}aS-=aB;return aS===aE||(aS%aE===0&&aS/aE>=0)}}},PSEUDO:function(aC,aB){var e,i=s.pseudos[aC]||s.setFilters[aC.toLowerCase()]||A.error("unsupported pseudo: "+aC);if(i[ao]){return i(aB)}if(i.length>1){e=[aC,aC,"",aB];return s.setFilters.hasOwnProperty(aC.toLowerCase())?o(function(aF,aH){var aE,aD=i(aF,aB),aG=aD.length;while(aG--){aE=h.call(aF,aD[aG]);aF[aE]=!(aH[aE]=aD[aG])}}):function(aD){return i(aD,0,e)}}return i}},pseudos:{not:o(function(e){var i=[],aB=[],aC=aa(e.replace(w,"$1"));return aC[ao]?o(function(aE,aJ,aH,aF){var aI,aD=aC(aE,null,aF,[]),aG=aE.length;while(aG--){if((aI=aD[aG])){aE[aG]=!(aJ[aG]=aI)}}}):function(aF,aE,aD){i[0]=aF;aC(i,null,aD,aB);return !aB.pop()}}),has:o(function(e){return function(i){return A(e,i).length>0}}),contains:o(function(e){e=e.replace(x,aj);return function(i){return(i.textContent||i.innerText||L(i)).indexOf(e)>-1}}),lang:o(function(e){if(!Y.test(e||"")){A.error("unsupported lang: "+e)}e=e.replace(x,aj).toLowerCase();return function(aB){var i;do{if((i=am?aB.lang:aB.getAttribute("xml:lang")||aB.getAttribute("lang"))){i=i.toLowerCase();return i===e||i.indexOf(e+"-")===0}}while((aB=aB.parentNode)&&aB.nodeType===1);return false}}),target:function(e){var i=window.location&&window.location.hash;return i&&i.slice(1)===e.id},root:function(e){return e===t},focus:function(e){return e===G.activeElement&&(!G.hasFocus||G.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===false},disabled:function(e){return e.disabled===true},checked:function(e){var i=e.nodeName.toLowerCase();return(i==="input"&&!!e.checked)||(i==="option"&&!!e.selected)},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex}return e.selected===true},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling){if(e.nodeType<6){return false}}return true},parent:function(e){return !s.pseudos.empty(e)},header:function(e){return q.test(e.nodeName)},input:function(e){return g.test(e.nodeName)},button:function(i){var e=i.nodeName.toLowerCase();return e==="input"&&i.type==="button"||e==="button"},text:function(i){var e;return i.nodeName.toLowerCase()==="input"&&i.type==="text"&&((e=i.getAttribute("type"))==null||e.toLowerCase()==="text")},first:al(function(){return[0]}),last:al(function(e,i){return[i-1]}),eq:al(function(e,aB,i){return[i<0?i+aB:i]}),even:al(function(e,aC){var aB=0;for(;aB<aC;aB+=2){e.push(aB)}return e}),odd:al(function(e,aC){var aB=1;for(;aB<aC;aB+=2){e.push(aB)}return e}),lt:al(function(e,aD,aC){var aB=aC<0?aC+aD:aC;for(;--aB>=0;){e.push(aB)}return e}),gt:al(function(e,aD,aC){var aB=aC<0?aC+aD:aC;for(;++aB<aD;){e.push(aB)}return e})}};s.pseudos.nth=s.pseudos.eq;for(C in {radio:true,checkbox:true,file:true,password:true,image:true}){s.pseudos[C]=B(C)}for(C in {submit:true,reset:true}){s.pseudos[C]=f(C)}function Z(){}Z.prototype=s.filters=s.pseudos;s.setFilters=new Z();m=A.tokenize=function(aD,aI){var i,aE,aG,aH,aF,aB,e,aC=an[aD+" "];if(aC){return aI?0:aC.slice(0)}aF=aD;aB=[];e=s.preFilter;while(aF){if(!i||(aE=z.exec(aF))){if(aE){aF=aF.slice(aE[0].length)||aF}aB.push((aG=[]))}i=false;if((aE=F.exec(aF))){i=aE.shift();aG.push({value:i,type:aE[0].replace(w," ")});aF=aF.slice(i.length)}for(aH in s.filter){if((aE=ag[aH].exec(aF))&&(!e[aH]||(aE=e[aH](aE)))){i=aE.shift();aG.push({value:i,type:aH,matches:aE});aF=aF.slice(i.length)}}if(!i){break}}return aI?aF.length:aF?A.error(aD):an(aD,aB).slice(0)};function n(aD){var aC=0,aB=aD.length,e="";for(;aC<aB;aC++){e+=aD[aC].value}return e}function v(aD,aB,aC){var e=aB.dir,aE=aC&&e==="parentNode",i=ai++;return aB.first?function(aH,aG,aF){while((aH=aH[e])){if(aH.nodeType===1||aE){return aD(aH,aG,aF)}}}:function(aJ,aH,aG){var aK,aI,aF=[ax,i];if(aG){while((aJ=aJ[e])){if(aJ.nodeType===1||aE){if(aD(aJ,aH,aG)){return true}}}}else{while((aJ=aJ[e])){if(aJ.nodeType===1||aE){aI=aJ[ao]||(aJ[ao]={});if((aK=aI[e])&&aK[0]===ax&&aK[1]===i){return(aF[2]=aK[2])}else{aI[e]=aF;if((aF[2]=aD(aJ,aH,aG))){return true}}}}}}}function az(e){return e.length>1?function(aE,aD,aB){var aC=e.length;while(aC--){if(!e[aC](aE,aD,aB)){return false}}return true}:e[0]}function D(aB,aE,aD){var aC=0,e=aE.length;for(;aC<e;aC++){A(aB,aE[aC],aD)}return aD}function ae(e,aB,aC,aD,aG){var aE,aJ=[],aF=0,aH=e.length,aI=aB!=null;for(;aF<aH;aF++){if((aE=e[aF])){if(!aC||aC(aE,aD,aG)){aJ.push(aE);if(aI){aB.push(aF)}}}}return aJ}function l(aB,i,aD,aC,aE,e){if(aC&&!aC[ao]){aC=l(aC)}if(aE&&!aE[ao]){aE=l(aE,e)}return o(function(aP,aM,aH,aO){var aR,aN,aJ,aI=[],aQ=[],aG=aM.length,aF=aP||D(i||"*",aH.nodeType?[aH]:aH,[]),aK=aB&&(aP||!i)?ae(aF,aI,aB,aH,aO):aF,aL=aD?aE||(aP?aB:aG||aC)?[]:aM:aK;if(aD){aD(aK,aL,aH,aO)}if(aC){aR=ae(aL,aQ);aC(aR,[],aH,aO);aN=aR.length;while(aN--){if((aJ=aR[aN])){aL[aQ[aN]]=!(aK[aQ[aN]]=aJ)}}}if(aP){if(aE||aB){if(aE){aR=[];aN=aL.length;while(aN--){if((aJ=aL[aN])){aR.push((aK[aN]=aJ))}}aE(null,(aL=[]),aR,aO)}aN=aL.length;while(aN--){if((aJ=aL[aN])&&(aR=aE?h.call(aP,aJ):aI[aN])>-1){aP[aR]=!(aM[aR]=aJ)}}}}else{aL=ae(aL===aM?aL.splice(aG,aL.length):aL);if(aE){aE(null,aM,aL,aO)}else{a.apply(aM,aL)}}})}function ap(aG){var aB,aE,aC,aF=aG.length,aJ=s.relative[aG[0].type],aK=aJ||s.relative[" "],aD=aJ?1:0,aH=v(function(i){return i===aB},aK,true),aI=v(function(i){return h.call(aB,i)>-1},aK,true),e=[function(aM,aL,i){return(!aJ&&(i||aL!==aA))||((aB=aL).nodeType?aH(aM,aL,i):aI(aM,aL,i))}];for(;aD<aF;aD++){if((aE=s.relative[aG[aD].type])){e=[v(az(e),aE)]}else{aE=s.filter[aG[aD].type].apply(null,aG[aD].matches);if(aE[ao]){aC=++aD;for(;aC<aF;aC++){if(s.relative[aG[aC].type]){break}}return l(aD>1&&az(e),aD>1&&n(aG.slice(0,aD-1).concat({value:aG[aD-2].type===" "?"*":""})).replace(w,"$1"),aE,aD<aC&&ap(aG.slice(aD,aC)),aC<aF&&ap((aG=aG.slice(aC))),aC<aF&&n(aG))}e.push(aE)}}return az(e)}function ac(aC,aB){var e=aB.length>0,aD=aC.length>0,i=function(aN,aH,aM,aL,aQ){var aI,aJ,aO,aS=0,aK="0",aE=aN&&[],aT=[],aR=aA,aG=aN||aD&&s.find.TAG("*",aQ),aF=(ax+=aR==null?1:Math.random()||0.1),aP=aG.length;if(aQ){aA=aH!==G&&aH}for(;aK!==aP&&(aI=aG[aK])!=null;aK++){if(aD&&aI){aJ=0;while((aO=aC[aJ++])){if(aO(aI,aH,aM)){aL.push(aI);break}}if(aQ){ax=aF}}if(e){if((aI=!aO&&aI)){aS--}if(aN){aE.push(aI)}}}aS+=aK;if(e&&aK!==aS){aJ=0;while((aO=aB[aJ++])){aO(aE,aT,aH,aM)}if(aN){if(aS>0){while(aK--){if(!(aE[aK]||aT[aK])){aT[aK]=ar.call(aL)}}}aT=ae(aT)}a.apply(aL,aT);if(aQ&&!aN&&aT.length>0&&(aS+aB.length)>1){A.uniqueSort(aL)}}if(aQ){ax=aF;aA=aR}return aE};return e?o(i):i}aa=A.compile=function(e,aC){var aD,aB=[],aF=[],aE=K[e+" "];if(!aE){if(!aC){aC=m(e)}aD=aC.length;while(aD--){aE=ap(aC[aD]);if(aE[ao]){aB.push(aE)}else{aF.push(aE)}}aE=K(e,ac(aF,aB));aE.selector=e}return aE};av=A.select=function(aC,e,aD,aG){var aE,aJ,aB,aK,aH,aI=typeof aC==="function"&&aC,aF=!aG&&m((aC=aI.selector||aC));aD=aD||[];if(aF.length===1){aJ=aF[0]=aF[0].slice(0);if(aJ.length>2&&(aB=aJ[0]).type==="ID"&&aw.getById&&e.nodeType===9&&am&&s.relative[aJ[1].type]){e=(s.find.ID(aB.matches[0].replace(x,aj),e)||[])[0];if(!e){return aD}else{if(aI){e=e.parentNode}}aC=aC.slice(aJ.shift().value.length)}aE=ag.needsContext.test(aC)?0:aJ.length;while(aE--){aB=aJ[aE];if(s.relative[(aK=aB.type)]){break}if((aH=s.find[aK])){if((aG=aH(aB.matches[0].replace(x,aj),af.test(aJ[0].type)&&X(e.parentNode)||e))){aJ.splice(aE,1);aC=aG.length&&n(aJ);if(!aC){a.apply(aD,aG);return aD}break}}}}(aI||aa(aC,aF))(aG,e,!am,aD,af.test(aC)&&X(e.parentNode)||e);return aD};aw.sortStable=ao.split("").sort(I).join("")===ao;aw.detectDuplicates=!!ab;ad();aw.sortDetached=k(function(e){return e.compareDocumentPosition(G.createElement("div"))&1});if(!k(function(e){e.innerHTML="<a href='#'></a>";return e.firstChild.getAttribute("href")==="#"})){ay("type|href|height|width",function(i,e,aB){if(!aB){return i.getAttribute(e,e.toLowerCase()==="type"?1:2)}})}if(!aw.attributes||!k(function(e){e.innerHTML="<input/>";e.firstChild.setAttribute("value","");return e.firstChild.getAttribute("value")===""})){ay("value",function(i,e,aB){if(!aB&&i.nodeName.toLowerCase()==="input"){return i.defaultValue}})}if(!k(function(e){return e.getAttribute("disabled")==null})){ay(b,function(i,e,aC){var aB;if(!aC){return i[e]===true?e.toLowerCase():(aB=i.getAttributeNode(e))&&aB.specified?aB.value:null}})}return A});
     1 define("tinymce/dom/Sizzle",[],(function(){var e,t,n,r,o,i,u,l,a,c,f,s,d,p,h,g,m,y,v,w="sizzle"+-new Date,N=window.document,b=0,x=0,C=re(),E=re(),T=re(),D=function(e,t){return e===t&&(f=!0),0},A="undefined",S=1<<31,L={}.hasOwnProperty,B=[],I=B.pop,R=B.push,$=B.push,q=B.slice,P=B.indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(this[t]===e)return t;return-1},k="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",H="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",O="\\["+H+"*("+M+")(?:"+H+"*([*^$|!~]?=)"+H+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+M+"))|)"+H+"*\\]",z=":("+M+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+O+")*)|.*)\\)|)",F=new RegExp("^"+H+"+|((?:^|[^\\\\])(?:\\\\.)*)"+H+"+$","g"),j=new RegExp("^"+H+"*,"+H+"*"),G=new RegExp("^"+H+"*([>+~]|"+H+")"+H+"*"),U=new RegExp("="+H+"*([^\\]'\"]*?)"+H+"*\\]","g"),V=new RegExp(z),X=new RegExp("^"+M+"$"),J={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M+"|[*])"),ATTR:new RegExp("^"+O),PSEUDO:new RegExp("^"+z),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+H+"*(even|odd|(([+-]|)(\\d*)n|)"+H+"*(?:([+-]|)"+H+"*(\\d+)|))"+H+"*\\)|)","i"),bool:new RegExp("^(?:"+k+")$","i"),needsContext:new RegExp("^"+H+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+H+"*((?:-\\d)?\\d*)"+H+"*\\)|)(?=[^-]|$)","i")},K=/^(?:input|select|textarea|button)$/i,Q=/^h\d$/i,W=/^[^{]+\{\s*\[native \w/,Y=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Z=/[+~]/,_=/'|\\/g,ee=new RegExp("\\\\([\\da-f]{1,6}"+H+"?|("+H+")|.)","ig"),te=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)};try{$.apply(B=q.call(N.childNodes),N.childNodes),B[N.childNodes.length].nodeType}catch(e){$={apply:B.length?function(e,t){R.apply(e,q.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function ne(e,n,r,o){var u,a,c,f,p,m,y,b,x,C;if((n?n.ownerDocument||n:N)!==d&&s(n),r=r||[],!e||"string"!=typeof e)return r;if(1!==(f=(n=n||d).nodeType)&&9!==f)return[];if(h&&!o){if(u=Y.exec(e))if(c=u[1]){if(9===f){if(!(a=n.getElementById(c))||!a.parentNode)return r;if(a.id===c)return r.push(a),r}else if(n.ownerDocument&&(a=n.ownerDocument.getElementById(c))&&v(n,a)&&a.id===c)return r.push(a),r}else{if(u[2])return $.apply(r,n.getElementsByTagName(e)),r;if((c=u[3])&&t.getElementsByClassName)return $.apply(r,n.getElementsByClassName(c)),r}if(t.qsa&&(!g||!g.test(e))){if(b=y=w,x=n,C=9===f&&e,1===f&&"object"!==n.nodeName.toLowerCase()){for(m=i(e),(y=n.getAttribute("id"))?b=y.replace(_,"\\$&"):n.setAttribute("id",b),b="[id='"+b+"'] ",p=m.length;p--;)m[p]=b+pe(m[p]);x=Z.test(e)&&se(n.parentNode)||n,C=m.join(",")}if(C)try{return $.apply(r,x.querySelectorAll(C)),r}catch(e){}finally{y||n.removeAttribute("id")}}}return l(e.replace(F,"$1"),n,r,o)}function re(){var e=[];return function t(r,o){return e.push(r+" ")>n.cacheLength&&delete t[e.shift()],t[r+" "]=o}}function oe(e){return e[w]=!0,e}function ie(e){var t=d.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ue(e,t){for(var r=e.split("|"),o=e.length;o--;)n.attrHandle[r[o]]=t}function le(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||S)-(~e.sourceIndex||S);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function ae(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function ce(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function fe(e){return oe((function(t){return t=+t,oe((function(n,r){for(var o,i=e([],n.length,t),u=i.length;u--;)n[o=i[u]]&&(n[o]=!(r[o]=n[o]))}))}))}function se(e){return e&&typeof e.getElementsByTagName!==A&&e}for(e in t=ne.support={},o=ne.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},s=ne.setDocument=function(e){var r,i=e?e.ownerDocument||e:N,u=i.defaultView;return i!==d&&9===i.nodeType&&i.documentElement?(d=i,p=i.documentElement,h=!o(i),u&&u!==u.top&&(u.addEventListener?u.addEventListener("unload",(function(){s()}),!1):u.attachEvent&&u.attachEvent("onunload",(function(){s()}))),t.attributes=ie((function(e){return e.className="i",!e.getAttribute("className")})),t.getElementsByTagName=ie((function(e){return e.appendChild(i.createComment("")),!e.getElementsByTagName("*").length})),t.getElementsByClassName=W.test(i.getElementsByClassName),t.getById=ie((function(e){return p.appendChild(e).id=w,!i.getElementsByName||!i.getElementsByName(w).length})),t.getById?(n.find.ID=function(e,t){if(typeof t.getElementById!==A&&h){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},n.filter.ID=function(e){var t=e.replace(ee,te);return function(e){return e.getAttribute("id")===t}}):(delete n.find.ID,n.filter.ID=function(e){var t=e.replace(ee,te);return function(e){var n=typeof e.getAttributeNode!==A&&e.getAttributeNode("id");return n&&n.value===t}}),n.find.TAG=t.getElementsByTagName?function(e,t){if(typeof t.getElementsByTagName!==A)return t.getElementsByTagName(e)}:function(e,t){var n,r=[],o=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[o++];)1===n.nodeType&&r.push(n);return r}return i},n.find.CLASS=t.getElementsByClassName&&function(e,t){if(h)return t.getElementsByClassName(e)},m=[],g=[],(t.qsa=W.test(i.querySelectorAll))&&(ie((function(e){e.innerHTML="<select msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+H+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+H+"*(?:value|"+k+")"),e.querySelectorAll(":checked").length||g.push(":checked")})),ie((function(e){var t=i.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+H+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")}))),(t.matchesSelector=W.test(y=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&ie((function(e){t.disconnectedMatch=y.call(e,"div"),y.call(e,"[s!='']:x"),m.push("!=",z)})),g=g.length&&new RegExp(g.join("|")),m=m.length&&new RegExp(m.join("|")),r=W.test(p.compareDocumentPosition),v=r||W.test(p.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},D=r?function(e,n){if(e===n)return f=!0,0;var r=!e.compareDocumentPosition-!n.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)===(n.ownerDocument||n)?e.compareDocumentPosition(n):1)||!t.sortDetached&&n.compareDocumentPosition(e)===r?e===i||e.ownerDocument===N&&v(N,e)?-1:n===i||n.ownerDocument===N&&v(N,n)?1:c?P.call(c,e)-P.call(c,n):0:4&r?-1:1)}:function(e,t){if(e===t)return f=!0,0;var n,r=0,o=e.parentNode,u=t.parentNode,l=[e],a=[t];if(!o||!u)return e===i?-1:t===i?1:o?-1:u?1:c?P.call(c,e)-P.call(c,t):0;if(o===u)return le(e,t);for(n=e;n=n.parentNode;)l.unshift(n);for(n=t;n=n.parentNode;)a.unshift(n);for(;l[r]===a[r];)r++;return r?le(l[r],a[r]):l[r]===N?-1:a[r]===N?1:0},i):d},ne.matches=function(e,t){return ne(e,null,null,t)},ne.matchesSelector=function(e,n){if((e.ownerDocument||e)!==d&&s(e),n=n.replace(U,"='$1']"),t.matchesSelector&&h&&(!m||!m.test(n))&&(!g||!g.test(n)))try{var r=y.call(e,n);if(r||t.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return ne(n,d,null,[e]).length>0},ne.contains=function(e,t){return(e.ownerDocument||e)!==d&&s(e),v(e,t)},ne.attr=function(e,r){(e.ownerDocument||e)!==d&&s(e);var o=n.attrHandle[r.toLowerCase()],i=o&&L.call(n.attrHandle,r.toLowerCase())?o(e,r,!h):void 0;return void 0!==i?i:t.attributes||!h?e.getAttribute(r):(i=e.getAttributeNode(r))&&i.specified?i.value:null},ne.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ne.uniqueSort=function(e){var n,r=[],o=0,i=0;if(f=!t.detectDuplicates,c=!t.sortStable&&e.slice(0),e.sort(D),f){for(;n=e[i++];)n===e[i]&&(o=r.push(i));for(;o--;)e.splice(r[o],1)}return c=null,e},r=ne.getText=function(e){var t,n="",o=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=r(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[o++];)n+=r(t);return n},(n=ne.selectors={cacheLength:50,createPseudo:oe,match:J,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(ee,te),e[3]=(e[3]||e[4]||e[5]||"").replace(ee,te),"~="===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]||ne.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]&&ne.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return J.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&V.test(n)&&(t=i(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(ee,te).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=C[e+" "];return t||(t=new RegExp("(^|"+H+")"+e+"("+H+"|$)"))&&C(e,(function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==A&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var o=ne.attr(r,e);return null==o?"!="===t:!t||(o+="","="===t?o===n:"!="===t?o!==n:"^="===t?n&&0===o.indexOf(n):"*="===t?n&&o.indexOf(n)>-1:"$="===t?n&&o.slice(-n.length)===n:"~="===t?(" "+o+" ").indexOf(n)>-1:"|="===t&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,o){var i="nth"!==e.slice(0,3),u="last"!==e.slice(-4),l="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,a){var c,f,s,d,p,h,g=i!==u?"nextSibling":"previousSibling",m=t.parentNode,y=l&&t.nodeName.toLowerCase(),v=!a&&!l;if(m){if(i){for(;g;){for(s=t;s=s[g];)if(l?s.nodeName.toLowerCase()===y:1===s.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[u?m.firstChild:m.lastChild],u&&v){for(p=(c=(f=m[w]||(m[w]={}))[e]||[])[0]===b&&c[1],d=c[0]===b&&c[2],s=p&&m.childNodes[p];s=++p&&s&&s[g]||(d=p=0)||h.pop();)if(1===s.nodeType&&++d&&s===t){f[e]=[b,p,d];break}}else if(v&&(c=(t[w]||(t[w]={}))[e])&&c[0]===b)d=c[1];else for(;(s=++p&&s&&s[g]||(d=p=0)||h.pop())&&((l?s.nodeName.toLowerCase()!==y:1!==s.nodeType)||!++d||(v&&((s[w]||(s[w]={}))[e]=[b,d]),s!==t)););return(d-=o)===r||d%r==0&&d/r>=0}}},PSEUDO:function(e,t){var r,o=n.pseudos[e]||n.setFilters[e.toLowerCase()]||ne.error("unsupported pseudo: "+e);return o[w]?o(t):o.length>1?(r=[e,e,"",t],n.setFilters.hasOwnProperty(e.toLowerCase())?oe((function(e,n){for(var r,i=o(e,t),u=i.length;u--;)e[r=P.call(e,i[u])]=!(n[r]=i[u])})):function(e){return o(e,0,r)}):o}},pseudos:{not:oe((function(e){var t=[],n=[],r=u(e.replace(F,"$1"));return r[w]?oe((function(e,t,n,o){for(var i,u=r(e,null,o,[]),l=e.length;l--;)(i=u[l])&&(e[l]=!(t[l]=i))})):function(e,o,i){return t[0]=e,r(t,null,i,n),!n.pop()}})),has:oe((function(e){return function(t){return ne(e,t).length>0}})),contains:oe((function(e){return e=e.replace(ee,te),function(t){return(t.textContent||t.innerText||r(t)).indexOf(e)>-1}})),lang:oe((function(e){return X.test(e||"")||ne.error("unsupported lang: "+e),e=e.replace(ee,te).toLowerCase(),function(t){var n;do{if(n=h?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(e){var t=window.location&&window.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===p},focus:function(e){return e===d.activeElement&&(!d.hasFocus||d.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},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!n.pseudos.empty(e)},header:function(e){return Q.test(e.nodeName)},input:function(e){return K.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:fe((function(){return[0]})),last:fe((function(e,t){return[t-1]})),eq:fe((function(e,t,n){return[n<0?n+t:n]})),even:fe((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:fe((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:fe((function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e})),gt:fe((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}}).pseudos.nth=n.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})n.pseudos[e]=ae(e);for(e in{submit:!0,reset:!0})n.pseudos[e]=ce(e);function de(){}function pe(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function he(e,t,n){var r=t.dir,o=n&&"parentNode"===r,i=x++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||o)return e(t,n,i)}:function(t,n,u){var l,a,c=[b,i];if(u){for(;t=t[r];)if((1===t.nodeType||o)&&e(t,n,u))return!0}else for(;t=t[r];)if(1===t.nodeType||o){if((l=(a=t[w]||(t[w]={}))[r])&&l[0]===b&&l[1]===i)return c[2]=l[2];if(a[r]=c,c[2]=e(t,n,u))return!0}}}function ge(e){return e.length>1?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function me(e,t,n,r,o){for(var i,u=[],l=0,a=e.length,c=null!=t;l<a;l++)(i=e[l])&&(n&&!n(i,r,o)||(u.push(i),c&&t.push(l)));return u}function ye(e,t,n,r,o,i){return r&&!r[w]&&(r=ye(r)),o&&!o[w]&&(o=ye(o,i)),oe((function(i,u,l,a){var c,f,s,d=[],p=[],h=u.length,g=i||function(e,t,n){for(var r=0,o=t.length;r<o;r++)ne(e,t[r],n);return n}(t||"*",l.nodeType?[l]:l,[]),m=!e||!i&&t?g:me(g,d,e,l,a),y=n?o||(i?e:h||r)?[]:u:m;if(n&&n(m,y,l,a),r)for(c=me(y,p),r(c,[],l,a),f=c.length;f--;)(s=c[f])&&(y[p[f]]=!(m[p[f]]=s));if(i){if(o||e){if(o){for(c=[],f=y.length;f--;)(s=y[f])&&c.push(m[f]=s);o(null,y=[],c,a)}for(f=y.length;f--;)(s=y[f])&&(c=o?P.call(i,s):d[f])>-1&&(i[c]=!(u[c]=s))}}else y=me(y===u?y.splice(h,y.length):y),o?o(null,u,y,a):$.apply(u,y)}))}function ve(e){for(var t,r,o,i=e.length,u=n.relative[e[0].type],l=u||n.relative[" "],c=u?1:0,f=he((function(e){return e===t}),l,!0),s=he((function(e){return P.call(t,e)>-1}),l,!0),d=[function(e,n,r){return!u&&(r||n!==a)||((t=n).nodeType?f(e,n,r):s(e,n,r))}];c<i;c++)if(r=n.relative[e[c].type])d=[he(ge(d),r)];else{if((r=n.filter[e[c].type].apply(null,e[c].matches))[w]){for(o=++c;o<i&&!n.relative[e[o].type];o++);return ye(c>1&&ge(d),c>1&&pe(e.slice(0,c-1).concat({value:" "===e[c-2].type?"*":""})).replace(F,"$1"),r,c<o&&ve(e.slice(c,o)),o<i&&ve(e=e.slice(o)),o<i&&pe(e))}d.push(r)}return ge(d)}return de.prototype=n.filters=n.pseudos,n.setFilters=new de,i=ne.tokenize=function(e,t){var r,o,i,u,l,a,c,f=E[e+" "];if(f)return t?0:f.slice(0);for(l=e,a=[],c=n.preFilter;l;){for(u in r&&!(o=j.exec(l))||(o&&(l=l.slice(o[0].length)||l),a.push(i=[])),r=!1,(o=G.exec(l))&&(r=o.shift(),i.push({value:r,type:o[0].replace(F," ")}),l=l.slice(r.length)),n.filter)!(o=J[u].exec(l))||c[u]&&!(o=c[u](o))||(r=o.shift(),i.push({value:r,type:u,matches:o}),l=l.slice(r.length));if(!r)break}return t?l.length:l?ne.error(e):E(e,a).slice(0)},u=ne.compile=function(e,t){var r,o=[],u=[],l=T[e+" "];if(!l){for(t||(t=i(e)),r=t.length;r--;)(l=ve(t[r]))[w]?o.push(l):u.push(l);(l=T(e,function(e,t){var r=t.length>0,o=e.length>0,i=function(i,u,l,c,f){var s,p,h,g=0,m="0",y=i&&[],v=[],w=a,N=i||o&&n.find.TAG("*",f),x=b+=null==w?1:Math.random()||.1,C=N.length;for(f&&(a=u!==d&&u);m!==C&&null!=(s=N[m]);m++){if(o&&s){for(p=0;h=e[p++];)if(h(s,u,l)){c.push(s);break}f&&(b=x)}r&&((s=!h&&s)&&g--,i&&y.push(s))}if(g+=m,r&&m!==g){for(p=0;h=t[p++];)h(y,v,u,l);if(i){if(g>0)for(;m--;)y[m]||v[m]||(v[m]=I.call(c));v=me(v)}$.apply(c,v),f&&!i&&v.length>0&&g+t.length>1&&ne.uniqueSort(c)}return f&&(b=x,a=w),y};return r?oe(i):i}(u,o))).selector=e}return l},l=ne.select=function(e,r,o,l){var a,c,f,s,d,p="function"==typeof e&&e,g=!l&&i(e=p.selector||e);if(o=o||[],1===g.length){if((c=g[0]=g[0].slice(0)).length>2&&"ID"===(f=c[0]).type&&t.getById&&9===r.nodeType&&h&&n.relative[c[1].type]){if(!(r=(n.find.ID(f.matches[0].replace(ee,te),r)||[])[0]))return o;p&&(r=r.parentNode),e=e.slice(c.shift().value.length)}for(a=J.needsContext.test(e)?0:c.length;a--&&(f=c[a],!n.relative[s=f.type]);)if((d=n.find[s])&&(l=d(f.matches[0].replace(ee,te),Z.test(c[0].type)&&se(r.parentNode)||r))){if(c.splice(a,1),!(e=l.length&&pe(c)))return $.apply(o,l),o;break}}return(p||u(e,g))(l,r,!h,o,Z.test(e)&&se(r.parentNode)||r),o},t.sortStable=w.split("").sort(D).join("")===w,t.detectDuplicates=!!f,s(),t.sortDetached=ie((function(e){return 1&e.compareDocumentPosition(d.createElement("div"))})),ie((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||ue("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),t.attributes&&ie((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||ue("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),ie((function(e){return null==e.getAttribute("disabled")}))||ue(k,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null})),ne}));