!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("4",tinymce.util.Tools.resolve),g("1",["4"],function(a){returna("tinymce.PluginManager")}),g("5",["4"],function(a){returna("tinymce.util.VK")}),g("a",["4"],function(a){returna("tinymce.util.Delay")}),g("b",["4"],function(a){returna("tinymce.util.Tools")}),g("c",["4"],function(a){returna("tinymce.util.XHR")}),g("9",[],function(){vara=function(a){return"boolean"==typeofa.link_assume_external_targets&&a.link_assume_external_targets},b=function(a){return"boolean"==typeofa.link_context_toolbar&&a.link_context_toolbar},c=function(a){returna.link_list},d=function(a){return"string"==typeofa.default_link_target},e=function(a){returna.default_link_target},f=function(a){returna.target_list},g=function(a,b){a.settings.target_list=b},h=function(a){returnf(a)!==!1},i=function(a){returna.rel_list},j=function(a){returnvoid0!==i(a)},k=function(a){returna.link_class_list},l=function(a){returnvoid0!==k(a)},m=function(a){returna.link_title!==!1},n=function(a){return"boolean"==typeofa.allow_unsafe_link_target&&a.allow_unsafe_link_target};return{assumeExternalTargets:a,hasContextToolbar:b,getLinkList:c,hasDefaultLinkTarget:d,getDefaultLinkTarget:e,getTargetList:f,setTargetList:g,shouldShowTargetList:h,getRelList:i,hasRelList:j,getLinkClassList:k,hasLinkClassList:l,shouldShowLinkTitle:m,allowUnsafeLinkTarget:n}}),h("d",RegExp),g("8",["b","9","d"],function(a,b,c){vard=function(b,c){vard=["noopener"],e=b?b.split(/\s+/):[],f=function(b){returna.trim(b.sort().join(" "))},g=function(a){returna=h(a),a.length?a.concat(d):d},h=function(b){returnb.filter(function(b){returna.inArray(d,b)===-1})};returne=c?g(e):h(e),e.length?f(e):null},e=function(a){returna.replace(/\uFEFF/g,"")},f=function(a,b){returnb=b||a.selection.getStart(),k(b)?a.dom.select("a[href]",b)[0]:a.dom.getParent(b,"a[href]")},g=function(a,b){varc=b?b.innerText||b.textContent:a.getContent({format:"text"});returne(c)},h=function(a){returna&&"A"===a.nodeName&&a.href},i=function(b){returna.grep(b,h).length>0},j=function(a){return!(/</.test(a)&&(!/^<a [^>]+>[^<]+<\/a>$/.test(a)||a.indexOf("href=")==-1))},k=function(a){returna&&"FIGURE"===a.nodeName&&/\bimage\b/i.test(a.className)},l=function(a,c){returnfunction(e){a.undoManager.transact(function(){varg=a.selection.getNode(),h=f(a,g),i={href:e.href,target:e.target?e.target:null,rel:e.rel?e.rel:null,"class":e["class"]?e["class"]:null,title:e.title?e.title:null};b.hasRelList(a.settings)||b.allowUnsafeLinkTarget(a.settings)!==!1||(i.rel=d(i.rel,"_blank"==i.target)),e.href===c.href&&(c.attach(),c={}),h?(a.focus(),e.hasOwnProperty("text")&&("innerText"inh?h.innerText=e.text:h.textContent=e.text),a.dom.setAttribs(h,i),a.selection.select(h),a.undoManager.add()):k(g)?o(a,g,i):e.hasOwnProperty("text")?a.insertContent(a.dom.createHTML("a",i,a.dom.encode(e.text))):a.execCommand("mceInsertLink",!1,i)})}},m=function(a){returnfunction(){a.undoManager.transact(function(){varb=a.selection.getNode();k(b)?n(a,b):a.execCommand("unlink")})}},n=function(a,b){varc,d;d=a.dom.select("img",b)[0],d&&(c=a.dom.getParents(d,"a[href]",b)[0],c&&(c.parentNode.insertBefore(d,c),a.dom.remove(c)))},o=function(a,b,c){vard,e;e=a.dom.select("img",b)[0],e&&(d=a.dom.create("a",c),e.parentNode.insertBefore(d,e),d.appendChild(e))};return{link:l,unlink:m,isLink:h,hasLinks:i,isOnlyTextSelected:j,getAnchorElement:f,