!function(){"use strict";var n,t,e,r,o,i=tinymce.util.Tools.resolve("tinymce.PluginManager"),u=function(){for(var n=[],t=0;tCould not load emoticons

"}]},buttons:[{type:"cancel",text:"Cancel"}],initialData:{}}),f.focus(q),f.unblock()}))},z=function(n,t){var e=function(){return I(n,t)};n.ui.registry.addButton("emoticons",{type:"button",tooltip:"Emoticons",icon:"emoji",onAction:e}),n.ui.registry.addMenuItem("emoticons",{text:"Emoticons",icon:"emoji",onAction:e})},M=function(n,t){return n.getParam("emoticons_database_url",t+"/json/emojis.js")};i.add("emoticons",function(n,t){var r,o,e=M(n,t),i=N(n,e);z(n,i),o=i,(r=n).ui.registry.addAutocompleter("emoticons",{ch:":",columns:"auto",fetch:function(t,e){return o.waitForLoad().then(function(){var n=o.listAll();return O(n,t.toLowerCase(),p.some(e))})},onAction:function(n,t,e){r.selection.setRng(t),r.insertContent(e),n.hide()}})}),function U(){}}();