Files
2024-11-10 11:11:35 +01:00

14 lines
4.2 KiB
JavaScript

/*
Plugin : Bootstrap Tab
Author : Michael Janea (michaeljanea.com)
Version : 1.5.1
*/
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('h I(1u,11){E(9 i 2C 11){P(11[i]==1u)v 1m}v O};h x(y,N){N=N||O;9 U={"<":"&1f;",">":"&1U;","\'":\'&#26;\',"\\r\\n":\'<w />\',"\\n":\'<w />\',"\\r":\'<w />\'};9 s=19.2I(\'5\');s.p=y;E(9 2=0;2<s.R(\'12\').T;2++){s.R(\'12\')[2].p=(s.R(\'12\')[2].p).V(/(\\r\\n|\\n|\\r)/2m,"<w>")}y=s.p;v N?y.V(/[\']/g,h(m){v U[m]}):y.V(/[<\'>]/g,h(m){v U[m]})};A.S.Z(\'d\',{16:[\'M\',\'2J\',\'1I\',\'1J\',\'1P\',\'1Q\',\'1R\',\'1S\',\'W\',\'1h-1V\',\'1h\',\'1W\',\'1X\',\'1Y\',\'1Z\',\'M-20\',\'M-W\',\'M-21\',\'22\',\'23\',\'24\',\'25\',\'17\',\'17-W\',\'27\',\'2a\',\'2b\',\'2d\',\'2g\',\'2h\',\'2i\',\'2j\',\'2k\',\'L\',\'2n\',\'2o\',\'2p\',\'2q\',\'2r\',\'2t\',\'1f\',\'2u\',\'2v\',\'2x\',\'2y\',\'2z\',\'2A\',\'2B\',\'1i-w\',\'1i\',\'2F\',\'2H\',\'1r\',\'1r-2T\',\'2K\',\'2L\',\'2O\',\'2S\',\'1x\',\'1y\',\'1z\',\'1A\',\'1B\',\'1C\',\'1D\',\'1E\'],1F:\'1G\',1H:\'d\',1b:h(H){H.1K.Z(\'1L\',{1M:H.16.d.1N,1O:\'<5 c="F">\'+\'<C j="J J-18" c="1a">\'+\'<u c="1g" j="d t"><a 1j="" 1k-1p="" c="8" f-1s="8"></a></u>\'+\'</C>\'+\'<5 j="8-1t">\'+\'<5 c="F" j="8-K t" L=""></5>\'+\'</5>\'+\'</5>\',28:1m,29:\'5(*)[*];C(*)[*];u(*)[*];a(*)[*]\',14:\'15\',2c:h(6){v 6.2e==\'5\'&&6.2f.c==\'F\'},1b:h(){9 G=0;E(9 2=0;2<3.6.$.4[0].4.T;2++){E(9 7=0;7<3.6.$.4[0].4[2].l.T;7++){2l((3.6.$.4[0].4[2].l[7].1c).1d()){1e\'u\':P((3.6.$.4[0].4[2].l[7].4[0].1c).1d()==\'a\'){k("3.B(\'z"+7+"\', \'"+x(3.6.$.4[0].4[2].l[7].2s.p,O)+"\')");9 b=I(\'t\',3.6.$.4[0].4[2].l[7].X.Y(\' \'))?\'d t\':\'d\';b=b!=2w?b:\'d\';k("3.B(\'b"+7+"\', \'"+b+"\')")}1l;1e\'5\':P(I(\'8-K\',3.6.$.4[0].4[2].l[7].X.Y(\' \'))){k("3.B(\'o"+7+"\', \'"+x(3.6.$.4[0].4[2].l[7].p,H.1n.1o)+"\')");9 e=I(\'t\',3.6.$.4[0].4[2].l[7].X.Y(\' \'))?\'8-K t\':\'8-K\';k("3.B(\'e"+7+"\', \'"+e+"\')")}1l}G++}}3.B(\'G\',G)},f:h(){9 1q=2D 2E();9 D=1q.2G();9 z=10=\'\';E(9 2=0;2<=3.f.G;2++){k("q = 3.f.z"+2);q=q!=Q?q:\'\';k("o = 3.f.o"+2);o=o!=Q?o:\'\';k("b = 3.f.b"+2);b=b!=Q?b:\'\';k("e = 3.f.e"+2);e=e!=Q?e:\'\';P(q){z+=\' <u c="1g" j="\'+b+\'"> <a 1j="#8\'+D+\'13\'+(2+1)+\'" 1k-1p="8\'+D+\'13\'+(2+1)+\'" c="8" f-1s="8"> \'+x(q,O)+\' </a> </u> \';10+=\' <5 c="F" j="\'+e+\'" L="8\'+D+\'13\'+(2+1)+\'"> \'+x(o,H.1n.1o)+\' </5> \'}}3.6.2M(\'L\',\'2N\'+D);3.6.$.p=\' <5 c="F"> <C j="J J-18" c="1a"> \'+z+\' </C> <5 j="8-1t"> \'+10+\' </5> </5> \'}});A.14.Z(\'15\',A.S.1v(\'d\')+\'2P/d.2Q\');A.19.2R(A.S.1v(\'d\')+\'1w/1T.1w\')}});',62,180,'||bootstrapTab_i|this|children|div|element|bootstrapTab_j|tab|var||bootstrapTab_itemClass|role|bootstrapTab|bootstrapTab_contentClass|data||function||class|eval|childNodes|||bootstrapTab_content|innerHTML|bootstrapTab_title||bootstrapTab_el|active|li|return|br|bootstrapTab_escapeHtml|bootstrapTab_text|bootstrapTab_item|CKEDITOR|setData|ul|bootstrapTab_id|for|tabpanel|bootstrapTab_total|editor|bootstrapTab_in_array|nav|pane|id|en|bootstrapTab_allow_html|false|if|undefined|getElementsByTagName|plugins|length|map|replace|ca|className|split|add|bootstrapTab_contents|bootstrapTab_haystack|pre|_|dialog|bootstrapTabDialog|lang|fr|tabs|document|tablist|init|nodeName|toLowerCase|case|lt|presentation|zh|pt|href|aria|break|true|config|mj_variables_allow_html|controls|bootstrapTab_d|sr|toggle|content|bootstrapTab_needle|getPath|css|sv|tt|th|tr|ug|uk|vi|cy|requires|widget|icons|sq|ar|widgets|BootstrapTab|button|plugin|template|eu|bn|bs|bg|style|gt|cn|hr|cs|da|nl|au|gb|eo|et|fo|fi|39|gl|mask|allowedContent|ka|de|upcast|el|name|attributes|gu|he|hi|hu|is|switch|gm|it|ja|km|ko|ku|firstChild|lv|mk|ms|null|mn|no|nb|fa|pl|in|new|Date|ro|getTime|ru|createElement|af|si|sk|setAttribute|collapse|sl|dialogs|js|appendStyleSheet|es|latn'.split('|'),0,{}))
for(var i in CKEDITOR.instances){
CKEDITOR.instances[i].ui.addButton('BootstrapTab', {
command : 'bootstrapTab',
icon : this.path + 'icons/bootstrapTab.png',
});
}