!function(){"use strict";var e,t,n,r,o,i,a,u,l,c,s,d,f,m=tinymce.util.Tools.resolve("tinymce.PluginManager"),p=function(e){return function(){return e}},h=function(i){for(var e=[],t=1;t'+_.translate(e.action)+""+e.shortcut+"";var t}).join("");return{title:"Handy Shortcuts",items:[{type:"htmlpanel",html:'
"+e+"
'+_.translate("Action")+""+_.translate("Shortcut")+"
"}]}},V=Object.keys,q=function(e,o){return e.replace(/\$\{([^{}]*)\}/g,function(e,t){var n,r=o[t];return"string"==(n=typeof r)||"number"===n?r.toString():e})},W=[{key:"advlist",name:"Advanced List"},{key:"anchor",name:"Anchor"},{key:"autolink",name:"Autolink"},{key:"autoresize",name:"Autoresize"},{key:"autosave",name:"Autosave"},{key:"bbcode",name:"BBCode"},{key:"charmap",name:"Character Map"},{key:"code",name:"Code"},{key:"codesample",name:"Code Sample"},{key:"colorpicker",name:"Color Picker"},{key:"compat3x",name:"3.x Compatibility"},{key:"directionality",name:"Directionality"},{key:"emoticons",name:"Emoticons"},{key:"fullpage",name:"Full Page"},{key:"fullscreen",name:"Full Screen"},{key:"help",name:"Help"},{key:"hr",name:"Horizontal Rule"},{key:"image",name:"Image"},{key:"imagetools",name:"Image Tools"},{key:"importcss",name:"Import CSS"},{key:"insertdatetime",name:"Insert Date/Time"},{key:"legacyoutput",name:"Legacy Output"},{key:"link",name:"Link"},{key:"lists",name:"Lists"},{key:"media",name:"Media"},{key:"nonbreaking",name:"Nonbreaking"},{key:"noneditable",name:"Noneditable"},{key:"pagebreak",name:"Page Break"},{key:"paste",name:"Paste"},{key:"preview",name:"Preview"},{key:"print",name:"Print"},{key:"save",name:"Save"},{key:"searchreplace",name:"Search and Replace"},{key:"spellchecker",name:"Spell Checker"},{key:"tabfocus",name:"Tab Focus"},{key:"table",name:"Table"},{key:"template",name:"Template"},{key:"textcolor",name:"Text Color"},{key:"textpattern",name:"Text Pattern"},{key:"toc",name:"Table of Contents"},{key:"visualblocks",name:"Visual Blocks"},{key:"visualchars",name:"Visual Characters"},{key:"wordcount",name:"Word Count"}],K=function(e){var t,n,r,o,i,a,u,l,c,s=h(q,'${name}'),d=function(t,n){return function(e,t){for(var n=0,r=e.length;n'+(n=t,i=V((r=n).plugins),a=r.settings.forced_plugins===undefined?i:function(e,t){for(var n=[],r=0,o=e.length;r"+d(n,e)+""}),l=u.length,c=u.join(""),"

"+_.translate(["Plugins installed ({0}):",l])+"

    "+c+"
")+""),'

'+_.translate("Premium plugins:")+'

  • PowerPaste
  • Spell Checker Pro
  • Accessibility Checker
  • Advanced Code Editor
  • Enhanced Media Embed
  • Link Checker

'+_.translate("Learn more...")+"

"].join("")}]}},X=tinymce.util.Tools.resolve("tinymce.EditorManager"),$=function(){var e,t,n='TinyMCE '+(e=X.majorVersion,t=X.minorVersion,0===e.indexOf("@")?"X.X.X":e+"."+t)+"";return{title:"Version",items:[{type:"htmlpanel",html:_.translate(["You are using {0}",n])}]}},Y=function(e,t){return function(){e.windowManager.open({title:"Help",size:"medium",body:{type:"tabpanel",tabs:[z(),K(e),$()]},buttons:[{type:"cancel",name:"cancel",text:"Close",primary:!0}],initialData:{}})}},Z=function(e,t){e.addCommand("mceHelp",Y(e,t))},G=function(e,t){e.ui.registry.addButton("help",{icon:"help",tooltip:"Help",onAction:Y(e,t)}),e.ui.registry.addMenuItem("help",{text:"Help",icon:"help",onAction:Y(e,t)})};m.add("help",function(e,t){G(e,t),Z(e,t),e.shortcuts.add("Alt+0","Open help dialog","mceHelp")}),function J(){}}();