!function(e,t){"use strict";functionn(e,t){for(varn,r=[],a=0;a<e.length;++a){if(n=o[e[a]]||i(e[a]),!n)throw"module definition dependecy not found: "+e[a];r.push(n)}t.apply(null,r)}functionr(e,r,i){if("string"!=typeofe)throw"invalid module definition, module id must be defined and be a string";if(r===t)throw"invalid module definition, dependencies must be specified";if(i===t)throw"invalid module definition, definition function must be specified";n(r,function(){o[e]=i.apply(null,arguments)})}functioni(t){for(varn=e,r=t.split(/[.\/]/),i=0;i<r.length;++i){if(!n[r[i]])return;n=n[r[i]]}returnn}varo={};r("tinymce/tableplugin/Utils",["tinymce/Env"],function(e){functiont(t){(!e.ie||e.ie>9)&&(t.hasChildNodes()||(t.innerHTML='<br data-mce-bogus="1" />'))}varn=function(e){returnfunction(t,n){t&&(n=parseInt(n,10),1===n||0===n?t.removeAttribute(e,1):t.setAttribute(e,n,1))}},r=function(e){returnfunction(t){returnparseInt(t.getAttribute(e)||1,10)}};return{setColSpan:n("colSpan"),setRowSpan:n("rowspan"),getColSpan:r("colSpan"),getRowSpan:r("rowSpan"),setSpanVal:function(e,t,r){n(t)(e,r)},getSpanVal:function(e,t){returnr(t)(e)},paddCell:t}}),r("tinymce/tableplugin/SplitCols",["tinymce/util/Tools","tinymce/tableplugin/Utils"],function(e,t){varn=function(e,t,n){returne[n]?e[n][t]:null},r=function(e,t,r){vari=n(e,t,r);returni?i.elm:null},i=function(e,t,i,o){vara,s,l=0,c=r(e,t,i);for(a=i;(o>0?a<e.length:a>=0)&&(s=n(e,t,a),c===s.elm);a+=o)l++;returnl},o=function(e,t,n){for(varr,i=e[n],o=t;o<i.length;o++)if(r=i[o],r.real)returnr.elm;returnnull},a=function(e,n){for(varr,o=[],a=e[n],s=0;s<a.length;s++)r=a[s],o.push({elm:r.elm,above:i(e,s,n,-1)-1,below:i(e,s,n,1)-1}),s+=t.getColSpan(r.elm)-1;returno},s=function(e,n){varr=e.elm.ownerDocument,i=r.createElement("td");returnt.setColSpan(i,t.getColSpan(e.elm)),t.setRowSpan(i,n),t.paddCell(i),i},l=function(e,t,n,r){vari=o(e,n+1,r);i?i.parentNode.insertBefore(t,i):(i=o(e,0,r),i.parentNode.appendChild(t))},c=function(e,n,r,i){if(0!==n.above){t.setRowSpan(n.elm,n.above);varo=s(n,n.below+1);returnl(e,o,r,i),o}returnnull},u=function(e,n,r,i){if(0!==n.below){t.setRowSpan(n.elm,n.above+1);varo=s(n,n.below);returnl(e,o,r,i+1),o}returnnull},d=function(t,n,i,o){vars=a(t,i),l=r(t,n,i).parentNode,d=[];returne.each(s,function(e,n){varr=o?c(t,e,n,i):u(t,e,n,i);null!==r&&d.push(d)}),{cells:d,row:l}};return{splitAt:d}}),r("tinymce/tableplugin/TableGrid",["tinymce/util/Tools","tinymce/Env","tinymce/tableplugin/Utils","tinymce/tableplugin/SplitCols"],function(e,n,r,i){varo=e.each,a=r.getSpanVal,s=r.setSpanVal;returnfunction(l,c,u){functiond(){l.$("td[data-mce-selected],th[data-mce-selected]").removeAttr("data-mce-selected")}functionf(e){returne===l.getBody()}functionh(t,n){returnt?(n=e.map(n.split(","),function(e){returne.toLowerCase()}),e.grep(t.childNodes,function(t){returne.inArray(n,t.nodeName.toLowerCase())!==-1})):[]}functionp(){vare=0;K=[],G=0,o(["thead","tbody","tfoot"],function(t){varn=h(c,t)[0],r=h(n,"tr");o(r,function(n,r){r+=e,o(h(n,"td,th"),function(e,n){vari,o,s,l;if(K[r])for(;K[r][n];)n++;for(s=a(e,"rowspan"),l=a(e,"colspan"),o=r;o<r+s;o++)for(K[o]||(K[o]=[]),i=n;i<n+l;i++)K[o][i]={part:t,real:o==r&&i==n,elm:e,rowspan:s,colspan:l};G=Math.max(G,n+1)})}),e+=r.length})}functionm(e){returnl.fire("newrow",{node:e}),e}functiong(e){returnl.fire("newcell",{node:e}),e}functionv(e,t){returne=e.cloneNode(t),e.removeAttribute("id"),e}functiony(e,t){varn;if(n=K[t])returnn[e]}functionb(e,t){returne[t]?e[t]:null}functionC(e,t){for(varn=[],r=0;r<e.length;r++)n.push(y(t,r));returnn}functionx(e){returne&&(!!ee.getAttrib(e.elm,"data-mce-selected")||e==u)}functionw(){vare=[];returno(c.rows,function(t){o(t.cells,function(n){if(ee.getAttrib(n,"data-mce-selected")||u&&n==u.elm)returne.push(t),!1})}),e}functionE(){vare=ee.createRng();f(c)||(e.setStartAfter(c),e.setEndAfter(c),Z.setRng(e),ee.remove(c))}functionN(t){vari,a={};returnl.settings.table_clone_elements!==!1&&(a=e.makeMap((l.settings.table_clone_elements||"strongembispanfonth1h2h3h4h5h6