!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("c",tinymce.util.Tools.resolve),g("1",["c"],function(a){returna("tinymce.dom.TreeWalker")}),g("2",["c"],function(a){returna("tinymce.Env")}),g("3",["c"],function(a){returna("tinymce.PluginManager")}),g("4",["c"],function(a){returna("tinymce.util.Tools")}),g("5",["c"],function(a){returna("tinymce.util.VK")}),g("a",["2"],function(a){functionb(b){(!a.ie||a.ie>9)&&(b.hasChildNodes()||(b.innerHTML='<br data-mce-bogus="1" />'))}varc=function(a){returnfunction(b,c){b&&(c=parseInt(c,10),1===c||0===c?b.removeAttribute(a,1):b.setAttribute(a,c,1))}},d=function(a){returnfunction(b){returnparseInt(b.getAttribute(a)||1,10)}};return{setColSpan:c("colSpan"),setRowSpan:c("rowspan"),getColSpan:d("colSpan"),getRowSpan:d("rowSpan"),setSpanVal:function(a,b,d){c(b)(a,d)},getSpanVal:function(a,b){returnd(b)(a)},paddCell:b}}),g("d",["4","a"],function(a,b){varc=function(a,b,c){returna[c]?a[c][b]:null},d=function(a,b,d){vare=c(a,b,d);returne?e.elm:null},e=function(a,b,e,f){varg,h,i=0,j=d(a,b,e);for(g=e;(f>0?g<a.length:g>=0)&&(h=c(a,b,g),j===h.elm);g+=f)i++;returni},f=function(a,b,c){for(vard,e=a[c],f=b;f<e.length;f++)if(d=e[f],d.real)returnd.elm;returnnull},g=function(a,c){for(vard,f=[],g=a[c],h=0;h<g.length;h++)d=g[h],f.push({elm:d.elm,above:e(a,h,c,-1)-1,below:e(a,h,c,1)-1}),h+=b.getColSpan(d.elm)-1;returnf},h=function(a,c){vard=a.elm.ownerDocument,e=d.createElement("td");returnb.setColSpan(e,b.getColSpan(a.elm)),b.setRowSpan(e,c),b.paddCell(e),e},i=function(a,b,c,d){vare=f(a,c+1,d);e?e.parentNode.insertBefore(b,e):(e=f(a,0,d),e.parentNode.appendChild(b))},j=function(a,c,d,e){if(0!==c.above){b.setRowSpan(c.elm,c.above);varf=h(c,c.below+1);returni(a,f,d,e),f}returnnull},k=function(a,c,d,e){if(0!==c.below){b.setRowSpan(c.elm,c.above+1);varf=h(c,c.below);returni(a,f,d,e+1),f}returnnull},l=function(b,c,e,f){varh=g(b,e),i=d(b,c,e).parentNode,l=[];returna.each(h,function(a,c){vard=f?j(b,a,c,e):k(b,a,c,e);null!==d&&l.push(l)}),{cells:l,row:i}};return{splitAt:l}}),g("6",["4","2","a","d"],function(a,b,c,d){vare=a.each,f=c.getSpanVal,g=c.setSpanVal;returnfunction(h,i,j){functionk(){h.$("td[data-mce-selected],th[data-mce-selected]").removeAttr("data-mce-selected")}functionl(a){returna===h.getBody()}functionm(b,c){returnb?(c=a.map(c.split(","),function(a){returna.toLowerCase()}),a.grep(b.childNodes,function(b){returna.inArray(c,b.nodeName.toLowerCase())!==-1})):[]}functionn(){vara=0;Z=[],$=0,e(["thead","tbody","tfoot"],function(b){varc=m(i,b)[0],d=m(c,"tr");e(d,function(c,d){d+=a,e(m(c,"td,th"),function(a,c){vare,g,h,i;if(Z[d])for(;Z[d][c];)c++;for(h=f(a,"rowspan"),i=f(a,"colspan"),g=d;g<d+h;g++)for(Z[g]||(Z[g]=[]),e=c;e<c+i;e++)Z[g][e]={part:b,real:g==d&&e==c,elm:a,rowspan:h,colspan:i};$=Math.max($,c+1)})}),a+=d.length})}functiono(a){returnh.fire("newrow",{node:a}),a}functionp(a){returnh.fire("newcell",{node:a}),a}functionq(a,b){returna=a.cloneNode(b),a.removeAttribute("id"),a}functionr(a,b){varc;if(c=Z[b])returnc[a]}functions(a,b){returna[b]?a[b]:null}functiont(a,b){for(varc=[],d=0;d<a.length;d++)c.push(r(b,d));returnc}functionu(a){returna&&(!!ca.getAttrib(a.elm,"data-mce-selected")||a==j)}functionv(){vara=[];returne(i.rows,function(b){e(b.cells,function(c){if(ca.getAttrib(c,"data-mce-selected")||j&&c==j.elm)returna.push(b),!1})}),a}functionw(){vara=0;ret