!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[f]=d(a[f]);b.apply(null,e)},f={};f.bolt={module:{api:{define:c,require:e,demand:d}}};varg=c,h=function(a,b){g(a,[],function(){returnb})};h("1",window),h("8",tinymce.util.Tools.resolve),g("2",["8"],function(a){returna("tinymce.ThemeManager")}),g("1g",["8"],function(a){returna("tinymce.Env")}),g("c",["8"],function(a){returna("tinymce.dom.DOMUtils")}),g("2r",["8"],function(a){returna("tinymce.util.Delay")}),g("2s",[],function(){vara=function(b){returnb.reduce(function(b,c){returnArray.isArray(c)?b.concat(a(c)):b.concat(c)},[])};return{flatten:a}}),g("2u",[],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("3a",[],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("j",["c","3a"],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("2t",["2u","j"],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("e",["8"],function(a){returna("tinymce.util.Tools")}),g("2v",["e"],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("2w",["2u","j"],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].nodeName)returnnull;for(f=0;f<c.length;f++)if(c[f].nodeNameing)returne.dom.isEmpty(c[f])?a.result(d,b.getSelectionRect(e)):null;returnnull}};return{textSelection:c,emptyTextBlock:d}}),g("g",[],function(){vara=function(a){a.fire("SkinLoaded")},b=function(a){returna.fire("BeforeRenderUI")};return{fireSkinLoaded:a,fireBeforeRenderUI:b}}),g("1f",["8"],function(a){returna("tinymce.EditorManager")}),g("3f",[],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("38",["3f"],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
},{type:"filepicker",name:"linkurl",placeholder:"Paste or type a link",filetype:"file",onchange:f},{type:"button",icon:"checkmark",subtype:"primary",tooltip:"Ok",onclick:"submit"}],onshow:i,onsubmit:function(e){j(a,e.data.linkurl).then(function(e){a.undoManager.transact(function(){e===c.href&&(c.attach(),c={}),d.createLink(a,e)}),b()})}})};return{createQuickLinkForm:k}}),g("l",["e","d","3f"],function(a,b,c){vard=function(a,b){varc=function(a,b){return{selector:a,handler:b}},d=function(a){b.active(a)},e=function(a){b.disabled(a)};returnb.settings.stateSelector?c(b.settings.stateSelector,d):b.settings.disabledStateSelector?c(b.settings.disabledStateSelector,e):null},e=function(a,b,c){returnfunction(){vare=d(b,c);null!==e&&a.selection.selectorChanged(e.selector,e.handler)}},f=function(a){returnc.isArray(a)?a:c.isString(a)?a.split(/[ ,]/):[]},g=function(c,d,g){varh,i=[];if(g)returna.each(f(g),function(a){vard;"|"==a?h=null:c.buttons[a]&&(h||(h={type:"buttongroup",items:[]},i.push(h)),d=a,a=c.buttons[d],"function"==typeofa&&(a=a()),a.type=a.type||"button",a=b.create(a),a.on("postRender",e(c,d,a)),h.items.push(a))}),b.create({type:"toolbar",layout:"flow",name:d,items:i})};return{create:g}}),g("5",["c","d","e","f","g","h","i","j","k","l"],function(a,b,c,d,e,f,g,h,i,j){returnfunction(){vark,l,m=function(a,b){returnc.map(b,function(b){returnj.create(a,b.id,b.items)})},n=function(a){returna.items().length>0},o=function(a,d){vare=m(a,d).concat([j.create(a,"text",f.getTextSelectionToolbarItems(a)),j.create(a,"insert",f.getInsertToolbarItems(a)),i.createQuickLinkForm(a,z)]);returnb.create({type:"floatpanel",role:"dialog",classes:"tinymce tinymce-inline arrow",ariaLabel:"Inline toolbar",layout:"flex",direction:"column",align:"stretch",autohide:!1,autofix:!0,fixed:!0,border:1,items:c.grep(e,n),oncancel:function(){a.focus()}})},p=function(a){a&&a.show()},q=function(a,b){a.moveTo(b.x,b.y)},r=function(a,b){b=b?b.substr(0,2):"",c.each({t:"down",b:"up",c:"center"},function(c,d){a.classes.toggle("arrow-"+c,d===b.substr(0,1))}),"cr"===b?(a.classes.toggle("arrow-left",!0),a.classes.toggle("arrow-right",!1)):"cl"===b?(a.classes.toggle("arrow-left",!0),a.classes.toggle("arrow-right",!0)):c.each({l:"left",r:"right"},function(c,d){a.classes.toggle("arrow-"+c,d===b.substr(1,1))})},s=function(a,b){varc=a.items().filter("#"+b);returnc.length>0&&(c[0].show(),a.reflow(),!0)},t=function(b,c,e,i){varj,k,m,n;if(n=f.getPositionHandler(e),j=h.getContentAreaRect(e),k=a.DOM.getRect(b.getEl()),m="insert"===c?g.calcInsert(i,j,k):g.calc(i,j,k)){varo=d.getUiContainerDelta().getOr({x:0,y:0}),p={x:m.rect.x-o.x,y:m.rect.y-o.y,w:m.rect.w,h:m.rect.h};returnl=i,q(b,g.userConstrain(n,i,j,p)),r(b,m.position),!0}return!1},u=function(a,b,c,d){returnp(a),a.items().hide(),s(a,b)?void(t(a,b,c,d)===!1&&z(a)):voidz(a)},v=function(){returnk.items().filter("form:visible").length>0},w=function(b,c){if(k){if(k.items().hide(),!s(k,c))returnvoidz(k);vard,e,i,j;p(k),k.items().hide(),s(k,c),j=f.getPositionHandler(b),d=h.getContentAreaRect(b),e=a.DOM.getRect(k.getEl()),i=g.calc(l,d,e),i&&(e=i.rect,q(k,g.userConstrain(j,l,d,e)),r(k,i.position))}},x=function(a,b,c,d){k||(e.fireBeforeRenderUI(a),k=o(a,d),k.renderTo().reflow().moveTo(c.x,c.y),a.nodeChanged()),u(k,b,a,c)},y=function(a,b,c){k&&t(k,b,a,c)},z=function(){k&&k.hide()},A=function(){k&&k.find("toolbar:visible").eq(0).each(function(a){a.focus(!0)})},B=function(){k&&(k.remove(),k=null)},C=function(){returnk&&k.visible()&&v()};return{show:x,showForm:w,reposition:y,inForm:C,hide:z,focus:A,remove:B}}}),g("4f",[],function(){vara="undefined"!=typeofwindow?window:Function("return this;")();returna}),g("48",["4f"],function(a){varb=function(b,c){for(vard=void0!==c?c:a,e=0;e<b.length&&void0!==d&&null!==d;++e)d=d[b[e]];returnd},c=function(a,c){vard=a.split(".");returnb(d,c)},d=function(a,b){returnvoid0!==a[b]&&null!==a[b]||(a[b]={}),a[b]},e=function(b,c){for(vare=void0!==c?c:a,f=0;f<b.length;++f)e=d(e,b[f]);returne},f=function(a,b){varc=a.split(".");returne(c,b)};return{path:b,resolve:c,forge:e,na
vare=d(b),f=a.find(e,function(a,b){returnb<e.length-1&&a===e[b+1]});f.each(function(a){thrownewc("The field: "+a+" occurs more than once in the combined fields: ["+e.join(", ")+"].")})};return{sort:d,reqMessage:e,unsuppMessage:f,validateStrArr:g,invalidTypeMessage:h,checkDupes:i}}),g("4r",["2y","1b","4u","37","4v","3l","3t"],function(a,b,c,d,e,f,g){returnfunction(h,i){varj=h.concat(i);if(0===j.length)thrownewf("You must specify at least one required or optional field.");returne.validateStrArr("required",h),e.validateStrArr("optional",i),e.checkDupes(j),function(f){vark=c.keys(f),l=a.forall(h,function(b){returna.contains(k,b)});l||e.reqMessage(h,k);varm=a.filter(k,function(b){return!a.contains(j,b)});m.length>0&&e.unsuppMessage(m);varn={};returna.each(h,function(a){n[a]=b.constant(f[a])}),a.each(i,function(a){n[a]=b.constant(g.prototype.hasOwnProperty.call(f,a)?d.some(f[a]):d.none())}),n}}}),g("4j",["4q","4r"],function(a,b){return{immutable:a,immutableBag:b}}),g("4k",[],function(){vara=function(a,b){varc=[],d=function(a){returnc.push(a),b(a)},e=b(a);doe=e.bind(d);while(e.isSome());returnc};return{toArray:a}}),g("4d",["40"],function(a){varb=function(){varb=a.getOrDie("Node");returnb},c=function(a,b,c){return0!==(a.compareDocumentPosition(b)&c)},d=function(a,d){returnc(a,d,b().DOCUMENT_POSITION_PRECEDING)},e=function(a,d){returnc(a,d,b().DOCUMENT_POSITION_CONTAINED_BY)};return{documentPositionPreceding:d,documentPositionContainedBy:e}}),h("4w",Number),g("4s",["2y","4w","3u"],function(a,b,c){vard=function(a,b){for(varc=0;c<a.length;c++){vard=a[c];if(d.test(b))returnd}},e=function(a,c){vare=d(a,c);if(!e)return{major:0,minor:0};varf=function(a){returnb(c.replace(e,"$"+a))};returnh(f(1),f(2))},f=function(a,b){vard=c(b).toLowerCase();return0===a.length?g():e(a,d)},g=function(){returnh(0,0)},h=function(a,b){return{major:a,minor:b}};return{nu:h,detect:f,unknown:g}}),g("4l",["1b","4s"],function(a,b){varc="Edge",d="Chrome",e="IE",f="Opera",g="Firefox",h="Safari",i=function(a,b){returnfunction(){returnb===a}},j=function(){returnk({current:void0,version:b.unknown()})},k=function(a){varb=a.current,j=a.version;return{current:b,version:j,isEdge:i(c,b),isChrome:i(d,b),isIE:i(e,b),isOpera:i(f,b),isFirefox:i(g,b),isSafari:i(h,b)}};return{unknown:j,nu:k,edge:a.constant(c),chrome:a.constant(d),ie:a.constant(e),opera:a.constant(f),firefox:a.constant(g),safari:a.constant(h)}}),g("4m",["1b","4s"],function(a,b){varc="Windows",d="iOS",e="Android",f="Linux",g="OSX",h="Solaris",i="FreeBSD",j=function(a,b){returnfunction(){returnb===a}},k=function(){returnl({current:void0,version:b.unknown()})},l=function(a){varb=a.current,k=a.version;return{current:b,version:k,isWindows:j(c,b),isiOS:j(d,b),isAndroid:j(e,b),isOSX:j(g,b),isLinux:j(f,b),isSolaris:j(h,b),isFreeBSD:j(i,b)}};return{unknown:k,nu:l,windows:a.constant(c),ios:a.constant(d),android:a.constant(e),linux:a.constant(f),osx:a.constant(g),solaris:a.constant(h),freebsd:a.constant(i)}}),g("4n",["1b"],function(a){returnfunction(b,c,d){vare=b.isiOS()&&/ipad/i.test(d)===!0,f=b.isiOS()&&!e,g=b.isAndroid()&&3===b.version.major,h=b.isAndroid()&&4===b.version.major,i=e||g||h&&/mobile/i.test(d)===!0,j=b.isiOS()||b.isAndroid(),k=j&&!i,l=c.isSafari()&&b.isiOS()&&/safari/i.test(d)===!1;return{isiPad:a.constant(e),isiPhone:a.constant(f),isTablet:a.constant(i),isPhone:a.constant(k),isTouch:a.constant(j),isAndroid:b.isAndroid,isiOS:b.isiOS,isWebView:a.constant(l)}}}),g("4o",["2y","4s","3u"],function(a,b,c){vard=function(b,d){vare=c(d).toLowerCase();returna.find(b,function(a){returna.search(e)})},e=function(a,c){returnd(a,c).map(function(a){vard=b.detect(a.versionRegexes,c);return{current:a.name,version:d}})},f=function(a,c){returnd(a,c).map(function(a){vard=b.detect(a.versionRegexes,c);return{current:a.name,version:d}})};return{detectBrowser:e,detectOs:f}}),g("4x",[],function(){vara=function(a,b){returnb+a},b=function(a,b){returna+b},c=function(a,b){returna.substring(b)},d=function(a,b){returna.substring(0,a.length-b)};return{addToStart:a,addToEnd:b,re