!function(a){"use strict";vare,n,t,r,o,i,u,f=tinymce.util.Tools.resolve("tinymce.PluginManager"),s=function(){},y=function(e){returnfunction(){returne}},c=function(n){returnfunction(e){return!n(e)}},d=y(!1),l=y(!0),m=function(){returnp},p=(e=function(e){returne.isNone()},{fold:function(e,n){returne()},is:d,isSome:d,isNone:l,getOr:t=function(e){returne},getOrThunk:n=function(e){returne()},getOrDie:function(e){thrownewError(e||"error: getOrDie called on none.")},getOrNull:y(null),getOrUndefined:y(undefined),or:t,orThunk:n,map:m,each:s,bind:m,exists:d,forall:l,filter:m,equals:e,equals_:e,toArray:function(){return[]},toString:y("none()")}),g=function(t){vare=y(t),n=function(){returno},r=function(e){returne(t)},o={fold:function(e,n){returnn(t)},is:function(e){returnt===e},isSome:l,isNone:d,getOr:e,getOrThunk:e,getOrDie:e,getOrNull:e,getOrUndefined:e,or:n,orThunk:n,map:function(e){returng(e(t))},each:function(e){e(t)},bind:r,exists:r,forall:r,filter:function(e){returne(t)?o:p},toArray:function(){return[t]},toString:function(){return"some("+t+")"},equals:function(e){returne.is(t)},equals_:function(e,n){returne.fold(d,function(e){returnn(t,e)})}};returno},v={some:g,none:m,from:function(e){returnnull===e||e===undefined?p:g(e)}},h=function(r){returnfunction(e){returnt=typeof(n=e),(null===n?"null":"object"==t&&(Array.prototype.isPrototypeOf(n)||n.constructor&&"Array"===n.constructor.name)?"array":"object"==t&&(String.prototype.isPrototypeOf(n)||n.constructor&&"String"===n.constructor.name)?"string":t)===r;varn,t}},S=function(n){returnfunction(e){returntypeofe===n}},b=h("string"),C=h("array"),O=S("boolean"),N=S("function"),L=S("number"),T=Array.prototype.slice,w=Array.prototype.push,D=function(e,n){for(vart=e.length,r=newArray(t),o=0;o<t;o++){vari=e[o];r[o]=n(i,o)}returnr},k=function(e,n){for(vart=0,r=e.length;t<r;t++){n(e[t],t)}},x=function(e,n){for(vart=[],r=0,o=e.length;r<o;r++){vari=e[r];n(i,r)&&t.push(i)}returnt},A=function(e,n,t){returnk(e,function(e){t=n(t,e)}),t},E=function(e,n,t){for(varr=0,o=e.length;r<o;r++){vari=e[r];if(n(i,r))returnv.some(i);if(t(i,r))break}returnv.none()},B=function(e,n){returnE(e,n,d)},I=function(e,n){returnfunction(e){for(varn=[],t=0,r=e.length;t<r;++t){if(!C(e[t]))thrownewError("Arr.flatten item "+t+" was not an array, input: "+e);w.apply(n,e[t])}returnn}(D(e,n))},R=function(e){varn=T.call(e,0);returnn.reverse(),n},P=function(e){return0===e.length?v.none():v.some(e[0])},M=function(e){return0===e.length?v.none():v.some(e[e.length-1])},U=function(){return(U=Object.assign||function(e){for(varn,t=1,r=arguments.length;t<r;t++)for(varoinn=arguments[t])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);returne}).apply(this,arguments)},_=function(e,n){vart=function(e,n){for(vart=0;t<e.length;t++){varr=e[t];if(r.test(n))returnr}returnundefined}(e,n);if(!t)return{major:0,minor:0};varr=function(e){returnNumber(n.replace(t,"$"+e))};return$(r(1),r(2))},F=function(){return$(0,0)},$=function(e,n){return{major:e,minor:n}},H={nu:$,detect:function(e,n){vart=String(n).toLowerCase();return0===e.length?F():_(e,t)},unknown:F},j="Edge",q="Chrome",K="Opera",V="Firefox",W="Safari",Q=function(e){varn=e.current,t=e.version,r=function(e){returnfunction(){returnn===e}};return{current:n,version:t,isEdge:r(j),isChrome:r(q),isIE:r("IE"),isOpera:r(K),isFirefox:r(V),isSafari:r(W)}},X={unknown:function(){returnQ({current:undefined,version:H.unknown()})},nu:Q,edge:y(j),chrome:y(q),ie:y("IE"),opera:y(K),firefox:y(V),safari:y(W)},z="Windows",Y="Android",G="Solaris",J="FreeBSD",Z="ChromeOS",ee=function(e){varn=e.current,t=e.version,r=function(e){returnfunction(){returnn===e}};return{current:n,version:t,isWindows:r(z),isiOS:r("iOS"),isAndroid:r(Y),isOSX:r("OSX"),isLinux:r("Linux"),isSolaris:r(G),isFreeBSD:r(J),isChromeOS:r(Z)}},ne={unknown:function(){returnee({current:undefined,version:H.unknown()})},nu:ee,windows:y(z),ios:y("iOS"),android:y(Y),linux:y("Linux"),osx:y("OSX"),solaris:y(G),freebsd:y(J),chromeos:y(Z)},te=function(e,n){vart=String(n).toLowerCase(