(function(){var a={toolbarFocus:{exec:function(c){var d=c._.elementsPath.idBase,e=CKEDITOR.document.getById(d+'0');if(e)e.focus();}}},b='<span class="cke_empty">&nbsp;</span>';CKEDITOR.plugins.add('elementspath',{requires:['selection'],init:function(c){var d='cke_path_'+c.name,e,f=function(){if(!e)e=CKEDITOR.document.getById(d);return e;},g='cke_elementspath_'+CKEDITOR.tools.getNextNumber()+'_';c._.elementsPath={idBase:g,filters:[]};c.on('themeSpace',function(h){if(h.data.space=='bottom')h.data.html+='<span id="'+d+'_label" class="cke_voice_label">'+c.lang.elementsPath.eleLabel+'</span>'+'<div id="'+d+'" class="cke_path" role="group" aria-labelledby="'+d+'_label">'+b+'</div>';});c.on('selectionChange',function(h){var i=CKEDITOR.env,j=h.data.selection,k=j.getStartElement(),l=[],m=h.editor,n=m._.elementsPath.list=[],o=m._.elementsPath.filters;while(k){var p=0;for(var q=0;q<o.length;q++){if(o[q](k)===false){p=1;break;}}if(!p){var r=n.push(k)-1,s;if(k.getAttribute('_cke_real_element_type'))s=k.getAttribute('_cke_real_element_type');else s=k.getName();var t='';if(i.opera||i.gecko&&i.mac)t+=' onkeypress="return false;"';if(i.gecko)t+=' onblur="this.style.cssText = this.style.cssText;"';var u=m.lang.elementsPath.eleTitle.replace(/%1/,s);l.unshift('<a id="',g,r,'" href="javascript:void(\'',s,'\')" tabindex="-1" title="',u,'"'+(CKEDITOR.env.gecko&&CKEDITOR.env.version<10900?' onfocus="event.preventBubble();"':'')+' hidefocus="true" '+" onkeydown=\"return CKEDITOR._.elementsPath.keydown('",m.name,"',",r,', event);"'+t," onclick=\"return CKEDITOR._.elementsPath.click('",m.name,"',",r,');"',' role="button" aria-labelledby="'+g+r+'_label">',s,'<span id="',g,r,'_label" class="cke_label">'+u+'</span>','</a>');}if(s=='body')break;k=k.getParent();}f().setHtml(l.join('')+b);});c.on('contentDomUnload',function(){f().setHtml(b);});c.addCommand('elementsPathFocus',a.toolbarFocus);}});})();CKEDITOR._.elementsPath={click:function(a,b){var c=CKEDITOR.instances[a];c.focus();var d=c._.elementsPath.list[b];c.getSelection().selectElement(d);return false;},keydown:function(a,b,c){var d=CKEDITOR.ui.button._.instances[b],e=CKEDITOR.instances[a],f=e._.elementsPath.idBase,g;c=new CKEDITOR.dom.event(c);var h=e.lang.dir=='rtl';switch(c.getKeystroke()){case h?39:37:case 9:g=CKEDITOR.document.getById(f+(b+1));if(!g)g=CKEDITOR.document.getById(f+'0');g.focus();return false;case h?37:39:case CKEDITOR.SHIFT+9:g=CKEDITOR.document.getById(f+(b-1));if(!g)g=CKEDITOR.document.getById(f+(e._.elementsPath.list.length-1));
g.focus();return false;case 27:e.focus();return false;case 13:case 32:this.click(a,b);return false;}return true;}};
