!function(){vara={},b=function(b){for(varc=a[b],e=c.deps,f=c.defn,g=e.length,h=newArray(g),i=0;i<g;++i)h[i]=d(e[i]);varj=f.apply(null,h);if(void0===j)throw"module ["+b+"] returned undefined";c.instance=j},c=function(b,c,d){if("string"!=typeofb)throw"module id must be a string";if(void0===c)throw"no dependencies for "+b;if(void0===d)throw"no definition function for "+b;a[b]={deps:c,defn:d,instance:void0}},d=function(c){vard=a[c];if(void0===d)throw"module ["+c+"] was undefined";returnvoid0===d.instance&&b(c),d.instance},e=function(a,b){for(varc=a.length,e=newArray(c),f=0;f<c;++f)e.push(d(a[f]));b.apply(null,b)},f={};f.bolt={module:{api:{define:c,require:e,demand:d}}};varg=c,h=function(a,b){g(a,[],function(){returnb})};h("d",tinymce.util.Tools.resolve),g("1",["d"],function(a){returna("tinymce.ThemeManager")}),g("2",["d"],function(a){returna("tinymce.ui.Api")}),g("3",["d"],function(a){returna("tinymce.util.Delay")}),g("4",[],function(){vara=function(b){returnb.reduce(function(b,c){returnArray.isArray(c)?b.concat(a(c)):b.concat(c)},[])};return{flatten:a}}),g("e",[],function(){vara=function(a){returnfunction(b){returntypeofb===a}},b=function(a){returnArray.isArray(a)},c=function(a){returnnull===a},d=function(a){returnfunction(d){return!c(d)&&!b(d)&&a(d)}};return{isString:a("string"),isNumber:a("number"),isBoolean:a("boolean"),isFunction:a("function"),isObject:d(a("object")),isNull:c,isArray:b}}),g("5",["e"],function(a){varb=function(a,b){if(b(a))return!0;thrownewError("Default value doesn't match requested type.")},c=function(a){returnfunction(c,d,e){varf=c.settings;returnb(e,a),dinf&&a(f[d])?f[d]:e}},d=function(a,b){returna.split(b).filter(function(a){returna.length>0})},e=function(b,c){vare=function(a){return"string"==typeofa?d(a,/[ ,]/):a},f=function(a,b){returna===!1?[]:b};returna.isArray(b)?b:a.isString(b)?e(b):a.isBoolean(b)?f(b,c):c},f=function(a){returnfunction(c,d,f){varg=dinc.settings?c.settings[d]:f;returnb(f,a),e(g,f)}};return{getStringOr:c(a.isString),getBoolOr:c(a.isBoolean),getNumberOr:c(a.isNumber),getHandlerOr:c(a.isFunction),getToolbarItemsOr:f(a.isArray)}}),g("7",[],function(){vara=function(a,b){return{id:a,rect:b}},b=function(a,b){for(varc=0;c<b.length;c++){vard=b[c],e=d(a);if(e)returne}returnnull};return{match:b,result:a}}),g("i",["d"],function(a){returna("tinymce.dom.DOMUtils")}),g("q",[],function(){vara=function(a){return{x:a.left,y:a.top,w:a.width,h:a.height}},b=function(a){return{left:a.x,top:a.y,width:a.w,height:a.h,right:a.x+a.w,bottom:a.y+a.h}};return{fromClientRect:a,toClientRect:b}}),g("f",["i","q"],function(a,b){varc=function(b){varc=a.DOM.getViewPort();return{x:b.x+c.x,y:b.y+c.y,w:b.w,h:b.h}},d=function(a){varb=a.getBoundingClientRect();returnc({x:b.left,y:b.top,w:Math.max(a.clientWidth,a.offsetWidth),h:Math.max(a.clientHeight,a.offsetHeight)})},e=function(a,b){returnd(b)},f=function(a){returnd(a.getElement().ownerDocument.body)},g=function(a){returnd(a.getContentAreaContainer()||a.getBody())},h=function(a){vard=a.selection.getBoundingClientRect();returnd?c(b.fromClientRect(d)):null};return{getElementRect:e,getPageAreaRect:f,getContentAreaRect:g,getSelectionRect:h}}),g("6",["7","f"],function(a,b){varc=function(c,d){returnfunction(e){for(varf=0;f<d.length;f++)if(d[f].predicate(c))returna.result(d[f].id,b.getElementRect(e,c));returnnull}},d=function(c,d){returnfunction(e){for(varf=0;f<c.length;f++)for(varg=0;g<d.length;g++)if(d[g].predicate(c[f]))returna.result(d[g].id,b.getElementRect(e,c[f]));returnnull}};return{element:c,parent:d}}),g("g",["d"],function(a){returna("tinymce.util.Tools")}),g("8",["g"],function(a){varb=function(a,b){return{id:a,predicate:b}},c=function(c){returna.map(c,function(a){returnb(a.id,a.predicate)})};return{create:b,fromContextToolbars:c}}),g("9",["7","f"],function(a,b){varc=function(c){returnfunction(d){returnd.selection.isCollapsed()?null:a.result(c,b.getSelectionRect(d))}},d=function(c,d){returnfunction(e){varf,g=e.schema.getTextBlockElements();for(f=0;f<c.length;f++)if("TABLE"===c[f].