!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("a",tinymce.util.Tools.resolve),g("1",["a"],function(a){returna("tinymce.PluginManager")}),g("2",["a"],function(a){returna("tinymce.util.Tools")}),g("3",["a"],function(a){returna("tinymce.util.VK")}),g("b",["a"],function(a){returna("tinymce.dom.DOMUtils")}),g("8",[],function(){vara=function(a){returna&&3===a.nodeType},b=function(a){returna&&/^(OL|UL|DL)$/.test(a.nodeName)},c=function(a){returna&&/^(LI|DT|DD)$/.test(a.nodeName)},d=function(a){returna&&"BR"===a.nodeName},e=function(a){returna.parentNode.firstChild===a},f=function(a){returna.parentNode.lastChild===a},g=function(a,b){returnb&&!!a.schema.getTextBlockElements()[b.nodeName]},h=function(a,b){returna&&a.nodeNameinb},i=function(a,b){return!!d(b)&&!(!a.isBlock(b.nextSibling)||d(b.previousSibling))},j=function(a,b,c){vard=a.isEmpty(b);return!(c&&a.select("span[data-mce-type=bookmark]",b).length>0)&&d},k=function(a,b){returna.isChildOf(b,a.getRoot())};return{isTextNode:a,isListNode:b,isListItemNode:c,isBr:d,isFirstChild:e,isLastChild:f,isTextBlock:g,isBlock:h,isBogusBr:i,isEmpty:j,isChildOfBody:k}}),g("i",["a"],function(a){returna("tinymce.dom.RangeUtils")}),g("k",["i","8"],function(a,b){varc=function(c,d){vare=a.getNode(c,d);if(b.isListItemNode(c)&&b.isTextNode(e)){varf=d>=c.childNodes.length?e.data.length:0;return{container:e,offset:f}}return{container:c,offset:d}},d=function(a){varb=a.cloneRange(),d=c(a.startContainer,a.startOffset);b.setStart(d.container,d.offset);vare=c(a.endContainer,a.endOffset);returnb.setEnd(e.container,e.offset),b};return{getNormalizedEndPoint:c,normalizeRange:d}}),g("c",["b","8","k"],function(a,b,c){vard=a.DOM,e=function(a){varb={},c=function(c){vare,f,g;f=a[c?"startContainer":"endContainer"],g=a[c?"startOffset":"endOffset"],1===f.nodeType&&(e=d.create("span",{"data-mce-type":"bookmark"}),f.hasChildNodes()?(g=Math.min(g,f.childNodes.length-1),c?f.insertBefore(e,f.childNodes[g]):d.insertAfter(e,f.childNodes[g])):f.appendChild(e),f=e,g=0),b[c?"startContainer":"endContainer"]=f,b[c?"startOffset":"endOffset"]=g};returnc(!0),a.collapsed||c(),b},f=function(a){functionb(b){varc,e,f,g=function(a){for(varb=a.parentNode.firstChild,c=0;b;){if(b===a)returnc;1===b.nodeType&&"bookmark"===b.getAttribute("data-mce-type")||c++,b=b.nextSibling}return-1};c=f=a[b?"startContainer":"endContainer"],e=a[b?"startOffset":"endOffset"],c&&(1===c.nodeType&&(e=g(c),c=c.parentNode,d.remove(f)),a[b?"startContainer":"endContainer"]=c,a[b?"startOffset":"endOffset"]=e)}b(!0),b();vare=d.createRng();returne.setStart(a.startContainer,a.startOffset),a.endContainer&&e.setEnd(a.endContainer,a.endOffset),c.normalizeRange(e)};return{createBookmark:e,resolveBookmark:f}}),g("d",["a"],function(a){returna("tinymce.dom.DomQuery")}),g("9",["d","2","8"],function(a,b,c){vard=function(a){returna.dom.getParent(a.selection.getStart(!0),"OL,UL,DL")},e=function(a){vare=d(a);returnb.grep(a.selection.getSelectedBlocks(),function(a){returnc.isListNode(a)&&e!==a})},f=function(c,d){vare=b.map(d,function(a){varb=c.dom.getParent(a,"li,dd,dt",c.getBody());returnb?b:a});returna.unique(e)},g=function(a){vard=a.selection.getSelectedBlocks();returnb.grep(f(a,d),function(a){returnc.isListItemNode(a)})};return{getParentList:d,getSelectedSubLists:e,getSelectedListItems:g}}),g("4",["b","c","8","9"],function(a,b,c,d){vare=a.DOM,f=fu