(function(){function aM(){return"ckeditor";}function j(ba){return ba.elementMode==3;}function J(ba){return ba.name.replace(/\[/,"_").replace(/\]/,"_");}function o(ba){return ba.container.$;}function e(ba){return ba.document.$;}function ac(ba){return ba.getSnapshot();}function ag(bb,ba){bb.loadSnapshot(ba);}function av(bb){if(bb.getSelection()==null){return null;}var ba=bb.getSelection().getStartElement();if(ba&&ba.$){return ba.$;}return null;}function am(){return CKEDITOR.basePath;}function a1(){return k("jsplus_bootstrap_table_conf");}function k(ba){return CKEDITOR.plugins.getPath(ba);}function Z(){return CKEDITOR.version.charAt(0)=="3"?3:4;}function A(bc,bb){if(Z()==3){var ba=(bb.indexOf("jsplus_bootstrap_table_conf_")==-1)?("jsplus_bootstrap_table_conf_"+bb):bb;if(typeof(bc.lang[ba])!=="undefined"){return bc.lang[ba];}else{console.log("(v3) editor.lang['jsplus_bootstrap_table_conf'] not defined");}}else{if(typeof(bc.lang["jsplus_bootstrap_table_conf"])!=="undefined"){if(typeof(bc.lang["jsplus_bootstrap_table_conf"][bb])!=="undefined"){return bc.lang["jsplus_bootstrap_table_conf"][bb];}else{console.log("editor.lang['jsplus_bootstrap_table_conf']['"+bb+"'] not defined");}}else{console.log("editor.lang['jsplus_bootstrap_table_conf'] not defined");}}return"";}function ao(bb,ba){return al(bb,"jsplus_bootstrap_table_conf_"+ba);}function al(bb,ba){var bc=bb.config[ba];return bc;}function z(ba,bb){au("jsplus_bootstrap_table_conf_"+ba,bb);}function au(ba,bb){CKEDITOR.config[ba]=bb;}function aX(bc,bb){var ba=CKEDITOR.dom.element.createFromHtml(bb);bc.insertElement(ba);}function w(){return"";}var ai=0;var L=1;var Y=2;function u(ba,bd,bb){var bc=null;if(bb==ai){bc=CKEDITOR.TRISTATE_DISABLED;}else{if(bb==L){bc=CKEDITOR.TRISTATE_OFF;}else{if(bb==Y){bc=CKEDITOR.TRISTATE_ON;}}}if(bc!=null&&ba.ui&&ba.ui.get(bd)){ba.ui.get(bd).setState(bc);}}function ad(ba,bb){ba.on("selectionChange",function(bc){bb(bc.editor);});}function K(bb,ba,bc){if(ba=="beforeGetOutputHTML"){bb.on("toDataFormat",function(bd){return bc(bb,bd.data.dataValue);},null,null,4);return;}bb.on(ba,(function(){var bd=bb;return function(){bc(bd);};})());}function B(bc,ba,bf,bd,be,bb){bc.addCommand(ba,{exec:be});bc.ui.addButton(ba,{title:A(bc,bd.replace(/^jsplus_/,"")),label:A(bc,bd.replace(/^jsplus_/,"")),icon:a1()+"icons/"+bf+".png",command:bf});}function v(ba){return ba.mode=="wysiwyg";}function aD(bb,ba,bc){CKEDITOR.plugins.add(bb,{icons:bb,lang:ba,init:function(bd){bc(bd);}});}function f(){JSDialog.Config.skin=null;JSDialog.Config.templateDialog='
'+'
'+'
'+'
'+''+'X'+""+"
"+'
'+'
'+"
"+'"+"
"+"
";JSDialog.Config.templateButton='';JSDialog.Config.templateBg='
';JSDialog.Config.classButton="cke_dialog_ui_button";JSDialog.Config.classButtonOk="cke_dialog_ui_button_ok";JSDialog.Config.contentBorders=[3,1,15,1,65];CKEDITOR.skin.loadPart("dialog");D(document,".jsdialog_plugin_jsplus_bootstrap_table_conf.jsdialog_bg { background-color: white; opacity: 0.5; position: fixed; left: 0; top: 0; width: 100%; height: 3000px; z-index: 11111; display: none; }"+".jsdialog_plugin_jsplus_bootstrap_table_conf.jsdialog_dlg { font-family: Arial; padding: 0; position: fixed; z-index: 11112; background-color: white; border-radius: 5px; overflow:hidden; display: none; }"+".jsdialog_plugin_jsplus_bootstrap_table_conf.jsdialog_show { display: block; }"+".jsdialog_plugin_jsplus_bootstrap_table_conf .jsdialog_message_contents { font-size: 16px; padding: 10px 0 10px 7px; display: table; overflow: hidden; }"+".jsdialog_plugin_jsplus_bootstrap_table_conf .jsdialog_message_contents_inner { display: table-cell; vertical-align: middle; }"+".jsdialog_plugin_jsplus_bootstrap_table_conf .jsdialog_message_icon { padding-left: 100px; min-height: 64px; background-position: 10px 10px; background-repeat: no-repeat; box-sizing: content-box; }"+".jsdialog_plugin_jsplus_bootstrap_table_conf .jsdialog_message_icon_info { background-image: url(img/info.png); }"+".jsdialog_plugin_jsplus_bootstrap_table_conf .jsdialog_message_icon_warning { background-image: url(img/warning.png); }"+".jsdialog_plugin_jsplus_bootstrap_table_conf .jsdialog_message_icon_error { background-image: url(img/error.png); }"+".jsdialog_plugin_jsplus_bootstrap_table_conf .jsdialog_message_icon_confirm { background-image: url(img/confirm.png); }"+".jsdialog_plugin_jsplus_bootstrap_table_conf .cke_dialog_contents { margin-top: 0; border-top: none; }"+".jsdialog_plugin_jsplus_bootstrap_table_conf .cke_dialog_footer div { outline: none; }"+".jsdialog_plugin_jsplus_bootstrap_table_conf .cke_dialog_footer_buttons > .cke_dialog_ui_button { margin-right: 5px; }"+".jsdialog_plugin_jsplus_bootstrap_table_conf .cke_dialog_footer_buttons > .cke_dialog_ui_button:last-child { margin-right: 0; }"+".jsdialog_plugin_jsplus_bootstrap_table_conf .cke_dialog_title { cursor: default; }"+".jsdialog_plugin_jsplus_bootstrap_table_conf .cke_dialog_contents { padding: 0; }"); }function aG(){var ba=false;if(ba){var be=window.location.hostname;var bd=0;var bb;var bc;if(be.length!=0){for(bb=0,l=be.length;bb',parseValuesFromElement:function(bc){I["features_initial"].tag_name=bc.tagName.toLowerCase();},setGUIByValues:function(bc){window.document.getElementById("jsplus_bootstrap_table_conf_feature_tag_name_"+J(bc)).value=I["features_initial"].tag_name;},parseValuesFromGUI:function(bc){I["features_current"].tag_name=window.document.getElementById("jsplus_bootstrap_table_conf_feature_tag_name_"+J(bc)).value;},apply:function(bd){if(I["features_initial"].tag_name==I["features_current"].tag_name.toLowerCase()){return;}if(I["features_current"].tag_name.length>0){var be=document.createElement(I["features_current"].tag_name);for(var bc=0;bc'+'"+'"+"",parseValuesFromElement:function(be){var bd=C(be,"thead");var bc=bd.length>0;I["features_initial"].header=bc;},setGUIByValues:function(bc){window.document.getElementById("jsplus_bootstrap_table_conf_feature_header_"+J(bc)).value=I["features_initial"].header?"added":"removed";},parseValuesFromGUI:function(bc){I["features_current"].header=window.document.getElementById("jsplus_bootstrap_table_conf_feature_header_"+J(bc)).value=="added";},apply:function(bg){if(I["features_initial"].header==I["features_current"].header){return;}if(I["features_current"].header===true){var bi=bg.ownerDocument;var bd=bi.createElement("thead");var bc=bi.createElement("tr");bd.appendChild(bc);var bh=m(bg);for(var bf=0;bf',parseValuesFromElement:function(be){var bc=C(be,"caption");var bd=bc.length>0;I["features_initial"].caption=bd?bc[0].innerHTML:"";},setGUIByValues:function(bc){window.document.getElementById("jsplus_bootstrap_table_conf_feature_caption_"+J(bc)).value=I["features_initial"].caption; },parseValuesFromGUI:function(bc){I["features_current"].caption=window.document.getElementById("jsplus_bootstrap_table_conf_feature_caption_"+J(bc)).value;},apply:function(be){if(I["features_initial"].caption==I["features_current"].caption){return;}if(I["features_current"].caption.length>0){var bc=C(be,"caption");var bg=null;if(bc.length>0){bg=bc[0];}else{var bf=be.ownerDocument;bg=bf.createElement("caption");if(be.firstChild!=null){be.insertBefore(bg,be.firstChild);}else{be.appendChild(bg);}}bg.innerHTML=I["features_current"].caption;}else{var bg=C(be,"caption");for(var bd=0;bd'+'"+'"+'"+'"+"",parseValuesFromElement:function(bc){var bd=ae(bc);I["features_initial"].horizontalAlign=i(bd);},setGUIByValues:function(be){var bd="jsplus_bootstrap_table_conf_feature_cells_horizontal_align_"+J(be);var bg="jsplus_bootstrap_table_conf_feature_cells_horizontal_align_do_not_change"+J(be);var bf=window.document.getElementById(bg);if(bf){if(I["features_initial"].horizontalAlign!="do_not_change"){bf.parentNode.removeChild(bf);}}else{if(I["features_initial"].horizontalAlign=="do_not_change"){var bc=window.document.getElementById(bd);bf=window.document.createElement("option");bf.id=bg;bf.value="do_not_change";bf.innerText=A(be,"do_not_change");bc.insertBefore(bf,bc.firstChild);}}window.document.getElementById("jsplus_bootstrap_table_conf_feature_cells_horizontal_align_"+J(be)).value=I["features_initial"].horizontalAlign;},parseValuesFromGUI:function(bc){I["features_current"].horizontalAlign=window.document.getElementById("jsplus_bootstrap_table_conf_feature_cells_horizontal_align_"+J(bc)).value;},apply:function(bc){var bd=I["features_current"].horizontalAlign;if(bd!="do_not_change"){aq(ae(bc),bd);}}},{str:"cells_vertical_align",html:'",parseValuesFromElement:function(bc){var bd=ae(bc);I["features_initial"].verticalAlign=M(bd);},setGUIByValues:function(be){var bd="jsplus_bootstrap_table_conf_feature_cells_vertical_align_"+J(be);var bg="jsplus_bootstrap_table_conf_feature_cells_vertical_align_do_not_change"+J(be);var bf=window.document.getElementById(bg);if(bf){if(I["features_initial"].verticalAlign!="do_not_change"){bf.parentNode.removeChild(bf);}}else{if(I["features_initial"].verticalAlign=="do_not_change"){var bc=window.document.getElementById(bd);bf=window.document.createElement("option");bf.id=bg;bf.value="do_not_change";bf.innerText=A(be,"do_not_change");bc.insertBefore(bf,bc.firstChild);}}window.document.getElementById("jsplus_bootstrap_table_conf_feature_cells_vertical_align_"+J(be)).value=I["features_initial"].verticalAlign;},parseValuesFromGUI:function(bc){I["features_current"].verticalAlign=window.document.getElementById("jsplus_bootstrap_table_conf_feature_cells_vertical_align_"+J(bc)).value;},apply:function(bc){var bd=I["features_current"].verticalAlign;if(bd!="do_not_change"){aZ(ae(bc),bd);}}});}if(s==0||s==1||s==2){aP[J(bb)].push([{type:"link",str:"width_100",add_styles:[["width","100%"]]}],[{type:"text",str:"border"},{type:"link",str:"none",add_styles:[["border","none"]]},{type:"text",str:"/",localize:false},{type:"link",str:"black",add_styles:[["border","black solid 1px"]]},{type:"text",str:"/",localize:false},{type:"link",str:"silver",add_styles:[["border","silver solid 1px"]]},{type:"text",str:"/",localize:false},{type:"link",str:"white",add_styles:[["border","white solid 1px"]]}]);}if(s!=4){aP[J(bb)].push([{type:"text",str:"background_color"},{type:"link",str:"transparent",add_styles:[["background-color","transparent"]]},{type:"text",str:"/",localize:false},{type:"link",str:"white",add_styles:[["background-color","white"]]},{type:"text",str:"/",localize:false},{type:"link",str:"black",add_styles:[["background-color","black"]]}]);}if(s==20||s==21||s==22||s==30||s==31||s==32){aP[J(bb)].push([{type:"text",str:"font_color"},{type:"link",str:"white",add_styles:[["color","white"]]},{type:"text",str:"/",localize:false},{type:"link",str:"black",add_styles:[["color","black"]]},{type:"text",str:"/",localize:false},{type:"link",str:"gray",add_styles:[["color","gray"]]}]);}if(s==20||s==21||s==22){aP[J(bb)].push([{type:"text",str:"cells_horizontal_align"},{type:"link",str:"left",add_styles:[["text-align","left"]]},{type:"text",str:"/",localize:false},{type:"link",str:"center",add_styles:[["text-align","center"]]},{type:"text",str:"/",localize:false},{type:"link",str:"right",add_styles:[["text-align","right"]]},{type:"text",str:"/",localize:false},{type:"link",str:"def",remove_styles:["text-align"]}]); aP[J(bb)].push([{type:"text",str:"cells_vertical_align"},{type:"link",str:"top",add_styles:[["vertical-align","top"]]},{type:"text",str:"/",localize:false},{type:"link",str:"middle",add_styles:[["vertical-align","middle"]]},{type:"text",str:"/",localize:false},{type:"link",str:"bottom",add_styles:[["vertical-align","bottom"]]},{type:"text",str:"/",localize:false},{type:"link",str:"def",remove_styles:["vertical-align"]}]);}if(s==0||s==1||s==2){aP[J(bb)].push([{type:"text",str:"align_table"},{type:"link",str:"left",add_styles:[["margin-left","0"],["margin-right","auto"]]},{type:"text",str:"/",localize:false},{type:"link",str:"center",add_styles:[["margin-left","auto"],["margin-right","auto"]]},{type:"text",str:"/",localize:false},{type:"link",str:"right",add_styles:[["margin-left","auto"],["margin-right","0"]]}]);if(s==1){aP[J(bb)].push([{col:2,type:"text",str:"jsplus_bootstrap_table_conf_striped"},{type:"link",str:"enable",add_classes:["table-striped"]},{type:"text",str:"/",localize:false},{type:"link",str:"disable",remove_classes:["table-striped"]}],[{col:2,type:"text",str:"jsplus_bootstrap_table_conf_bordered"},{type:"link",str:"enable",add_classes:["table-bordered"]},{type:"text",str:"/",localize:false},{type:"link",str:"disable",remove_classes:["table-bordered"]}],[{col:2,type:"text",str:"jsplus_bootstrap_table_conf_condensed"},{type:"link",str:"enable",add_classes:["table-condensed"]},{type:"text",str:"/",localize:false},{type:"link",str:"disable",remove_classes:["table-condensed"]}]);}}for(var ba=0;ba'+(bc>0?" ":"")+aB(ba)+(bc");}else{if(bb.type=="link"){bd.push(''+aB(ba)+"");}}}return bd.join(" ");}function ax(bf){X(bf);var bd="";var bb=[[],[]];for(var bc=0;bc0||aP[J(bf)].length>0){var ba=aS[J(bf)].length;if(bb[0].length>ba){ba=bb[0].length;}if(bb[1].length>ba){ba=bb[1].length;}bd+=''+"";bd+="";if(aS[J(bf)].length>0){bd+='";}if(bb[0].length>0||bb[1].length>0){bd+='";}bd+="";for(var bc=0;bc";if(aS[J(bf)].length>0){bd+='";bd+='";}if(bb[0].length>0||bb[1].length>0){bd+="";}if(bb[1].length>0){bd+='";}bd+="";}bd+=""+"
';bd+=s==4?"":A(bf,"apply_features");bd+="0){bd+=' colspan="2"';}bd+=">";if(bb[0].length>0||bb[1].length>0){bd+=A(bf,"quick_styling");}bd+="
';}if(aS[J(bf)].length>bc){bd+=A(bf,aS[J(bf)][bc].str);}if(aS[J(bf)].length>0){bd+="';}if(aS[J(bf)].length>bc){bd+=aS[J(bf)][bc].html;}if(aS[J(bf)].length>0){bd+="";if(bb[0].length>bc){bd+=an(bf,bb[0][bc]);}bd+="';if(bb[1].length>bc){bd+=an(bf,bb[1][bc]);}bd+="
";}bd+="";bd+=''+""+""+'"+'"+'"+""+""+'"+'"+'"+""+""+'"+'"+'"+""+""+"
'+"
"+'
'+A(bf,"classes")+"
"+'"+"
"+"
'+"
"+'
'+A(bf,"styles")+"
"+'"+"
"+"
'+"
"+'
'+A(bf,"attributes")+"
"+'"+"
"+"
'+A(bf,"desc_classes")+"'+A(bf,"desc_styles")+"'+A(bf,"desc_attrs")+"
'+'
'+"
"+"
'+'
'+"
"+"
'+'
'+"
"+"
"; return bd.replace(/%id%/g,J(bf));}function R(bb){var ba=av(bb);if(af.length==0||ba==null){return ba;}while(!(af.indexOf(ba.tagName.toLowerCase())>-1)){if(ba.parentNode!=null&&ba.parentNode.tagName!="HTML"){ba=ba.parentNode;}else{return null;}}return ba;}function S(bg){var bb={};var bd=bg.getAttribute("class");bb["classes"]=(bd==null||bd.trim().length==0)?[]:bd.split(/\s+/);var ba=bg.getAttribute("style");var be=(ba==null||ba.trim().length==0)?[]:ba.split(/\s*;\s*/);bb["styles"]=[];var bj;var bh;for(var bc in be){var bk=be[bc];var bf=bk.indexOf(":");if(bf!=-1){bj=bk.substr(0,bf).trim();bh=bk.substr(bf+1).trim();if(bj.length>0&&bh.length>0){bb["styles"].push([bj,bh]);}}}bb["attrs"]=[];var bi=bg.attributes;for(var bf=0;bfbd?bh[bd]:null;if(ba!=null&&(bb==0||be[bb-1]!=ba)){be.push(ba);}}return be;}function aL(ba){var bb=[ba];if(s==30||s==31||s==32){bb=aN(ba);}return bb;}function aV(bj){var ba=aL(bj);I=S(ba[0]);I["features_initial"]=[];I["features_current"]=[];I["dirty_classes"]=[];I["dirty_styles"]=[];I["dirty_attrs"]=[];for(var bk=1;bk0&&I["classes"].indexOf(bn)==-1){I["classes"].push(bn);}}var bj=bm.getElementsByClassName("jsplus_bootstrap_table_conf_styles_name_"+J(bh));var bb=bm.getElementsByClassName("jsplus_bootstrap_table_conf_styles_value_"+J(bh));for(var bg=0;bg0&&bl.length>0){var bk=false;for(var bf=0;bf0&&bl.length>0&&bc!="class"&&bc!="style"){var bk=false;for(var bf=0;bf0){ba[I["attrs"][bb][0]]=I["attrs"][bb][1];}}return ba;}function F(bh,bj){var bi=function(){this.parentNode.parentNode.removeChild(this.parentNode);};var be=function(){var bo=this.parentNode.getElementsByTagName("input")[0];bo.removeAttribute("readonly"); var bq=aw(bo);delete bq["background-color"];bq["width"]="167px";y(bo,bq);var bp=I["dirty_classes"].indexOf(bo.value);if(bp>-1){I["dirty_classes"].splice(bp,1);}this.parentNode.removeChild(this);};var bl=window.document;var bb=bl.getElementById("jsplus_bootstrap_table_conf_classes_"+J(bh));var bn=I["dirty_classes"].indexOf(bj)>-1;var bg=bn?140:167;var bf=bn?"background-color:#eee;":"";var bk=bl.createElement("input");if(bn){bk.setAttribute("readonly","readonly");}bk.setAttribute("class","jsplus_bootstrap_table_conf_class_value_"+J(bh));bk.setAttribute("style",bf+"float:left;width:"+bg+"px;margin:1px 5px 0 1px;padding:3px 4px;border:1px solid silver;font-size:12px");bk.setAttribute("value",bj);if(bn){var bd=bl.createElement("div");bd.setAttribute("class","jsplus_bootstrap_table_conf_dirty_"+J(bh));bd.setAttribute("style","line-height:25px;margin-right:5px;float:left;width:22px;height:22px;text-align:center;color:black;border-radius:2px;background-color:yellow;font-size:17px;font-weight:bold;cursor:pointer");bd.setAttribute("title",A(bh,"dirty_class"));bd.innerHTML="⚠";}var ba=bl.createElement("div");ba.setAttribute("class","jsplus_bootstrap_table_conf_class_delete_"+J(bh));ba.setAttribute("style","float:left;width:22px;height:22px;text-align:center;color:white;border-radius:2px;background-color:lightcoral;font-size:17px;font-weight:bold;cursor:pointer");ba.setAttribute("title",A(bh,"del"));ba.innerHTML="-";var bc=bl.createElement("div");var bm=false;if(bj=="cke_show_border"||bj.indexOf("jsplus_advanced_blocks")===0||bj.indexOf("jsplus_bootstrap_advanced_blocks")===0||bj.indexOf("jsplus_foundation_advanced_blocks")===0){bm=true;}bc.setAttribute("style","padding-bottom:5px;height:27px"+(bm?";display:none":""));bc.appendChild(bk);if(bn){bc.appendChild(bd);}bc.appendChild(ba);bb.appendChild(bc);ba.onclick=bi;if(bn){bd.onclick=be;}}function a0(bc,bb,ba){a7(bc,bb,ba,true);}function P(bb,ba,bc){a7(bb,ba,bc,false);}function a7(bj,bb,bn,bp){var bl=function(){this.parentNode.parentNode.removeChild(this.parentNode);};var be=function(){var bv=this.parentNode.getElementsByTagName("input");bs=bv[1];bs.removeAttribute("readonly");var bu=aw(bs);delete bu["background-color"];bu["width"]="151px";y(bs,bu);var bs=bv[0];bs.removeAttribute("readonly");ay(bs,"background-color");var br=bp?"dirty_styles":"dirty_attrs";var bt=I[br].indexOf(bs.value);if(bt>-1){I[br].splice(bt,1);}this.parentNode.removeChild(this);};var bq=I[bp?"dirty_styles":"dirty_attrs"].indexOf(bb)>-1;var bf=bq?124:151;var bi=bq?"background-color:#eee;":"";var bo=bp?"styles":"attrs";var bm=window.document;var bk=bm.getElementById("jsplus_bootstrap_table_conf_"+bo+"_"+J(bj));var bh=bm.createElement("input");if(bq){bh.setAttribute("readonly","readonly");}bh.setAttribute("class","jsplus_bootstrap_table_conf_"+bo+"_name_"+J(bj));bh.setAttribute("style",bi+"float:left;width:85px;margin:1px 5px 0 1px;padding:3px 4px;border:1px solid silver;font-size:12px");bh.setAttribute("value",bb);var bg=bm.createElement("input");if(bq){bg.setAttribute("readonly","readonly");}bg.setAttribute("class","jsplus_bootstrap_table_conf_"+bo+"_value_"+J(bj));bg.setAttribute("style",bi+"float:left;width:"+bf+"px;margin:1px 5px 0 1px;padding:3px 4px;border:1px solid silver;font-size:12px");bg.setAttribute("value",bn);if(bq){var bd=bm.createElement("div");bd.setAttribute("class","jsplus_bootstrap_table_conf_dirty_"+J(bj));bd.setAttribute("style","line-height:25px;margin-right:5px;float:left;width:22px;height:22px;text-align:center;color:black;border-radius:2px;background-color:yellow;font-size:17px;font-weight:bold;cursor:pointer");bd.setAttribute("title",A(bj,bp?"dirty_style":"dirty_attr"));bd.innerHTML="⚠";}var ba=bm.createElement("div");ba.setAttribute("class","jsplus_bootstrap_table_conf_"+bo+"_delete_"+J(bj));ba.setAttribute("style","float:left;width:22px;height:22px;text-align:center;color:white;border-radius:2px;background-color:lightcoral;font-size:17px;font-weight:bold;cursor:pointer");ba.setAttribute("title",A(bj,"del"));ba.innerHTML="-";var bc=bm.createElement("div");bc.setAttribute("style","padding-bottom:5px;height:27px");bc.appendChild(bh);bc.appendChild(bg);if(bq){bc.appendChild(bd);}bc.appendChild(ba);bk.appendChild(bc);ba.onclick=bl;if(bq){bd.onclick=be;}}function aR(bd){var bf=window.document;var ba=bf.getElementById("jsplus_bootstrap_table_conf_classes_"+J(bd));ba.innerHTML="";for(var bc in I["classes"]){F(bd,I["classes"][bc]);}var be=bf.getElementById("jsplus_bootstrap_table_conf_styles_"+J(bd));be.innerHTML="";for(var bc in I["styles"]){a0(bd,I["styles"][bc][0],I["styles"][bc][1]);}var bb=bf.getElementById("jsplus_bootstrap_table_conf_attrs_"+J(bd));bb.innerHTML="";for(var bc in I["attrs"]){P(bd,I["attrs"][bc][0],I["attrs"][bc][1]);}}function h(bc){window.document.getElementById("jsplus_bootstrap_table_conf_add_class_"+J(bc)).onclick=function(){F(bc,"");};window.document.getElementById("jsplus_bootstrap_table_conf_add_style_"+J(bc)).onclick=function(){a0(bc,"","");};window.document.getElementById("jsplus_bootstrap_table_conf_add_attr_"+J(bc)).onclick=function(){P(bc,"",""); };var bd=(function(){var be=bc;return function(){var bj=aP[J(bc)][parseInt(this.getAttribute("data-id-1"))][parseInt(this.getAttribute("data-id-2"))];if(bj.hasOwnProperty("add_styles")){for(var bk=0;bk-1){bt.push(bh);}}for(var bq=0;bq0){bb.setAttribute("class",bs);}else{bb.removeAttribute("class");}var bc=aw(bb);var bg={};for(var bq=0;bq=bf);return ba.toFixed(1)+bc+bb[bd]+(be?"b":"");}function aB(ba){return ba.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'");}function aY(ba){return ba.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");}function aK(ba){var bb=document.createElement("div");bb.innerHTML=ba;return bb.childNodes;}function aT(ba){return ba.getElementsByTagName("head")[0];}function aQ(ba){return ba.getElementsByTagName("body")[0];}function a4(bc,be){var ba=bc.getElementsByTagName("link");var bd=false;for(var bb=ba.length-1;bb>=0;bb--){if(ba[bb].href==be){ba[bb].parentNode.removeChild(ba[bb]);}}}function az(bd,bf){if(!bd){return;}var ba=bd.getElementsByTagName("link");var be=false;for(var bb=0;bb-1){bb.splice(bb.indexOf(ba),1);}var bd=bb.join(" ").trim();if(bd.length>0){bc.className=bd;}else{if(bc.hasAttribute("class")){bc.removeAttribute("class");}}}function b(ba){if(typeof(ba.className)==="undefined"||ba.className==null){return[];}return ba.className.split(/\s+/);}function a8(bd,ba){var bc=b(bd);for(var bb=0;bb-1){be[bf.substr(0,ba).trim()]=bf.substr(ba+1);}else{be[bf]="";}}return be;}function aF(bc,bb){var bd=aw(bc);for(var ba in bd){var be=bd[ba];if(ba==bb){return be;}}return null;}function aA(bd,bc,ba){var be=aw(bd);for(var bb in be){var bf=be[bb];if(bb==bc&&bf==ba){return true;}}return false;}function H(bc,bb,ba){var bd=aw(bc);bd[bb]=ba;y(bc,bd);}function ay(bb,ba){var bc=aw(bb);delete bc[ba];y(bb,bc);}function y(bb,bd){var bc=[];for(var ba in bd){bc.push(ba+":"+bd[ba]);}if(bc.length>0){bb.setAttribute("style",bc.join(";"));}else{if(bb.hasAttribute("style")){bb.removeAttribute("style");}}}function C(be,bb){var bc;if(Object.prototype.toString.call(bb)==="[object Array]"){bc=bb;}else{bc=[bb];}for(var bd=0;bd-1){ba.push(be.childNodes[bd]);}}return ba;}function m(bd){var bc=aJ(bd);var be=0;for(var bb=0;bbbe){be=bf.length;}}return be;}function ar(ba){return C(ba,["td","th"]);}function i(be){var bd;for(var ba=0;ba0){return bb;}}return 1;}function aI(ba){if(ba.hasAttribute("rowspan")){var bb=parseInt(ba.getAttribute("rowspan"));if(!isNaN(bb)&&bb>0){return bb;}}return 1;}function aJ(bh){var bc=[];var bi=[null,"tbody","thead","tfoot"];for(var bb=0;bb0){for(var bf=0;bf0){bc.push(bd[bf]);}}return bc;}function p(be){var bf=[];var bd=aJ(be);for(var bc=0;bc0){bc.setAttribute("style",bb);}bc.innerHTML=" ";return bc;}function ah(ba,bc,bb){var bd=aM();if(typeof window["jsplus_"+bd+"_listeners"]==="undefined"){window["jsplus_"+bd+"_listeners"]={};}if(typeof window["jsplus_"+bd+"_listeners"][bc]==="undefined"){window["jsplus_"+bd+"_listeners"][bc]={};}if(typeof window["jsplus_"+bd+"_listeners"][bc][J(ba)]==="undefined"){window["jsplus_"+bd+"_listeners"][bc][J(ba)]=[];}window["jsplus_"+bd+"_listeners"][bc][J(ba)].push((function(){var be=ba;return function(){bb(be);};})());}function g(bb,bc){var bd=aM();if(typeof window["jsplus_"+bd+"_listeners"]!=="undefined"&&typeof window["jsplus_"+bd+"_listeners"][bc]!=="undefined"&&typeof window["jsplus_"+bd+"_listeners"][bc][J(bb)]!="undefined"){for(var ba=0; babi){bj.setAttribute("colspan",be+1);return;}}var bc="td";if(bh.length>0){bc=bh[bh.length-1].tagName;}else{if(O(bb)){bc="th";}}for(;bf<=bi;bf++){var bg=a(bj.tagName,ba);bb.appendChild(bg);}}function E(bc,bg,bf){var bd=bc.parentNode.tagName=="THEAD"?"th":"td";var bi=m(bg);var ba=N(bg);var bb=window.document.createElement("tr");for(var be=0;be0){bh.setAttribute("style",ba);}bh.innerHTML=" ";bb.appendChild(bh);}if(bf){bc.parentNode.insertBefore(bb,bc);}else{if(bc.nextSibling!=null){bc.parentNode.insertBefore(bb,bc.nextSibling);}else{bc.parentNode.appendChild(bb);}}return bb;}function T(ba,bb){ah(ba,"table_tools",bb);}function aE(ba){g(ba,"table_tools");}function aH(ba){var bb=ba.parentNode;while(bb!=null){if(bb.tagName=="TABLE"){return bb;}bb=bb.parentNode;}return null;}function x(bl){var bk=aJ(bl);var ba=-1;var bj=[];for(var be=0;be