!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[f]=d(a[f]);b.apply(null,e)},f={};f.bolt={module:{api:{define:c,require:e,demand:d}}};varg=c,h=function(a,b){g(a,[],function(){returnb})};g("1",[],function(){vara=function(b){varc=b,d=function(){returnc},e=function(a){c=a},f=function(){returna(d())};return{get:d,set:e,clone:f}};returna}),h("9",tinymce.util.Tools.resolve),g("2",["9"],function(a){returna("tinymce.PluginManager")}),h("a",window),g("3",["a","2"],function(a,b){varc=function(c){return!(!/(^|[ ,])tinymcespellchecker([, ]|$)/.test(c.settings.plugins)||!b.get("tinymcespellchecker"))&&("undefined"!=typeofa.console&&a.console.log&&a.console.log("Spell Checker Pro is incompatible with Spell Checker plugin! Remove 'spellchecker' from the 'plugins' option."),!0)};return{hasProPlugin:c}}),g("6",[],function(){vara=function(a){varb="English=en,Danish=da,Dutch=nl,Finnish=fi,French=fr_FR,German=de,Italian=it,Polish=pl,Portuguese=pt_BR,Spanish=es,Swedish=sv";returna.getParam("spellchecker_languages",b)},b=function(a){varb=a.getParam("language","en");returna.getParam("spellchecker_language",b)},c=function(a){returna.getParam("spellchecker_rpc_url")},d=function(a){returna.getParam("spellchecker_callback")},e=function(a){varb=newRegExp('[^\\s!"#$%&()*+,-./:;<=>?@[\\]^_{|}`\xa7\xa9\xab\xae\xb1\xb6\xb7\xb8\xbb\xbc\xbd\xbe\xbf\xd7\xf7\xa4\u201d\u201c\u201e\xa0\u2002\u2003\u2009]+',"g");returna.getParam("spellchecker_wordchar_pattern",b)};return{getLanguages:a,getLanguage:b,getRpcUrl:c,getSpellcheckerCallback:d,getSpellcheckerWordcharPattern:e}}),g("c",["9"],function(a){returna("tinymce.util.Tools")}),g("g",["9"],function(a){returna("tinymce.util.URI")}),g("h",["9"],function(a){returna("tinymce.util.XHR")}),g("i",[],function(){vara=function(a){returna.fire("SpellcheckStart")},b=function(a){returna.fire("SpellcheckEnd")};return{fireSpellcheckStart:a,fireSpellcheckEnd:b}}),g("j",[],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(z[b.nodeName]&&!y[b.nodeName])return"";if(a(b))return"\n";if(c="",(y[b.nodeName]||A[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((y[l.nodeName]||A[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(z[l.nodeName]&&!y[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=B[c];d.stencil||(d.stencil=a(d));vare=d.stencil.cloneNode(!1);returne.setAttribute("data-mce-index",c),b&&e.appendChild(C.doc.createTextNode(b)),e}returnfunction(a){varc,d,e,f=a.startNode,g=a.endNode,h=a.matchIndex,i=C.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.endNode