var $jq;function glib_show_hidden(e,i,d){var e=$jq((e=e&&"#"+e+" ")+"."+i+" tbody"),i=e.data("visibleRows"),o=e.find("tr.hidden:not(.filtered-out)");(o=d?o.slice(0,d):o).removeClass("hidden"),i&&e.data("visibleRows",i+o.length),fix_row_parity(e),toggle_show_more(e)}function toggle_show_more(e){var i=e.find("tr").not(":visible,.filtered-out").length;e.parent().find("tr.hid").toggleClass("hidden",0===i)}function fix_row_parity(e){$jq(e).find("tr:visible").removeClass("even").removeClass("odd"),$jq(e).find("tr:visible:even").addClass("odd"),$jq(e).find("tr:visible:odd").addClass("even")}void 0===$jq&&($jq=($jq=jQuery)||jQuer);void 0===$jq&&($jq=($jq=jQuery)||jQuer);var $jq,iframe_external=!1;function StatsDrawViewClass(){this.public={},this.options={link_hide_class:"scroll-text-inactive",height_fixes:{default:1,mozilla:2,webkit:4,chrome:4,safari:4,"msie-7":0,"msie-8":0}},this.limits={min_x:0,min_y:0,max_x:void 0,max_y:void 0,scroll_x:void 0},this.dimensions={height:void 0,heightHeader:void 0,heightInternal:void 0,offsetBottom:10,offsetTop:void 0},this.position={x:void 0,y:void 0,xp:0},this.keyCodes={33:"page-up",34:"page-down",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down"},this.scroll={horizontal:!1,vertical:!1,disabled:!1},this.item={height:0,width:0},this.el={},this.swap={},this.ready=!1,this.scrollEnv=null,this.scrollContent=null,this.scrollHeader=null,this.boxes={},this.box_titles={},this.browserScrollbarWidth=null,this.searchInScrollAreaHackEnabled=!0,this.detailVersion=1,this.getBrowser=function(){var s="";return $jq.each($jq.browser,function(t,i){1==i&&(s=t)}),s+("msie"==s?"-"+parseInt($jq.browser.version):"")},this.mobile=function(){return $jq.browser.mobile||/android|ipad|iphone|ipod/i.test(navigator.userAgent.toLowerCase())},this.update_scrollbox=function(){!this.scroll.disabled&&!this.scroll.horizontal||this.limits.min_x>=this.limits.max_x?this.scrollHeader.links.hide():this.scrollHeader.links.show(),this.dimensions.offsetTop=this.scrollEnv.offset().top+this.dimensions.heightHeader},this.update_links=function(){this.position.xthis.limits.min_x?this.show_links(this.el.ll):this.hide_links(this.el.ll)},this.hide_links=function(t){t.addClass(this.options.link_hide_class)},this.show_links=function(t){t.removeClass(this.options.link_hide_class)},this.shorten_result_names=function(){$jq(".match").each(function(t,i){(i=$jq(i)).find(".participant").each(function(t,i){var s=(i=$jq(i)).find(".name"),e=0;null==(e=i.find(".score")).width()&&(e=i.parent().find(".score-final")),s.width(i.width()-e.width()-(e.width()?5:0))}.bind(this))}.bind(this))},this.touch=function(t,i){var s,e,o,n;i.preventDefault(),void 0!==(t="number"==typeof t?this.keyCodes[parseInt(t)]:t)&&t&&((this.scroll.disabled||this.scroll.horizontal)&&("left"==t&&this.position.x>this.limits.min_x||"right"==t&&this.position.xthis.limits.min_y)&&(s=Math.max(this.limits.min_y,Math.min(this.limits.max_y,this.position.y+i*e)),(this.position.y=s)==this.limits.max_y?this.el.env.tinyscrollbar_update("bottom"):(o=this.scrollContent.outerHeight()-this.limits.min_y*this.item.height*1.13,n=s==this.limits.max_y?o:Math.max(0,Math.min(o,this.item.height*(s-this.limits.min_y))),this.set_content_displacement("vertical",n,100,!0)))):this.scroll.vertical&&"home"==t?(this.el.env.tinyscrollbar_update("top"),this.position.y=this.limits.min_y):this.scroll.vertical&&"end"==t&&(this.el.env.tinyscrollbar_update("bottom"),this.position.y=this.limits.max_y))},this.update_vertical_position=function(t){this.scroll.vertical&&(this.position.y=this.limits.min_y+Math.floor(-t/this.item.height))},this.update_horizontal_position=function(t){this.scroll.horizontal&&(this.position.x=t>this.limits.scroll_x?this.limits.min_x+Math.floor(-t/this.item.width):this.limits.max_x,this.update_links())},this.set_content_displacement=function(t,i,s){var e;void 0===s&&(s=0),"horizontal"==t&&(this.scroll.disabled||(e=0==i?0:Math.floor(i*(this.el.sx.width()-this.el.sx.find(".hthumb").width())/this.limits.scroll_x),this.el.sx.find(".hthumb").animate({left:e},150)),this.scrollContent.animate({left:Math.round(i)+"px"},s,"swing"),this.scrollHeader.content.animate({left:Math.round(i)+"px"},s,"swing")),"vertical"==t&&this.el.env.tinyscrollbar_update(i)},this.set_scrollbar_displacement=function(t,i,s){var e;void 0===s&&(s=0),"horizontal"==t?(e=-(0==i?0:Math.floor(i*this.limits.scroll_x/(this.el.sx.width()-this.el.sx.find(".hthumb").width()))),this.scrollContent.animate({left:Math.round(e)+"px"},s,"swing"),this.scrollHeader.content.animate({left:Math.round(e)+"px"},s,"swing"),this.el.sx.find(".hthumb").animate({left:-i},s)):"vertical"==t&&(e=0==i?0:Math.floor(-(i*this.limits.scroll_x)/(this.el.sx.width()-this.el.sx.find(".hthumb").width())),this.scrollContent.animate({left:Math.round(e)+"px"},s,"swing"),this.scrollHeader.content.animate({left:Math.round(e)+"px"},s,"swing"),this.el.sx.find(".hthumb").animate({left:i},s))},this.resize_viewport=function(t){var i=$jq(".detail-terminator"),i=parseInt(i.css("margin-top"))+parseInt(i.css("margin-bottom")),i=$jq(window).height()-$jq("body").outerHeight()+$jq("body").height()-i;this.scrollEnv.width(this.scrollEnv.closest("#playoff-env").width()),this.update_scrollbox(),this.dimensions.heightHeader=this.scrollHeader.height(),this.dimensions.offsetTop=this.scrollEnv.offset().top,this.dimensions.offsetBottom=+$jq(".closer").outerHeight()-this.scrollEnv.outerHeight()+this.scrollEnv.height()+this.scrollHeader.height(),this.scrollEnv.height(i-this.dimensions.offsetTop-this.dimensions.offsetBottom),this.dimensions.height=this.scrollEnv.outerHeight()-this.dimensions.heightHeader,t||(this.dimensions.heightInternal=this.scrollContent.children().height())},this.update_scrollbars=function(){var t=this.el.env.hasClass("default-scroll"),i=this.scrollContent.outerWidth()-this.scrollEnv.width()-20,s=this.scrollContent.outerHeight()-this.scrollEnv.height();(this.scroll.horizontal=!t&&0"),$jq("body").append(t),i=$jq(t).get(0).offsetWidth-$jq(t).get(0).clientWidth,$jq(t).remove(),this.browserScrollbarWidth=i)},this.searchInScrollAreaHackInit=function(){($jq.browser.mozilla&&this.searchInScrollAreaHackEnabled||this.mobile())&&$jq("#playoff-env").find(".viewport-wrap").css({width:"auto",height:"auto"})},this.searchInScrollAreaHack=function(){var t,i,s;($jq.browser.mozilla&&this.searchInScrollAreaHackEnabled||this.mobile())&&(t=this.getBrowserScrollbarWidth(),i=$jq("#playoff-env").find(".viewport"),s=$jq("#playoff-env").find(".viewport-wrap"),$jq(s).css({width:$jq(i).outerWidth(!0)+"px",height:$jq(i).outerHeight(!0)+"px"}),$jq(i).css({width:$jq(i).outerWidth(!0)+t,height:$jq(i).outerHeight(!0)+t+"px"}),$jq(s).css("overflow","hidden"),$jq(i).css("overflow","scroll"))},this.participantWayHighlight=function(){var s=$jq(this.scrollEnv).find(".match"),e="participant-way-highlight";$jq(s).hover(function(){var t,i=[];for(t in $jq(this).is(":not(.has-events)")&&$jq(this).addClass("participant-way-highlight"),$jq(this).find(".participant").each(function(){var t=$jq(this).attr("class").match(/\bglib\-participant\-([^\s]*)\b/);null!=t&&void 0!==t[0]&&i.push(t[0])}),i)$jq(s).has(".participant."+i[t]).not(this).addClass(e)},function(){$jq(this).removeClass("participant-way-highlight"),$jq(s).removeClass(e)})},this.create_horizontal_scrollbar=function(){this.el.sx.thumb.unbind(".hcb").bind("mousedown",{},function(t){t.preventDefault(),t.stopPropagation();try{this.options.original_onselectstart=document.onselectstart,document.onselectstart=function(){return!1}}catch(t){}void 0===this.public.i&&(this.public.i=0),this.public.i++;var i=this.el.sx.width()-this.el.sx.thumb.width();$jq("body").bind("mousemove",{start:t.pageX,max:i,h_quotient:i/this.limits.scroll_x},function(t){pos=Math.max(0,Math.min(t.data.max,parseInt(this.el.sx.thumb.css("left"))-(t.data.start-t.pageX))),t.data.start=t.pageX,p=pos/t.data.h_quotient,this.scrollContent.css({left:Math.round(p)+"px"}),this.scrollHeader.content.css({left:Math.round(p)+"px"}),this.el.sx.thumb.css("left",pos+"px"),this.update_horizontal_position(p)}.bind(this))}.bind(this)),this.el.sx.find(".htrack").mousedown(function(t){var i=this.el.sx.find(".hthumb"),s=parseInt(i.css("left")),i=parseInt(i.width()),e=this.scroll.vertical?parseInt(this.el.sy.width()):0,e=$jq(window).width()-e,e=t.pageX>=e?e:t.pageX;this.set_scrollbar_displacement("horizontal",-e+(s+i<=e?i:0),100)}.bind(this)),$jq(document).mouseup(function(t){try{document.onselectstart=this.options.original_onselectstart}catch(t){}$jq("body").unbind("mousemove"),hscroll=void 0}.bind(this))},this.restart=function(){this.ready=!1},this.init=function(t){var i,e,o,n,l,h,a;void 0!==t&&(this.detailVersion=t),(window.dw=this).el.env=$jq("#playoff-env"),1==this.el.env.length&&((!$jq.browser.msie||$jq.browser.msie&&7<=$jq.browser.version)&&this.shorten_result_names(),this.scrollEnv=this.el.env.find(".viewport"),this.scrollContent=this.el.env.find(".overview"),this.scrollHeader=$jq("#playoff-header"),this.scrollHeader.content=this.scrollHeader.find("ul").first(),this.scrollHeader.links=$jq("#playoff-links, .playoff-scroll-buttons"),(2==t||"undefined"!=typeof tournament&&tournament||"undefined"!=typeof tournamentPage&&tournamentPage)&&(this.searchInScrollAreaHackEnabled=!1,t=parseInt($jq("#draw_column_count").text()),i=parseInt($jq("#detail .round").css("width")),this.scrollContent.css("width",i*t),this.scrollEnv.css("height",this.scrollContent.outerHeight()),$jq("#playoff-header ul").css("width",i*t)),1==this.scroll.disabled||(this.scroll.disabled=this.el.env.hasClass("default-scroll"))||(this.scrollEnv.closest("#playoff-env").prepend('
'),this.scrollEnv.closest("#playoff-env").prepend('
'),this.el.sx=this.el.env.children(".hcrollbar"),this.el.sx.thumb=this.el.sx.find(".hthumb"),this.el.sy=this.el.env.children(".scrollbar"),this.el.env.tinyscrollbar(),this.create_horizontal_scrollbar()),this.el.lr=this.scrollHeader.links.find(".scroll-right"),this.el.ll=this.scrollHeader.links.find(".scroll-left"),$jq(window).bind("resize",{dw:this},function(t){t.data.dw.update_size()}),$jq(document).keydown(function(t){t.keyCode in this.keyCodes&&this.touch(t.keyCode,t)}.bind(this)),this.mobile()&&(e=$jq(".track"),o=$jq(".htrack"),n=$jq(".scrollbar .track .thumb"),l=$jq(".hcrollbar .htrack .hthumb"),h=$jq(".viewport"),a=$jq(".overview"),$jq(".viewport").bind("scroll",function(t){var i=(e.height()-n.height())/(a.height()-h.height()),s=(o.width()-l.width())/(a.width()-h.width());n.css("top",Math.floor(h.get(0).scrollTop*i)),l.css("left",Math.floor(h.get(0).scrollLeft*s)),this.position.x=Math.floor((h.width()+h.get(0).scrollLeft)/this.item.width),this.update_links()}.bind(this))),this.update_size(),$jq.browser.msie&&$jq.browser.version<=7&&($jq(".match.has-events ul").wrap(''),$jq(".match.has-events").each(function(t,s){$jq(s).find(".playoff-box-result-inner li span.row").each(function(t,i){$jq(i).find("span").each(function(t,i){var s=$jq(i).hasClass("info")?""),$jq(s).find("tr").unwrap().unwrap().unwrap(),$jq(s).find("table tr td:first-child").css("border-left","none")})})),$jq(".match.has-events").unbind(".draw").bind("click.draw",{dw:this},this.match_cell_callback),this.el.ll.unbind("click").bind("click",{dw:this},function(t){t.data.dw.touch("left",t)}),this.el.lr.unbind("click").bind("click",{dw:this},function(t){t.data.dw.touch("right",t)}),$jq("a.scroll-box").unbind(".draw").bind("click.draw",{dw:this},function(t){t.data.dw.touch(null,t)}),this.participantWayHighlight(),this.ready=!0)},this.match_cell_callback=function(t){var s,e,n=t.data.dw,t=$jq(this),o=t.attr("id"),l=t.find(".matches"),h="function"==typeof detail_open,a="undefined"!=typeof cjs&&"function"==typeof cjs.fromGlobalScope.detail_open;void 0===n.swap.a&&(n.swap.a=1),l.length&&(t.hasClass("unpacked")?(t.removeClass("unpacked"),e=(s=t.find(".matches")).prev(),s.remove(),s.insertAfter(e),void 0!==n.box_titles[o]&&t.attr("title",n.box_titles[o]),t.hasClass("shrink")&&t.removeClass("shrink"),delete n.boxes[o]):(n.swap.a++,t.css("z-index",n.swap.a).addClass("unpacked"),l.css("z-index",n.swap.a),t.parent().css("z-index",n.swap.a),n.boxes[o]=l.outerHeight()+t.outerHeight()+t.position().top+t.parent().position().top+5,n.box_titles[o]=t.attr("title"),t.removeAttr("title"),n.boxes[o]>n.dimensions.heightInternal&&(t.addClass("shrink"),n.boxes[o]>n.scrollContent.height())&&(n.scrollEnv.height()"+m.html()+""),g.data_container.getElementsByTagName("div")),d=0;dt;){if("..."==n)return;$jq(e).text(n.substr(0,n.length-4)+"..."),n=$jq(e).text()}},StatsTableWidthChecker_CheckItemWidth=function(e){var n,t=$jq(e.box).find("table:nth-child(1)"),a=$jq(e.box).find(".stats-table-container:nth-child(1)");1==$jq(t).size()&&$jq(a).size()&&((TableCheckerCallback=function(){StatsTableWidthChecker.isWorking(t)||new StatsTableWidthChecker({tableElement:$jq(t),maxSize:$jq(a).innerWidth(!0),minSize:65}).truncateParticipant()})(),n=null,$jq(window).resize(function(){var e,t=$jq(window).innerWidth();clearTimeout(n),n=setTimeout((e=t,function(){e==$jq(window).innerWidth()&&TableCheckerCallback()}),200)}))},this.fetch_data=function(e,t,n){return this.req=new L(e,n),this.req.fire(t)},function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}),E=function(e){if(e.length&&"string"!=typeof e)for(var t={},n=[],a=0,i=e.length;a=s.rowsVisibled})).addClass("hidden")):(i.removeClass("hidden filtered-out"),i.length||this.showNoResultsTFoot()),fix_row_parity(this.tbody),toggle_show_more(this.tbody)},t.prototype.adjustFilterRowCss=function(t){var e=p(".stats-shared-menu .ifmenu"),s=p(".stats-shared-menu .color-spacer:visible").last(),o=null;s.length&&(o=e.css("marginLeft"),0==parseInt(o)&&(o="10px"),t.css({backgroundColor:s.css("backgroundColor"),borderBottomWidth:s.css("borderBottomWidth"),borderBottomStyle:s.css("borderBottomStyle"),borderBottomColor:s.css("borderBottomColor"),marginTop:"-"+s.css("borderBottomWidth"),paddingTop:1,paddingRight:0,paddingBottom:parseInt(s.css("height"),10)+1,paddingLeft:o}),t.find(".list-wrapper").css({marginRight:o}))},t.prototype.showNoResultsTFoot=function(){if(!this.noResultsTFoot){this.noResultsTFoot=p("");for(var t=this.tbody.find("tr:first-child > td").length,e=p("").append(p("
":"";$jq(i).wrap(s)}),$jq(i).wrapInner("
").append(p("
").append(p("",{text:this.noResultsText})))),s=1;s");this.noResultsTFoot.append(e).insertAfter(this.tbody)}this.noResultsTFoot.show()},t.prototype.processValue=function(t,e){if("team_name"===t){t=e.indexOf(" (");if(-1!==t)return e.substring(0,t)}return e},t.prototype.alphaSort=function(t,e){return t.localeCompare(e)},t}($jq=void 0===$jq?($jq=jQuery)||jQuer:$jq);!function(){var t,e,r,s,o,n,i,a,c,l,u,h=[].indexOf||function(t){for(var e=0,n=this.length;e'+this._getSubMenuHtmlPart(this._tabsMenu.getChildren())+"
")+'')},f.prototype._getMenuHtmlPart=function(t){for(var e,n,i,r,s,o='
    ',a=t.length,l=i=0,u=t.length;i\n\t'+n.getName()+"\n";return o+"
"},f.prototype._getSubMenuHtmlPart=function(t){for(var e,n="",i=0,r=t.length;i\n\t'+this._getMenuHtmlPart(e.getChildren())+'\n\t
\n')+this._getSubMenuHtmlPart(e.getChildren()));return n},s=f,b.CONTEXT_TABLE_SIGNS="stats2_signs",b.CONTEXT_TABLE_CONTENT="stats2_content",b.prototype.getTableSigns=function(t,e){var s,o,n=this._config.tournament,i=this._config.tournamentStage,n=this._config.getFeedUrl(this._config.urlTableSigns).replace("%TOURNAMENT%",n).replace("%TOURNAMENT_STAGE%",i);return s=t,(o=this)._doRequest(b.CONTEXT_TABLE_SIGNS,n,function(t,e,n,i,r){return"function"==typeof s?s(o._parse(n)):void 0},e)},b.prototype.getTableContent=function(t,e){var s,n=this._config.tournament,i=this._config.tournamentStage,r=this._config.source,n=this._config.getFeedUrl(this._config.urlTableContent).replace("%TOURNAMENT%",n).replace("%TOURNAMENT_STAGE%",i).replace("%TABLE_TYPE%",t).replace("%SOURCE_ID%",r);return s=e,this._doRequest(b.CONTEXT_TABLE_CONTENT,n,function(t,e,n,i,r){return"function"==typeof s?s(n):void 0})},b.prototype._doRequest=function(t,e,n,i){return null==i&&(i=function(){}),this.abortActiveRequest(t),this._activeRequests[t]=this._config.createAjaxFeedObject(e,n,t),this._activeRequests[t].async(!0),"function"==typeof(e=this._activeRequests[t]).setErrorCallback&&e.setErrorCallback(i),this._activeRequests[t].update(null,null,{})},b.prototype._parse=function(t){var e,n,i,r,s,o,a,l,u={},h=this._config.getParserConfig();if(!(null===t||"0"===t||t.length<4))for(n=0,r=(a=t.split(h.JS_ROW_END)).length;ndiv[id^="box-table-type-"]').each((r=this,s=t,function(t,e){var n=r._config.jQuery(e);return e.id===s?(n.show(),r._events.fire("boxShow",i,n)):e.id!==s&&n.is(":visible")?(n.hide(),r._events.fire("boxHide",i,n)):void 0}))},y.prototype._isContentOk=function(t){var e=("box-table-type-"+this._getSelectorPart(t)).replace(/\./g,"\\.");return 0div#"+e).length&&this._getSign(t)===this._getSignFromHtml(t)},y.prototype._getSelectorPart=function(t){var e=t.getTableTypeId(),n=e+"";return(this._table.isFormTable(e)||this._table.isOverUnderTable(e))&&(n+="-"+t.getUrlPart()),n},y.prototype._getTableTypeUrlPart=function(t){var e,n=t.getTableTypeId(),i=[];for(this._table.isFormTable(n)||this._table.isOverUnderTable(n)||i.push(t.getUrlPart()),e=t;e.hasParentItem()&&!(e=e.getParentItem()).isRootItem();)i.unshift(e.getUrlPart());return n=i.join("_"),1===i.length&&(n+="_"),n},y.prototype._wrapEmptyContent=function(t,e){var n="box-table-type-"+this._getSelectorPart(e),e=e.getTableTypeId(),e=this._table.getTabSignById(+e);return t.wrapAll('
'),t.parent()},y.prototype._downloadContent=function(t,e){var n,s,o;return this._events.fire("beforeBoxDownload",t),this._signs.stopUpdater(),this._showPreload(),s=e,o=t,e=function(t){var i,r="glib-stats-box-"+o.getId(),t=n._config.jQuery("
").html(t).find(">div");return(t=t.hasClass("nodata-block")?n._wrapEmptyContent(t,o):t).each((i=n,function(t,e){var n=(e.id+"").replace(/\./g,"\\."),n=i._$contentWrapperElement.find("#"+n);return n.length&&i._events.fire("beforeBoxReplace",o,n),n.remove(),i._config.jQuery(e).addClass(r)})),n._$contentWrapperElement.append(t),n._hidePreload(),n._validateSign(o),n._signs.startUpdater(),"function"==typeof s&&s(),n._events.fire("afterBoxDownload",o,t)},(n=this)._request.getTableContent(this._getTableTypeUrlPart(t),e)},y.prototype._validateSign=function(t){var e=t.getTableTypeId(),e=this._table.getTabSignById(+e);if(e)return this._signs.validateSign(e,this._getSignFromHtml(t))},y.prototype._getSign=function(t){t=t.getTableTypeId(),t=this._table.getTabSignById(+t);return t?this._signs.getSignValue(t):""},y.prototype._getSignFromHtml=function(t){t=("box-table-type-"+this._getSelectorPart(t)).replace(/\./g,"\\."),t=this._$contentWrapperElement.find(">div#"+t);return t.length?t.data("hash"):""},y.prototype._createPreloaderElement=function(){var t='";return this._$loaderElement=this._config.jQuery(t).appendTo(this._$contentWrapperElement)},y.prototype._showPreload=function(){return this._$loaderElement.show()},y.prototype._hidePreload=function(){return this._$loaderElement.hide()},a=y,v.prototype.getUrl=function(){var t="";return this.hasParentItem()&&(t+=this.getParentItem().getUrl()),t&&(t+=";"),t+=this.getUrlPart()},v.prototype.getUrlPart=function(){return this._data.url},v.prototype.getId=function(){var t="";return this.hasParentItem()&&(t+=this.getParentItem().getId()),t&&(t+="-"),t+this._data.url},v.prototype.getTabFeedKey=function(){return this._tabFeedKey},v.prototype.getIdJqSelector=function(){return this.getId().replace(/\./g,"\\.")},v.prototype.getName=function(){return this.getValue("name")},v.prototype.getTitle=function(){return this.getValue("title","")},v.prototype.getTableTypeId=function(){return this._tableTypeId},v.prototype.getSortKey=function(){return this.getValue("sortKey",999)},v.prototype.getValue=function(t,e){return null==e&&(e=null),null!=this._data[t]?this._data[t]:e},v.prototype.getDefaultTabSort=function(){return this._defaultTabSort},v.prototype.getParentItem=function(){return this._parentItem},v.prototype.setParentItem=function(t){this._parentItem=t},v.prototype.hasParentItem=function(){return null!=this._parentItem},v.prototype.addChildren=function(t){for(var e,n=0,i=t.length;nr.getDefaultTabSort())&&(r=t);return r},v.prototype.getCheckedChild=function(){var t,e,n,i;if(this.hasChildren())for(e=0,n=(i=this.getChildren()).length;ediv.color-spacer").show():this._$menuWrapperElement.find(">div.color-spacer").hide()},I.prototype._updated=function(t,e,n){},I.prototype._updatedFinal=function(t){var e,n,i=this._tabsMenu.getDeepestChild(),r=i.getTabFeedKey();return e=i,n=this,i=function(){return n._updateMenuSelectedItem(),n._tabContent.updateHtml(e)},1===(null!=t?t.TB:void 0)?this._signs.getAllowedTab().isAllowed(r[0],r[1])||(this._updateMenuHtmlAfterNextTabChange=!0,this._signs.getAllowedTab().setAllowed(r[0],r[1]),r[0]===this._table.getTabId("LIVE_OVERALL"))?this.updateMenuHtml(i):void 0:i()},I.prototype._getTabsConfig=function(){return this._config.jQuery.extend({},this._config.tabsConfig,!0)},u=I}.call(this);!function(){var _,u;function a(t,e,n,r){this._jQuery=t,this._$contentWrapper=e,this._sortOpts=n,this._defaultOrderCb=null!=r?r:function(){return 0},this._sortColumns={},this._bindArrowClick()}function t(t,e,n,r,o,i){this._tableId=t,this._theadIndex=e,this._thType=n,this._thIndex=r,this._sortMethod=null!=o?o:"number",this._direction=null!=i?i:u.SORT_DIRECTION_ASC,this._defaultDirection=this._direction,this._isActive=!1}function l(t,e,n){this._sortColumn=t,this._$rows=e,this._defaultSortOrderCb=n}window.Stats2TableSort=(a.SORT_OPTS_INDEX_METHOD=0,a.SORT_OPTS_INDEX_DIRECTION=1,a.SORT_OPTS_INDEX_PRIORITY=2,a.prototype.init=function(t,l){var e,_,a;return null==l&&(l=!1),e=t.attr("id"),t.find("thead").each((_=this,a=e,function(t,e){var n,r,o,e=_._jQuery(e),i=e.index(),s=_._getGroupId(a,i),u=l||null==(null!=(u=_._sortColumns)?u[s]:void 0);return e.find("td, th").each((n=_,r=a,o=i,function(t,e){return n._addSortColumn(r,o,e,l)})),u&&_._setDefaultSortColumn(s),_._sort(s)}))},a.prototype._sort=function(t){var r,o,i,e,n,s,t=this._getActiveSortColumn(t);if(!1!==t)return n=(e=this._jQuery(t.getJqTheadSelector())).next("tbody"),s=t.getThIndex(),e.find("tr.main td, tr.main th").each((r=this,o=s,i=t,function(t,e){var e=r._jQuery(e),n=e.find(">a");return e.index()===o?n.attr("class","gTableSort-"+i.getDirection()+" gTableSort-on"):n.attr("class","gTableSort-off")})),e=n.find(">tr"),t=new u(t,e,this._defaultOrderCb).sort(),(t=this._jQuery(t)).find("td.col_sorted").removeClass("col_sorted"),t.find("td:nth-child("+(s+1)+")").addClass("col_sorted"),this._fixRowParity(t,n.data("visibleRows")),e.remove(),n.append(t)},a.prototype._addSortColumn=function(t,e,n,r){var o,i,s,u,l;if(null==r&&(r=!1),s=(n=this._jQuery(n)).index(),u=n.data("type"),null!=(null!=(l=this._sortOpts)?l[u]:void 0)&&(l=this._getGroupId(t,e),o=this._getColId(u,s),r&&(this._sortColumns[l]={}),null==(null!=(r=this._sortColumns[l])?r[o]:void 0)&&(null==this._sortColumns[l]&&(this._sortColumns[l]={}),r=this._sortOpts[u][a.SORT_OPTS_INDEX_METHOD],i=this._sortOpts[u][a.SORT_OPTS_INDEX_DIRECTION],this._sortColumns[l][o]=new _(t,e,u,s,r,i)),!n.hasClass("gTableSort-switch")))return this._wrapHeaderColumnContent(n)},a.prototype._getActiveSortColumn=function(t){var e,n,r;if(null!=this._sortColumns[t])for(n in r=this._sortColumns[t])if((e=r[n]).isActive())return e;return!1},a.prototype._setDefaultSortColumn=function(t){var e,n,r,o,i,s;if(null!=this._sortColumns[t]){for(e in n=null,r=-9999,i=this._sortColumns[t])o=i[e].getType(),r<(s=null!=(null!=(s=this._sortOpts)&&null!=(s=s[o])?s[a.SORT_OPTS_INDEX_PRIORITY]:void 0)?this._sortOpts[o][a.SORT_OPTS_INDEX_PRIORITY]:0)&&(n=e,r=s);return null!=n?this._setSortColumn(t,n):void 0}},a.prototype._setSortColumn=function(t,e,n){var r,o,i,s,u;if(null==n&&(n=!1),null!=this._sortColumns[t]){for(i in n&&(r=this._getActiveSortColumn(t)),u=[],s=this._sortColumns[t])o=s[i],i===e?(o.setActive(!0),u.push(null!=r&&r===o?o.switchDirection():void 0)):u.push(o.setActive(!1));return u}},a.prototype._wrapHeaderColumnContent=function(t){return t.wrapInner('').append('').wrapInner('').addClass("gTableSort-switch")},a.prototype._addSortArrows=function(){return this._$tablesWrapper.each("table.stats-table")},a.prototype._getGroupId=function(t,e){return t+"-"+e},a.prototype._getColId=function(t,e){return t+"-"+e},a.prototype._bindArrowClick=function(){return this._$contentWrapper.on("click","thead tr.main th,thead tr.main td a",(i=this,function(t){var e=i._jQuery(t.target).closest("th, td"),n=e.closest("table").attr("id"),r=e.closest("thead").index(),o=e.data("type");if(null!=o)return e=e.index(),n=i._getGroupId(n,r),r=i._getColId(o,e),i._setSortColumn(n,r,!0),i._sort(n),t.preventDefault(),t.stopPropagation()}));var i},a.prototype._fixRowParity=function(t,e){var n,r,o;return null==e&&(e=0),n=t.filter(".filtered-out"),r=t.filter(".hidden").not(n).length,e=e||t.length-r,t.slice(e).addClass("hidden"),t.not(n).slice(0,e).removeClass("hidden").each((o=this,function(t,e){return o._jQuery(e).toggleClass("odd",t%2==0).toggleClass("even",t%2==1)}))},a),t.prototype.isActive=function(){return this._isActive},t.prototype.setActive=function(t){this._isActive=null==t||t},t.prototype.switchDirection=function(){return this._direction=this._direction===u.SORT_DIRECTION_ASC?u.SORT_DIRECTION_DESC:u.SORT_DIRECTION_ASC},t.prototype.getDirection=function(){return this._direction},t.prototype.getType=function(){return this._thType},t.prototype.getThIndex=function(){return this._thIndex},t.prototype.getJqTheadSelector=function(){return("#"+this._tableId+" thead:nth-child("+(this._theadIndex+1)+")").replace(/\./g,"\\.")},t.prototype.getSortMethod=function(){return this._sortMethod},t.prototype.getDefaultDirection=function(){return this._defaultDirection},_=t,l.SORT_DIRECTION_ASC="asc",l.SORT_DIRECTION_DESC="desc",l.SORTERS={number:function(t,e){return this.getDirection()===l.SORT_DIRECTION_ASC?t-e:e-t},string:function(t,e){return t===e?0:(t=t.localeCompare(e),this.getDirection()===l.SORT_DIRECTION_ASC?t:-t)},resultSum:function(t,e){return this.getDirection()===l.SORT_DIRECTION_ASC?t-e:e-t}},l.MAPPERS={number:function(t,e){t=t.childNodes[e]||{textContent:0},e=+(t.textContent||t.innerText);return isNaN(e)?0:e},string:function(t,e){t=t.childNodes[e]||{textContent:""};return(t.textContent||t.innerText).trim().toLowerCase()},resultSum:function(t,e){t=t.childNodes[e]||{textContent:"0:0"},e=(t.textContent||t.innerText).split(":");return e=2===e.length?parseInt(e[0])-parseInt(e[1]):parseInt(e[0]),e=isNaN(e)?0:e}},l.prototype.sort=function(){var t,e,n,r=this._sortColumn.getSortMethod(),o=this._sortColumn.getThIndex();if(null!=l.MAPPERS[r]&&null!=l.SORTERS[r]){var i,s=[],u=[];for(this._$rows.each(function(t,e){return u.push([t,l.MAPPERS[r](e,o)])}),u.sort((i=this,function(t,e){var n=l.SORTERS[r].call(i._sortColumn,t[1],e[1]);return n=n||null==i._defaultSortOrderCb?n:i._defaultSortOrderCb.call(i._sortColumn,i._$rows[t[0]],i._$rows[e[0]])})),e=0,n=u.length;e=this.limits.max_x?this.scrollHeader.links.hide():this.scrollHeader.links.show(),this.dimensions.offsetTop=this.scrollEnv.offset().top+this.dimensions.heightHeader},this.update_links=function(){this.position.xthis.limits.min_x?this.show_links(this.el.ll):this.hide_links(this.el.ll)},this.hide_links=function(t){t.addClass(this.options.link_hide_class)},this.show_links=function(t){t.removeClass(this.options.link_hide_class)},this.shorten_result_names=function(){$jq(".match").each(function(t,i){(i=$jq(i)).find(".participant").each(function(t,i){var s=(i=$jq(i)).find(".name"),e=0;null==(e=i.find(".score")).width()&&(e=i.parent().find(".score-final")),s.width(i.width()-e.width()-(e.width()?5:0))}.bind(this))}.bind(this))},this.touch=function(t,i){var s,e,o,n;i.preventDefault(),void 0!==(t="number"==typeof t?this.keyCodes[parseInt(t)]:t)&&t&&((this.scroll.disabled||this.scroll.horizontal)&&("left"==t&&this.position.x>this.limits.min_x||"right"==t&&this.position.xthis.limits.min_y)&&(s=Math.max(this.limits.min_y,Math.min(this.limits.max_y,this.position.y+i*e)),(this.position.y=s)==this.limits.max_y?this.el.env.tinyscrollbar_update("bottom"):(o=this.scrollContent.outerHeight()-this.limits.min_y*this.item.height*1.13,n=s==this.limits.max_y?o:Math.max(0,Math.min(o,this.item.height*(s-this.limits.min_y))),this.set_content_displacement("vertical",n,100,!0)))):this.scroll.vertical&&"home"==t?(this.el.env.tinyscrollbar_update("top"),this.position.y=this.limits.min_y):this.scroll.vertical&&"end"==t&&(this.el.env.tinyscrollbar_update("bottom"),this.position.y=this.limits.max_y))},this.update_vertical_position=function(t){this.scroll.vertical&&(this.position.y=this.limits.min_y+Math.floor(-t/this.item.height))},this.update_horizontal_position=function(t){this.scroll.horizontal&&(this.position.x=t>this.limits.scroll_x?this.limits.min_x+Math.floor(-t/this.item.width):this.limits.max_x,this.update_links())},this.set_content_displacement=function(t,i,s){var e;void 0===s&&(s=0),"horizontal"==t&&(this.scroll.disabled||(e=0==i?0:Math.floor(i*(this.el.sx.width()-this.el.sx.find(".hthumb").width())/this.limits.scroll_x),this.el.sx.find(".hthumb").animate({left:e},150)),this.scrollContent.animate({left:Math.round(i)+"px"},s,"swing"),this.scrollHeader.content.animate({left:Math.round(i)+"px"},s,"swing")),"vertical"==t&&this.el.env.tinyscrollbar_update(i)},this.set_scrollbar_displacement=function(t,i,s){var e;void 0===s&&(s=0),"horizontal"==t?(e=-(0==i?0:Math.floor(i*this.limits.scroll_x/(this.el.sx.width()-this.el.sx.find(".hthumb").width()))),this.scrollContent.animate({left:Math.round(e)+"px"},s,"swing"),this.scrollHeader.content.animate({left:Math.round(e)+"px"},s,"swing"),this.el.sx.find(".hthumb").animate({left:-i},s)):"vertical"==t&&(e=0==i?0:Math.floor(-(i*this.limits.scroll_x)/(this.el.sx.width()-this.el.sx.find(".hthumb").width())),this.scrollContent.animate({left:Math.round(e)+"px"},s,"swing"),this.scrollHeader.content.animate({left:Math.round(e)+"px"},s,"swing"),this.el.sx.find(".hthumb").animate({left:i},s))},this.resize_viewport=function(t){var i=$jq(".detail-terminator"),i=parseInt(i.css("margin-top"))+parseInt(i.css("margin-bottom")),i=$jq(window).height()-$jq("body").outerHeight()+$jq("body").height()-i;this.scrollEnv.width(this.scrollEnv.closest("#playoff-env").width()),this.update_scrollbox(),this.dimensions.heightHeader=this.scrollHeader.height(),this.dimensions.offsetTop=this.scrollEnv.offset().top,this.dimensions.offsetBottom=+$jq(".closer").outerHeight()-this.scrollEnv.outerHeight()+this.scrollEnv.height()+this.scrollHeader.height(),this.scrollEnv.height(i-this.dimensions.offsetTop-this.dimensions.offsetBottom),this.dimensions.height=this.scrollEnv.outerHeight()-this.dimensions.heightHeader,t||(this.dimensions.heightInternal=this.scrollContent.children().height())},this.update_scrollbars=function(){var t=this.el.env.hasClass("default-scroll"),i=this.scrollContent.outerWidth()-this.scrollEnv.width()-20,s=this.scrollContent.outerHeight()-this.scrollEnv.height();(this.scroll.horizontal=!t&&0
"),$jq("body").append(t),i=$jq(t).get(0).offsetWidth-$jq(t).get(0).clientWidth,$jq(t).remove(),this.browserScrollbarWidth=i)},this.searchInScrollAreaHackInit=function(){($jq.browser.mozilla&&this.searchInScrollAreaHackEnabled||this.mobile())&&$jq("#playoff-env").find(".viewport-wrap").css({width:"auto",height:"auto"})},this.searchInScrollAreaHack=function(){var t,i,s;($jq.browser.mozilla&&this.searchInScrollAreaHackEnabled||this.mobile())&&(t=this.getBrowserScrollbarWidth(),i=$jq("#playoff-env").find(".viewport"),s=$jq("#playoff-env").find(".viewport-wrap"),$jq(s).css({width:$jq(i).outerWidth(!0)+"px",height:$jq(i).outerHeight(!0)+"px"}),$jq(i).css({width:$jq(i).outerWidth(!0)+t,height:$jq(i).outerHeight(!0)+t+"px"}),$jq(s).css("overflow","hidden"),$jq(i).css("overflow","scroll"))},this.participantWayHighlight=function(){var s=$jq(this.scrollEnv).find(".match"),e="participant-way-highlight";$jq(s).hover(function(){var t,i=[];for(t in $jq(this).is(":not(.has-events)")&&$jq(this).addClass("participant-way-highlight"),$jq(this).find(".participant").each(function(){var t=$jq(this).attr("class").match(/\bglib\-participant\-([^\s]*)\b/);null!=t&&void 0!==t[0]&&i.push(t[0])}),i)$jq(s).has(".participant."+i[t]).not(this).addClass(e)},function(){$jq(this).removeClass("participant-way-highlight"),$jq(s).removeClass(e)})},this.create_horizontal_scrollbar=function(){this.el.sx.thumb.unbind(".hcb").bind("mousedown",{},function(t){t.preventDefault(),t.stopPropagation();try{this.options.original_onselectstart=document.onselectstart,document.onselectstart=function(){return!1}}catch(t){}void 0===this.public.i&&(this.public.i=0),this.public.i++;var i=this.el.sx.width()-this.el.sx.thumb.width();$jq("body").bind("mousemove",{start:t.pageX,max:i,h_quotient:i/this.limits.scroll_x},function(t){pos=Math.max(0,Math.min(t.data.max,parseInt(this.el.sx.thumb.css("left"))-(t.data.start-t.pageX))),t.data.start=t.pageX,p=pos/t.data.h_quotient,this.scrollContent.css({left:Math.round(p)+"px"}),this.scrollHeader.content.css({left:Math.round(p)+"px"}),this.el.sx.thumb.css("left",pos+"px"),this.update_horizontal_position(p)}.bind(this))}.bind(this)),this.el.sx.find(".htrack").mousedown(function(t){var i=this.el.sx.find(".hthumb"),s=parseInt(i.css("left")),i=parseInt(i.width()),e=this.scroll.vertical?parseInt(this.el.sy.width()):0,e=$jq(window).width()-e,e=t.pageX>=e?e:t.pageX;this.set_scrollbar_displacement("horizontal",-e+(s+i<=e?i:0),100)}.bind(this)),$jq(document).mouseup(function(t){try{document.onselectstart=this.options.original_onselectstart}catch(t){}$jq("body").unbind("mousemove"),hscroll=void 0}.bind(this))},this.restart=function(){this.ready=!1},this.init=function(t){var i,e,o,n,l,h,a;void 0!==t&&(this.detailVersion=t),(window.dw=this).el.env=$jq("#playoff-env"),1==this.el.env.length&&((!$jq.browser.msie||$jq.browser.msie&&7<=$jq.browser.version)&&this.shorten_result_names(),this.scrollEnv=this.el.env.find(".viewport"),this.scrollContent=this.el.env.find(".overview"),this.scrollHeader=$jq("#playoff-header"),this.scrollHeader.content=this.scrollHeader.find("ul").first(),this.scrollHeader.links=$jq("#playoff-links, .playoff-scroll-buttons"),(2==t||"undefined"!=typeof tournament&&tournament||"undefined"!=typeof tournamentPage&&tournamentPage)&&(this.searchInScrollAreaHackEnabled=!1,t=parseInt($jq("#draw_column_count").text()),i=parseInt($jq("#detail .round").css("width")),this.scrollContent.css("width",i*t),this.scrollEnv.css("height",this.scrollContent.outerHeight()),$jq("#playoff-header ul").css("width",i*t)),1==this.scroll.disabled||(this.scroll.disabled=this.el.env.hasClass("default-scroll"))||(this.scrollEnv.closest("#playoff-env").prepend('
'),this.scrollEnv.closest("#playoff-env").prepend('
'),this.el.sx=this.el.env.children(".hcrollbar"),this.el.sx.thumb=this.el.sx.find(".hthumb"),this.el.sy=this.el.env.children(".scrollbar"),this.el.env.tinyscrollbar(),this.create_horizontal_scrollbar()),this.el.lr=this.scrollHeader.links.find(".scroll-right"),this.el.ll=this.scrollHeader.links.find(".scroll-left"),$jq(window).bind("resize",{dw:this},function(t){t.data.dw.update_size()}),$jq(document).keydown(function(t){t.keyCode in this.keyCodes&&this.touch(t.keyCode,t)}.bind(this)),this.mobile()&&(e=$jq(".track"),o=$jq(".htrack"),n=$jq(".scrollbar .track .thumb"),l=$jq(".hcrollbar .htrack .hthumb"),h=$jq(".viewport"),a=$jq(".overview"),$jq(".viewport").bind("scroll",function(t){var i=(e.height()-n.height())/(a.height()-h.height()),s=(o.width()-l.width())/(a.width()-h.width());n.css("top",Math.floor(h.get(0).scrollTop*i)),l.css("left",Math.floor(h.get(0).scrollLeft*s)),this.position.x=Math.floor((h.width()+h.get(0).scrollLeft)/this.item.width),this.update_links()}.bind(this))),this.update_size(),$jq.browser.msie&&$jq.browser.version<=7&&($jq(".match.has-events ul").wrap(''),$jq(".match.has-events").each(function(t,s){$jq(s).find(".playoff-box-result-inner li span.row").each(function(t,i){$jq(i).find("span").each(function(t,i){var s=$jq(i).hasClass("info")?""),$jq(s).find("tr").unwrap().unwrap().unwrap(),$jq(s).find("table tr td:first-child").css("border-left","none")})})),$jq(".match.has-events").unbind(".draw").bind("click.draw",{dw:this},this.match_cell_callback),this.el.ll.unbind("click").bind("click",{dw:this},function(t){t.data.dw.touch("left",t)}),this.el.lr.unbind("click").bind("click",{dw:this},function(t){t.data.dw.touch("right",t)}),$jq("a.scroll-box").unbind(".draw").bind("click.draw",{dw:this},function(t){t.data.dw.touch(null,t)}),this.participantWayHighlight(),this.ready=!0)},this.match_cell_callback=function(t){var s,e,n=t.data.dw,t=$jq(this),o=t.attr("id"),l=t.find(".matches"),h="function"==typeof detail_open,a="undefined"!=typeof cjs&&void 0!==cjs.fromGlobalScope&&"function"==typeof cjs.fromGlobalScope.detail_open;void 0===n.swap.a&&(n.swap.a=1),l.length&&(t.hasClass("unpacked")?(t.removeClass("unpacked"),e=(s=t.find(".matches")).prev(),s.remove(),s.insertAfter(e),void 0!==n.box_titles[o]&&t.attr("title",n.box_titles[o]),t.hasClass("shrink")&&t.removeClass("shrink"),delete n.boxes[o]):(n.swap.a++,t.css("z-index",n.swap.a).addClass("unpacked"),l.css("z-index",n.swap.a),t.parent().css("z-index",n.swap.a),n.boxes[o]=l.outerHeight()+t.outerHeight()+t.position().top+t.parent().position().top+5,n.box_titles[o]=t.attr("title"),t.removeAttr("title"),n.boxes[o]>n.dimensions.heightInternal&&(t.addClass("shrink"),n.boxes[o]>n.scrollContent.height())&&(n.scrollEnv.height()e;){if("..."==i)return;$jq(t).text(i.substr(0,i.length-4)+"..."),i=$jq(t).text()}},StatsTableWidthChecker_CheckItemWidth=function(t){var i,e=$jq(t).find("table:nth-child(1)"),n=$jq(t).find(".stats-table-container:nth-child(1)");1==$jq(e).size()&&$jq(n).size()&&((TableCheckerCallback=function(){StatsTableWidthChecker.isWorking(e)||new StatsTableWidthChecker({tableElement:$jq(e),maxSize:$jq(n).innerWidth(!0),minSize:65}).truncateParticipant()})(),i=null,$jq(window).resize(function(){var t,e=$jq(window).innerWidth();clearTimeout(i),i=setTimeout((t=e,function(){t==$jq(window).innerWidth()&&TableCheckerCallback()}),200)}))};var $jq,TabFilter=function(p){function t(t,e,s){this.uls=null,this.tbody=null,this.allRows=null,this.noResultsText="",this.noResultsTFoot=null,this.selectedFilter=[];var i,o=p(".glib-stats-filter",t.box),l=(this.uls=o.find("ul[data-name]"),this.tbody=p("table.stats-table tbody",t.box),this.noResultsText=o.attr("data-no-results-text"),this.rowsVisibled=this.tbody.find("tr:not(:hidden)").length,0=l.rowsVisibled})).addClass("hidden")):(n.removeClass("hidden filtered-out"),n.length||this.showNoResultsTFoot()),fix_row_parity(this.tbody),toggle_show_more(this.tbody)},t.prototype.adjustFilterRowCss=function(t){var e=p(".stats-shared-menu .ifmenu"),s=p(".stats-shared-menu .color-spacer:visible").last(),i=null;s.length&&(i=e.css("marginLeft"),0==parseInt(i)&&(i="10px"),t.css({backgroundColor:s.css("backgroundColor"),borderBottomWidth:s.css("borderBottomWidth"),borderBottomStyle:s.css("borderBottomStyle"),borderBottomColor:s.css("borderBottomColor"),marginTop:"-"+s.css("borderBottomWidth"),paddingTop:1,paddingRight:0,paddingBottom:parseInt(s.css("height"),10)+1,paddingLeft:i}),t.find(".list-wrapper").css({marginRight:i}))},t.prototype.showNoResultsTFoot=function(){if(!this.noResultsTFoot){this.noResultsTFoot=p("");for(var t=this.tbody.find("tr:first-child > td").length,e=p("").append(p("
":"";$jq(i).wrap(s)}),$jq(i).wrapInner("
").append(p("
").append(p("",{text:this.noResultsText})))),s=1;s");this.noResultsTFoot.append(e).insertAfter(this.tbody)}this.noResultsTFoot.show()},t.prototype.processValue=function(t,e){if("team_name"===t){t=e.indexOf(" (");if(-1!==t)return e.substring(0,t)}return e},t.prototype.getSelectedFilter=function(){return this.selectedFilter},t.prototype.getRowsVisibled=function(){return this.tbody.data("visibleRows")||this.rowsVisibled},t.prototype.alphaSort=function(t,e){return t.localeCompare(e)},t}($jq=void 0===$jq?($jq=jQuery)||jQuer:$jq);