!function(){"use strict";conste=e=>{lett=e;return{get:()=>t,set:e=>{t=e}}};vart=tinymce.util.Tools.resolve("tinymce.PluginManager");constn=e=>t=>(e=>{constt=typeofe;returnnull===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&(n=r=e,(o=String).prototype.isPrototypeOf(n)||(null===(s=r.constructor)||void0===s?void0:s.name)===o.name)?"string":t;varn,r,o,s})(t)===e,r=e=>t=>typeoft===e,o=e=>t=>e===t,s=n("string"),i=n("array"),l=o(null),a=r("boolean"),c=o(void0),u=e=>!(e=>null==e)(e),d=r("function"),m=r("number"),h=()=>{},g=e=>()=>e;functionp(e,...t){return(...n)=>{constr=t.concat(n);returne.apply(null,r)}}constf=g(!1),v=g(!0);classw{constructor(e,t){this.tag=e,this.value=t}staticsome(e){returnneww(!0,e)}staticnone(){returnw.singletonNone}fold(e,t){returnthis.tag?t(this.value):e()}isSome(){returnthis.tag}isNone(){return!this.tag}map(e){returnthis.tag?w.some(e(this.value)):w.none()}bind(e){returnthis.tag?e(this.value):w.none()}exists(e){returnthis.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:w.none()}getOr(e){returnthis.tag?this.value:e}or(e){returnthis.tag?this:e}getOrThunk(e){returnthis.tag?this.value:e()}orThunk(e){returnthis.tag?this:e()}getOrDie(e){if(this.tag)returnthis.value;thrownewError(null!=e?e:"Called getOrDie on None")}staticfrom(e){returnu(e)?w.some(e):w.none()}getOrNull(){returnthis.tag?this.value:null}getOrUndefined(){returnthis.value}each(e){this.tag&&e(this.value)}toArray(){returnthis.tag?[this.value]:[]}toString(){returnthis.tag?`some(${this.value})`:"none()"}}w.singletonNone=neww(!1);consty=t=>{constn=e(w.none()),r=()=>n.get().each(t);return{clear:()=>{r(),n.set(w.none())},isSet:()=>n.get().isSome(),get:()=>n.get(),set:e=>{r(),n.set(w.some(e))}}},b=()=>y((e=>e.unbind())),S=Array.prototype.push,x=(e,t)=>{constn=e.length,r=newArray(n);for(leto=0;o<n;o++){constn=e[o];r[o]=t(n,o)}returnr},E=(e,t)=>{for(letn=0,r=e.length;n<r;n++)t(e[n],n)},F=(e,t)=>{constn=[];for(letr=0,o=e.length;r<o;r++){consto=e[r];t(o,r)&&n.push(o)}returnn},O=(e,t)=>((e,t,n)=>{for(letr=0,o=e.length;r<o;r++){consto=e[r];if(t(o,r))returnw.some(o);if(n(o,r))break}returnw.none()})(e,t,f),T=Object.keys,k=(e,t,n=0,r)=>{consto=e.indexOf(t,n);return-1!==o&&(!!c(r)||o+t.length<=r)},C=e=>void0!==e.style&&d(e.style.getPropertyValue),A=e=>{if(null==e)thrownewError("Node cannot be null or undefined");return{dom:e}},R=A;"undefined"!=typeofwindow?window:Function("return this;")();constL=e=>t=>(e=>e.dom.nodeType)(t)===e,M=L(1),N=L(3),P=L(9),D=L(11),W=(e,t)=>{constn=e.dom;if(1!==n.nodeType)return!1;{conste=n;if(void0!==e.matches)returne.matches(t);if(void0!==e.msMatchesSelector)returne.msMatchesSelector(t);if(void0!==e.webkitMatchesSelector)returne.webkitMatchesSelector(t);if(void0!==e.mozMatchesSelector)returne.mozMatchesSelector(t);thrownewError("Browser lacks native selectors")}},q=e=>R(e.dom.ownerDocument),H=e=>x(e.dom.childNodes,R),I=d(Element.prototype.attachShadow)&&d(Node.prototype.getRootNode),B=g(I),V=I?e=>R(e.dom.getRootNode()):e=>P(e)?e:q(e),_=e=>{constt=V(e);returnD(n=t)&&u(n.dom.host)?w.some(t):w.none();varn},j=e=>R(e.dom.host),z=e=>{constt=N(e)?e.dom.parentNode:e.dom;if(null==t||null===t.ownerDocument)return!1;constn=t.ownerDocument;return_(R(t)).fold((()=>n.body.contains(t)),(r=z,o=j,e=>r(o(e))));varr,o},$=(e,t)=>{constn=e.dom.getAttribute(t);returnnull===n?void0:n},U=(e,t)=>{e.dom.removeAttribute(t)},K=(e,t)=>{constn=e.dom;((e,t)=>{constn=T(e);for(letr=0,o=n.length;r<o;r++){consto=n[r];t(e[o],o)}})(t,((e,t)=>{((e,t,n)=>{if(!s(n))throwconsole.error("Invalid call to CSS.set. Property ",t,":: Value ",n,":: Element ",e),newError("CSS value must be a string: "+n);C(e)&&e.style.setProperty(t,n)})(n,t,e)}))},X=e=>{constt=R((e=>{if(B()&&u(e.target)){constt=R(e.target);if(M(t)&&u(t.dom.shadowRoot)&&e.composed&&e.composedPath){constt=e.composedPath();if(t)return((e,t)=>0<e.length?w.some(e[0]):w.none())(t)}}returnw.from(e.target)})(e).getOr(e.target)),n=()=>e.stopPropagation(),r=()=>e.