!function(){"use strict";functiont(o){returnfunction(t){returne=typeof(n=t),(null===n?"null":"object"==e&&(Array.prototype.isPrototypeOf(n)||n.constructor&&"Array"===n.constructor.name)?"array":"object"==e&&(String.prototype.isPrototypeOf(n)||n.constructor&&"String"===n.constructor.name)?"string":e)===o;varn,e}}functionn(n){returnfunction(t){returntypeoft===n}}functione(n){returnfunction(t){returnn===t}}functiong(t){returnnull==t}functionf(t,n){if(c(t)){for(vare=0,o=t.length;e<o;++e)if(!n(t[e]))return;return1}}functionst(){}functionr(e,o){returnfunction(){for(vart=[],n=0;n<arguments.length;n++)t[n]=arguments[n];returne(o.apply(null,t))}}functionrt(t){returnfunction(){returnt}}functionh(t){returnt}functionv(t,n){returnt===n}vary=t("string"),x=t("object"),c=t("array"),b=e(null),w=n("boolean"),E=e(void0),d=function(t){return!g(t)},m=n("function"),u=n("number");functionS(o){for(varr=[],t=1;t<arguments.length;t++)r[t-1]=arguments[t];returnfunction(){for(vart=[],n=0;n<arguments.length;n++)t[n]=arguments[n];vare=r.concat(t);returno.apply(null,e)}}functionC(n){returnfunction(t){return!n(t)}}functionk(t){returnfunction(){thrownewError(t)}}varO=rt(!1),_=rt(!0),o=tinymce.util.Tools.resolve("tinymce.ThemeManager"),lt=function(){return(lt=Object.assign||function(t){for(varn,e=1,o=arguments.length;e<o;e++)for(varrinn=arguments[e])Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);returnt}).apply(this,arguments)};functions(t,n){vare={};for(rint)Object.prototype.hasOwnProperty.call(t,r)&&n.indexOf(r)<0&&(e[r]=t[r]);if(null!=t&&"function"==typeofObject.getOwnPropertySymbols)for(varo=0,r=Object.getOwnPropertySymbols(t);o<r.length;o++)n.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(e[r[o]]=t[r[o]]);returne}functionH(t,n,e){if(e||2===arguments.length)for(varo,r=0,i=n.length;r<i;r++)!o&&rinn||((o=o||Array.prototype.slice.call(n,0,r))[r]=n[r]);returnt.concat(o||Array.prototype.slice.call(n))}functioni(){returna}vara={fold:function(t,n){returnt()},isSome:O,isNone:_,getOr:h,getOrThunk:l,getOrDie:function(t){thrownewError(t||"error: getOrDie called on none.")},getOrNull:rt(null),getOrUndefined:rt(void0),or:h,orThunk:l,map:i,each:st,bind:i,exists:O,forall:_,filter:function(){returna},toArray:function(){return[]},toString:rt("none()")};functionl(t){returnt()}functionp(t,n){returnyt.call(t,n)}functionT(t,n){for(vare=0,o=t.length;e<o;e++)if(n(t[e],e))return!0;return!1}functionD(t,n){for(vare=[],o=0;o<t;o++)e.push(n(o));returne}functionB(t,n){for(vare=[],o=0;o<t.length;o+=n){varr=bt.call(t,o,o+n);e.push(r)}returne}functionM(t,n){for(vare=t.length,o=newArray(e),r=0;r<e;r++){vari=t[r];o[r]=n(i,r)}returno}functionA(t,n){for(vare=[],o=[],r=0,i=t.length;r<i;r++){varu=t[r];(n(u,r)?e:o).push(u)}return{pass:e,fail:o}}functionF(t,n){for(vare=[],o=0,r=t.length;o<r;o++){vari=t[o];n(i,o)&&e.push(i)}returne}functionI(t,o,r){returnfunction(t){for(varn,e=t.length-1;0<=e;e--)n=t[e],r=o(r,n,e)}(t),r}functionR(t,e,o){returnSt(t,function(t,n){o=e(o,t,n)}),o}functionV(t,n){returnfunction(t,n,e){for(varo=0,r=t.length;o<r;o++){vari=t[o];if(n(i,o))returnvt.some(i);if(e(i,o))break}returnvt.none()}(t,n,O)}functionP(t,n){for(vare=0,o=t.length;e<o;e++)if(n(t[e],e))returnvt.some(e);returnvt.none()}functionft(t){for(varn=[],e=0,o=t.length;e<o;++e){if(!c(t[e]))thrownewError("Arr.flatten item "+e+" was not an array, input: "+t);xt.apply(n,t[e])}returnn}functionz(t,n){returnft(M(t,n))}functionN(t,n){for(vare=0,o=t.length;e<o;++e)if(!0!==n(t[e],e))return!1;return!0}functionL(t){varn=bt.call(t,0);returnn.reverse(),n}functionW(t,n){returnF(t,function(t){return!wt(n,t)})}functionU(t,n){for(vare={},o=0,r=t.length;o<r;o++){vari=t[o];e[String(i)]=n(i,o)}returne}functionj(t){return[t]}functionG(t,n){vare=bt.call(t,0);returne.sort(n),e}functionX(t,n){return0<=n&&n<t.length?vt.some(t[n]):vt.none()}functionY(t){returnX(t,0)}functionq(t){returnX(t,t.length-1)}functionK(t,n){for(vare=0;e<t.length;e++){varo=n(t[e],e);if(o.isSome()