!function(a,b){"use strict";functionc(a,b){for(varc,d=[],f=0;f<a.length;++f){if(c=g[a[f]]||e(a[f]),!c)throw"module definition dependecy not found: "+a[f];d.push(c)}b.apply(null,d)}functiond(a,d,e){if("string"!=typeofa)throw"invalid module definition, module id must be defined and be a string";if(d===b)throw"invalid module definition, dependencies must be specified";if(e===b)throw"invalid module definition, definition function must be specified";c(d,function(){g[a]=e.apply(null,arguments)})}functione(b){for(varc=a,d=b.split(/[.\/]/),e=0;e<d.length;++e){if(!c[d[e]])return;c=c[d[e]]}returnc}functionf(c){vard,e,f,h,i;for(d=0;d<c.length;d++){e=a,f=c[d],h=f.split(/[.\/]/);for(varj=0;j<h.length-1;++j)e[h[j]]===b&&(e[h[j]]={}),e=e[h[j]];e[h[h.length-1]]=g[f]}if(a.AMDLC_TESTS){i=a.privateModules||{};for(fing)i[f]=g[f];for(d=0;d<c.length;d++)deletei[c[d]];a.privateModules=i}}varg={};d("tinymce/spellcheckerplugin/DomTextMatcher",[],function(){functiona(a){returna&&1==a.nodeType&&"false"===a.contentEditable}returnfunction(b,c){functiond(a,b){if(!a[0])throw"findAndReplaceDOMText cannot handle zero-length matches";return{start:a.index,end:a.index+a[0].length,text:a[0],data:b}}functione(b){varc;if(3===b.nodeType)returnb.data;if(y[b.nodeName]&&!x[b.nodeName])return"";if(a(b))return"\n";if(c="",(x[b.nodeName]||z[b.nodeName])&&(c+="\n"),b=b.firstChild)doc+=e(b);while(b=b.nextSibling);returnc}functionf(b,c,d){vare,f,g,h,i,j=[],k=0,l=b,m=0;c=c.slice(0),c.sort(function(a,b){returna.start-b.start}),i=c.shift();a:for(;;){if((x[l.nodeName]||z[l.nodeName]||a(l))&&k++,3===l.nodeType&&(!f&&l.length+k>=i.end?(f=l,h=i.end-k):e&&j.push(l),!e&&l.length+k>i.start&&(e=l,g=i.start-k),k+=l.length),e&&f){if(l=d({startNode:e,startNodeIndex:g,endNode:f,endNodeIndex:h,innerNodes:j,match:i.text,matchIndex:m}),k-=f.length-h,e=null,f=null,j=[],i=c.shift(),m++,!i)break}elseif(y[l.nodeName]&&!x[l.nodeName]||!l.firstChild){if(l.nextSibling){l=l.nextSibling;continue}}elseif(!a(l)){l=l.firstChild;continue}for(;;){if(l.nextSibling){l=l.nextSibling;break}if(l.parentNode===b)breaka;l=l.parentNode}}}functiong(a){functionb(b,c){vard=A[c];d.stencil||(d.stencil=a(d));vare=d.stencil.cloneNode(!1);returne.setAttribute("data-mce-index",c),b&&e.appendChild(B.doc.createTextNode(b)),e}returnfunction(a){varc,d,e,f=a.startNode,g=a.endNode,h=a.matchIndex,i=B.doc;if(f===g){varj=f;e=j.parentNode,a.startNodeIndex>0&&(c=i.createTextNode(j.data.substring(0,a.startNodeIndex)),e.insertBefore(c,j));vark=b(a.match,h);returne.insertBefore(k,j),a.endNodeIndex<j.length&&(d=i.createTextNode(j.data.substring(a.endNodeIndex)),e.insertBefore(d,j)),j.parentNode.removeChild(j),k}c=i.createTextNode(f.data.substring(0,a.startNodeIndex)),d=i.createTextNode(g.data.substring(a.endNodeIndex));for(varl=b(f.data.substring(a.startNodeIndex),h),m=[],n=0,o=a.innerNodes.length;o>n;++n){varp=a.innerNodes[n],q=b(p.data,h);p.parentNode.replaceChild(q,p),m.push(q)}varr=b(g.data.substring(0,a.endNodeIndex),h);returne=f.parentNode,e.insertBefore(c,f),e.insertBefore(l,f),e.removeChild(f),e=g.parentNode,e.insertBefore(r,g),e.insertBefore(d,g),e.removeChild(g),r}}functionh(a){varb=a.parentNode;b.insertBefore(a.firstChild,a),a.parentNode.removeChild(a)}functioni(a){varc=b.getElementsByTagName("*"),d=[];a="number"==typeofa?""+a:null;for(vare=0;e<c.length;e++){varf=c[e],g=f.getAttribute("data-mce-index");null!==g&&g.length&&(g!==a&&null!==a||d.push(f))}returnd}functionj(a){for(varb=A.length;b--;)if(A[b]===a)returnb;return-1}functionk(a){varb=[];returnl(function(c,d){a(c,d)&&b.push(c)}),A=b,this}functionl(a){for(varb=0,c=A.length;c>b&&a(A[b],b)!==!1;b++);returnthis}functionm(a){returnA.length&&f(b,A,g(a)),this}functionn(a,b){if(w&&a.global)for(;v=a.exec(w);)A.push(d(v,b));returnthis}functiono(a){varb,c=i(a?j(a):null);for(b=c.length;b--;)h(c[b]);returnthis}functionp(a){returnA[a.getAttribute("data-mce-index")]}functionq(a){returni(j(a))[0]}functionr(a,b,c){returnA.push({start:a,end:a+b,text:w.substr(a,b),data:c}),this}functions(a){varb=i(j(a)),d=c.dom