!function(m){"use strict";vare=tinymce.util.Tools.resolve("tinymce.PluginManager"),y=function(){for(vare=[],t=0;t<arguments.length;t++)e[t]=arguments[t]},x=function(n,r){returnfunction(){for(vare=[],t=0;t<arguments.length;t++)e[t]=arguments[t];returnn(r.apply(null,e))}},C=function(e){returnfunction(){returne}},o=function(e){returne};functionb(r){for(varo=[],e=1;e<arguments.length;e++)o[e-1]=arguments[e];returnfunction(){for(vare=[],t=0;t<arguments.length;t++)e[t]=arguments[t];varn=o.concat(e);returnr.apply(null,n)}}vart,n,r,i,u,g=function(n){returnfunction(){for(vare=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return!n.apply(null,e)}},c=function(e){returne()},a=C(!1),l=C(!0),f=a,s=l,d=function(){returnh},h=(i={fold:function(e,t){returne()},is:f,isSome:f,isNone:s,getOr:r=function(e){returne},getOrThunk:n=function(e){returne()},getOrDie:function(e){thrownewError(e||"error: getOrDie called on none.")},getOrNull:function(){returnnull},getOrUndefined:function(){returnundefined},or:r,orThunk:n,map:d,ap:d,each:function(){},bind:d,flatten:d,exists:f,forall:s,filter:d,equals:t=function(e){returne.isNone()},equals_:t,toArray:function(){return[]},toString:C("none()")},Object.freeze&&Object.freeze(i),i),p=function(n){vare=function(){returnn},t=function(){returno},r=function(e){returne(n)},o={fold:function(e,t){returnt(n)},is:function(e){returnn===e},isSome:s,isNone:f,getOr:e,getOrThunk:e,getOrDie:e,getOrNull:e,getOrUndefined:e,or:t,orThunk:t,map:function(e){returnp(e(n))},ap:function(e){returne.fold(d,function(e){returnp(e(n))})},each:function(e){e(n)},bind:r,flatten:e,exists:r,forall:r,filter:function(e){returne(n)?o:h},equals:function(e){returne.is(n)},equals_:function(e,t){returne.fold(f,function(e){returnt(n,e)})},toArray:function(){return[n]},toString:function(){return"some("+n+")"}};returno},S={some:p,none:d,from:function(e){returnnull===e||e===undefined?h:p(e)}},v=function(t){returnfunction(e){returnfunction(e){if(null===e)return"null";vart=typeofe;return"object"===t&&Array.prototype.isPrototypeOf(e)?"array":"object"===t&&String.prototype.isPrototypeOf(e)?"string":t}(e)===t}},w=v("string"),R=v("array"),T=v("boolean"),D=v("function"),O=v("number"),N=(u=Array.prototype.indexOf)===undefined?function(e,t){returnj(e,t)}:function(e,t){returnu.call(e,t)},E=function(e,t){return-1<N(e,t)},A=function(e,t){returnL(e,t).isSome()},k=function(e,t){for(varn=e.length,r=newArray(n),o=0;o<n;o++){vari=e[o];r[o]=t(i,o,e)}returnr},P=function(e,t){for(varn=0,r=e.length;n<r;n++)t(e[n],n,e)},I=function(e,t){for(varn=[],r=0,o=e.length;r<o;r++){vari=e[r];t(i,r,e)&&n.push(i)}returnn},B=function(e,t){if(0===e.length)return[];for(varn=t(e[0]),r=[],o=[],i=0,u=e.length;i<u;i++){vara=e[i],c=t(a);c!==n&&(r.push(o),o=[]),n=c,o.push(a)}return0!==o.length&&r.push(o),r},W=function(e,t,n){returnfunction(e,t){for(varn=e.length-1;0<=n;n--)t(e[n],n,e)}(e,function(e){n=t(n,e)}),n},M=function(e,t,n){returnP(e,function(e){n=t(n,e)}),n},_=function(e,t){for(varn=0,r=e.length;n<r;n++){varo=e[n];if(t(o,n,e))returnS.some(o)}returnS.none()},L=function(e,t){for(varn=0,r=e.length;n<r;n++)if(t(e[n],n,e))returnS.some(n);returnS.none()},j=function(e,t){for(varn=0,r=e.length;n<r;++n)if(e[n]===t)returnn;return-1},F=Array.prototype.push,z=function(e){for(vart=[],n=0,r=e.length;n<r;++n){if(!Array.prototype.isPrototypeOf(e[n]))thrownewError("Arr.flatten item "+n+" was not an array, input: "+e);F.apply(t,e[n])}returnt},H=function(e,t){varn=k(e,t);returnz(n)},U=function(e,t){for(varn=0,r=e.length;n<r;++n)if(!0!==t(e[n],n,e))return!1;return!0},q=Array.prototype.slice,V=function(e){vart=q.call(e,0);returnt.reverse(),t},G=function(e,t){varn=q.call(e,0);returnn.sort(t),n},Y=(D(Array.from)&&Array.from,Object.keys),X=function(e,t){for(varn=Y(e),r=0,o=n.length;r<o;r++){vari=n[r];t(e[i],i,e)}},K=function(e,r){returnJ(e,function(e,t,n){return{k:t,v:r(e,t,n)}})},J=function(r,o){vari={};returnX(r,function(e,t){varn=o(e,t,r);i[n.k]=n.v}),i},$=function(){for(vart=[],e=0;e<arguments.length;e++)t[e]=argument