").width(50).height(50).css({position:"absolute",top:"-9999px",overflow:"scroll"}).appendTo("body"),this._scrollWidth=e[0].offsetWidth-e[0].clientWidth,e.destroy()),this._scrollWidth},getImage:function(e,t,i){var n=document.createElement("canvas");BI.Widget._renderEngine.createElement("body").append(n);var r=n.getContext("2d");r.font="12px Georgia";var a=r.measureText(e).width+4;n.width=2*a,n.height=32,r.font="24px Georgia",r.fillStyle=t||"#3685f2",r.textBaseline="middle",r.fillText(e,4,18),BI.Widget._renderEngine.createElement(n).destroy();var o=i||"rgba(54, 133, 242, 0.1)";return{width:a,height:16,src:n.toDataURL("image/png"),style:"background-color: "+o+";vertical-align: middle; margin: 0 1px; width:"+a+"px;height: 16px; max-width:"+a+"px;max-height: 16px; min-width:"+a+"px;min-height: 16px",param:e}}}),BI.extend(BI.DOM,{isColor:function(e){return e&&(this.isRGBColor(e)||this.isHexColor(e))},isRGBColor:function(e){return!!e&&"rgb"===e.substr(0,3)},isHexColor:function(e){return!!e&&("#"===e[0]&&7===e.length)},isDarkColor:function(e){if(!e||!this.isHexColor(e))return!1;var t=this.rgb2json(this.hex2rgb(e));return Math.round(.299*t.r+.587*t.g+.114*t.b)<192},getContrastColor:function(e){return e&&this.isColor(e)?this.isDarkColor(e)?"#ffffff":"#1a1a1a":""},rgb2hex:function(e){if(!e||"rgb"!=e.substr(0,3))return"";var t=e.match(/\d+(\.\d+)?/g),i=BI.parseInt(t[0]),n=BI.parseInt(t[1]),r=BI.parseInt(t[2]);return"#"+this.int2hex(i)+this.int2hex(n)+this.int2hex(r)},rgb2json:function(e){if(!e)return{};if(!this.isRGBColor(e))return{};var t=e.match(/\d+(\.\d+)?/g);return{r:BI.parseInt(t[0]),g:BI.parseInt(t[1]),b:BI.parseInt(t[2])}},rgba2json:function(e){if(!e)return{};var t=e.match(/\d+(\.\d+)?/g);return{r:BI.parseInt(t[0]),g:BI.parseInt(t[1]),b:BI.parseInt(t[2]),a:BI.parseFloat(t[3])}},json2rgb:function(e){return BI.isKey(e.r)&&BI.isKey(e.g)&&BI.isKey(e.b)?"rgb("+e.r+","+e.g+","+e.b+")":""},json2rgba:function(e){return BI.isKey(e.r)&&BI.isKey(e.g)&&BI.isKey(e.b)?"rgba("+e.r+","+e.g+","+e.b+","+e.a+")":""},int2hex:function(e){var t=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];return t[e>>>4]+""+t[15&e]},hex2rgb:function(e){if(!e)return"";if(!this.isHexColor(e))return e;var t,i="rgb(";return 7===e.length?t=[BI.parseInt("0x"+e.substring(1,3)),BI.parseInt("0x"+e.substring(3,5)),BI.parseInt("0x"+e.substring(5,7))]:4===e.length&&(t=[BI.parseInt("0x"+e.substring(1,2)),BI.parseInt("0x"+e.substring(2,3)),BI.parseInt("0x"+e.substring(3,4))]),i+=t[0]+",",i+=t[1]+",",i+=t[2]+")"},rgba2rgb:function(e,t){if(BI.isNull(t)&&(t=1),"rgba"!=e.substr(0,4))return"";var i=e.match(/\d+(\.\d+)?/g);if(i.length<4)return"";var n=BI.parseFloat(i[0]),r=BI.parseFloat(i[1]),a=BI.parseFloat(i[2]),o=BI.parseFloat(i[3]);return"rgb("+Math.floor(t*(1-o)*255+n*o)+","+Math.floor(t*(1-o)*255+r*o)+","+Math.floor(t*(1-o)*255+a*o)+")"}}),BI.extend(BI.DOM,{getLeftPosition:function(e,t,i){return{left:e.element.offset().left-t.element.outerWidth()-(i||0)}},getInnerLeftPosition:function(e,t,i){return{left:e.element.offset().left+(i||0)}},getRightPosition:function(e,t,i){var n=e.element;return{left:n.offset().left+n.outerWidth()+(i||0)}},getInnerRightPosition:function(e,t,i){var n=e.element,r=t.element.bounds();return{left:n.offset().left+n.outerWidth()-r.width-(i||0)}},getTopPosition:function(e,t,i){return{top:e.element.offset().top-t.element.outerHeight()-(i||0)}},getBottomPosition:function(e,t,i){var n=e.element;return{top:n.offset().top+n.outerHeight()+(i||0)}},isLeftSpaceEnough:function(e,t,i){return 0<=BI.DOM.getLeftPosition(e,t,i).left},isInnerLeftSpaceEnough:function(e,t,i){var n=t.element.bounds(),r=BI.Widget._renderEngine.createElement("body").bounds();return BI.DOM.getInnerLeftPosition(e,t,i).left+n.width<=r.width},isRightSpaceEnough:function(e,t,i){var n=t.element.bounds(),r=BI.Widget._renderEngine.createElement("body").bounds();return BI.DOM.getRightPosition(e,t,i).left+n.width<=r.width},isInnerRightSpaceEnough:function(e,t,i){return 0<=BI.DOM.getInnerRightPosition(e,t,i).left},isTopSpaceEnough:function(e,t,i){return 0<=BI.DOM.getTopPosition(e,t,i).top},isBottomSpaceEnough:function(e,t,i){var n=t.element.bounds(),r=BI.Widget._renderEngine.createElement("body").bounds();return BI.DOM.getBottomPosition(e,t,i).top+n.height<=r.height},isRightSpaceLarger:function(e){return BI.Widget._renderEngine.createElement("body").bounds().width-e.element.offset().left-e.element.bounds().width>=e.element.offset().left},isBottomSpaceLarger:function(e){return BI.Widget._renderEngine.createElement("body").bounds().height-e.element.offset().top-e.element.bounds().height>=e.element.offset().top},getLeftAlignPosition:function(e,t,i){var n=t.element.bounds(),r=BI.Widget._renderEngine.createElement("body").bounds(),a=e.element.offset().left+i;return a+n.width>r.width&&(a=r.width-n.width),a<0&&(a=0),{left:a}},getLeftAdaptPosition:function(e,t,i){return BI.DOM.isLeftSpaceEnough(e,t,i)?BI.DOM.getLeftPosition(e,t,i):{left:0}},getRightAlignPosition:function(e,t,i){var n=e.element.bounds(),r=t.element.bounds(),a=e.element.offset().left+n.width-r.width-i;return a<0&&(a=0),{left:a}},getRightAdaptPosition:function(e,t,i){return BI.DOM.isRightSpaceEnough(e,t,i)?BI.DOM.getRightPosition(e,t,i):{left:BI.Widget._renderEngine.createElement("body").bounds().width-t.element.bounds().width}},getTopAlignPosition:function(e,t,i,n){var r,a,o=e.element.offset(),s=e.element.bounds(),l=t.element.bounds(),u=BI.Widget._renderEngine.createElement("body").bounds();return BI.DOM.isBottomSpaceEnough(e,t,-1*s.height+i)?r=o.top+i:n?(r=o.top+i,a=u.height-r):(r=u.height-l.height)
a.height?{top:0,adaptHeight:a.height-i}:{top:0}},getBottomAlignPosition:function(e,t,i,n){var r,a,o=e.element.offset(),s=e.element.bounds(),l=t.element.bounds(),u=BI.Widget._renderEngine.createElement("body").bounds();return BI.DOM.isTopSpaceEnough(e,t,-1*s.height+i)?r=o.top+s.height-l.height-i:n?(r=0,a=o.top+s.height-i):(r=0,l.height+i>u.height&&(a=u.height-i)),r<0&&(r=0),a?{top:r,adaptHeight:a}:{top:r}},getBottomAdaptPosition:function(e,t,i,n){var r=e.element.offset(),a=e.element.bounds(),o=t.element.bounds(),s=BI.Widget._renderEngine.createElement("body").bounds();return BI.DOM.isBottomSpaceEnough(e,t,i)?BI.DOM.getBottomPosition(e,t,i):n?{top:r.top+a.height+i,adaptHeight:s.height-r.top-a.height-i}:o.height+i>s.height?{top:i,adaptHeight:s.height-i}:{top:s.height-o.height-i}},getCenterAdaptPosition:function(e,t){var i=e.element.offset(),n=e.element.bounds(),r=t.element.bounds(),a=BI.Widget._renderEngine.createElement("body").bounds(),o=i.left+n.width/2+r.width/2>a.width?a.width-r.width:i.left+n.width/2-r.width/2;return o<0&&(o=0),{left:o}},getMiddleAdaptPosition:function(e,t){var i=e.element.offset(),n=e.element.bounds(),r=t.element.bounds(),a=BI.Widget._renderEngine.createElement("body").bounds(),o=i.top+n.height/2+r.height/2>a.height?a.height-r.height:i.top+n.height/2-r.height/2;return o<0&&(o=0),{top:o}},getComboPositionByDirections:function(e,t,i,n,r,a){var o;i=i||0,n=n||0;for(var s,l,u,c=[],h=[],p=[],d=!1,f=!1,g=!1,m=a[0],I=0;I+~]|"+P+")"+P+"*"),j=new RegExp("="+P+"*([^\\]'\"]*?)"+P+"*\\]","g"),Z=new RegExp(O),X=new RegExp("^"+H+"$"),J={ID:new RegExp("^#("+H+")"),CLASS:new RegExp("^\\.("+H+")"),TAG:new RegExp("^("+H+"|[*])"),ATTR:new RegExp("^"+R),PSEUDO:new RegExp("^"+O),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+P+"*(even|odd|(([+-]|)(\\d*)n|)"+P+"*(?:([+-]|)"+P+"*(\\d+)|))"+P+"*\\)|)","i"),bool:new RegExp("^(?:"+M+")$","i"),needsContext:new RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},K=/^(?:input|select|textarea|button)$/i,z=/^h\d$/i,U=/^[^{]+\{\s*\[native \w/,Q=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,q=/[+~]/,$=/'|\\/g,ee=new RegExp("\\\\([\\da-f]{1,6}"+P+"?|("+P+")|.)","ig"),te=function(e,t,i){var n="0x"+t-65536;return n!=n||i?t:n<0?String.fromCharCode(65536+n):String.fromCharCode(n>>10|55296,1023&n|56320)},ie=function(){v()};try{L.apply(t=k.call(_.childNodes),_.childNodes),t[_.childNodes.length].nodeType}catch(Ie){L={apply:t.length?function(e,t){A.apply(e,k.call(t))}:function(e,t){for(var i=e.length,n=0;e[i++]=t[n++];);e.length=i-1}}}function ne(e,t,i,n){var r,a,o,s,l,u,c,h,p=t&&t.ownerDocument,d=t?t.nodeType:9;if(i=i||[],"string"!=typeof e||!e||1!==d&&9!==d&&11!==d)return i;if(!n&&((t?t.ownerDocument||t:_)!==T&&v(t),t=t||T,C)){if(11!==d&&(u=Q.exec(e)))if(r=u[1]){if(9===d){if(!(o=t.getElementById(r)))return i;if(o.id===r)return i.push(o),i}else if(p&&(o=p.getElementById(r))&&B(t,o)&&o.id===r)return i.push(o),i}else{if(u[2])return L.apply(i,t.getElementsByTagName(e)),i;if((r=u[3])&&g.getElementsByClassName&&t.getElementsByClassName)return L.apply(i,t.getElementsByClassName(r)),i}if(g.qsa&&!S[e+" "]&&(!I||!I.test(e))){if(1!==d)p=t,h=e;else if("object"!==t.nodeName.toLowerCase()){for((s=t.getAttribute("id"))?s=s.replace($,"\\$&"):t.setAttribute("id",s=N),a=(c=b(e)).length,l=X.test(s)?"#"+s:"[id='"+s+"']";a--;)c[a]=l+" "+pe(c[a]);h=c.join(","),p=q.test(e)&&ce(t.parentNode)||t}if(h)try{return L.apply(i,p.querySelectorAll(h)),i}catch(f){}finally{s===N&&t.removeAttribute("id")}}}return m(e.replace(W,"$1"),t,i,n)}function re(){var i=[];function n(e,t){return i.push(e+" ")>E.cacheLength&&delete n[i.shift()],n[e+" "]=t}return n}function ae(e){return e[N]=!0,e}function oe(e){var t=T.createElement("div");try{return!!e(t)}catch(Ie){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function se(e,t){for(var i=e.split("|"),n=i.length;n--;)E.attrHandle[i[n]]=t}function le(e,t){var i=t&&e,n=i&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||1<<31)-(~e.sourceIndex||1<<31);if(n)return n;if(i)for(;i=i.nextSibling;)if(i===t)return-1;return e?1:-1}function ue(o){return ae(function(a){return a=+a,ae(function(e,t){for(var i,n=o([],e.length,a),r=n.length;r--;)e[i=n[r]]&&(e[i]=!(t[i]=e[i]))})})}function ce(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in g=ne.support={},r=ne.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},v=ne.setDocument=function(e){var t,i,n=e?e.ownerDocument||e:_;return n!==T&&9===n.nodeType&&n.documentElement&&(o=(T=n).documentElement,C=!r(T),(i=T.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",ie,!1):i.attachEvent&&i.attachEvent("onunload",ie)),g.attributes=oe(function(e){return e.className="i",!e.getAttribute("className")}),g.getElementsByTagName=oe(function(e){return e.appendChild(T.createComment("")),!e.getElementsByTagName("*").length}),g.getElementsByClassName=U.test(T.getElementsByClassName),g.getById=oe(function(e){return o.appendChild(e).id=N,!T.getElementsByName||!T.getElementsByName(N).length}),g.getById?(E.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var i=t.getElementById(e);return i?[i]:[]}},E.filter.ID=function(e){var t=e.replace(ee,te);return function(e){return e.getAttribute("id")===t}}):(delete E.find.ID,E.filter.ID=function(e){var i=e.replace(ee,te);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===i}}),E.find.TAG=g.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):g.qsa?t.querySelectorAll(e):void 0}:function(e,t){var i,n=[],r=0,a=t.getElementsByTagName(e);if("*"!==e)return a;for(;i=a[r++];)1===i.nodeType&&n.push(i);return n},E.find.CLASS=g.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&C)return t.getElementsByClassName(e)},s=[],I=[],(g.qsa=U.test(T.querySelectorAll))&&(oe(function(e){o.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&I.push("[*^$]="+P+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||I.push("\\["+P+"*(?:value|"+M+")"),e.querySelectorAll("[id~="+N+"-]").length||I.push("~="),e.querySelectorAll(":checked").length||I.push(":checked"),e.querySelectorAll("a#"+N+"+*").length||I.push(".#.+[+~]")}),oe(function(e){var t=T.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&I.push("name"+P+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||I.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),I.push(",.*:")})),(g.matchesSelector=U.test(c=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&oe(function(e){g.disconnectedMatch=c.call(e,"div"),c.call(e,"[s!='']:x"),s.push("!=",O)}),I=I.length&&new RegExp(I.join("|")),s=s.length&&new RegExp(s.join("|")),t=U.test(o.compareDocumentPosition),B=t||U.test(o.contains)?function(e,t){var i=9===e.nodeType?e.documentElement:e,n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},f=t?function(e,t){if(e===t)return u=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;return i||(1&(i=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!g.sortDetached&&t.compareDocumentPosition(e)===i?e===T||e.ownerDocument===_&&B(_,e)?-1:t===T||t.ownerDocument===_&&B(_,t)?1:l?D(l,e)-D(l,t):0:4&i?-1:1)}:function(e,t){if(e===t)return u=!0,0;var i,n=0,r=e.parentNode,a=t.parentNode,o=[e],s=[t];if(!r||!a)return e===T?-1:t===T?1:r?-1:a?1:l?D(l,e)-D(l,t):0;if(r===a)return le(e,t);for(i=e;i=i.parentNode;)o.unshift(i);for(i=t;i=i.parentNode;)s.unshift(i);for(;o[n]===s[n];)n++;return n?le(o[n],s[n]):o[n]===_?-1:s[n]===_?1:0}),T},ne.matches=function(e,t){return ne(e,null,null,t)},ne.matchesSelector=function(e,t){if((e.ownerDocument||e)!==T&&v(e),t=t.replace(j,"='$1']"),g.matchesSelector&&C&&!S[t+" "]&&(!s||!s.test(t))&&(!I||!I.test(t)))try{var i=c.call(e,t);if(i||g.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(Ie){}return 0":{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,i=!e[6]&&e[2];return J.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":i&&Z.test(i)&&(t=b(i,!0))&&(t=i.indexOf(")",i.length-t)-i.length)&&(e[0]=e[0].slice(0,t),e[2]=i.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=p[e+" "];return t||(t=new RegExp("(^|"+P+")"+e+"("+P+"|$)"))&&p(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(i,n,r){return function(e){var t=ne.attr(e,i);return null==t?"!="===n:!n||(t+="","="===n?t===r:"!="===n?t!==r:"^="===n?r&&0===t.indexOf(r):"*="===n?r&&-1(?:<\/\1>|)$/,y=/^.[^:#\[\.,]*$/;function C(e,i,n){if(T.isFunction(i))return T.grep(e,function(e,t){return!!i.call(e,t,e)!==n});if(i.nodeType)return T.grep(e,function(e){return e===i!==n});if("string"==typeof i){if(y.test(i))return T.filter(i,e,n);i=T.filter(i,e)}return T.grep(e,function(e){return-1)[^>]*|#([\w-]*))$/;(T.fn.init=function(e,t,i){var n,r;if(!e)return this;if(i=i||N,"string"!=typeof e)return e.nodeType?(this.context=this[0]=e,this.length=1,this):T.isFunction(e)?"undefined"!=typeof i.ready?i.ready(e):e(T):(e.selector!==undefined&&(this.selector=e.selector,this.context=e.context),T.makeArray(e,this));if(!(n="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&3<=e.length?[null,e,null]:V.exec(e))||!n[1]&&t)return!t||t.jquery?(t||i).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof T?t[0]:t,T.merge(this,T.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:g,!0)),b.test(n[1])&&T.isPlainObject(t))for(n in t)T.isFunction(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}if((r=g.getElementById(n[2]))&&r.parentNode){if(r.id!==n[2])return N.find(e);this.length=1,this[0]=r}return this.context=g,this.selector=e,this}).prototype=T.fn,N=T(g);var S=/^(?:parents|prev(?:Until|All))/,x={children:!0,contents:!0,next:!0,prev:!0};function w(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}T.fn.extend({has:function(e){var t,i=T(e,this),n=i.length;return this.filter(function(){for(t=0;ta",B.leadingWhitespace=3===z.firstChild.nodeType,B.tbody=!z.getElementsByTagName("tbody").length,B.htmlSerialize=!!z.getElementsByTagName("link").length,B.html5Clone="<:nav>"!==g.createElement("nav").cloneNode(!0).outerHTML,Q.type="checkbox",Q.checked=!0,U.appendChild(Q),B.appendChecked=Q.checked,z.innerHTML="",B.noCloneChecked=!!z.cloneNode(!0).lastChild.defaultValue,U.appendChild(z),(Q=g.createElement("input")).setAttribute("type","radio"),Q.setAttribute("checked","checked"),Q.setAttribute("name","t"),z.appendChild(Q),B.checkClone=z.cloneNode(!0).cloneNode(!0).lastChild.checked,B.noCloneEvent=!!z.addEventListener,z[T.expando]=1,B.attributes=!z.getAttribute(T.expando);var ae={option:[1,""],legend:[1,""],area:[1,""],param:[1,""],thead:[1,""],tr:[2,""],col:[2,""],td:[3,""],_default:B.htmlSerialize?[0,"",""]:[1,"X","
"]};function oe(e,t){var i,n,r=0,a="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):undefined;if(!a)for(a=[],i=e.childNodes||e;null!=(n=i[r]);r++)!t||T.nodeName(n,t)?a.push(n):T.merge(a,oe(n,t));return t===undefined||t&&T.nodeName(e,t)?T.merge([e],a):a}function se(e,t){for(var i,n=0;null!=(i=e[n]);n++)T._data(i,"globalEval",!t||T._data(t[n],"globalEval"))}ae.optgroup=ae.option,ae.tbody=ae.tfoot=ae.colgroup=ae.caption=ae.thead,ae.th=ae.td;var le=/<|?\w+;/,ue=/"!==h[1]||ue.test(o)?0:l:l.firstChild)&&o.childNodes.length;a--;)T.nodeName(c=o.childNodes[a],"tbody")&&!c.childNodes.length&&o.removeChild(c);for(T.merge(f,l.childNodes),l.textContent="";l.firstChild;)l.removeChild(l.firstChild);l=d.lastChild}else f.push(t.createTextNode(o));for(l&&d.removeChild(l),B.appendChecked||T.grep(oe(f,"input"),ce),g=0;o=f[g++];)if(n&&-1]","i"),ve=/