"use strict";tinymce.PluginManager.requireLangPack("foswikiimage"),tinymce.create("tinymce.plugins.FoswikiImage",{init:function(i,e){i.addCommand("foswikiimage",(function(){i.windowManager.open({location:!1,menubar:!1,toolbar:!1,status:!1,url:e+"/image.htm",width:550,height:400,movable:!0,inline:!0},{plugin_url:e,attach_url:FoswikiTiny.getFoswikiVar("PUBURL")+"/"+FoswikiTiny.getFoswikiVar("WEB")+"/"+FoswikiTiny.getFoswikiVar("TOPIC")+"/",vars:i.getParam("foswiki_vars","")})})),i.addButton("image",{title:"foswikiimage.image_desc",cmd:"foswikiimage"})},getInfo:function(){return{longname:"Foswiki image",author:"Crawford Currie, from Moxiecode Systems AB original",authorurl:"http://c-dot.co.uk.com",infourl:"http://foswiki.org/Extensions/TinyMCEPlugin",version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion}},_nodeChange:function(i,e,n,o){n&&e.setActive("foswikiimage",i.dom.getParent(n,"img"))}}),tinymce.PluginManager.add("foswikiimage",tinymce.plugins.FoswikiImage);
