jQuery.template("Tmpl-knoema-page-tabs-component",function(n,$item){var $=n,__=[],t=$item.data;with(t)__.push('<div class="component-block page-tabs-component">  <div class="tabs-title'),typeof editable!="undefined"&&editable!=null&&(typeof editable=="function"?editable.call($item):editable)&&__.push(" editing"),__.push(""),typeof(!title&&!editable)=="undefined"||(!title&&!editable)==null||(typeof(!title&&!editable)=="function"?!(!title&&!editable).call($item):title||editable)||__.push(" hidden"),__.push('" title="'),typeof title!="undefined"&&title!=null&&__.push($.encode(typeof title=="function"?title.call($item):title)),__.push('">'),typeof title!="undefined"&&title!=null&&__.push($.encode(typeof title=="function"?title.call($item):title)),__.push('<\/div>  <div class="component-block-header">   <span class="buttons'),typeof editable!="undefined"&&editable!=null&&(typeof editable=="function"?editable.call($item):editable)&&__.push(" editing"),__.push('">    <span class="section-control-item slider-btn btn-prev">     <i class="knoema-ico arrow2-'),typeof Knoema.Utils.isRtl!="undefined"&&Knoema.Utils.isRtl!=null&&Knoema.Utils.isRtl()?__.push("right"):!0&&__.push("left"),__.push('"><\/i>    <\/span>    <span class="headers">     '),typeof tabs!="undefined"&&tabs!=null&&(typeof tabs=="function"?tabs.call($item):tabs)&&(__.push("     "),typeof tabs!="undefined"&&tabs!=null&&$.each(typeof tabs=="function"?tabs.call($item):tabs,function(i,tab){with(this)__.push("     "),!0&&{index:i,name:tab.component.getName(),editable:editable}!=null&&(__=__.concat($item.nest("Tmpl-knoema-page-tabs-component-header",{index:i,name:tab.component.getName(),editable:editable},null))),__.push("     ")}),__.push("     ")),__.push('    <\/span>    <span class="section-control-item slider-btn btn-next">     <i class="knoema-ico arrow2-'),typeof Knoema.Utils.isRtl!="undefined"&&Knoema.Utils.isRtl!=null&&Knoema.Utils.isRtl()?__.push("left"):!0&&__.push("right"),__.push('"><\/i>    <\/span>   <\/span>   <div class="tabs-actions">    '),typeof editable!="undefined"&&editable!=null&&(typeof editable=="function"?editable.call($item):editable)?(__.push("    "),typeof isTabFeatureEnabled!="undefined"&&isTabFeatureEnabled!=null&&(typeof isTabFeatureEnabled=="function"?isTabFeatureEnabled.call($item):isTabFeatureEnabled)&&(__.push('    <span class="add-new-tab section-control-item" title="'),typeof $.localize!="undefined"&&$.localize!=null&&__.push($.encode($.localize("Add a tab","~/Js/knoema/Knoema.Page.js"))),__.push('">     <i class="knoema-ico tab-add"><\/i>    <\/span>    ')),__.push("    ")):!0&&__.push('    <div class="gadget-maximize section-control-item">     <i class="knoema-ico expand"><\/i>    <\/div>    '),__.push('    <span id="gadget-menu-btn" class="section-control-item gadget-options">     <i class="knoema-ico menu"><\/i>    <\/span>   <\/div>  <\/div>  <div class="component-block-content"><\/div> <\/div>');return __});jQuery.template("Tmpl-knoema-page-tabs-component-header",function(n,$item){var $=n,__=[],t=$item.data;with(t)__.push('<span class="component-block-header-btn" title="'),typeof name!="undefined"&&name!=null&&__.push($.encode(typeof name=="function"?name.call($item):name)),__.push('" data-component-index="'),typeof index!="undefined"&&index!=null&&__.push($.encode(typeof index=="function"?index.call($item):index)),__.push('">  <span class="title">'),typeof name!="undefined"&&name!=null&&__.push($.encode(typeof name=="function"?name.call($item):name)),__.push('<\/span>  <span class="empty-placeholder">'),typeof $.localize!="undefined"&&$.localize!=null&&__.push($.encode($.localize("Untitled","~/Js/knoema/Knoema.PageTabsComponent.js"))),__.push("<\/span> <\/span>");return __})