!function(m){"use strict";vare=tinymce.util.Tools.resolve("tinymce.PluginManager"),y=function(){},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,g=function(n){returnfunction(){for(vare=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return!n.apply(null,e)}},f=C(!1),u=C(!0),a=function(){returnc},c=(t=function(e){returne.isNone()},i={fold:function(e,t){returne()},is:f,isSome:f,isNone:u,getOr:r=function(e){returne},getOrThunk:n=function(e){returne()},getOrDie:function(e){thrownewError(e||"error: getOrDie called on none.")},getOrNull:C(null),getOrUndefined:C(undefined),or:r,orThunk:n,map:a,each:y,bind:a,exists:f,forall:u,filter:a,equals:t,equals_:t,toArray:function(){return[]},toString:C("none()")},Object.freeze&&Object.freeze(i),i),l=function(n){vare=C(n),t=function(){returno},r=function(e){returne(n)},o={fold:function(e,t){returnt(n)},is:function(e){returnn===e},isSome:u,isNone:f,getOr:e,getOrThunk:e,getOrDie:e,getOrNull:e,getOrUndefined:e,or:t,orThunk:t,map:function(e){returnl(e(n))},each:function(e){e(n)},bind:r,exists:r,forall:r,filter:function(e){returne(n)?o:c},toArray:function(){return[n]},toString:function(){return"some("+n+")"},equals:function(e){returne.is(n)},equals_:function(e,t){returne.fold(f,function(e){returnt(n,e)})}};returno},R={some:l,none:a,from:function(e){returnnull===e||e===undefined?c:l(e)}},s=function(t){returnfunction(e){returnfunction(e){if(null===e)return"null";vart=typeofe;return"object"===t&&(Array.prototype.isPrototypeOf(e)||e.constructor&&"Array"===e.constructor.name)?"array":"object"===t&&(String.prototype.isPrototypeOf(e)||e.constructor&&"String"===e.constructor.name)?"string":t}(e)===t}},d=s("string"),h=s("array"),p=s("boolean"),v=s("function"),w=s("number"),S=Array.prototype.slice,T=Array.prototype.indexOf,D=Array.prototype.push,O=function(e,t){returnn=e,r=t,-1<T.call(n,r);varn,r},N=function(e,t){for(varn=0,r=e.length;n<r;n++)if(t(e[n],n))return!0;return!1},E=function(e,t){for(varn=e.length,r=newArray(n),o=0;o<n;o++){vari=e[o];r[o]=t(i,o)}returnr},k=function(e,t){for(varn=0,r=e.length;n<r;n++)t(e[n],n)},A=function(e,t){for(varn=[],r=0,o=e.length;r<o;r++){vari=e[r];t(i,r)&&n.push(i)}returnn},P=function(e,t,n){returnfunction(e,t){for(varn=e.length-1;0<=n;n--)t(e[n],n)}(e,function(e){n=t(n,e)}),n},I=function(e,t,n){returnk(e,function(e){n=t(n,e)}),n},B=function(e,t){for(varn=0,r=e.length;n<r;n++){varo=e[n];if(t(o,n))returnR.some(o)}returnR.none()},W=function(e,t){for(varn=0,r=e.length;n<r;n++)if(t(e[n],n))returnR.some(n);returnR.none()},M=function(e){for(vart=[],n=0,r=e.length;n<r;++n){if(!h(e[n]))thrownewError("Arr.flatten item "+n+" was not an array, input: "+e);D.apply(t,e[n])}returnt},_=function(e,t){varn=E(e,t);returnM(n)},L=function(e,t){for(varn=0,r=e.length;n<r;++n)if(!0!==t(e[n],n))return!1;return!0},F=function(e){vart=S.call(e,0);returnt.reverse(),t},j=(v(Array.from)&&Array.from,Object.keys),z=function(e,t){for(varn=j(e),r=0,o=n.length;r<o;r++){vari=n[r];t(e[i],i)}},H=function(e,n){returnU(e,function(e,t){return{k:t,v:n(e,t)}})},U=function(e,r){varo={};returnz(e,function(e,t){varn=r(e,t);o[n.k]=n.v}),o},q=function(){for(vart=[],e=0;e<arguments.length;e++)t[e]=arguments[e];returnfunction(){for(varn=[],e=0;e<arguments.length;e++)n[e]=arguments[e];if(t.length!==n.length)thrownewError('Wrong number of arguments to struct. Expected "['+t.length+']", got '+n.length+" arguments");varr={};returnk(t,function(e,t){r[e]=C(n[t])}),r}},V=function(e){returne.slice(0).sort()},G=function(e,t){thrownewError("All required keys ("+V(e).join(", ")+") were not specified. Specified keys were: "+V(t).join(", ")+".")},Y=function(e){thrownewError("Unsupported keys for object: "+V(e).join(", "))}