!function(){"use strict";var e,n,t,r,a,i=tinymce.util.Tools.resolve("tinymce.PluginManager"),o=function(e,n){return e.fire("insertCustomChar",{chr:n})},s=function(e,n){var t=o(e,n).chr;e.execCommand("mceInsertContent",!1,t)},u=tinymce.util.Tools.resolve("tinymce.util.Tools"),c=function(e){return e.settings.charmap},l=function(e){return e.settings.charmap_append},f=function(e){return function(){return e}},m=f(!1),g=f(!0),h=m,d=g,p=function(){return y},y=(r={fold:function(e,n){return e()},is:h,isSome:h,isNone:d,getOr:t=function(e){return e},getOrThunk:n=function(e){return e()},getOrDie:function(e){throw new Error(e||"error: getOrDie called on none.")},getOrNull:function(){return null},getOrUndefined:function(){return undefined},or:t,orThunk:n,map:p,ap:p,each:function(){},bind:p,flatten:p,exists:h,forall:d,filter:p,equals:e=function(e){return e.isNone()},equals_:e,toArray:function(){return[]},toString:f("none()")},Object.freeze&&Object.freeze(r),r),b=function(t){var e=function(){return t},n=function(){return a},r=function(e){return e(t)},a={fold:function(e,n){return n(t)},is:function(e){return t===e},isSome:d,isNone:h,getOr:e,getOrThunk:e,getOrDie:e,getOrNull:e,getOrUndefined:e,or:n,orThunk:n,map:function(e){return b(e(t))},ap:function(e){return e.fold(p,function(e){return b(e(t))})},each:function(e){e(t)},bind:r,flatten:e,exists:r,forall:r,filter:function(e){return e(t)?a:y},equals:function(e){return e.is(t)},equals_:function(e,n){return e.fold(h,function(e){return n(t,e)})},toArray:function(){return[t]},toString:function(){return"some("+t+")"}};return a},v={some:b,none:p,from:function(e){return null===e||e===undefined?y:b(e)}},w=(a="function",function(e){return function(e){if(null===e)return"null";var n=typeof e;return"object"===n&&Array.prototype.isPrototypeOf(e)?"array":"object"===n&&String.prototype.isPrototypeOf(e)?"string":n}(e)===a}),O=function(e,n){for(var t=e.length,r=new Array(t),a=0;a