/** * Copyright (c) Tiny Technologies, Inc. All rights reserved. * Licensed under the LGPL or a commercial license. * For LGPL see License.txt in the project root for license information. * For commercial licenses see https://www.tiny.cloud/ * * Version: 5.0.5 (2019-05-09) */ !function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),t=function(e){return function(){return e}};function d(r){for(var a=[],e=1;e${name}'),f=function(t,n){return function(e,t){for(var n=0,r=e.length;n'+(r=n,i=P((a=r).plugins),c=a.settings.forced_plugins===undefined?i:function(e,t){for(var n=[],r=0,a=e.length;r"+f(r,e)+""}),s=u.length,l=u.join(""),"

"+x.translate(["Plugins installed ({0}):",s])+"

    "+l+"
")+""),(t=b(["Accessibility Checker","Advanced Code Editor","Case Change","Checklist","Tiny Comments","Tiny Drive","Enhanced Media Embed","Format Painter","Link Checker","Mentions","MoxieManager","Page Embed","Permanent Pen","PowerPaste","Spell Checker Pro"],function(e){return"
  • "+x.translate(e)+"
  • "}).join(""),'

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

    ")].join("")}]}},E=tinymce.util.Tools.resolve("tinymce.EditorManager"),H=function(){var e,t,n='TinyMCE '+(e=E.majorVersion,t=E.minorVersion,0===e.indexOf("@")?"X.X.X":e+"."+t)+"";return{type:"htmlpanel",html:"

    "+x.translate(["You are using {0}",n])+"

    ",presets:"document"}},j=function(e){return e.getParam("help_version",H,"function")()},D=function(e){return{title:"Version",items:[j(e)]}},I=function(t){return function(){var e={type:"tabpanel",tabs:[w(),F(t),D(t)]};t.windowManager.open({title:"Help",size:"medium",body:e,buttons:[{type:"cancel",name:"close",text:"Close",primary:!0}],initialData:{}})}},L=function(e){e.addCommand("mceHelp",I(e))},B=function(e){e.ui.registry.addButton("help",{icon:"help",tooltip:"Help",onAction:I(e)}),e.ui.registry.addMenuItem("help",{text:"Help",icon:"help",shortcut:"Alt+0",onAction:I(e)})};e.add("help",function(e){B(e),L(e),e.shortcuts.add("Alt+0","Open help dialog","mceHelp")}),function N(){}}();