<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[23217] branches/3.5/wp-includes/js/tinymce/tiny_mce.js: TinyMCE: update to latest source including the WebKit backspace fix, fixes #23010, fixes #22766 for 3.5</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg > ul, #logmsg > ol { margin-left: 0; margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://core.trac.wordpress.org/changeset/23217">23217</a></dd>
<dt>Author</dt> <dd>azaozz</dd>
<dt>Date</dt> <dd>2012-12-27 20:53:36 +0000 (Thu, 27 Dec 2012)</dd>
</dl>

<h3>Log Message</h3>
<pre>TinyMCE: update to latest source including the WebKit backspace fix, fixes <a href="http://core.trac.wordpress.org/ticket/23010">#23010</a>, fixes <a href="http://core.trac.wordpress.org/ticket/22766">#22766</a> for 3.5</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#branches35wpincludesjstinymcetiny_mcejs">branches/3.5/wp-includes/js/tinymce/tiny_mce.js</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="branches35wpincludesjstinymcetiny_mcejs"></a>
<div class="modfile"><h4>Modified: branches/3.5/wp-includes/js/tinymce/tiny_mce.js (23216 => 23217)</h4>
<pre class="diff"><span>
<span class="info">--- branches/3.5/wp-includes/js/tinymce/tiny_mce.js        2012-12-27 16:44:59 UTC (rev 23216)
+++ branches/3.5/wp-includes/js/tinymce/tiny_mce.js        2012-12-27 20:53:36 UTC (rev 23217)
</span><span class="lines">@@ -1 +1 @@
</span><del>-(function(e){var a=/^\s*|\s*$/g,b,d=&quot;B&quot;.replace(/A(.)|B/,&quot;$1&quot;)===&quot;$1&quot;;var c={majorVersion:&quot;3&quot;,minorVersion:&quot;5.8&quot;,releaseDate:&quot;2012-11-20&quot;,_init:function(){var s=this,q=document,o=navigator,g=o.userAgent,m,f,l,k,j,r;s.isOpera=e.opera&amp;&amp;opera.buildNumber;s.isWebKit=/WebKit/.test(g);s.isIE=!s.isWebKit&amp;&amp;!s.isOpera&amp;&amp;(/MSIE/gi).test(g)&amp;&amp;(/Explorer/gi).test(o.appName);s.isIE6=s.isIE&amp;&amp;/MSIE [56]/.test(g);s.isIE7=s.isIE&amp;&amp;/MSIE [7]/.test(g);s.isIE8=s.isIE&amp;&amp;/MSIE [8]/.test(g);s.isIE9=s.isIE&amp;&amp;/MSIE [9]/.test(g);s.isGecko=!s.isWebKit&amp;&amp;/Gecko/.test(g);s.isMac=g.indexOf(&quot;Mac&quot;)!=-1;s.isAir=/adobeair/i.test(g);s.isIDevice=/(iPad|iPhone)/.test(g);s.isIOS5=s.isIDevice&amp;&amp;g.match(/AppleWebKit\/(\d*)/)[1]&gt;=534;if(e.tinyMCEPreInit){s.suffix=tinyMCEPreInit.suffix;s.baseURL=tinyMCEPreInit.base;s.query=tinyMCEPreInit.query;return}s.suffix=&
 quot;&quot;;f=q.getElementsByTagName(&quot;base&quot;);for(m=0;m&lt;f.length;m++){r=f[m].href;if(r){if(/^https?:\/\/[^\/]+$/.test(r)){r+=&quot;/&quot;}k=r?r.match(/.*\//)[0]:&quot;&quot;}}function h(i){if(i.src&amp;&amp;/tiny_mce(|_gzip|_jquery|_prototype|_full)(_dev|_src)?.js/.test(i.src)){if(/_(src|dev)\.js/g.test(i.src)){s.suffix=&quot;_src&quot;}if((j=i.src.indexOf(&quot;?&quot;))!=-1){s.query=i.src.substring(j+1)}s.baseURL=i.src.substring(0,i.src.lastIndexOf(&quot;/&quot;));if(k&amp;&amp;s.baseURL.indexOf(&quot;://&quot;)==-1&amp;&amp;s.baseURL.indexOf(&quot;/&quot;)!==0){s.baseURL=k+s.baseURL}return s.baseURL}return null}f=q.getElementsByTagName(&quot;script&quot;);for(m=0;m&lt;f.length;m++){if(h(f[m])){return}}l=q.getElementsByTagName(&quot;head&quot;)[0];if(l){f=l.getElementsByTagName(&quot;script&quot;);for(m=0;m&lt;f.length;m++){if(h(f[m])){return}}}return},is:function(g,f){if(!f){return g!==b}if(f==&quot;array&quot;&amp;&amp;c.isArray(g)){return true}return typeof
 (g)==f},isArray:Array.isArray||function(f){return Object.prototype.toString.call(f)===&quot;[object Array]&quot;},makeMap:function(f,j,h){var g;f=f||[];j=j||&quot;,&quot;;if(typeof(f)==&quot;string&quot;){f=f.split(j)}h=h||{};g=f.length;while(g--){h[f[g]]={}}return h},each:function(i,f,h){var j,g;if(!i){return 0}h=h||i;if(i.length!==b){for(j=0,g=i.length;j&lt;g;j++){if(f.call(h,i[j],j,i)===false){return 0}}}else{for(j in i){if(i.hasOwnProperty(j)){if(f.call(h,i[j],j,i)===false){return 0}}}}return 1},map:function(g,h){var i=[];c.each(g,function(f){i.push(h(f))});return i},grep:function(g,h){var i=[];c.each(g,function(f){if(!h||h(f)){i.push(f)}});return i},inArray:function(g,h){var j,f;if(g){for(j=0,f=g.length;j&lt;f;j++){if(g[j]===h){return j}}}return -1},extend:function(n,k){var j,f,h,g=arguments,m;for(j=1,f=g.length;j&lt;f;j++){k=g[j];for(h in k){if(k.hasOwnProperty(h)){m=k[h];if(m!==b){n[h]=m}}}}return n},trim:function(f){return(f?&quot;&quot;+f:&quot;&quot;).replace(a,&qu
 ot;&quot;)},create:function(o,f,j){var n=this,g,i,k,l,h,m=0;o=/^((static) )?([\w.]+)(:([\w.]+))?/.exec(o);k=o[3].match(/(^|\.)(\w+)$/i)[2];i=n.createNS(o[3].replace(/\.\w+$/,&quot;&quot;),j);if(i[k]){return}if(o[2]==&quot;static&quot;){i[k]=f;if(this.onCreate){this.onCreate(o[2],o[3],i[k])}return}if(!f[k]){f[k]=function(){};m=1}i[k]=f[k];n.extend(i[k].prototype,f);if(o[5]){g=n.resolve(o[5]).prototype;l=o[5].match(/\.(\w+)$/i)[1];h=i[k];if(m){i[k]=function(){return g[l].apply(this,arguments)}}else{i[k]=function(){this.parent=g[l];return h.apply(this,arguments)}}i[k].prototype[k]=i[k];n.each(g,function(p,q){i[k].prototype[q]=g[q]});n.each(f,function(p,q){if(g[q]){i[k].prototype[q]=function(){this.parent=g[q];return p.apply(this,arguments)}}else{if(q!=k){i[k].prototype[q]=p}}})}n.each(f[&quot;static&quot;],function(p,q){i[k][q]=p});if(this.onCreate){this.onCreate(o[2],o[3],i[k].prototype)}},walk:function(i,h,j,g){g=g||this;if(i){if(j){i=i[j]}c.each(i,function(k,f){if(h.call(g,k
 ,f,j)===false){return false}c.walk(k,h,j,g)})}},createNS:function(j,h){var g,f;h=h||e;j=j.split(&quot;.&quot;);for(g=0;g&lt;j.length;g++){f=j[g];if(!h[f]){h[f]={}}h=h[f]}return h},resolve:function(j,h){var g,f;h=h||e;j=j.split(&quot;.&quot;);for(g=0,f=j.length;g&lt;f;g++){h=h[j[g]];if(!h){break}}return h},addUnload:function(j,i){var h=this,g;g=function(){var f=h.unloads,l,m;if(f){for(m in f){l=f[m];if(l&amp;&amp;l.func){l.func.call(l.scope,1)}}if(e.detachEvent){e.detachEvent(&quot;onbeforeunload&quot;,k);e.detachEvent(&quot;onunload&quot;,g)}else{if(e.removeEventListener){e.removeEventListener(&quot;unload&quot;,g,false)}}h.unloads=l=f=w=g=0;if(e.CollectGarbage){CollectGarbage()}}};function k(){var l=document;function f(){l.detachEvent(&quot;onstop&quot;,f);if(g){g()}l=0}if(l.readyState==&quot;interactive&quot;){if(l){l.attachEvent(&quot;onstop&quot;,f)}e.setTimeout(function(){if(l){l.detachEvent(&quot;onstop&quot;,f)}},0)}}j={func:j,scope:i||this};if(!h.unloads){if(e.attach
 Event){e.attachEvent(&quot;onunload&quot;,g);e.attachEvent(&quot;onbeforeunload&quot;,k)}else{if(e.addEventListener){e.addEventListener(&quot;unload&quot;,g,false)}}h.unloads=[j]}else{h.unloads.push(j)}return j},removeUnload:function(i){var g=this.unloads,h=null;c.each(g,function(j,f){if(j&amp;&amp;j.func==i){g.splice(f,1);h=i;return false}});return h},explode:function(f,g){if(!f||c.is(f,&quot;array&quot;)){return f}return c.map(f.split(g||&quot;,&quot;),c.trim)},_addVer:function(g){var f;if(!this.query){return g}f=(g.indexOf(&quot;?&quot;)==-1?&quot;?&quot;:&quot;&amp;&quot;)+this.query;if(g.indexOf(&quot;#&quot;)==-1){return g+f}return g.replace(&quot;#&quot;,f+&quot;#&quot;)},_replace:function(h,f,g){if(d){return g.replace(h,function(){var l=f,j=arguments,k;for(k=0;k&lt;j.length-2;k++){if(j[k]===b){l=l.replace(new RegExp(&quot;\\$&quot;+k,&quot;g&quot;),&quot;&quot;)}else{l=l.replace(new RegExp(&quot;\\$&quot;+k,&quot;g&quot;),j[k])}}return l})}return g.replace(h,f)}};c._
 init();e.tinymce=e.tinyMCE=c})(window);tinymce.create(&quot;tinymce.util.Dispatcher&quot;,{scope:null,listeners:null,inDispatch:false,Dispatcher:function(a){this.scope=a||this;this.listeners=[]},add:function(b,a){this.listeners.push({cb:b,scope:a||this.scope});return b},addToTop:function(d,b){var a=this,c={cb:d,scope:b||a.scope};if(a.inDispatch){a.listeners=[c].concat(a.listeners)}else{a.listeners.unshift(c)}return d},remove:function(c){var b=this.listeners,a=null;tinymce.each(b,function(e,d){if(c==e.cb){a=e;b.splice(d,1);return false}});return a},dispatch:function(){var a=this,e,b=arguments,c,d=a.listeners,f;a.inDispatch=true;for(c=0;c&lt;d.length;c++){f=d[c];e=f.cb.apply(f.scope,b.length&gt;0?b:[f.scope]);if(e===false){break}}a.inDispatch=false;return e}});(function(){var a=tinymce.each;tinymce.create(&quot;tinymce.util.URI&quot;,{URI:function(e,g){var f=this,i,d,c,h;e=tinymce.trim(e);g=f.settings=g||{};if(/^([\w\-]+):([^\/]{2})/i.test(e)||/^\s*#/.test(e)){f.source=e;retur
 n}if(e.indexOf(&quot;/&quot;)===0&amp;&amp;e.indexOf(&quot;//&quot;)!==0){e=(g.base_uri?g.base_uri.protocol||&quot;http&quot;:&quot;http&quot;)+&quot;://mce_host&quot;+e}if(!/^[\w\-]*:?\/\//.test(e)){h=g.base_uri?g.base_uri.path:new tinymce.util.URI(location.href).directory;e=((g.base_uri&amp;&amp;g.base_uri.protocol)||&quot;http&quot;)+&quot;://mce_host&quot;+f.toAbsPath(h,e)}e=e.replace(/@@/g,&quot;(mce_at)&quot;);e=/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@\/]*):?([^:@\/]*))?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/.exec(e);a([&quot;source&quot;,&quot;protocol&quot;,&quot;authority&quot;,&quot;userInfo&quot;,&quot;user&quot;,&quot;password&quot;,&quot;host&quot;,&quot;port&quot;,&quot;relative&quot;,&quot;path&quot;,&quot;directory&quot;,&quot;file&quot;,&quot;query&quot;,&quot;anchor&quot;],function(b,j){var k=e[j];if(k){k=k.replace(/\(mce_at\)/g,&quot;@@&quot;)}f[b]=k});c=g.base_
 uri;if(c){if(!f.protocol){f.protocol=c.protocol}if(!f.userInfo){f.userInfo=c.userInfo}if(!f.port&amp;&amp;f.host===&quot;mce_host&quot;){f.port=c.port}if(!f.host||f.host===&quot;mce_host&quot;){f.host=c.host}f.source=&quot;&quot;}},setPath:function(c){var b=this;c=/^(.*?)\/?(\w+)?$/.exec(c);b.path=c[0];b.directory=c[1];b.file=c[2];b.source=&quot;&quot;;b.getURI()},toRelative:function(b){var d=this,f;if(b===&quot;./&quot;){return b}b=new tinymce.util.URI(b,{base_uri:d});if((b.host!=&quot;mce_host&quot;&amp;&amp;d.host!=b.host&amp;&amp;b.host)||d.port!=b.port||d.protocol!=b.protocol){return b.getURI()}var c=d.getURI(),e=b.getURI();if(c==e||(c.charAt(c.length-1)==&quot;/&quot;&amp;&amp;c.substr(0,c.length-1)==e)){return c}f=d.toRelPath(d.path,b.path);if(b.query){f+=&quot;?&quot;+b.query}if(b.anchor){f+=&quot;#&quot;+b.anchor}return f},toAbsolute:function(b,c){b=new tinymce.util.URI(b,{base_uri:this});return b.getURI(this.host==b.host&amp;&amp;this.protocol==b.protocol?c:0)},toR
 elPath:function(g,h){var c,f=0,d=&quot;&quot;,e,b;g=g.substring(0,g.lastIndexOf(&quot;/&quot;));g=g.split(&quot;/&quot;);c=h.split(&quot;/&quot;);if(g.length&gt;=c.length){for(e=0,b=g.length;e&lt;b;e++){if(e&gt;=c.length||g[e]!=c[e]){f=e+1;break}}}if(g.length&lt;c.length){for(e=0,b=c.length;e&lt;b;e++){if(e&gt;=g.length||g[e]!=c[e]){f=e+1;break}}}if(f===1){return h}for(e=0,b=g.length-(f-1);e&lt;b;e++){d+=&quot;../&quot;}for(e=f-1,b=c.length;e&lt;b;e++){if(e!=f-1){d+=&quot;/&quot;+c[e]}else{d+=c[e]}}return d},toAbsPath:function(e,f){var c,b=0,h=[],d,g;d=/\/$/.test(f)?&quot;/&quot;:&quot;&quot;;e=e.split(&quot;/&quot;);f=f.split(&quot;/&quot;);a(e,function(i){if(i){h.push(i)}});e=h;for(c=f.length-1,h=[];c&gt;=0;c--){if(f[c].length===0||f[c]===&quot;.&quot;){continue}if(f[c]===&quot;..&quot;){b++;continue}if(b&gt;0){b--;continue}h.push(f[c])}c=e.length-b;if(c&lt;=0){g=h.reverse().join(&quot;/&quot;)}else{g=e.slice(0,c).join(&quot;/&quot;)+&quot;/&quot;+h.reverse().join(&quot;/&
 quot;)}if(g.indexOf(&quot;/&quot;)!==0){g=&quot;/&quot;+g}if(d&amp;&amp;g.lastIndexOf(&quot;/&quot;)!==g.length-1){g+=d}return g},getURI:function(d){var c,b=this;if(!b.source||d){c=&quot;&quot;;if(!d){if(b.protocol){c+=b.protocol+&quot;://&quot;}if(b.userInfo){c+=b.userInfo+&quot;@&quot;}if(b.host){c+=b.host}if(b.port){c+=&quot;:&quot;+b.port}}if(b.path){c+=b.path}if(b.query){c+=&quot;?&quot;+b.query}if(b.anchor){c+=&quot;#&quot;+b.anchor}b.source=c}return b.source}})})();(function(){var a=tinymce.each;tinymce.create(&quot;static tinymce.util.Cookie&quot;,{getHash:function(d){var b=this.get(d),c;if(b){a(b.split(&quot;&amp;&quot;),function(e){e=e.split(&quot;=&quot;);c=c||{};c[unescape(e[0])]=unescape(e[1])})}return c},setHash:function(j,b,g,f,i,c){var h=&quot;&quot;;a(b,function(e,d){h+=(!h?&quot;&quot;:&quot;&amp;&quot;)+escape(d)+&quot;=&quot;+escape(e)});this.set(j,h,g,f,i,c)},get:function(i){var h=document.cookie,g,f=i+&quot;=&quot;,d;if(!h){return}d=h.indexOf(&quot;; &q
 uot;+f);if(d==-1){d=h.indexOf(f);if(d!==0){return null}}else{d+=2}g=h.indexOf(&quot;;&quot;,d);if(g==-1){g=h.length}return unescape(h.substring(d+f.length,g))},set:function(i,b,g,f,h,c){document.cookie=i+&quot;=&quot;+escape(b)+((g)?&quot;; expires=&quot;+g.toGMTString():&quot;&quot;)+((f)?&quot;; path=&quot;+escape(f):&quot;&quot;)+((h)?&quot;; domain=&quot;+h:&quot;&quot;)+((c)?&quot;; secure&quot;:&quot;&quot;)},remove:function(c,e,d){var b=new Date();b.setTime(b.getTime()-1000);this.set(c,&quot;&quot;,b,e,d)}})})();(function(){function serialize(o,quote){var i,v,t,name;quote=quote||'&quot;';if(o==null){return&quot;null&quot;}t=typeof o;if(t==&quot;string&quot;){v=&quot;\bb\tt\nn\ff\rr\&quot;\&quot;''\\\\&quot;;return quote+o.replace(/([\u0080-\uFFFF\x00-\x1f\&quot;\'\\])/g,function(a,b){if(quote==='&quot;'&amp;&amp;a===&quot;'&quot;){return a}i=v.indexOf(b);if(i+1){return&quot;\\&quot;+v.charAt(i+1)}a=b.charCodeAt().toString(16);return&quot;\\u&quot;+&quot;0000&quot;.sub
 string(a.length)+a})+quote}if(t==&quot;object&quot;){if(o.hasOwnProperty&amp;&amp;Object.prototype.toString.call(o)===&quot;[object Array]&quot;){for(i=0,v=&quot;[&quot;;i&lt;o.length;i++){v+=(i&gt;0?&quot;,&quot;:&quot;&quot;)+serialize(o[i],quote)}return v+&quot;]&quot;}v=&quot;{&quot;;for(name in o){if(o.hasOwnProperty(name)){v+=typeof o[name]!=&quot;function&quot;?(v.length&gt;1?&quot;,&quot;+quote:quote)+name+quote+&quot;:&quot;+serialize(o[name],quote):&quot;&quot;}}return v+&quot;}&quot;}return&quot;&quot;+o}tinymce.util.JSON={serialize:serialize,parse:function(s){try{return eval(&quot;(&quot;+s+&quot;)&quot;)}catch(ex){}}}})();tinymce.create(&quot;static tinymce.util.XHR&quot;,{send:function(g){var a,e,b=window,h=0;function f(){if(!g.async||a.readyState==4||h++&gt;10000){if(g.success&amp;&amp;h&lt;10000&amp;&amp;a.status==200){g.success.call(g.success_scope,&quot;&quot;+a.responseText,a,g)}else{if(g.error){g.error.call(g.error_scope,h&gt;10000?&quot;TIMED_OUT&quot;:&
 quot;GENERAL&quot;,a,g)}}a=null}else{b.setTimeout(f,10)}}g.scope=g.scope||this;g.success_scope=g.success_scope||g.scope;g.error_scope=g.error_scope||g.scope;g.async=g.async===false?false:true;g.data=g.data||&quot;&quot;;function d(i){a=0;try{a=new ActiveXObject(i)}catch(c){}return a}a=b.XMLHttpRequest?new XMLHttpRequest():d(&quot;Microsoft.XMLHTTP&quot;)||d(&quot;Msxml2.XMLHTTP&quot;);if(a){if(a.overrideMimeType){a.overrideMimeType(g.content_type)}a.open(g.type||(g.data?&quot;POST&quot;:&quot;GET&quot;),g.url,g.async);if(g.content_type){a.setRequestHeader(&quot;Content-Type&quot;,g.content_type)}a.setRequestHeader(&quot;X-Requested-With&quot;,&quot;XMLHttpRequest&quot;);a.send(g.data);if(!g.async){return f()}e=b.setTimeout(f,10)}}});(function(){var c=tinymce.extend,b=tinymce.util.JSON,a=tinymce.util.XHR;tinymce.create(&quot;tinymce.util.JSONRequest&quot;,{JSONRequest:function(d){this.settings=c({},d);this.count=0},send:function(f){var e=f.error,d=f.success;f=c(this.settings,
 f);f.success=function(h,g){h=b.parse(h);if(typeof(h)==&quot;undefined&quot;){h={error:&quot;JSON Parse error.&quot;}}if(h.error){e.call(f.error_scope||f.scope,h.error,g)}else{d.call(f.success_scope||f.scope,h.result)}};f.error=function(h,g){if(e){e.call(f.error_scope||f.scope,h,g)}};f.data=b.serialize({id:f.id||&quot;c&quot;+(this.count++),method:f.method,params:f.params});f.content_type=&quot;application/json&quot;;a.send(f)},&quot;static&quot;:{sendRPC:function(d){return new tinymce.util.JSONRequest().send(d)}}})}());(function(a){a.VK={BACKSPACE:8,DELETE:46,DOWN:40,ENTER:13,LEFT:37,RIGHT:39,SPACEBAR:32,TAB:9,UP:38,modifierPressed:function(b){return b.shiftKey||b.ctrlKey||b.altKey},metaKeyPressed:function(b){return a.isMac?b.metaKey:b.ctrlKey&amp;&amp;!b.altKey}}})(tinymce);tinymce.util.Quirks=function(a){var j=tinymce.VK,f=j.BACKSPACE,k=j.DELETE,e=a.dom,l=a.selection,H=a.settings,v=a.parser,o=a.serializer,E=tinymce.each;function A(N,M){try{a.getDoc().execCommand(N,false,M)
 }catch(L){}}function n(){var L=a.getDoc().documentMode;return L?L:6}function z(L){return L.isDefaultPrevented()}function J(){function L(O){var M,Q,N,P;M=l.getRng();Q=e.getParent(M.startContainer,e.isBlock);if(O){Q=e.getNext(Q,e.isBlock)}if(Q){N=Q.firstChild;while(N&amp;&amp;N.nodeType==3&amp;&amp;N.nodeValue.length===0){N=N.nextSibling}if(N&amp;&amp;N.nodeName===&quot;SPAN&quot;){P=N.cloneNode(false)}}E(e.select(&quot;span&quot;,Q),function(R){R.setAttribute(&quot;data-mce-mark&quot;,&quot;1&quot;)});a.getDoc().execCommand(O?&quot;ForwardDelete&quot;:&quot;Delete&quot;,false,null);Q=e.getParent(M.startContainer,e.isBlock);E(e.select(&quot;span&quot;,Q),function(R){var S=l.getBookmark();if(P){e.replace(P.cloneNode(false),R,true)}else{if(!R.getAttribute(&quot;data-mce-mark&quot;)){e.remove(R,true)}else{R.removeAttribute(&quot;data-mce-mark&quot;)}}l.moveToBookmark(S)})}a.onKeyDown.add(function(M,O){var N;N=O.keyCode==k;if(!z(O)&amp;&amp;(N||O.keyCode==f)&amp;&amp;!j.modifierPr
 essed(O)){O.preventDefault();L(N)}});a.addCommand(&quot;Delete&quot;,function(){L()})}function q(){function L(O){var N=e.create(&quot;body&quot;);var P=O.cloneContents();N.appendChild(P);return l.serializer.serialize(N,{format:&quot;html&quot;})}function M(N){var P=L(N);var Q=e.createRng();Q.selectNode(a.getBody());var O=L(Q);return P===O}a.onKeyDown.add(function(O,Q){var P=Q.keyCode,N;if(!z(Q)&amp;&amp;(P==k||P==f)){N=O.selection.isCollapsed();if(N&amp;&amp;!e.isEmpty(O.getBody())){return}if(tinymce.isIE&amp;&amp;!N){return}if(!N&amp;&amp;!M(O.selection.getRng())){return}O.setContent(&quot;&quot;);O.selection.setCursorLocation(O.getBody(),0);O.nodeChanged()}})}function I(){a.onKeyDown.add(function(L,M){if(!z(M)&amp;&amp;M.keyCode==65&amp;&amp;j.metaKeyPressed(M)){M.preventDefault();L.execCommand(&quot;SelectAll&quot;)}})}function K(){if(!a.settings.content_editable){e.bind(a.getDoc(),&quot;focusin&quot;,function(L){l.setRng(l.getRng())});e.bind(a.getDoc(),&quot;mousedown&qu
 ot;,function(L){if(L.target==a.getDoc().documentElement){a.getWin().focus();l.setRng(l.getRng())}})}}function B(){a.onKeyDown.add(function(L,O){if(!z(O)&amp;&amp;O.keyCode===f){if(l.isCollapsed()&amp;&amp;l.getRng(true).startOffset===0){var N=l.getNode();var M=N.previousSibling;if(M&amp;&amp;M.nodeName&amp;&amp;M.nodeName.toLowerCase()===&quot;hr&quot;){e.remove(M);tinymce.dom.Event.cancel(O)}}}})}function y(){if(!Range.prototype.getClientRects){a.onMouseDown.add(function(M,N){if(!z(N)&amp;&amp;N.target.nodeName===&quot;HTML&quot;){var L=M.getBody();L.blur();setTimeout(function(){L.focus()},0)}})}}function h(){a.onClick.add(function(L,M){M=M.target;if(/^(IMG|HR)$/.test(M.nodeName)){l.getSel().setBaseAndExtent(M,0,M,1)}if(M.nodeName==&quot;A&quot;&amp;&amp;e.hasClass(M,&quot;mceItemAnchor&quot;)){l.select(M)}L.nodeChanged()})}function c(){function M(){var O=e.getAttribs(l.getStart().cloneNode(false));return function(){var P=l.getStart();if(P!==a.getBody()){e.setAttrib(P,&quot
 ;style&quot;,null);E(O,function(Q){P.setAttributeNode(Q.cloneNode(true))})}}}function L(){return !l.isCollapsed()&amp;&amp;e.getParent(l.getStart(),e.isBlock)!=e.getParent(l.getEnd(),e.isBlock)}function N(O,P){P.preventDefault();return false}a.onKeyPress.add(function(O,Q){var P;if(!z(Q)&amp;&amp;(Q.keyCode==8||Q.keyCode==46)&amp;&amp;L()){P=M();O.getDoc().execCommand(&quot;delete&quot;,false,null);P();Q.preventDefault();return false}});e.bind(a.getDoc(),&quot;cut&quot;,function(P){var O;if(!z(P)&amp;&amp;L()){O=M();a.onKeyUp.addToTop(N);setTimeout(function(){O();a.onKeyUp.remove(N)},0)}})}function b(){var M,L;e.bind(a.getDoc(),&quot;selectionchange&quot;,function(){if(L){clearTimeout(L);L=0}L=window.setTimeout(function(){var N=l.getRng();if(!M||!tinymce.dom.RangeUtils.compareRanges(N,M)){a.nodeChanged();M=N}},50)})}function x(){document.body.setAttribute(&quot;role&quot;,&quot;application&quot;)}function t(){a.onKeyDown.add(function(L,N){if(!z(N)&amp;&amp;N.keyCode===f){if(l
 .isCollapsed()&amp;&amp;l.getRng(true).startOffset===0){var M=l.getNode().previousSibling;if(M&amp;&amp;M.nodeName&amp;&amp;M.nodeName.toLowerCase()===&quot;table&quot;){return tinymce.dom.Event.cancel(N)}}}})}function C(){if(n()&gt;7){return}A(&quot;RespectVisibilityInDesign&quot;,true);a.contentStyles.push(&quot;.mceHideBrInPre pre br {display: none}&quot;);e.addClass(a.getBody(),&quot;mceHideBrInPre&quot;);v.addNodeFilter(&quot;pre&quot;,function(L,N){var O=L.length,Q,M,R,P;while(O--){Q=L[O].getAll(&quot;br&quot;);M=Q.length;while(M--){R=Q[M];P=R.prev;if(P&amp;&amp;P.type===3&amp;&amp;P.value.charAt(P.value-1)!=&quot;\n&quot;){P.value+=&quot;\n&quot;}else{R.parent.insert(new tinymce.html.Node(&quot;#text&quot;,3),R,true).value=&quot;\n&quot;}}}});o.addNodeFilter(&quot;pre&quot;,function(L,N){var O=L.length,Q,M,R,P;while(O--){Q=L[O].getAll(&quot;br&quot;);M=Q.length;while(M--){R=Q[M];P=R.prev;if(P&amp;&amp;P.type==3){P.value=P.value.replace(/\r?\n$/,&quot;&quot;)}}}})}func
 tion g(){e.bind(a.getBody(),&quot;mouseup&quot;,function(N){var M,L=l.getNode();if(L.nodeName==&quot;IMG&quot;){if(M=e.getStyle(L,&quot;width&quot;)){e.setAttrib(L,&quot;width&quot;,M.replace(/[^0-9%]+/g,&quot;&quot;));e.setStyle(L,&quot;width&quot;,&quot;&quot;)}if(M=e.getStyle(L,&quot;height&quot;)){e.setAttrib(L,&quot;height&quot;,M.replace(/[^0-9%]+/g,&quot;&quot;));e.setStyle(L,&quot;height&quot;,&quot;&quot;)}}})}function d(){a.onKeyDown.add(function(R,S){var Q,L,M,O,P,T,N;Q=S.keyCode==k;if(!z(S)&amp;&amp;(Q||S.keyCode==f)&amp;&amp;!j.modifierPressed(S)){L=l.getRng();M=L.startContainer;O=L.startOffset;N=L.collapsed;if(M.nodeType==3&amp;&amp;M.nodeValue.length&gt;0&amp;&amp;((O===0&amp;&amp;!N)||(N&amp;&amp;O===(Q?0:1)))){nonEmptyElements=R.schema.getNonEmptyElements();S.preventDefault();P=e.create(&quot;br&quot;,{id:&quot;__tmp&quot;});M.parentNode.insertBefore(P,M);R.getDoc().execCommand(Q?&quot;ForwardDelete&quot;:&quot;Delete&quot;,false,null);M=l.getRng().startCont
 ainer;T=M.previousSibling;if(T&amp;&amp;T.nodeType==1&amp;&amp;!e.isBlock(T)&amp;&amp;e.isEmpty(T)&amp;&amp;!nonEmptyElements[T.nodeName.toLowerCase()]){e.remove(T)}e.remove(&quot;__tmp&quot;)}}})}function G(){a.onKeyDown.add(function(P,Q){var N,M,R,L,O;if(z(Q)||Q.keyCode!=j.BACKSPACE){return}N=l.getRng();M=N.startContainer;R=N.startOffset;L=e.getRoot();O=M;if(!N.collapsed||R!==0){return}while(O&amp;&amp;O.parentNode&amp;&amp;O.parentNode.firstChild==O&amp;&amp;O.parentNode!=L){O=O.parentNode}if(O.tagName===&quot;BLOCKQUOTE&quot;){P.formatter.toggle(&quot;blockquote&quot;,null,O);N=e.createRng();N.setStart(M,0);N.setEnd(M,0);l.setRng(N)}})}function F(){function L(){a._refreshContentEditable();A(&quot;StyleWithCSS&quot;,false);A(&quot;enableInlineTableEditing&quot;,false);if(!H.object_resizing){A(&quot;enableObjectResizing&quot;,false)}}if(!H.readonly){a.onBeforeExecCommand.add(L);a.onMouseDown.add(L)}}function s(){function L(M,N){E(e.select(&quot;a&quot;),function(Q){var O=Q
 .parentNode,P=e.getRoot();if(O.lastChild===Q){while(O&amp;&amp;!e.isBlock(O)){if(O.parentNode.lastChild!==O||O===P){return}O=O.parentNode}e.add(O,&quot;br&quot;,{&quot;data-mce-bogus&quot;:1})}})}a.onExecCommand.add(function(M,N){if(N===&quot;CreateLink&quot;){L(M)}});a.onSetContent.add(l.onSetContent.add(L))}function m(){if(H.forced_root_block){a.onInit.add(function(){A(&quot;DefaultParagraphSeparator&quot;,H.forced_root_block)})}}function p(){function L(N,M){if(!N||!M.initial){a.execCommand(&quot;mceRepaint&quot;)}}a.onUndo.add(L);a.onRedo.add(L);a.onSetContent.add(L)}function i(){a.onKeyDown.add(function(M,N){var L;if(!z(N)&amp;&amp;N.keyCode==f){L=M.getDoc().selection.createRange();if(L&amp;&amp;L.item){N.preventDefault();M.undoManager.beforeChange();e.remove(L.item(0));M.undoManager.add()}}})}function r(){var L;if(n()&gt;=10){L=&quot;&quot;;E(&quot;p div h1 h2 h3 h4 h5 h6&quot;.split(&quot; &quot;),function(M,N){L+=(N&gt;0?&quot;,&quot;:&quot;&quot;)+M+&quot;:empty&quot
 ;});a.contentStyles.push(L+&quot;{padding-right: 1px !important}&quot;)}}function u(){var N,M,ad,L,Y,ab,Z,ac,O,P,aa,W,V,X=document,T=a.getDoc();if(!H.object_resizing||H.webkit_fake_resize===false){return}A(&quot;enableObjectResizing&quot;,false);aa={n:[0.5,0,0,-1],e:[1,0.5,1,0],s:[0.5,1,0,1],w:[0,0.5,-1,0],nw:[0,0,-1,-1],ne:[1,0,1,-1],se:[1,1,1,1],sw:[0,1,-1,1]};function R(ah){var ag,af;ag=ah.screenX-ab;af=ah.screenY-Z;W=ag*Y[2]+ac;V=af*Y[3]+O;W=W&lt;5?5:W;V=V&lt;5?5:V;if(j.modifierPressed(ah)||(ad.nodeName==&quot;IMG&quot;&amp;&amp;Y[2]*Y[3]!==0)){W=Math.round(V/P);V=Math.round(W*P)}e.setStyles(L,{width:W,height:V});if(Y[2]&lt;0&amp;&amp;L.clientWidth&lt;=W){e.setStyle(L,&quot;left&quot;,N+(ac-W))}if(Y[3]&lt;0&amp;&amp;L.clientHeight&lt;=V){e.setStyle(L,&quot;top&quot;,M+(O-V))}}function ae(){function af(ag,ah){if(ah){if(ad.style[ag]||!a.schema.isValid(ad.nodeName.toLowerCase(),ag)){e.setStyle(ad,ag,ah)}else{e.setAttrib(ad,ag,ah)}}}af(&quot;width&quot;,W);af(&quot;height&qu
 ot;,V);e.unbind(T,&quot;mousemove&quot;,R);e.unbind(T,&quot;mouseup&quot;,ae);if(X!=T){e.unbind(X,&quot;mousemove&quot;,R);e.unbind(X,&quot;mouseup&quot;,ae)}e.remove(L);Q(ad)}function Q(ai){var ag,ah,af;S();ag=e.getPos(ai);N=ag.x;M=ag.y;ah=ai.offsetWidth;af=ai.offsetHeight;if(ad!=ai){ad=ai;W=V=0}E(aa,function(al,aj){var ak;ak=e.get(&quot;mceResizeHandle&quot;+aj);if(!ak){ak=e.add(T.documentElement,&quot;div&quot;,{id:&quot;mceResizeHandle&quot;+aj,&quot;class&quot;:&quot;mceResizeHandle&quot;,style:&quot;cursor:&quot;+aj+&quot;-resize; margin:0; padding:0&quot;});e.bind(ak,&quot;mousedown&quot;,function(am){am.preventDefault();ae();ab=am.screenX;Z=am.screenY;ac=ad.clientWidth;O=ad.clientHeight;P=O/ac;Y=al;L=ad.cloneNode(true);e.addClass(L,&quot;mceClonedResizable&quot;);e.setStyles(L,{left:N,top:M,margin:0});T.documentElement.appendChild(L);e.bind(T,&quot;mousemove&quot;,R);e.bind(T,&quot;mouseup&quot;,ae);if(X!=T){e.bind(X,&quot;mousemove&quot;,R);e.bind(X,&quot;mouseup&qu
 ot;,ae)}})}else{e.show(ak)}e.setStyles(ak,{left:(ah*al[0]+N)-(ak.offsetWidth/2),top:(af*al[1]+M)-(ak.offsetHeight/2)})});if(!tinymce.isOpera&amp;&amp;ad.nodeName==&quot;IMG&quot;){ad.setAttribute(&quot;data-mce-selected&quot;,&quot;1&quot;)}}function S(){if(ad){ad.removeAttribute(&quot;data-mce-selected&quot;)}for(var af in aa){e.hide(&quot;mceResizeHandle&quot;+af)}}a.contentStyles.push(&quot;.mceResizeHandle {position: absolute;border: 1px solid black;background: #FFF;width: 5px;height: 5px;z-index: 10000}.mceResizeHandle:hover {background: #000}img[data-mce-selected] {outline: 1px solid black}img.mceClonedResizable, table.mceClonedResizable {position: absolute;outline: 1px dashed black;opacity: .5;z-index: 10000}&quot;);function U(){var af=e.getParent(l.getNode(),&quot;table,img&quot;);E(e.select(&quot;img[data-mce-selected]&quot;),function(ag){ag.removeAttribute(&quot;data-mce-selected&quot;)});if(af){Q(af)}else{S()}}a.onNodeChange.add(U);e.bind(T,&quot;selectionchange&q
 uot;,U);a.serializer.addAttributeFilter(&quot;data-mce-selected&quot;,function(af,ag){var ah=af.length;while(ah--){af[ah].attr(ag,null)}})}function D(){if(n()&lt;9){v.addNodeFilter(&quot;noscript&quot;,function(L){var M=L.length,N,O;while(M--){N=L[M];O=N.firstChild;if(O){N.attr(&quot;data-mce-innertext&quot;,O.value)}}});o.addNodeFilter(&quot;noscript&quot;,function(L){var M=L.length,N,P,O;while(M--){N=L[M];P=L[M].firstChild;if(P){P.value=tinymce.html.Entities.decode(P.value)}else{O=N.attributes.map[&quot;data-mce-innertext&quot;];if(O){N.attr(&quot;data-mce-innertext&quot;,null);P=new tinymce.html.Node(&quot;#text&quot;,3);P.value=O;P.raw=true;N.append(P)}}}})}}t();G();q();if(tinymce.isWebKit){d();J();K();h();m();if(tinymce.isIDevice){b()}else{u();I()}}if(tinymce.isIE){B();x();C();g();i();r();D()}if(tinymce.isGecko){B();y();c();F();s();p()}if(tinymce.isOpera){u()}};(function(j){var a,g,d,k=/[&amp;&lt;&gt;\&quot;\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,b=
 /[&lt;&gt;&amp;\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,f=/[&lt;&gt;&amp;\&quot;\']/g,c=/&amp;(#x|#)?([\w]+);/g,i={128:&quot;\u20AC&quot;,130:&quot;\u201A&quot;,131:&quot;\u0192&quot;,132:&quot;\u201E&quot;,133:&quot;\u2026&quot;,134:&quot;\u2020&quot;,135:&quot;\u2021&quot;,136:&quot;\u02C6&quot;,137:&quot;\u2030&quot;,138:&quot;\u0160&quot;,139:&quot;\u2039&quot;,140:&quot;\u0152&quot;,142:&quot;\u017D&quot;,145:&quot;\u2018&quot;,146:&quot;\u2019&quot;,147:&quot;\u201C&quot;,148:&quot;\u201D&quot;,149:&quot;\u2022&quot;,150:&quot;\u2013&quot;,151:&quot;\u2014&quot;,152:&quot;\u02DC&quot;,153:&quot;\u2122&quot;,154:&quot;\u0161&quot;,155:&quot;\u203A&quot;,156:&quot;\u0153&quot;,158:&quot;\u017E&quot;,159:&quot;\u0178&quot;};g={'&quot;':&quot;&amp;quot;&quot;,&quot;'&quot;:&quot;&amp;#39;&quot;,&quot;&lt;&quot;:&quot;&amp;lt;&quot;,&quot;&gt;&quot;:&quot;&amp;gt;&quot;,&quot;&amp;&quot;:&quot;&amp;amp;&quot;};d={&quot;&amp;lt;&quot;:&quot;&lt;&quot;,&qu
 ot;&amp;gt;&quot;:&quot;&gt;&quot;,&quot;&amp;amp;&quot;:&quot;&amp;&quot;,&quot;&amp;quot;&quot;:'&quot;',&quot;&amp;apos;&quot;:&quot;'&quot;};function h(l){var m;m=document.createElement(&quot;div&quot;);m.innerHTML=l;return m.textContent||m.innerText||l}function e(m,p){var n,o,l,q={};if(m){m=m.split(&quot;,&quot;);p=p||10;for(n=0;n&lt;m.length;n+=2){o=String.fromCharCode(parseInt(m[n],p));if(!g[o]){l=&quot;&amp;&quot;+m[n+1]+&quot;;&quot;;q[o]=l;q[l]=o}}return q}}a=e(&quot;50,nbsp,51,iexcl,52,cent,53,pound,54,curren,55,yen,56,brvbar,57,sect,58,uml,59,copy,5a,ordf,5b,laquo,5c,not,5d,shy,5e,reg,5f,macr,5g,deg,5h,plusmn,5i,sup2,5j,sup3,5k,acute,5l,micro,5m,para,5n,middot,5o,cedil,5p,sup1,5q,ordm,5r,raquo,5s,frac14,5t,frac12,5u,frac34,5v,iquest,60,Agrave,61,Aacute,62,Acirc,63,Atilde,64,Auml,65,Aring,66,AElig,67,Ccedil,68,Egrave,69,Eacute,6a,Ecirc,6b,Euml,6c,Igrave,6d,Iacute,6e,Icirc,6f,Iuml,6g,ETH,6h,Ntilde,6i,Ograve,6j,Oacute,6k,Ocirc,6l,Otilde,6m,Ouml,6n,times,6o,Oslash,6p
 ,Ugrave,6q,Uacute,6r,Ucirc,6s,Uuml,6t,Yacute,6u,THORN,6v,szlig,70,agrave,71,aacute,72,acirc,73,atilde,74,auml,75,aring,76,aelig,77,ccedil,78,egrave,79,eacute,7a,ecirc,7b,euml,7c,igrave,7d,iacute,7e,icirc,7f,iuml,7g,eth,7h,ntilde,7i,ograve,7j,oacute,7k,ocirc,7l,otilde,7m,ouml,7n,divide,7o,oslash,7p,ugrave,7q,uacute,7r,ucirc,7s,uuml,7t,yacute,7u,thorn,7v,yuml,ci,fnof,sh,Alpha,si,Beta,sj,Gamma,sk,Delta,sl,Epsilon,sm,Zeta,sn,Eta,so,Theta,sp,Iota,sq,Kappa,sr,Lambda,ss,Mu,st,Nu,su,Xi,sv,Omicron,t0,Pi,t1,Rho,t3,Sigma,t4,Tau,t5,Upsilon,t6,Phi,t7,Chi,t8,Psi,t9,Omega,th,alpha,ti,beta,tj,gamma,tk,delta,tl,epsilon,tm,zeta,tn,eta,to,theta,tp,iota,tq,kappa,tr,lambda,ts,mu,tt,nu,tu,xi,tv,omicron,u0,pi,u1,rho,u2,sigmaf,u3,sigma,u4,tau,u5,upsilon,u6,phi,u7,chi,u8,psi,u9,omega,uh,thetasym,ui,upsih,um,piv,812,bull,816,hellip,81i,prime,81j,Prime,81u,oline,824,frasl,88o,weierp,88h,image,88s,real,892,trade,89l,alefsym,8cg,larr,8ch,uarr,8ci,rarr,8cj,darr,8ck,harr,8dl,crarr,8eg,lArr,8eh,uArr,8ei,rA
 rr,8ej,dArr,8ek,hArr,8g0,forall,8g2,part,8g3,exist,8g5,empty,8g7,nabla,8g8,isin,8g9,notin,8gb,ni,8gf,prod,8gh,sum,8gi,minus,8gn,lowast,8gq,radic,8gt,prop,8gu,infin,8h0,ang,8h7,and,8h8,or,8h9,cap,8ha,cup,8hb,int,8hk,there4,8hs,sim,8i5,cong,8i8,asymp,8j0,ne,8j1,equiv,8j4,le,8j5,ge,8k2,sub,8k3,sup,8k4,nsub,8k6,sube,8k7,supe,8kl,oplus,8kn,otimes,8l5,perp,8m5,sdot,8o8,lceil,8o9,rceil,8oa,lfloor,8ob,rfloor,8p9,lang,8pa,rang,9ea,loz,9j0,spades,9j3,clubs,9j5,hearts,9j6,diams,ai,OElig,aj,oelig,b0,Scaron,b1,scaron,bo,Yuml,m6,circ,ms,tilde,802,ensp,803,emsp,809,thinsp,80c,zwnj,80d,zwj,80e,lrm,80f,rlm,80j,ndash,80k,mdash,80o,lsquo,80p,rsquo,80q,sbquo,80s,ldquo,80t,rdquo,80u,bdquo,810,dagger,811,Dagger,81g,permil,81p,lsaquo,81q,rsaquo,85c,euro&quot;,32);j.html=j.html||{};j.html.Entities={encodeRaw:function(m,l){return m.replace(l?k:b,function(n){return g[n]||n})},encodeAllRaw:function(l){return(&quot;&quot;+l).replace(f,function(m){return g[m]||m})},encodeNumeric:function(m,l){return m.r
 eplace(l?k:b,function(n){if(n.length&gt;1){return&quot;&amp;#&quot;+(((n.charCodeAt(0)-55296)*1024)+(n.charCodeAt(1)-56320)+65536)+&quot;;&quot;}return g[n]||&quot;&amp;#&quot;+n.charCodeAt(0)+&quot;;&quot;})},encodeNamed:function(n,l,m){m=m||a;return n.replace(l?k:b,function(o){return g[o]||m[o]||o})},getEncodeFunc:function(l,o){var p=j.html.Entities;o=e(o)||a;function m(r,q){return r.replace(q?k:b,function(s){return g[s]||o[s]||&quot;&amp;#&quot;+s.charCodeAt(0)+&quot;;&quot;||s})}function n(r,q){return p.encodeNamed(r,q,o)}l=j.makeMap(l.replace(/\+/g,&quot;,&quot;));if(l.named&amp;&amp;l.numeric){return m}if(l.named){if(o){return n}return p.encodeNamed}if(l.numeric){return p.encodeNumeric}return p.encodeRaw},decode:function(l){return l.replace(c,function(n,m,o){if(m){o=parseInt(o,m.length===2?16:10);if(o&gt;65535){o-=65536;return String.fromCharCode(55296+(o&gt;&gt;10),56320+(o&amp;1023))}else{return i[o]||String.fromCharCode(o)}}return d[n]||a[n]||h(n)})}}})(tinymce);tin
 ymce.html.Styles=function(d,f){var k=/rgb\s*\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*\)/gi,h=/(?:url(?:(?:\(\s*\&quot;([^\&quot;]+)\&quot;\s*\))|(?:\(\s*\'([^\']+)\'\s*\))|(?:\(\s*([^)\s]+)\s*\))))|(?:\'([^\']+)\')|(?:\&quot;([^\&quot;]+)\&quot;)/gi,b=/\s*([^:]+):\s*([^;]+);?/g,l=/\s+$/,m=/rgb/,e,g,a={},j;d=d||{};j=&quot;\\\&quot; \\' \\; \\: ; : \uFEFF&quot;.split(&quot; &quot;);for(g=0;g&lt;j.length;g++){a[j[g]]=&quot;\uFEFF&quot;+g;a[&quot;\uFEFF&quot;+g]=j[g]}function c(n,q,p,i){function o(r){r=parseInt(r).toString(16);return r.length&gt;1?r:&quot;0&quot;+r}return&quot;#&quot;+o(q)+o(p)+o(i)}return{toHex:function(i){return i.replace(k,c)},parse:function(s){var z={},q,n,x,r,v=d.url_converter,y=d.url_converter_scope||this;function p(D,G){var F,C,B,E;F=z[D+&quot;-top&quot;+G];if(!F){return}C=z[D+&quot;-right&quot;+G];if(F!=C){return}B=z[D+&quot;-bottom&quot;+G];if(C!=B){return}E=z[D+&quot;-left&quot;+G];if(B!=E){return}z[D+G]=E;delete z[D+&quot;-top&quot;+G];delete z[D
 +&quot;-right&quot;+G];delete z[D+&quot;-bottom&quot;+G];delete z[D+&quot;-left&quot;+G]}function u(C){var D=z[C],B;if(!D||D.indexOf(&quot; &quot;)&lt;0){return}D=D.split(&quot; &quot;);B=D.length;while(B--){if(D[B]!==D[0]){return false}}z[C]=D[0];return true}function A(D,C,B,E){if(!u(C)){return}if(!u(B)){return}if(!u(E)){return}z[D]=z[C]+&quot; &quot;+z[B]+&quot; &quot;+z[E];delete z[C];delete z[B];delete z[E]}function t(B){r=true;return a[B]}function i(C,B){if(r){C=C.replace(/\uFEFF[0-9]/g,function(D){return a[D]})}if(!B){C=C.replace(/\\([\'\&quot;;:])/g,&quot;$1&quot;)}return C}function o(C,B,F,E,G,D){G=G||D;if(G){G=i(G);return&quot;'&quot;+G.replace(/\'/g,&quot;\\'&quot;)+&quot;'&quot;}B=i(B||F||E);if(v){B=v.call(y,B,&quot;style&quot;)}return&quot;url('&quot;+B.replace(/\'/g,&quot;\\'&quot;)+&quot;')&quot;}if(s){s=s.replace(/\\[\&quot;\';:\uFEFF]/g,t).replace(/\&quot;[^\&quot;]+\&quot;|\'[^\']+\'/g,function(B){return B.replace(/[;:]/g,t)});while(q=b.exec(s)){n=q[1].repla
 ce(l,&quot;&quot;).toLowerCase();x=q[2].replace(l,&quot;&quot;);if(n&amp;&amp;x.length&gt;0){if(n===&quot;font-weight&quot;&amp;&amp;x===&quot;700&quot;){x=&quot;bold&quot;}else{if(n===&quot;color&quot;||n===&quot;background-color&quot;){x=x.toLowerCase()}}x=x.replace(k,c);x=x.replace(h,o);z[n]=r?i(x,true):x}b.lastIndex=q.index+q[0].length}p(&quot;border&quot;,&quot;&quot;);p(&quot;border&quot;,&quot;-width&quot;);p(&quot;border&quot;,&quot;-color&quot;);p(&quot;border&quot;,&quot;-style&quot;);p(&quot;padding&quot;,&quot;&quot;);p(&quot;margin&quot;,&quot;&quot;);A(&quot;border&quot;,&quot;border-width&quot;,&quot;border-style&quot;,&quot;border-color&quot;);if(z.border===&quot;medium none&quot;){delete z.border}}return z},serialize:function(p,r){var o=&quot;&quot;,n,q;function i(t){var x,u,s,v;x=f.styles[t];if(x){for(u=0,s=x.length;u&lt;s;u++){t=x[u];v=p[t];if(v!==e&amp;&amp;v.length&gt;0){o+=(o.length&gt;0?&quot; &quot;:&quot;&quot;)+t+&quot;: &quot;+v+&quot;;&quot;}}}}if
 (r&amp;&amp;f&amp;&amp;f.styles){i(&quot;*&quot;);i(r)}else{for(n in p){q=p[n];if(q!==e&amp;&amp;q.length&gt;0){o+=(o.length&gt;0?&quot; &quot;:&quot;&quot;)+n+&quot;: &quot;+q+&quot;;&quot;}}}return o}}};(function(f){var a={},e=f.makeMap,g=f.each;function d(j,i){return j.split(i||&quot;,&quot;)}function h(m,l){var j,k={};function i(n){return n.replace(/[A-Z]+/g,function(o){return i(m[o])})}for(j in m){if(m.hasOwnProperty(j)){m[j]=i(m[j])}}i(l).replace(/#/g,&quot;#text&quot;).replace(/(\w+)\[([^\]]+)\]\[([^\]]*)\]/g,function(q,o,n,p){n=d(n,&quot;|&quot;);k[o]={attributes:e(n),attributesOrder:n,children:e(p,&quot;|&quot;,{&quot;#comment&quot;:{}})}});return k}function b(){var i=a.html5;if(!i){i=a.html5=h({A:&quot;id|accesskey|class|dir|draggable|item|hidden|itemprop|role|spellcheck|style|subject|title|onclick|ondblclick|onmousedown|onmouseup|onmouseover|onmousemove|onmouseout|onkeypress|onkeydown|onkeyup&quot;,B:&quot;#|a|abbr|area|audio|b|bdo|br|button|canvas|cite|code|comma
 nd|datalist|del|dfn|em|embed|i|iframe|img|input|ins|kbd|keygen|label|link|map|mark|meta|meter|noscript|object|output|progress|q|ruby|samp|script|select|small|span|strong|sub|sup|svg|textarea|time|var|video|wbr&quot;,C:&quot;#|a|abbr|area|address|article|aside|audio|b|bdo|blockquote|br|button|canvas|cite|code|command|datalist|del|details|dfn|dialog|div|dl|em|embed|fieldset|figure|footer|form|h1|h2|h3|h4|h5|h6|header|hgroup|hr|i|iframe|img|input|ins|kbd|keygen|label|link|map|mark|menu|meta|meter|nav|noscript|ol|object|output|p|pre|progress|q|ruby|samp|script|section|select|small|span|strong|style|sub|sup|svg|table|textarea|time|ul|var|video&quot;},&quot;html[A|manifest][body|head]head[A][base|command|link|meta|noscript|script|style|title]title[A][#]base[A|href|target][]link[A|href|rel|media|type|sizes][]meta[A|http-equiv|name|content|charset][]style[A|type|media|scoped][#]script[A|charset|type|src|defer|async][#]noscript[A][C]body[A][C]section[A][C]nav[A][C]article[A][C]aside[
 A][C]h1[A][B]h2[A][B]h3[A][B]h4[A][B]h5[A][B]h6[A][B]hgroup[A][h1|h2|h3|h4|h5|h6]header[A][C]footer[A][C]address[A][C]p[A][B]br[A][]pre[A][B]dialog[A][dd|dt]blockquote[A|cite][C]ol[A|start|reversed][li]ul[A][li]li[A|value][C]dl[A][dd|dt]dt[A][B]dd[A][C]a[A|href|target|ping|rel|media|type][B]em[A][B]strong[A][B]small[A][B]cite[A][B]q[A|cite][B]dfn[A][B]abbr[A][B]code[A][B]var[A][B]samp[A][B]kbd[A][B]sub[A][B]sup[A][B]i[A][B]b[A][B]mark[A][B]progress[A|value|max][B]meter[A|value|min|max|low|high|optimum][B]time[A|datetime][B]ruby[A][B|rt|rp]rt[A][B]rp[A][B]bdo[A][B]span[A][B]ins[A|cite|datetime][B]del[A|cite|datetime][B]figure[A][C|legend|figcaption]figcaption[A][C]img[A|alt|src|height|width|usemap|ismap][]iframe[A|name|src|height|width|sandbox|seamless][]embed[A|src|height|width|type][]object[A|data|type|height|width|usemap|name|form|classid][param]param[A|name|value][]details[A|open][C|legend]command[A|type|label|icon|disabled|checked|radiogroup][]menu[A|type|label][C|li]leg
 end[A][C|B]div[A][C]source[A|src|type|media][]audio[A|src|autobuffer|autoplay|loop|controls][source]video[A|src|autobuffer|autoplay|loop|controls|width|height|poster][source]hr[A][]form[A|accept-charset|action|autocomplete|enctype|method|name|novalidate|target][C]fieldset[A|disabled|form|name][C|legend]label[A|form|for][B]input[A|type|accept|alt|autocomplete|autofocus|checked|disabled|form|formaction|formenctype|formmethod|formnovalidate|formtarget|height|list|max|maxlength|min|multiple|pattern|placeholder|readonly|required|size|src|step|width|files|value|name][]button[A|autofocus|disabled|form|formaction|formenctype|formmethod|formnovalidate|formtarget|name|value|type][B]select[A|autofocus|disabled|form|multiple|name|size][option|optgroup]datalist[A][B|option]optgroup[A|disabled|label][option]option[A|disabled|selected|label|value][]textarea[A|autofocus|disabled|form|maxlength|name|placeholder|readonly|required|rows|cols|wrap][]keygen[A|autofocus|challenge|disabled|form|key
 type|name][]output[A|for|form|name][B]canvas[A|width|height][]map[A|name][B|C]area[A|shape|coords|href|alt|target|media|rel|ping|type][]mathml[A][]svg[A][]table[A|border][caption|colgroup|thead|tfoot|tbody|tr]caption[A][C]colgroup[A|span][col]col[A|span][]thead[A][tr]tfoot[A][tr]tbody[A][tr]tr[A][th|td]th[A|headers|rowspan|colspan|scope][B]td[A|headers|rowspan|colspan][C]wbr[A][]&quot;)}return i}function c(){var i=a.html4;if(!i){i=a.html4=h({Z:&quot;H|K|N|O|P&quot;,Y:&quot;X|form|R|Q&quot;,ZG:&quot;E|span|width|align|char|charoff|valign&quot;,X:&quot;p|T|div|U|W|isindex|fieldset|table&quot;,ZF:&quot;E|align|char|charoff|valign&quot;,W:&quot;pre|hr|blockquote|address|center|noframes&quot;,ZE:&quot;abbr|axis|headers|scope|rowspan|colspan|align|char|charoff|valign|nowrap|bgcolor|width|height&quot;,ZD:&quot;[E][S]&quot;,U:&quot;ul|ol|dl|menu|dir&quot;,ZC:&quot;p|Y|div|U|W|table|br|span|bdo|object|applet|img|map|K|N|Q&quot;,T:&quot;h1|h2|h3|h4|h5|h6&quot;,ZB:&quot;X|S|Q&quot;,S:&
 quot;R|P&quot;,ZA:&quot;a|G|J|M|O|P&quot;,R:&quot;a|H|K|N|O&quot;,Q:&quot;noscript|P&quot;,P:&quot;ins|del|script&quot;,O:&quot;input|select|textarea|label|button&quot;,N:&quot;M|L&quot;,M:&quot;em|strong|dfn|code|q|samp|kbd|var|cite|abbr|acronym&quot;,L:&quot;sub|sup&quot;,K:&quot;J|I&quot;,J:&quot;tt|i|b|u|s|strike&quot;,I:&quot;big|small|font|basefont&quot;,H:&quot;G|F&quot;,G:&quot;br|span|bdo&quot;,F:&quot;object|applet|img|map|iframe&quot;,E:&quot;A|B|C&quot;,D:&quot;accesskey|tabindex|onfocus|onblur&quot;,C:&quot;onclick|ondblclick|onmousedown|onmouseup|onmouseover|onmousemove|onmouseout|onkeypress|onkeydown|onkeyup&quot;,B:&quot;lang|xml:lang|dir&quot;,A:&quot;id|class|style|title&quot;},&quot;script[id|charset|type|language|src|defer|xml:space][]style[B|id|type|media|title|xml:space][]object[E|declare|classid|codebase|data|type|codetype|archive|standby|width|height|usemap|name|tabindex|align|border|hspace|vspace][#|param|Y]param[id|name|value|valuetype|type][]p[E|al
 ign][#|S]a[E|D|charset|type|name|href|hreflang|rel|rev|shape|coords|target][#|Z]br[A|clear][]span[E][#|S]bdo[A|C|B][#|S]applet[A|codebase|archive|code|object|alt|name|width|height|align|hspace|vspace][#|param|Y]h1[E|align][#|S]img[E|src|alt|name|longdesc|width|height|usemap|ismap|align|border|hspace|vspace][]map[B|C|A|name][X|form|Q|area]h2[E|align][#|S]iframe[A|longdesc|name|src|frameborder|marginwidth|marginheight|scrolling|align|width|height][#|Y]h3[E|align][#|S]tt[E][#|S]i[E][#|S]b[E][#|S]u[E][#|S]s[E][#|S]strike[E][#|S]big[E][#|S]small[E][#|S]font[A|B|size|color|face][#|S]basefont[id|size|color|face][]em[E][#|S]strong[E][#|S]dfn[E][#|S]code[E][#|S]q[E|cite][#|S]samp[E][#|S]kbd[E][#|S]var[E][#|S]cite[E][#|S]abbr[E][#|S]acronym[E][#|S]sub[E][#|S]sup[E][#|S]input[E|D|type|name|value|checked|disabled|readonly|size|maxlength|src|alt|usemap|onselect|onchange|accept|align][]select[E|name|size|multiple|disabled|tabindex|onfocus|onblur|onchange][optgroup|option]optgroup[E|disabl
 ed|label][option]option[E|selected|disabled|label|value][]textarea[E|D|name|rows|cols|disabled|readonly|onselect|onchange][]label[E|for|accesskey|onfocus|onblur][#|S]button[E|D|name|value|type|disabled][#|p|T|div|U|W|table|G|object|applet|img|map|K|N|Q]h4[E|align][#|S]ins[E|cite|datetime][#|Y]h5[E|align][#|S]del[E|cite|datetime][#|Y]h6[E|align][#|S]div[E|align][#|Y]ul[E|type|compact][li]li[E|type|value][#|Y]ol[E|type|compact|start][li]dl[E|compact][dt|dd]dt[E][#|S]dd[E][#|Y]menu[E|compact][li]dir[E|compact][li]pre[E|width|xml:space][#|ZA]hr[E|align|noshade|size|width][]blockquote[E|cite][#|Y]address[E][#|S|p]center[E][#|Y]noframes[E][#|Y]isindex[A|B|prompt][]fieldset[E][#|legend|Y]legend[E|accesskey|align][#|S]table[E|summary|width|border|frame|rules|cellspacing|cellpadding|align|bgcolor][caption|col|colgroup|thead|tfoot|tbody|tr]caption[E|align][#|S]col[ZG][]colgroup[ZG][col]thead[ZF][tr]tr[ZF|bgcolor][th|td]th[E|ZE][#|Y]form[E|action|method|name|enctype|onsubmit|onreset|ac
 cept|accept-charset|target][#|X|R|Q]noscript[E][#|Y]td[E|ZE][#|Y]tfoot[ZF][tr]tbody[ZF][tr]area[E|D|shape|coords|href|nohref|alt|target][]base[id|href|target][]body[E|onload|onunload|background|bgcolor|text|link|vlink|alink][#|Y]&quot;)}return i}f.html.Schema=function(A){var u=this,s={},k={},j=[],D,y;var o,q,z,r,v,n,p={};function m(F,E,H){var G=A[F];if(!G){G=a[F];if(!G){G=e(E,&quot; &quot;,e(E.toUpperCase(),&quot; &quot;));G=f.extend(G,H);a[F]=G}}else{G=e(G,&quot;,&quot;,e(G.toUpperCase(),&quot; &quot;))}return G}A=A||{};y=A.schema==&quot;html5&quot;?b():c();if(A.verify_html===false){A.valid_elements=&quot;*[*]&quot;}if(A.valid_styles){D={};g(A.valid_styles,function(F,E){D[E]=f.explode(F)})}o=m(&quot;whitespace_elements&quot;,&quot;pre script noscript style textarea&quot;);q=m(&quot;self_closing_elements&quot;,&quot;colgroup dd dt li option p td tfoot th thead tr&quot;);z=m(&quot;short_ended_elements&quot;,&quot;area base basefont br col frame hr img input isindex link meta 
 param embed source wbr&quot;);r=m(&quot;boolean_attributes&quot;,&quot;checked compact declare defer disabled ismap multiple nohref noresize noshade nowrap readonly selected autoplay loop controls&quot;);n=m(&quot;non_empty_elements&quot;,&quot;td th iframe video audio object&quot;,z);textBlockElementsMap=m(&quot;text_block_elements&quot;,&quot;h1 h2 h3 h4 h5 h6 p div address pre form blockquote center dir fieldset header footer article section hgroup aside nav figure&quot;);v=m(&quot;block_elements&quot;,&quot;hr table tbody thead tfoot th tr td li ol ul caption dl dt dd noscript menu isindex samp option datalist select optgroup&quot;,textBlockElementsMap);function i(E){return new RegExp(&quot;^&quot;+E.replace(/([?+*])/g,&quot;.$1&quot;)+&quot;$&quot;)}function C(L){var K,G,Z,V,aa,F,I,U,X,Q,Y,ac,O,J,W,E,S,H,ab,ad,P,T,N=/^([#+\-])?([^\[\/]+)(?:\/([^\[]+))?(?:\[([^\]]+)\])?$/,R=/^([!\-])?(\w+::\w+|[^=:&lt;]+)?(?:([=:&lt;])(.*))?$/,M=/[*?+]/;if(L){L=d(L);if(s[&quot;@&quot;]){
 S=s[&quot;@&quot;].attributes;H=s[&quot;@&quot;].attributesOrder}for(K=0,G=L.length;K&lt;G;K++){F=N.exec(L[K]);if(F){W=F[1];Q=F[2];E=F[3];X=F[4];O={};J=[];I={attributes:O,attributesOrder:J};if(W===&quot;#&quot;){I.paddEmpty=true}if(W===&quot;-&quot;){I.removeEmpty=true}if(S){for(ad in S){O[ad]=S[ad]}J.push.apply(J,H)}if(X){X=d(X,&quot;|&quot;);for(Z=0,V=X.length;Z&lt;V;Z++){F=R.exec(X[Z]);if(F){U={};ac=F[1];Y=F[2].replace(/::/g,&quot;:&quot;);W=F[3];T=F[4];if(ac===&quot;!&quot;){I.attributesRequired=I.attributesRequired||[];I.attributesRequired.push(Y);U.required=true}if(ac===&quot;-&quot;){delete O[Y];J.splice(f.inArray(J,Y),1);continue}if(W){if(W===&quot;=&quot;){I.attributesDefault=I.attributesDefault||[];I.attributesDefault.push({name:Y,value:T});U.defaultValue=T}if(W===&quot;:&quot;){I.attributesForced=I.attributesForced||[];I.attributesForced.push({name:Y,value:T});U.forcedValue=T}if(W===&quot;&lt;&quot;){U.validValues=e(T,&quot;?&quot;)}}if(M.test(Y)){I.attributePatte
 rns=I.attributePatterns||[];U.pattern=i(Y);I.attributePatterns.push(U)}else{if(!O[Y]){J.push(Y)}O[Y]=U}}}}if(!S&amp;&amp;Q==&quot;@&quot;){S=O;H=J}if(E){I.outputName=Q;s[E]=I}if(M.test(Q)){I.pattern=i(Q);j.push(I)}else{s[Q]=I}}}}}function t(E){s={};j=[];C(E);g(y,function(G,F){k[F]=G.children})}function l(F){var E=/^(~)?(.+)$/;if(F){g(d(F),function(J){var H=E.exec(J),I=H[1]===&quot;~&quot;,K=I?&quot;span&quot;:&quot;div&quot;,G=H[2];k[G]=k[K];p[G]=K;if(!I){v[G.toUpperCase()]={};v[G]={}}if(!s[G]){s[G]=s[K]}g(k,function(L,M){if(L[K]){L[G]=L[K]}})})}}function x(F){var E=/^([+\-]?)(\w+)\[([^\]]+)\]$/;if(F){g(d(F),function(J){var I=E.exec(J),G,H;if(I){H=I[1];if(H){G=k[I[2]]}else{G=k[I[2]]={&quot;#comment&quot;:{}}}G=k[I[2]];g(d(I[3],&quot;|&quot;),function(K){if(H===&quot;-&quot;){delete G[K]}else{G[K]={}}})}})}}function B(E){var G=s[E],F;if(G){return G}F=j.length;while(F--){G=j[F];if(G.pattern.test(E)){return G}}}if(!A.valid_elements){g(y,function(F,E){s[E]={attributes:F.attribut
 es,attributesOrder:F.attributesOrder};k[E]=F.children});if(A.schema!=&quot;html5&quot;){g(d(&quot;strong/b,em/i&quot;),function(E){E=d(E,&quot;/&quot;);s[E[1]].outputName=E[0]})}s.img.attributesDefault=[{name:&quot;alt&quot;,value:&quot;&quot;}];g(d(&quot;ol,ul,sub,sup,blockquote,span,font,a,table,tbody,tr,strong,em,b,i&quot;),function(E){if(s[E]){s[E].removeEmpty=true}});g(d(&quot;p,h1,h2,h3,h4,h5,h6,th,td,pre,div,address,caption&quot;),function(E){s[E].paddEmpty=true})}else{t(A.valid_elements)}l(A.custom_elements);x(A.valid_children);C(A.extended_valid_elements);x(&quot;+ol[ul|ol],+ul[ul|ol]&quot;);if(A.invalid_elements){f.each(f.explode(A.invalid_elements),function(E){if(s[E]){delete s[E]}})}if(!B(&quot;span&quot;)){C(&quot;span[!data-mce-type|*]&quot;)}u.children=k;u.styles=D;u.getBoolAttrs=function(){return r};u.getBlockElements=function(){return v};u.getTextBlockElements=function(){return textBlockElementsMap};u.getShortEndedElements=function(){return z};u.getSelfClosi
 ngElements=function(){return q};u.getNonEmptyElements=function(){return n};u.getWhiteSpaceElements=function(){return o};u.isValidChild=function(E,G){var F=k[E];return !!(F&amp;&amp;F[G])};u.isValid=function(F,E){var H,G,I=B(F);if(I){if(E){if(I.attributes[E]){return true}H=I.attributePatterns;if(H){G=H.length;while(G--){if(H[G].pattern.test(F)){return true}}}}else{return true}}return false};u.getElementRule=B;u.getCustomElements=function(){return p};u.addValidElements=C;u.setValidElements=t;u.addCustomElements=l;u.addValidChildren=x;u.elements=s}})(tinymce);(function(a){a.html.SaxParser=function(c,e){var b=this,d=function(){};c=c||{};b.schema=e=e||new a.html.Schema();if(c.fix_self_closing!==false){c.fix_self_closing=true}a.each(&quot;comment cdata text start end pi doctype&quot;.split(&quot; &quot;),function(f){if(f){b[f]=c[f]||d}});b.parse=function(E){var n=this,g,G=0,I,B,A=[],N,Q,C,r,z,s,M,H,O,v,m,k,t,R,o,P,F,S,L,f,J,l,D,K,h,x=0,j=a.html.Entities.decode,y,q;function u(T){va
 r V,U;V=A.length;while(V--){if(A[V].name===T){break}}if(V&gt;=0){for(U=A.length-1;U&gt;=V;U--){T=A[U];if(T.valid){n.end(T.name)}}A.length=V}}function p(U,T,Y,X,W){var Z,V;T=T.toLowerCase();Y=T in H?T:j(Y||X||W||&quot;&quot;);if(v&amp;&amp;!z&amp;&amp;T.indexOf(&quot;data-&quot;)!==0){Z=P[T];if(!Z&amp;&amp;F){V=F.length;while(V--){Z=F[V];if(Z.pattern.test(T)){break}}if(V===-1){Z=null}}if(!Z){return}if(Z.validValues&amp;&amp;!(Y in Z.validValues)){return}}N.map[T]=Y;N.push({name:T,value:Y})}l=new RegExp(&quot;&lt;(?:(?:!--([\\w\\W]*?)--&gt;)|(?:!\\[CDATA\\[([\\w\\W]*?)\\]\\]&gt;)|(?:!DOCTYPE([\\w\\W]*?)&gt;)|(?:\\?([^\\s\\/&lt;&gt;]+) ?([\\w\\W]*?)[?/]&gt;)|(?:\\/([^&gt;]+)&gt;)|(?:([A-Za-z0-9\\-\\:\\.]+)((?:\\s+[^\&quot;'&gt;]+(?:(?:\&quot;[^\&quot;]*\&quot;)|(?:'[^']*')|[^&gt;]*))*|\\/|\\s+)&gt;))&quot;,&quot;g&quot;);D=/([\w:\-]+)(?:\s*=\s*(?:(?:\&quot;((?:[^\&quot;])*)\&quot;)|(?:\'((?:[^\'])*)\')|([^&gt;\s]+)))?/g;K={script:/&lt;\/script[^&gt;]*&gt;/gi,style:/&lt;\/style[
 ^&gt;]*&gt;/gi,noscript:/&lt;\/noscript[^&gt;]*&gt;/gi};M=e.getShortEndedElements();J=c.self_closing_elements||e.getSelfClosingElements();H=e.getBoolAttrs();v=c.validate;s=c.remove_internals;y=c.fix_self_closing;q=a.isIE;o=/^:/;while(g=l.exec(E)){if(G&lt;g.index){n.text(j(E.substr(G,g.index-G)))}if(I=g[6]){I=I.toLowerCase();if(q&amp;&amp;o.test(I)){I=I.substr(1)}u(I)}else{if(I=g[7]){I=I.toLowerCase();if(q&amp;&amp;o.test(I)){I=I.substr(1)}O=I in M;if(y&amp;&amp;J[I]&amp;&amp;A.length&gt;0&amp;&amp;A[A.length-1].name===I){u(I)}if(!v||(m=e.getElementRule(I))){k=true;if(v){P=m.attributes;F=m.attributePatterns}if(R=g[8]){z=R.indexOf(&quot;data-mce-type&quot;)!==-1;if(z&amp;&amp;s){k=false}N=[];N.map={};R.replace(D,p)}else{N=[];N.map={}}if(v&amp;&amp;!z){S=m.attributesRequired;L=m.attributesDefault;f=m.attributesForced;if(f){Q=f.length;while(Q--){t=f[Q];r=t.name;h=t.value;if(h===&quot;{$uid}&quot;){h=&quot;mce_&quot;+x++}N.map[r]=h;N.push({name:r,value:h})}}if(L){Q=L.length;while
 (Q--){t=L[Q];r=t.name;if(!(r in N.map)){h=t.value;if(h===&quot;{$uid}&quot;){h=&quot;mce_&quot;+x++}N.map[r]=h;N.push({name:r,value:h})}}}if(S){Q=S.length;while(Q--){if(S[Q] in N.map){break}}if(Q===-1){k=false}}if(N.map[&quot;data-mce-bogus&quot;]){k=false}}if(k){n.start(I,N,O)}}else{k=false}if(B=K[I]){B.lastIndex=G=g.index+g[0].length;if(g=B.exec(E)){if(k){C=E.substr(G,g.index-G)}G=g.index+g[0].length}else{C=E.substr(G);G=E.length}if(k&amp;&amp;C.length&gt;0){n.text(C,true)}if(k){n.end(I)}l.lastIndex=G;continue}if(!O){if(!R||R.indexOf(&quot;/&quot;)!=R.length-1){A.push({name:I,valid:k})}else{if(k){n.end(I)}}}}else{if(I=g[1]){n.comment(I)}else{if(I=g[2]){n.cdata(I)}else{if(I=g[3]){n.doctype(I)}else{if(I=g[4]){n.pi(I,g[5])}}}}}}G=g.index+g[0].length}if(G&lt;E.length){n.text(j(E.substr(G)))}for(Q=A.length-1;Q&gt;=0;Q--){I=A[Q];if(I.valid){n.end(I.name)}}}}})(tinymce);(function(d){var c=/^[ \t\r\n]*$/,e={&quot;#text&quot;:3,&quot;#comment&quot;:8,&quot;#cdata&quot;:4,&quot;#pi&
 quot;:7,&quot;#doctype&quot;:10,&quot;#document-fragment&quot;:11};function a(k,l,j){var i,h,f=j?&quot;lastChild&quot;:&quot;firstChild&quot;,g=j?&quot;prev&quot;:&quot;next&quot;;if(k[f]){return k[f]}if(k!==l){i=k[g];if(i){return i}for(h=k.parent;h&amp;&amp;h!==l;h=h.parent){i=h[g];if(i){return i}}}}function b(f,g){this.name=f;this.type=g;if(g===1){this.attributes=[];this.attributes.map={}}}d.extend(b.prototype,{replace:function(g){var f=this;if(g.parent){g.remove()}f.insert(g,f);f.remove();return f},attr:function(h,l){var f=this,g,j,k;if(typeof h!==&quot;string&quot;){for(j in h){f.attr(j,h[j])}return f}if(g=f.attributes){if(l!==k){if(l===null){if(h in g.map){delete g.map[h];j=g.length;while(j--){if(g[j].name===h){g=g.splice(j,1);return f}}}return f}if(h in g.map){j=g.length;while(j--){if(g[j].name===h){g[j].value=l;break}}}else{g.push({name:h,value:l})}g.map[h]=l;return f}else{return g.map[h]}}},clone:function(){var g=this,n=new b(g.name,g.type),h,f,m,j,k;if(m=g.attribute
 s){k=[];k.map={};for(h=0,f=m.length;h&lt;f;h++){j=m[h];if(j.name!==&quot;id&quot;){k[k.length]={name:j.name,value:j.value};k.map[j.name]=j.value}}n.attributes=k}n.value=g.value;n.shortEnded=g.shortEnded;return n},wrap:function(g){var f=this;f.parent.insert(g,f);g.append(f);return f},unwrap:function(){var f=this,h,g;for(h=f.firstChild;h;){g=h.next;f.insert(h,f,true);h=g}f.remove()},remove:function(){var f=this,h=f.parent,g=f.next,i=f.prev;if(h){if(h.firstChild===f){h.firstChild=g;if(g){g.prev=null}}else{i.next=g}if(h.lastChild===f){h.lastChild=i;if(i){i.next=null}}else{g.prev=i}f.parent=f.next=f.prev=null}return f},append:function(h){var f=this,g;if(h.parent){h.remove()}g=f.lastChild;if(g){g.next=h;h.prev=g;f.lastChild=h}else{f.lastChild=f.firstChild=h}h.parent=f;return h},insert:function(h,f,i){var g;if(h.parent){h.remove()}g=f.parent||this;if(i){if(f===g.firstChild){g.firstChild=h}else{f.prev.next=h}h.prev=f.prev;h.next=f;f.prev=h}else{if(f===g.lastChild){g.lastChild=h}else
 {f.next.prev=h}h.next=f.next;h.prev=f;f.next=h}h.parent=g;return h},getAll:function(g){var f=this,h,i=[];for(h=f.firstChild;h;h=a(h,f)){if(h.name===g){i.push(h)}}return i},empty:function(){var g=this,f,h,j;if(g.firstChild){f=[];for(j=g.firstChild;j;j=a(j,g)){f.push(j)}h=f.length;while(h--){j=f[h];j.parent=j.firstChild=j.lastChild=j.next=j.prev=null}}g.firstChild=g.lastChild=null;return g},isEmpty:function(k){var f=this,j=f.firstChild,h,g;if(j){do{if(j.type===1){if(j.attributes.map[&quot;data-mce-bogus&quot;]){continue}if(k[j.name]){return false}h=j.attributes.length;while(h--){g=j.attributes[h].name;if(g===&quot;name&quot;||g.indexOf(&quot;data-mce-&quot;)===0){return false}}}if(j.type===8){return false}if((j.type===3&amp;&amp;!c.test(j.value))){return false}}while(j=a(j,f))}return true},walk:function(f){return a(this,null,f)}});d.extend(b,{create:function(g,f){var i,h;i=new b(g,e[g]||1);if(f){for(h in f){i.attr(h,f[h])}}return i}});d.html.Node=b})(tinymce);(function(b){var 
 a=b.html.Node;b.html.DomParser=function(g,h){var f=this,e={},d=[],i={},c={};g=g||{};g.validate=&quot;validate&quot; in g?g.validate:true;g.root_name=g.root_name||&quot;body&quot;;f.schema=h=h||new b.html.Schema();function j(n){var p,q,y,x,A,o,r,l,u,v,k,t,m,z,s;t=b.makeMap(&quot;tr,td,th,tbody,thead,tfoot,table&quot;);k=h.getNonEmptyElements();m=h.getTextBlockElements();for(p=0;p&lt;n.length;p++){q=n[p];if(!q.parent||q.fixed){continue}if(m[q.name]&amp;&amp;q.parent.name==&quot;li&quot;){z=q.next;while(z){if(m[z.name]){z.name=&quot;li&quot;;z.fixed=true;q.parent.insert(z,q.parent)}else{break}z=z.next}q.unwrap(q);continue}x=[q];for(y=q.parent;y&amp;&amp;!h.isValidChild(y.name,q.name)&amp;&amp;!t[y.name];y=y.parent){x.push(y)}if(y&amp;&amp;x.length&gt;1){x.reverse();A=o=f.filterNode(x[0].clone());for(u=0;u&lt;x.length-1;u++){if(h.isValidChild(o.name,x[u].name)){r=f.filterNode(x[u].clone());o.append(r)}else{r=o}for(l=x[u].firstChild;l&amp;&amp;l!=x[u+1];){s=l.next;r.append(l);l=s
 }o=r}if(!A.isEmpty(k)){y.insert(A,x[0],true);y.insert(q,A)}else{y.insert(q,x[0],true)}y=x[0];if(y.isEmpty(k)||y.firstChild===y.lastChild&amp;&amp;y.firstChild.name===&quot;br&quot;){y.empty().remove()}}else{if(q.parent){if(q.name===&quot;li&quot;){z=q.prev;if(z&amp;&amp;(z.name===&quot;ul&quot;||z.name===&quot;ul&quot;)){z.append(q);continue}z=q.next;if(z&amp;&amp;(z.name===&quot;ul&quot;||z.name===&quot;ul&quot;)){z.insert(q,z.firstChild,true);continue}q.wrap(f.filterNode(new a(&quot;ul&quot;,1)));continue}if(h.isValidChild(q.parent.name,&quot;div&quot;)&amp;&amp;h.isValidChild(&quot;div&quot;,q.name)){q.wrap(f.filterNode(new a(&quot;div&quot;,1)))}else{if(q.name===&quot;style&quot;||q.name===&quot;script&quot;){q.empty().remove()}else{q.unwrap()}}}}}}f.filterNode=function(m){var l,k,n;if(k in e){n=i[k];if(n){n.push(m)}else{i[k]=[m]}}l=d.length;while(l--){k=d[l].name;if(k in m.attributes.map){n=c[k];if(n){n.push(m)}else{c[k]=[m]}}}return m};f.addNodeFilter=function(k,l){b.e
 ach(b.explode(k),function(m){var n=e[m];if(!n){e[m]=n=[]}n.push(l)})};f.addAttributeFilter=function(k,l){b.each(b.explode(k),function(m){var n;for(n=0;n&lt;d.length;n++){if(d[n].name===m){d[n].callbacks.push(l);return}}d.push({name:m,callbacks:[l]})})};f.parse=function(v,m){var n,J,B,A,D,C,x,r,F,N,z,o,E,M=[],L,t,k,y,s,p,u,q;m=m||{};i={};c={};o=b.extend(b.makeMap(&quot;script,style,head,html,body,title,meta,param&quot;),h.getBlockElements());u=h.getNonEmptyElements();p=h.children;z=g.validate;q=&quot;forced_root_block&quot; in m?m.forced_root_block:g.forced_root_block;s=h.getWhiteSpaceElements();E=/^[ \t\r\n]+/;t=/[ \t\r\n]+$/;k=/[ \t\r\n]+/g;y=/^[ \t\r\n]+$/;function G(){var O=J.firstChild,l,P;while(O){l=O.next;if(O.type==3||(O.type==1&amp;&amp;O.name!==&quot;p&quot;&amp;&amp;!o[O.name]&amp;&amp;!O.attr(&quot;data-mce-type&quot;))){if(!P){P=K(q,1);J.insert(P,O);P.append(O)}else{P.append(O)}}else{P=null}O=l}}function K(l,O){var P=new a(l,O),Q;if(l in e){Q=i[l];if(Q){Q.push(P)
 }else{i[l]=[P]}}return P}function I(P){var Q,l,O;for(Q=P.prev;Q&amp;&amp;Q.type===3;){l=Q.value.replace(t,&quot;&quot;);if(l.length&gt;0){Q.value=l;Q=Q.prev}else{O=Q.prev;Q.remove();Q=O}}}function H(O){var P,l={};for(P in O){if(P!==&quot;li&quot;&amp;&amp;P!=&quot;p&quot;){l[P]=O[P]}}return l}n=new b.html.SaxParser({validate:z,self_closing_elements:H(h.getSelfClosingElements()),cdata:function(l){B.append(K(&quot;#cdata&quot;,4)).value=l},text:function(P,l){var O;if(!L){P=P.replace(k,&quot; &quot;);if(B.lastChild&amp;&amp;o[B.lastChild.name]){P=P.replace(E,&quot;&quot;)}}if(P.length!==0){O=K(&quot;#text&quot;,3);O.raw=!!l;B.append(O).value=P}},comment:function(l){B.append(K(&quot;#comment&quot;,8)).value=l},pi:function(l,O){B.append(K(l,7)).value=O;I(B)},doctype:function(O){var l;l=B.append(K(&quot;#doctype&quot;,10));l.value=O;I(B)},start:function(l,W,P){var U,R,Q,O,S,X,V,T;Q=z?h.getElementRule(l):{};if(Q){U=K(Q.outputName||l,1);U.attributes=W;U.shortEnded=P;B.append(U);T=p[
 B.name];if(T&amp;&amp;p[U.name]&amp;&amp;!T[U.name]){M.push(U)}R=d.length;while(R--){S=d[R].name;if(S in W.map){F=c[S];if(F){F.push(U)}else{c[S]=[U]}}}if(o[l]){I(U)}if(!P){B=U}if(!L&amp;&amp;s[l]){L=true}}},end:function(l){var S,P,R,O,Q;P=z?h.getElementRule(l):{};if(P){if(o[l]){if(!L){S=B.firstChild;if(S&amp;&amp;S.type===3){R=S.value.replace(E,&quot;&quot;);if(R.length&gt;0){S.value=R;S=S.next}else{O=S.next;S.remove();S=O}while(S&amp;&amp;S.type===3){R=S.value;O=S.next;if(R.length===0||y.test(R)){S.remove();S=O}S=O}}S=B.lastChild;if(S&amp;&amp;S.type===3){R=S.value.replace(t,&quot;&quot;);if(R.length&gt;0){S.value=R;S=S.prev}else{O=S.prev;S.remove();S=O}while(S&amp;&amp;S.type===3){R=S.value;O=S.prev;if(R.length===0||y.test(R)){S.remove();S=O}S=O}}}}if(L&amp;&amp;s[l]){L=false}if(P.removeEmpty||P.paddEmpty){if(B.isEmpty(u)){if(P.paddEmpty){B.empty().append(new a(&quot;#text&quot;,&quot;3&quot;)).value=&quot;\u00a0&quot;}else{if(!B.attributes.map.name&amp;&amp;!B.attributes.
 map.id){Q=B.parent;B.empty().remove();B=Q;return}}}}B=B.parent}}},h);J=B=new a(m.context||g.root_name,11);n.parse(v);if(z&amp;&amp;M.length){if(!m.context){j(M)}else{m.invalid=true}}if(q&amp;&amp;J.name==&quot;body&quot;){G()}if(!m.invalid){for(N in i){F=e[N];A=i[N];x=A.length;while(x--){if(!A[x].parent){A.splice(x,1)}}for(D=0,C=F.length;D&lt;C;D++){F[D](A,N,m)}}for(D=0,C=d.length;D&lt;C;D++){F=d[D];if(F.name in c){A=c[F.name];x=A.length;while(x--){if(!A[x].parent){A.splice(x,1)}}for(x=0,r=F.callbacks.length;x&lt;r;x++){F.callbacks[x](A,F.name,m)}}}}return J};if(g.remove_trailing_brs){f.addNodeFilter(&quot;br&quot;,function(n,m){var r,q=n.length,o,v=b.extend({},h.getBlockElements()),k=h.getNonEmptyElements(),t,s,p,u;v.body=1;for(r=0;r&lt;q;r++){o=n[r];t=o.parent;if(v[o.parent.name]&amp;&amp;o===t.lastChild){p=o.prev;while(p){u=p.name;if(u!==&quot;span&quot;||p.attr(&quot;data-mce-type&quot;)!==&quot;bookmark&quot;){if(u!==&quot;br&quot;){break}if(u===&quot;br&quot;){o=null;b
 reak}}p=p.prev}if(o){o.remove();if(t.isEmpty(k)){elementRule=h.getElementRule(t.name);if(elementRule){if(elementRule.removeEmpty){t.remove()}else{if(elementRule.paddEmpty){t.empty().append(new b.html.Node(&quot;#text&quot;,3)).value=&quot;\u00a0&quot;}}}}}}else{s=o;while(t.firstChild===s&amp;&amp;t.lastChild===s){s=t;if(v[t.name]){break}t=t.parent}if(s===t){textNode=new b.html.Node(&quot;#text&quot;,3);textNode.value=&quot;\u00a0&quot;;o.replace(textNode)}}}})}if(!g.allow_html_in_named_anchor){f.addAttributeFilter(&quot;id,name&quot;,function(k,l){var n=k.length,p,m,o,q;while(n--){q=k[n];if(q.name===&quot;a&quot;&amp;&amp;q.firstChild&amp;&amp;!q.attr(&quot;href&quot;)){o=q.parent;p=q.lastChild;do{m=p.prev;o.insert(p,q);p=m}while(p)}}})}}})(tinymce);tinymce.html.Writer=function(e){var c=[],a,b,d,f,g;e=e||{};a=e.indent;b=tinymce.makeMap(e.indent_before||&quot;&quot;);d=tinymce.makeMap(e.indent_after||&quot;&quot;);f=tinymce.html.Entities.getEncodeFunc(e.entity_encoding||&quot
 ;raw&quot;,e.entities);g=e.element_format==&quot;html&quot;;return{start:function(m,k,p){var n,j,h,o;if(a&amp;&amp;b[m]&amp;&amp;c.length&gt;0){o=c[c.length-1];if(o.length&gt;0&amp;&amp;o!==&quot;\n&quot;){c.push(&quot;\n&quot;)}}c.push(&quot;&lt;&quot;,m);if(k){for(n=0,j=k.length;n&lt;j;n++){h=k[n];c.push(&quot; &quot;,h.name,'=&quot;',f(h.value,true),'&quot;')}}if(!p||g){c[c.length]=&quot;&gt;&quot;}else{c[c.length]=&quot; /&gt;&quot;}if(p&amp;&amp;a&amp;&amp;d[m]&amp;&amp;c.length&gt;0){o=c[c.length-1];if(o.length&gt;0&amp;&amp;o!==&quot;\n&quot;){c.push(&quot;\n&quot;)}}},end:function(h){var i;c.push(&quot;&lt;/&quot;,h,&quot;&gt;&quot;);if(a&amp;&amp;d[h]&amp;&amp;c.length&gt;0){i=c[c.length-1];if(i.length&gt;0&amp;&amp;i!==&quot;\n&quot;){c.push(&quot;\n&quot;)}}},text:function(i,h){if(i.length&gt;0){c[c.length]=h?i:f(i)}},cdata:function(h){c.push(&quot;&lt;![CDATA[&quot;,h,&quot;]]&gt;&quot;)},comment:function(h){c.push(&quot;&lt;!--&quot;,h,&quot;--&gt;&quot;)},pi:fu
 nction(h,i){if(i){c.push(&quot;&lt;?&quot;,h,&quot; &quot;,i,&quot;?&gt;&quot;)}else{c.push(&quot;&lt;?&quot;,h,&quot;?&gt;&quot;)}if(a){c.push(&quot;\n&quot;)}},doctype:function(h){c.push(&quot;&lt;!DOCTYPE&quot;,h,&quot;&gt;&quot;,a?&quot;\n&quot;:&quot;&quot;)},reset:function(){c.length=0},getContent:function(){return c.join(&quot;&quot;).replace(/\n$/,&quot;&quot;)}}};(function(a){a.html.Serializer=function(c,d){var b=this,e=new a.html.Writer(c);c=c||{};c.validate=&quot;validate&quot; in c?c.validate:true;b.schema=d=d||new a.html.Schema();b.writer=e;b.serialize=function(h){var g,i;i=c.validate;g={3:function(k,j){e.text(k.value,k.raw)},8:function(j){e.comment(j.value)},7:function(j){e.pi(j.name,j.value)},10:function(j){e.doctype(j.value)},4:function(j){e.cdata(j.value)},11:function(j){if((j=j.firstChild)){do{f(j)}while(j=j.next)}}};e.reset();function f(k){var t=g[k.type],j,o,s,r,p,u,n,m,q;if(!t){j=k.name;o=k.shortEnded;s=k.attributes;if(i&amp;&amp;s&amp;&amp;s.length&gt;1
 ){u=[];u.map={};q=d.getElementRule(k.name);for(n=0,m=q.attributesOrder.length;n&lt;m;n++){r=q.attributesOrder[n];if(r in s.map){p=s.map[r];u.map[r]=p;u.push({name:r,value:p})}}for(n=0,m=s.length;n&lt;m;n++){r=s[n].name;if(!(r in u.map)){p=s.map[r];u.map[r]=p;u.push({name:r,value:p})}}s=u}e.start(k.name,s,o);if(!o){if((k=k.firstChild)){do{f(k)}while(k=k.next)}e.end(j)}}else{t(k)}}if(h.type==1&amp;&amp;!c.inner){f(h)}else{g[11](h)}return e.getContent()}}})(tinymce);tinymce.dom={};(function(b,h){var g=!!document.addEventListener;function c(k,j,l,i){if(k.addEventListener){k.addEventListener(j,l,i||false)}else{if(k.attachEvent){k.attachEvent(&quot;on&quot;+j,l)}}}function e(k,j,l,i){if(k.removeEventListener){k.removeEventListener(j,l,i||false)}else{if(k.detachEvent){k.detachEvent(&quot;on&quot;+j,l)}}}function a(n,l){var i,k=l||{};function j(){return false}function m(){return true}for(i in n){if(i!==&quot;layerX&quot;&amp;&amp;i!==&quot;layerY&quot;){k[i]=n[i]}}if(!k.target){k.ta
 rget=k.srcElement||document}k.preventDefault=function(){k.isDefaultPrevented=m;if(n){if(n.preventDefault){n.preventDefault()}else{n.returnValue=false}}};k.stopPropagation=function(){k.isPropagationStopped=m;if(n){if(n.stopPropagation){n.stopPropagation()}else{n.cancelBubble=true}}};k.stopImmediatePropagation=function(){k.isImmediatePropagationStopped=m;k.stopPropagation()};if(!k.isDefaultPrevented){k.isDefaultPrevented=j;k.isPropagationStopped=j;k.isImmediatePropagationStopped=j}return k}function d(m,n,l){var k=m.document,j={type:&quot;ready&quot;};function i(){if(!l.domLoaded){l.domLoaded=true;n(j)}}if(k.readyState==&quot;complete&quot;){i();return}if(g){c(m,&quot;DOMContentLoaded&quot;,i)}else{c(k,&quot;readystatechange&quot;,function(){if(k.readyState===&quot;complete&quot;){e(k,&quot;readystatechange&quot;,arguments.callee);i()}});if(k.documentElement.doScroll&amp;&amp;m===m.top){(function(){try{k.documentElement.doScroll(&quot;left&quot;)}catch(o){setTimeout(arguments.c
 allee,0);return}i()})()}}c(m,&quot;load&quot;,i)}function f(k){var q=this,p={},i,o,n,m,l;m=&quot;onmouseenter&quot; in document.documentElement;n=&quot;onfocusin&quot; in document.documentElement;l={mouseenter:&quot;mouseover&quot;,mouseleave:&quot;mouseout&quot;};i=1;q.domLoaded=false;q.events=p;function j(t,x){var s,u,r,v;s=p[x][t.type];if(s){for(u=0,r=s.length;u&lt;r;u++){v=s[u];if(v&amp;&amp;v.func.call(v.scope,t)===false){t.preventDefault()}if(t.isImmediatePropagationStopped()){return}}}}q.bind=function(x,A,D,E){var s,t,u,r,B,z,C,v=window;function y(F){j(a(F||v.event),s)}if(!x||x.nodeType===3||x.nodeType===8){return}if(!x[h]){s=i++;x[h]=s;p[s]={}}else{s=x[h];if(!p[s]){p[s]={}}}E=E||x;A=A.split(&quot; &quot;);u=A.length;while(u--){r=A[u];z=y;B=C=false;if(r===&quot;DOMContentLoaded&quot;){r=&quot;ready&quot;}if((q.domLoaded||x.readyState==&quot;complete&quot;)&amp;&amp;r===&quot;ready&quot;){q.domLoaded=true;D.call(E,a({type:r}));continue}if(!m){B=l[r];if(B){z=function(F)
 {var H,G;H=F.currentTarget;G=F.relatedTarget;if(G&amp;&amp;H.contains){G=H.contains(G)}else{while(G&amp;&amp;G!==H){G=G.parentNode}}if(!G){F=a(F||v.event);F.type=F.type===&quot;mouseout&quot;?&quot;mouseleave&quot;:&quot;mouseenter&quot;;F.target=H;j(F,s)}}}}if(!n&amp;&amp;(r===&quot;focusin&quot;||r===&quot;focusout&quot;)){C=true;B=r===&quot;focusin&quot;?&quot;focus&quot;:&quot;blur&quot;;z=function(F){F=a(F||v.event);F.type=F.type===&quot;focus&quot;?&quot;focusin&quot;:&quot;focusout&quot;;j(F,s)}}t=p[s][r];if(!t){p[s][r]=t=[{func:D,scope:E}];t.fakeName=B;t.capture=C;t.nativeHandler=z;if(!g){t.proxyHandler=k(s)}if(r===&quot;ready&quot;){d(x,z,q)}else{c(x,B||r,g?z:t.proxyHandler,C)}}else{t.push({func:D,scope:E})}}x=t=0;return D};q.unbind=function(x,z,A){var s,u,v,B,r,t;if(!x||x.nodeType===3||x.nodeType===8){return q}s=x[h];if(s){t=p[s];if(z){z=z.split(&quot; &quot;);v=z.length;while(v--){r=z[v];u=t[r];if(u){if(A){B=u.length;while(B--){if(u[B].func===A){u.splice(B,1)}}}if
 (!A||u.length===0){delete t[r];e(x,u.fakeName||r,g?u.nativeHandler:u.proxyHandler,u.capture)}}}}else{for(r in t){u=t[r];e(x,u.fakeName||r,g?u.nativeHandler:u.proxyHandler,u.capture)}t={}}for(r in t){return q}delete p[s];try{delete x[h]}catch(y){x[h]=null}}return q};q.fire=function(u,s,r){var v,t;if(!u||u.nodeType===3||u.nodeType===8){return q}t=a(null,r);t.type=s;do{v=u[h];if(v){j(t,v)}u=u.parentNode||u.ownerDocument||u.defaultView||u.parentWindow}while(u&amp;&amp;!t.isPropagationStopped());return q};q.clean=function(u){var s,r,t=q.unbind;if(!u||u.nodeType===3||u.nodeType===8){return q}if(u[h]){t(u)}if(!u.getElementsByTagName){u=u.document}if(u&amp;&amp;u.getElementsByTagName){t(u);r=u.getElementsByTagName(&quot;*&quot;);s=r.length;while(s--){u=r[s];if(u[h]){t(u)}}}return q};q.callNativeHandler=function(s,r){if(p){p[s][r.type].nativeHandler(r)}};q.destory=function(){p={}};q.add=function(v,s,u,t){if(typeof(v)===&quot;string&quot;){v=document.getElementById(v)}if(v&amp;&amp;v 
 instanceof Array){var r=v.length;while(r--){q.add(v[r],s,u,t)}return}if(s===&quot;init&quot;){s=&quot;ready&quot;}return q.bind(v,s instanceof Array?s.join(&quot; &quot;):s,u,t)};q.remove=function(v,s,u,t){if(!v){return q}if(typeof(v)===&quot;string&quot;){v=document.getElementById(v)}if(v instanceof Array){var r=v.length;while(r--){q.remove(v[r],s,u,t)}return q}return q.unbind(v,s instanceof Array?s.join(&quot; &quot;):s,u)};q.clear=function(r){if(typeof(r)===&quot;string&quot;){r=document.getElementById(r)}return q.clean(r)};q.cancel=function(r){if(r){q.prevent(r);q.stop(r)}return false};q.prevent=function(r){if(!r.preventDefault){r=a(r)}r.preventDefault();return false};q.stop=function(r){if(!r.stopPropagation){r=a(r)}r.stopPropagation();return false}}b.EventUtils=f;b.Event=new f(function(i){return function(j){tinymce.dom.Event.callNativeHandler(i,j)}});b.Event.bind(window,&quot;ready&quot;,function(){});b=0})(tinymce.dom,&quot;data-mce-expando&quot;);tinymce.dom.TreeWalke
 r=function(a,c){var b=a;function d(i,f,e,j){var h,g;if(i){if(!j&amp;&amp;i[f]){return i[f]}if(i!=c){h=i[e];if(h){return h}for(g=i.parentNode;g&amp;&amp;g!=c;g=g.parentNode){h=g[e];if(h){return h}}}}}this.current=function(){return b};this.next=function(e){return(b=d(b,&quot;firstChild&quot;,&quot;nextSibling&quot;,e))};this.prev=function(e){return(b=d(b,&quot;lastChild&quot;,&quot;previousSibling&quot;,e))}};(function(e){var g=e.each,d=e.is,f=e.isWebKit,b=e.isIE,h=e.html.Entities,c=/^([a-z0-9],?)+$/i,a=/^[ \t\r\n]*$/;e.create(&quot;tinymce.dom.DOMUtils&quot;,{doc:null,root:null,files:null,pixelStyles:/^(top|left|bottom|right|width|height|borderWidth)$/,props:{&quot;for&quot;:&quot;htmlFor&quot;,&quot;class&quot;:&quot;className&quot;,className:&quot;className&quot;,checked:&quot;checked&quot;,disabled:&quot;disabled&quot;,maxlength:&quot;maxLength&quot;,readonly:&quot;readOnly&quot;,selected:&quot;selected&quot;,value:&quot;value&quot;,id:&quot;id&quot;,name:&quot;name&quot;,
 type:&quot;type&quot;},DOMUtils:function(o,l){var k=this,i,j,n;k.doc=o;k.win=window;k.files={};k.cssFlicker=false;k.counter=0;k.stdMode=!e.isIE||o.documentMode&gt;=8;k.boxModel=!e.isIE||o.compatMode==&quot;CSS1Compat&quot;||k.stdMode;k.hasOuterHTML=&quot;outerHTML&quot; in o.createElement(&quot;a&quot;);k.settings=l=e.extend({keep_values:false,hex_colors:1},l);k.schema=l.schema;k.styles=new e.html.Styles({url_converter:l.url_converter,url_converter_scope:l.url_converter_scope},l.schema);if(e.isIE6){try{o.execCommand(&quot;BackgroundImageCache&quot;,false,true)}catch(m){k.cssFlicker=true}}k.fixDoc(o);k.events=l.ownEvents?new e.dom.EventUtils(l.proxy):e.dom.Event;e.addUnload(k.destroy,k);n=l.schema?l.schema.getBlockElements():{};k.isBlock=function(q){if(!q){return false}var p=q.nodeType;if(p){return !!(p===1&amp;&amp;n[q.nodeName])}return !!n[q]}},fixDoc:function(k){var j=this.settings,i;if(b&amp;&amp;j.schema){(&quot;abbr article aside audio canvas details figcaption figure f
 ooter header hgroup mark menu meter nav output progress section summary time video&quot;).replace(/\w+/g,function(l){k.createElement(l)});for(i in j.schema.getCustomElements()){k.createElement(i)}}},clone:function(k,i){var j=this,m,l;if(!b||k.nodeType!==1||i){return k.cloneNode(i)}l=j.doc;if(!i){m=l.createElement(k.nodeName);g(j.getAttribs(k),function(n){j.setAttrib(m,n.nodeName,j.getAttrib(k,n.nodeName))});return m}return m.firstChild},getRoot:function(){var i=this,j=i.settings;return(j&amp;&amp;i.get(j.root_element))||i.doc.body},getViewPort:function(j){var k,i;j=!j?this.win:j;k=j.document;i=this.boxModel?k.documentElement:k.body;return{x:j.pageXOffset||i.scrollLeft,y:j.pageYOffset||i.scrollTop,w:j.innerWidth||i.clientWidth,h:j.innerHeight||i.clientHeight}},getRect:function(l){var k,i=this,j;l=i.get(l);k=i.getPos(l);j=i.getSize(l);return{x:k.x,y:k.y,w:j.w,h:j.h}},getSize:function(l){var j=this,i,k;l=j.get(l);i=j.getStyle(l,&quot;width&quot;);k=j.getStyle(l,&quot;height&quo
 t;);if(i.indexOf(&quot;px&quot;)===-1){i=0}if(k.indexOf(&quot;px&quot;)===-1){k=0}return{w:parseInt(i,10)||l.offsetWidth||l.clientWidth,h:parseInt(k,10)||l.offsetHeight||l.clientHeight}},getParent:function(k,j,i){return this.getParents(k,j,i,false)},getParents:function(s,m,k,q){var j=this,i,l=j.settings,p=[];s=j.get(s);q=q===undefined;if(l.strict_root){k=k||j.getRoot()}if(d(m,&quot;string&quot;)){i=m;if(m===&quot;*&quot;){m=function(o){return o.nodeType==1}}else{m=function(o){return j.is(o,i)}}}while(s){if(s==k||!s.nodeType||s.nodeType===9){break}if(!m||m(s)){if(q){p.push(s)}else{return s}}s=s.parentNode}return q?p:null},get:function(i){var j;if(i&amp;&amp;this.doc&amp;&amp;typeof(i)==&quot;string&quot;){j=i;i=this.doc.getElementById(i);if(i&amp;&amp;i.id!==j){return this.doc.getElementsByName(j)[1]}}return i},getNext:function(j,i){return this._findSib(j,i,&quot;nextSibling&quot;)},getPrev:function(j,i){return this._findSib(j,i,&quot;previousSibling&quot;)},select:function(k
 ,j){var i=this;return e.dom.Sizzle(k,i.get(j)||i.get(i.settings.root_element)||i.doc,[])},is:function(l,j){var k;if(l.length===undefined){if(j===&quot;*&quot;){return l.nodeType==1}if(c.test(j)){j=j.toLowerCase().split(/,/);l=l.nodeName.toLowerCase();for(k=j.length-1;k&gt;=0;k--){if(j[k]==l){return true}}return false}}return e.dom.Sizzle.matches(j,l.nodeType?[l]:l).length&gt;0},add:function(l,o,i,k,m){var j=this;return this.run(l,function(r){var q,n;q=d(o,&quot;string&quot;)?j.doc.createElement(o):o;j.setAttribs(q,i);if(k){if(k.nodeType){q.appendChild(k)}else{j.setHTML(q,k)}}return !m?r.appendChild(q):q})},create:function(k,i,j){return this.add(this.doc.createElement(k),k,i,j,1)},createHTML:function(q,i,m){var p=&quot;&quot;,l=this,j;p+=&quot;&lt;&quot;+q;for(j in i){if(i.hasOwnProperty(j)){p+=&quot; &quot;+j+'=&quot;'+l.encode(i[j])+'&quot;'}}if(typeof(m)!=&quot;undefined&quot;){return p+&quot;&gt;&quot;+m+&quot;&lt;/&quot;+q+&quot;&gt;&quot;}return p+&quot; /&gt;&quot;},re
 move:function(i,j){return this.run(i,function(l){var m,k=l.parentNode;if(!k){return null}if(j){while(m=l.firstChild){if(!e.isIE||m.nodeType!==3||m.nodeValue){k.insertBefore(m,l)}else{l.removeChild(m)}}}return k.removeChild(l)})},setStyle:function(l,i,j){var k=this;return k.run(l,function(o){var n,m;n=o.style;i=i.replace(/-(\D)/g,function(q,p){return p.toUpperCase()});if(k.pixelStyles.test(i)&amp;&amp;(e.is(j,&quot;number&quot;)||/^[\-0-9\.]+$/.test(j))){j+=&quot;px&quot;}switch(i){case&quot;opacity&quot;:if(b){n.filter=j===&quot;&quot;?&quot;&quot;:&quot;alpha(opacity=&quot;+(j*100)+&quot;)&quot;;if(!l.currentStyle||!l.currentStyle.hasLayout){n.display=&quot;inline-block&quot;}}n[i]=n[&quot;-moz-opacity&quot;]=n[&quot;-khtml-opacity&quot;]=j||&quot;&quot;;break;case&quot;float&quot;:b?n.styleFloat=j:n.cssFloat=j;break;default:n[i]=j||&quot;&quot;}if(k.settings.update_styles){k.setAttrib(o,&quot;data-mce-style&quot;)}})},getStyle:function(l,i,k){l=this.get(l);if(!l){return}if
 (this.doc.defaultView&amp;&amp;k){i=i.replace(/[A-Z]/g,function(m){return&quot;-&quot;+m});try{return this.doc.defaultView.getComputedStyle(l,null).getPropertyValue(i)}catch(j){return null}}i=i.replace(/-(\D)/g,function(n,m){return m.toUpperCase()});if(i==&quot;float&quot;){i=b?&quot;styleFloat&quot;:&quot;cssFloat&quot;}if(l.currentStyle&amp;&amp;k){return l.currentStyle[i]}return l.style?l.style[i]:undefined},setStyles:function(l,m){var j=this,k=j.settings,i;i=k.update_styles;k.update_styles=0;g(m,function(o,p){j.setStyle(l,p,o)});k.update_styles=i;if(k.update_styles){j.setAttrib(l,k.cssText)}},removeAllAttribs:function(i){return this.run(i,function(l){var k,j=l.attributes;for(k=j.length-1;k&gt;=0;k--){l.removeAttributeNode(j.item(k))}})},setAttrib:function(k,l,i){var j=this;if(!k||!l){return}if(j.settings.strict){l=l.toLowerCase()}return this.run(k,function(p){var o=j.settings;var m=p.getAttribute(l);if(i!==null){switch(l){case&quot;style&quot;:if(!d(i,&quot;string&quot;)
 ){g(i,function(q,r){j.setStyle(p,r,q)});return}if(o.keep_values){if(i&amp;&amp;!j._isRes(i)){p.setAttribute(&quot;data-mce-style&quot;,i,2)}else{p.removeAttribute(&quot;data-mce-style&quot;,2)}}p.style.cssText=i;break;case&quot;class&quot;:p.className=i||&quot;&quot;;break;case&quot;src&quot;:case&quot;href&quot;:if(o.keep_values){if(o.url_converter){i=o.url_converter.call(o.url_converter_scope||j,i,l,p)}j.setAttrib(p,&quot;data-mce-&quot;+l,i,2)}break;case&quot;shape&quot;:p.setAttribute(&quot;data-mce-style&quot;,i);break}}if(d(i)&amp;&amp;i!==null&amp;&amp;i.length!==0){p.setAttribute(l,&quot;&quot;+i,2)}else{p.removeAttribute(l,2)}if(tinyMCE.activeEditor&amp;&amp;m!=i){var n=tinyMCE.activeEditor;n.onSetAttrib.dispatch(n,p,l,i)}})},setAttribs:function(j,k){var i=this;return this.run(j,function(l){g(k,function(m,o){i.setAttrib(l,o,m)})})},getAttrib:function(m,o,k){var i,j=this,l;m=j.get(m);if(!m||m.nodeType!==1){return k===l?false:k}if(!d(k)){k=&quot;&quot;}if(/^(src|href|
 style|coords|shape)$/.test(o)){i=m.getAttribute(&quot;data-mce-&quot;+o);if(i){return i}}if(b&amp;&amp;j.props[o]){i=m[j.props[o]];i=i&amp;&amp;i.nodeValue?i.nodeValue:i}if(!i){i=m.getAttribute(o,2)}if(/^(checked|compact|declare|defer|disabled|ismap|multiple|nohref|noshade|nowrap|readonly|selected)$/.test(o)){if(m[j.props[o]]===true&amp;&amp;i===&quot;&quot;){return o}return i?o:&quot;&quot;}if(m.nodeName===&quot;FORM&quot;&amp;&amp;m.getAttributeNode(o)){return m.getAttributeNode(o).nodeValue}if(o===&quot;style&quot;){i=i||m.style.cssText;if(i){i=j.serializeStyle(j.parseStyle(i),m.nodeName);if(j.settings.keep_values&amp;&amp;!j._isRes(i)){m.setAttribute(&quot;data-mce-style&quot;,i)}}}if(f&amp;&amp;o===&quot;class&quot;&amp;&amp;i){i=i.replace(/(apple|webkit)\-[a-z\-]+/gi,&quot;&quot;)}if(b){switch(o){case&quot;rowspan&quot;:case&quot;colspan&quot;:if(i===1){i=&quot;&quot;}break;case&quot;size&quot;:if(i===&quot;+0&quot;||i===20||i===0){i=&quot;&quot;}break;case&quot;width&
 quot;:case&quot;height&quot;:case&quot;vspace&quot;:case&quot;checked&quot;:case&quot;disabled&quot;:case&quot;readonly&quot;:if(i===0){i=&quot;&quot;}break;case&quot;hspace&quot;:if(i===-1){i=&quot;&quot;}break;case&quot;maxlength&quot;:case&quot;tabindex&quot;:if(i===32768||i===2147483647||i===&quot;32768&quot;){i=&quot;&quot;}break;case&quot;multiple&quot;:case&quot;compact&quot;:case&quot;noshade&quot;:case&quot;nowrap&quot;:if(i===65535){return o}return k;case&quot;shape&quot;:i=i.toLowerCase();break;default:if(o.indexOf(&quot;on&quot;)===0&amp;&amp;i){i=e._replace(/^function\s+\w+\(\)\s+\{\s+(.*)\s+\}$/,&quot;$1&quot;,&quot;&quot;+i)}}}return(i!==l&amp;&amp;i!==null&amp;&amp;i!==&quot;&quot;)?&quot;&quot;+i:k},getPos:function(q,l){var j=this,i=0,p=0,m,o=j.doc,k;q=j.get(q);l=l||o.body;if(q){if(q.getBoundingClientRect){q=q.getBoundingClientRect();m=j.boxModel?o.documentElement:o.body;i=q.left+(o.documentElement.scrollLeft||o.body.scrollLeft)-m.clientTop;p=q.top+(o.docume
 ntElement.scrollTop||o.body.scrollTop)-m.clientLeft;return{x:i,y:p}}k=q;while(k&amp;&amp;k!=l&amp;&amp;k.nodeType){i+=k.offsetLeft||0;p+=k.offsetTop||0;k=k.offsetParent}k=q.parentNode;while(k&amp;&amp;k!=l&amp;&amp;k.nodeType){i-=k.scrollLeft||0;p-=k.scrollTop||0;k=k.parentNode}}return{x:i,y:p}},parseStyle:function(i){return this.styles.parse(i)},serializeStyle:function(j,i){return this.styles.serialize(j,i)},addStyle:function(j){var k=this.doc,i;styleElm=k.getElementById(&quot;mceDefaultStyles&quot;);if(!styleElm){styleElm=k.createElement(&quot;style&quot;),styleElm.id=&quot;mceDefaultStyles&quot;;styleElm.type=&quot;text/css&quot;;i=k.getElementsByTagName(&quot;head&quot;)[0];if(i.firstChild){i.insertBefore(styleElm,i.firstChild)}else{i.appendChild(styleElm)}}if(styleElm.styleSheet){styleElm.styleSheet.cssText+=j}else{styleElm.appendChild(k.createTextNode(j))}},loadCSS:function(i){var k=this,l=k.doc,j;if(!i){i=&quot;&quot;}j=l.getElementsByTagName(&quot;head&quot;)[0];g(i.
 split(&quot;,&quot;),function(m){var n;if(k.files[m]){return}k.files[m]=true;n=k.create(&quot;link&quot;,{rel:&quot;stylesheet&quot;,href:e._addVer(m)});if(b&amp;&amp;l.documentMode&amp;&amp;l.recalc){n.onload=function(){if(l.recalc){l.recalc()}n.onload=null}}j.appendChild(n)})},addClass:function(i,j){return this.run(i,function(k){var l;if(!j){return 0}if(this.hasClass(k,j)){return k.className}l=this.removeClass(k,j);return k.className=(l!=&quot;&quot;?(l+&quot; &quot;):&quot;&quot;)+j})},removeClass:function(k,l){var i=this,j;return i.run(k,function(n){var m;if(i.hasClass(n,l)){if(!j){j=new RegExp(&quot;(^|\\s+)&quot;+l+&quot;(\\s+|$)&quot;,&quot;g&quot;)}m=n.className.replace(j,&quot; &quot;);m=e.trim(m!=&quot; &quot;?m:&quot;&quot;);n.className=m;if(!m){n.removeAttribute(&quot;class&quot;);n.removeAttribute(&quot;className&quot;)}return m}return n.className})},hasClass:function(j,i){j=this.get(j);if(!j||!i){return false}return(&quot; &quot;+j.className+&quot; &quot;).inde
 xOf(&quot; &quot;+i+&quot; &quot;)!==-1},show:function(i){return this.setStyle(i,&quot;display&quot;,&quot;block&quot;)},hide:function(i){return this.setStyle(i,&quot;display&quot;,&quot;none&quot;)},isHidden:function(i){i=this.get(i);return !i||i.style.display==&quot;none&quot;||this.getStyle(i,&quot;display&quot;)==&quot;none&quot;},uniqueId:function(i){return(!i?&quot;mce_&quot;:i)+(this.counter++)},setHTML:function(k,j){var i=this;return i.run(k,function(m){if(b){while(m.firstChild){m.removeChild(m.firstChild)}try{m.innerHTML=&quot;&lt;br /&gt;&quot;+j;m.removeChild(m.firstChild)}catch(l){var n=i.create(&quot;div&quot;);n.innerHTML=&quot;&lt;br /&gt;&quot;+j;g(e.grep(n.childNodes),function(p,o){if(o&amp;&amp;m.canHaveHTML){m.appendChild(p)}})}}else{m.innerHTML=j}return j})},getOuterHTML:function(k){var j,i=this;k=i.get(k);if(!k){return null}if(k.nodeType===1&amp;&amp;i.hasOuterHTML){return k.outerHTML}j=(k.ownerDocument||i.doc).createElement(&quot;body&quot;);j.appendChi
 ld(k.cloneNode(true));return j.innerHTML},setOuterHTML:function(l,j,m){var i=this;function k(p,o,r){var s,q;q=r.createElement(&quot;body&quot;);q.innerHTML=o;s=q.lastChild;while(s){i.insertAfter(s.cloneNode(true),p);s=s.previousSibling}i.remove(p)}return this.run(l,function(o){o=i.get(o);if(o.nodeType==1){m=m||o.ownerDocument||i.doc;if(b){try{if(b&amp;&amp;o.nodeType==1){o.outerHTML=j}else{k(o,j,m)}}catch(n){k(o,j,m)}}else{k(o,j,m)}}})},decode:h.decode,encode:h.encodeAllRaw,insertAfter:function(i,j){j=this.get(j);return this.run(i,function(l){var k,m;k=j.parentNode;m=j.nextSibling;if(m){k.insertBefore(l,m)}else{k.appendChild(l)}return l})},replace:function(m,l,i){var j=this;if(d(l,&quot;array&quot;)){m=m.cloneNode(true)}return j.run(l,function(k){if(i){g(e.grep(k.childNodes),function(n){m.appendChild(n)})}return k.parentNode.replaceChild(m,k)})},rename:function(l,i){var k=this,j;if(l.nodeName!=i.toUpperCase()){j=k.create(i);g(k.getAttribs(l),function(m){k.setAttrib(j,m.nodeN
 ame,k.getAttrib(l,m.nodeName))});k.replace(j,l,1)}return j||l},findCommonAncestor:function(k,i){var l=k,j;while(l){j=i;while(j&amp;&amp;l!=j){j=j.parentNode}if(l==j){break}l=l.parentNode}if(!l&amp;&amp;k.ownerDocument){return k.ownerDocument.documentElement}return l},toHex:function(i){var k=/^\s*rgb\s*?\(\s*?([0-9]+)\s*?,\s*?([0-9]+)\s*?,\s*?([0-9]+)\s*?\)\s*$/i.exec(i);function j(l){l=parseInt(l,10).toString(16);return l.length&gt;1?l:&quot;0&quot;+l}if(k){i=&quot;#&quot;+j(k[1])+j(k[2])+j(k[3]);return i}return i},getClasses:function(){var n=this,j=[],m,o={},p=n.settings.class_filter,l;if(n.classes){return n.classes}function q(i){g(i.imports,function(s){q(s)});g(i.cssRules||i.rules,function(s){switch(s.type||1){case 1:if(s.selectorText){g(s.selectorText.split(&quot;,&quot;),function(r){r=r.replace(/^\s*|\s*$|^\s\./g,&quot;&quot;);if(/\.mce/.test(r)||!/\.[\w\-]+$/.test(r)){return}l=r;r=e._replace(/.*\.([a-z0-9_\-]+).*/i,&quot;$1&quot;,r);if(p&amp;&amp;!(r=p(r,l))){return}if(
 !o[r]){j.push({&quot;class&quot;:r});o[r]=1}})}break;case 3:q(s.styleSheet);break}})}try{g(n.doc.styleSheets,q)}catch(k){}if(j.length&gt;0){n.classes=j}return j},run:function(l,k,j){var i=this,m;if(i.doc&amp;&amp;typeof(l)===&quot;string&quot;){l=i.get(l)}if(!l){return false}j=j||this;if(!l.nodeType&amp;&amp;(l.length||l.length===0)){m=[];g(l,function(o,n){if(o){if(typeof(o)==&quot;string&quot;){o=i.doc.getElementById(o)}m.push(k.call(j,o,n))}});return m}return k.call(j,l)},getAttribs:function(j){var i;j=this.get(j);if(!j){return[]}if(b){i=[];if(j.nodeName==&quot;OBJECT&quot;){return j.attributes}if(j.nodeName===&quot;OPTION&quot;&amp;&amp;this.getAttrib(j,&quot;selected&quot;)){i.push({specified:1,nodeName:&quot;selected&quot;})}j.cloneNode(false).outerHTML.replace(/&lt;\/?[\w:\-]+ ?|=[\&quot;][^\&quot;]+\&quot;|=\'[^\']+\'|=[\w\-]+|&gt;/gi,&quot;&quot;).replace(/[\w:\-]+/gi,function(k){i.push({specified:1,nodeName:k})});return i}return j.attributes},isEmpty:function(m,k){v
 ar r=this,o,n,q,j,l,p=0;m=m.firstChild;if(m){j=new e.dom.TreeWalker(m,m.parentNode);k=k||r.schema?r.schema.getNonEmptyElements():null;do{q=m.nodeType;if(q===1){if(m.getAttribute(&quot;data-mce-bogus&quot;)){continue}l=m.nodeName.toLowerCase();if(k&amp;&amp;k[l]){if(l===&quot;br&quot;){p++;continue}return false}n=r.getAttribs(m);o=m.attributes.length;while(o--){l=m.attributes[o].nodeName;if(l===&quot;name&quot;||l===&quot;data-mce-bookmark&quot;){return false}}}if(q==8){return false}if((q===3&amp;&amp;!a.test(m.nodeValue))){return false}}while(m=j.next())}return p&lt;=1},destroy:function(j){var i=this;i.win=i.doc=i.root=i.events=i.frag=null;if(!j){e.removeUnload(i.destroy)}},createRng:function(){var i=this.doc;return i.createRange?i.createRange():new e.dom.Range(this)},nodeIndex:function(m,n){var i=0,k,l,j;if(m){for(k=m.nodeType,m=m.previousSibling,l=m;m;m=m.previousSibling){j=m.nodeType;if(n&amp;&amp;j==3){if(j==k||!m.nodeValue.length){continue}}i++;k=j}}return i},split:func
 tion(m,l,p){var q=this,i=q.createRng(),n,k,o;function j(v){var t,s=v.childNodes,u=v.nodeType;function x(A){var z=A.previousSibling&amp;&amp;A.previousSibling.nodeName==&quot;SPAN&quot;;var y=A.nextSibling&amp;&amp;A.nextSibling.nodeName==&quot;SPAN&quot;;return z&amp;&amp;y}if(u==1&amp;&amp;v.getAttribute(&quot;data-mce-type&quot;)==&quot;bookmark&quot;){return}for(t=s.length-1;t&gt;=0;t--){j(s[t])}if(u!=9){if(u==3&amp;&amp;v.nodeValue.length&gt;0){var r=e.trim(v.nodeValue).length;if(!q.isBlock(v.parentNode)||r&gt;0||r===0&amp;&amp;x(v)){return}}else{if(u==1){s=v.childNodes;if(s.length==1&amp;&amp;s[0]&amp;&amp;s[0].nodeType==1&amp;&amp;s[0].getAttribute(&quot;data-mce-type&quot;)==&quot;bookmark&quot;){v.parentNode.insertBefore(s[0],v)}if(s.length||/^(br|hr|input|img)$/i.test(v.nodeName)){return}}}q.remove(v)}return v}if(m&amp;&amp;l){i.setStart(m.parentNode,q.nodeIndex(m));i.setEnd(l.parentNode,q.nodeIndex(l));n=i.extractContents();i=q.createRng();i.setStart(l.parentNode,q
 .nodeIndex(l)+1);i.setEnd(m.parentNode,q.nodeIndex(m)+1);k=i.extractContents();o=m.parentNode;o.insertBefore(j(n),m);if(p){o.replaceChild(p,l)}else{o.insertBefore(l,m)}o.insertBefore(j(k),m);q.remove(m);return p||l}},bind:function(l,i,k,j){return this.events.add(l,i,k,j||this)},unbind:function(k,i,j){return this.events.remove(k,i,j)},fire:function(k,j,i){return this.events.fire(k,j,i)},getContentEditable:function(j){var i;if(j.nodeType!=1){return null}i=j.getAttribute(&quot;data-mce-contenteditable&quot;);if(i&amp;&amp;i!==&quot;inherit&quot;){return i}return j.contentEditable!==&quot;inherit&quot;?j.contentEditable:null},_findSib:function(l,i,j){var k=this,m=i;if(l){if(d(m,&quot;string&quot;)){m=function(n){return k.is(n,i)}}for(l=l[j];l;l=l[j]){if(m(l)){return l}}}return null},_isRes:function(i){return/^(top|left|bottom|right|width|height)/i.test(i)||/;\s*(top|left|bottom|right|width|height)/i.test(i)}});e.DOM=new e.dom.DOMUtils(document,{process_html:0})})(tinymce);(funct
 ion(a){function b(c){var O=this,e=c.doc,U=0,F=1,j=2,E=true,S=false,W=&quot;startOffset&quot;,h=&quot;startContainer&quot;,Q=&quot;endContainer&quot;,A=&quot;endOffset&quot;,k=tinymce.extend,n=c.nodeIndex;k(O,{startContainer:e,startOffset:0,endContainer:e,endOffset:0,collapsed:E,commonAncestorContainer:e,START_TO_START:0,START_TO_END:1,END_TO_END:2,END_TO_START:3,setStart:q,setEnd:s,setStartBefore:g,setStartAfter:J,setEndBefore:K,setEndAfter:u,collapse:B,selectNode:y,selectNodeContents:G,compareBoundaryPoints:v,deleteContents:p,extractContents:I,cloneContents:d,insertNode:D,surroundContents:N,cloneRange:L,toStringIE:T});function x(){return e.createDocumentFragment()}function q(X,t){C(E,X,t)}function s(X,t){C(S,X,t)}function g(t){q(t.parentNode,n(t))}function J(t){q(t.parentNode,n(t)+1)}function K(t){s(t.parentNode,n(t))}function u(t){s(t.parentNode,n(t)+1)}function B(t){if(t){O[Q]=O[h];O[A]=O[W]}else{O[h]=O[Q];O[W]=O[A]}O.collapsed=E}function y(t){g(t);u(t)}function G(t){q(t,
 0);s(t,t.nodeType===1?t.childNodes.length:t.nodeValue.length)}function v(aa,t){var ad=O[h],Y=O[W],ac=O[Q],X=O[A],ab=t.startContainer,af=t.startOffset,Z=t.endContainer,ae=t.endOffset;if(aa===0){return H(ad,Y,ab,af)}if(aa===1){return H(ac,X,ab,af)}if(aa===2){return H(ac,X,Z,ae)}if(aa===3){return H(ad,Y,Z,ae)}}function p(){l(j)}function I(){return l(U)}function d(){return l(F)}function D(aa){var X=this[h],t=this[W],Z,Y;if((X.nodeType===3||X.nodeType===4)&amp;&amp;X.nodeValue){if(!t){X.parentNode.insertBefore(aa,X)}else{if(t&gt;=X.nodeValue.length){c.insertAfter(aa,X)}else{Z=X.splitText(t);X.parentNode.insertBefore(aa,Z)}}}else{if(X.childNodes.length&gt;0){Y=X.childNodes[t]}if(Y){X.insertBefore(aa,Y)}else{X.appendChild(aa)}}}function N(X){var t=O.extractContents();O.insertNode(X);X.appendChild(t);O.selectNode(X)}function L(){return k(new b(c),{startContainer:O[h],startOffset:O[W],endContainer:O[Q],endOffset:O[A],collapsed:O.collapsed,commonAncestorContainer:O.commonAncestorConta
 iner})}function P(t,X){var Y;if(t.nodeType==3){return t}if(X&lt;0){return t}Y=t.firstChild;while(Y&amp;&amp;X&gt;0){--X;Y=Y.nextSibling}if(Y){return Y}return t}function m(){return(O[h]==O[Q]&amp;&amp;O[W]==O[A])}function H(Z,ab,X,aa){var ac,Y,t,ad,af,ae;if(Z==X){if(ab==aa){return 0}if(ab&lt;aa){return -1}return 1}ac=X;while(ac&amp;&amp;ac.parentNode!=Z){ac=ac.parentNode}if(ac){Y=0;t=Z.firstChild;while(t!=ac&amp;&amp;Y&lt;ab){Y++;t=t.nextSibling}if(ab&lt;=Y){return -1}return 1}ac=Z;while(ac&amp;&amp;ac.parentNode!=X){ac=ac.parentNode}if(ac){Y=0;t=X.firstChild;while(t!=ac&amp;&amp;Y&lt;aa){Y++;t=t.nextSibling}if(Y&lt;aa){return -1}return 1}ad=c.findCommonAncestor(Z,X);af=Z;while(af&amp;&amp;af.parentNode!=ad){af=af.parentNode}if(!af){af=ad}ae=X;while(ae&amp;&amp;ae.parentNode!=ad){ae=ae.parentNode}if(!ae){ae=ad}if(af==ae){return 0}t=ad.firstChild;while(t){if(t==af){return -1}if(t==ae){return 1}t=t.nextSibling}}function C(X,aa,Z){var t,Y;if(X){O[h]=aa;O[W]=Z}else{O[Q]=aa;O[A]=Z
 }t=O[Q];while(t.parentNode){t=t.parentNode}Y=O[h];while(Y.parentNode){Y=Y.parentNode}if(Y==t){if(H(O[h],O[W],O[Q],O[A])&gt;0){O.collapse(X)}}else{O.collapse(X)}O.collapsed=m();O.commonAncestorContainer=c.findCommonAncestor(O[h],O[Q])}function l(ad){var ac,Z=0,af=0,X,ab,Y,aa,t,ae;if(O[h]==O[Q]){return f(ad)}for(ac=O[Q],X=ac.parentNode;X;ac=X,X=X.parentNode){if(X==O[h]){return r(ac,ad)}++Z}for(ac=O[h],X=ac.parentNode;X;ac=X,X=X.parentNode){if(X==O[Q]){return V(ac,ad)}++af}ab=af-Z;Y=O[h];while(ab&gt;0){Y=Y.parentNode;ab--}aa=O[Q];while(ab&lt;0){aa=aa.parentNode;ab++}for(t=Y.parentNode,ae=aa.parentNode;t!=ae;t=t.parentNode,ae=ae.parentNode){Y=t;aa=ae}return o(Y,aa,ad)}function f(ac){var ae,af,t,Y,Z,ad,aa,X,ab;if(ac!=j){ae=x()}if(O[W]==O[A]){return ae}if(O[h].nodeType==3){af=O[h].nodeValue;t=af.substring(O[W],O[A]);if(ac!=F){Y=O[h];X=O[W];ab=O[A]-O[W];if(X===0&amp;&amp;ab&gt;=Y.nodeValue.length-1){Y.parentNode.removeChild(Y)}else{Y.deleteData(X,ab)}O.collapse(E)}if(ac==j){return}
 if(t.length&gt;0){ae.appendChild(e.createTextNode(t))}return ae}Y=P(O[h],O[W]);Z=O[A]-O[W];while(Y&amp;&amp;Z&gt;0){ad=Y.nextSibling;aa=z(Y,ac);if(ae){ae.appendChild(aa)}--Z;Y=ad}if(ac!=F){O.collapse(E)}return ae}function r(ad,aa){var ac,ab,X,t,Z,Y;if(aa!=j){ac=x()}ab=i(ad,aa);if(ac){ac.appendChild(ab)}X=n(ad);t=X-O[W];if(t&lt;=0){if(aa!=F){O.setEndBefore(ad);O.collapse(S)}return ac}ab=ad.previousSibling;while(t&gt;0){Z=ab.previousSibling;Y=z(ab,aa);if(ac){ac.insertBefore(Y,ac.firstChild)}--t;ab=Z}if(aa!=F){O.setEndBefore(ad);O.collapse(S)}return ac}function V(ab,aa){var ad,X,ac,t,Z,Y;if(aa!=j){ad=x()}ac=R(ab,aa);if(ad){ad.appendChild(ac)}X=n(ab);++X;t=O[A]-X;ac=ab.nextSibling;while(ac&amp;&amp;t&gt;0){Z=ac.nextSibling;Y=z(ac,aa);if(ad){ad.appendChild(Y)}--t;ac=Z}if(aa!=F){O.setStartAfter(ab);O.collapse(E)}return ad}function o(ab,t,ae){var Y,ag,aa,ac,ad,X,af,Z;if(ae!=j){ag=x()}Y=R(ab,ae);if(ag){ag.appendChild(Y)}aa=ab.parentNode;ac=n(ab);ad=n(t);++ac;X=ad-ac;af=ab.nextSiblin
 g;while(X&gt;0){Z=af.nextSibling;Y=z(af,ae);if(ag){ag.appendChild(Y)}af=Z;--X}Y=i(t,ae);if(ag){ag.appendChild(Y)}if(ae!=F){O.setStartAfter(ab);O.collapse(E)}return ag}function i(ac,ad){var Y=P(O[Q],O[A]-1),ae,ab,aa,t,X,Z=Y!=O[Q];if(Y==ac){return M(Y,Z,S,ad)}ae=Y.parentNode;ab=M(ae,S,S,ad);while(ae){while(Y){aa=Y.previousSibling;t=M(Y,Z,S,ad);if(ad!=j){ab.insertBefore(t,ab.firstChild)}Z=E;Y=aa}if(ae==ac){return ab}Y=ae.previousSibling;ae=ae.parentNode;X=M(ae,S,S,ad);if(ad!=j){X.appendChild(ab)}ab=X}}function R(ac,ad){var Z=P(O[h],O[W]),aa=Z!=O[h],ae,ab,Y,t,X;if(Z==ac){return M(Z,aa,E,ad)}ae=Z.parentNode;ab=M(ae,S,E,ad);while(ae){while(Z){Y=Z.nextSibling;t=M(Z,aa,E,ad);if(ad!=j){ab.appendChild(t)}aa=E;Z=Y}if(ae==ac){return ab}Z=ae.nextSibling;ae=ae.parentNode;X=M(ae,S,E,ad);if(ad!=j){X.appendChild(ab)}ab=X}}function M(t,aa,ad,ae){var Z,Y,ab,X,ac;if(aa){return z(t,ae)}if(t.nodeType==3){Z=t.nodeValue;if(ad){X=O[W];Y=Z.substring(X);ab=Z.substring(0,X)}else{X=O[A];Y=Z.substring(0,
 X);ab=Z.substring(X)}if(ae!=F){t.nodeValue=ab}if(ae==j){return}ac=c.clone(t,S);ac.nodeValue=Y;return ac}if(ae==j){return}return c.clone(t,S)}function z(X,t){if(t!=j){return t==F?c.clone(X,E):X}X.parentNode.removeChild(X)}function T(){return c.create(&quot;body&quot;,null,d()).outerText}return O}a.Range=b;b.prototype.toString=function(){return this.toStringIE()}})(tinymce.dom);(function(){function a(d){var b=this,h=d.dom,c=true,f=false;function e(i,j){var k,t=0,q,n,m,l,o,r,p=-1,s;k=i.duplicate();k.collapse(j);s=k.parentElement();if(s.ownerDocument!==d.dom.doc){return}while(s.contentEditable===&quot;false&quot;){s=s.parentNode}if(!s.hasChildNodes()){return{node:s,inside:1}}m=s.children;q=m.length-1;while(t&lt;=q){r=Math.floor((t+q)/2);l=m[r];k.moveToElementText(l);p=k.compareEndPoints(j?&quot;StartToStart&quot;:&quot;EndToEnd&quot;,i);if(p&gt;0){q=r-1}else{if(p&lt;0){t=r+1}else{return{node:l}}}}if(p&lt;0){if(!l){k.moveToElementText(s);k.collapse(true);l=s;n=true}else{k.collaps
 e(false)}o=0;while(k.compareEndPoints(j?&quot;StartToStart&quot;:&quot;StartToEnd&quot;,i)!==0){if(k.move(&quot;character&quot;,1)===0||s!=k.parentElement()){break}o++}}else{k.collapse(true);o=0;while(k.compareEndPoints(j?&quot;StartToStart&quot;:&quot;StartToEnd&quot;,i)!==0){if(k.move(&quot;character&quot;,-1)===0||s!=k.parentElement()){break}o++}}return{node:l,position:p,offset:o,inside:n}}function g(){var i=d.getRng(),r=h.createRng(),l,k,p,q,m,j;l=i.item?i.item(0):i.parentElement();if(l.ownerDocument!=h.doc){return r}k=d.isCollapsed();if(i.item){r.setStart(l.parentNode,h.nodeIndex(l));r.setEnd(r.startContainer,r.startOffset+1);return r}function o(A){var u=e(i,A),s,y,z=0,x,v,t;s=u.node;y=u.offset;if(u.inside&amp;&amp;!s.hasChildNodes()){r[A?&quot;setStart&quot;:&quot;setEnd&quot;](s,0);return}if(y===v){r[A?&quot;setStartBefore&quot;:&quot;setEndAfter&quot;](s);return}if(u.position&lt;0){x=u.inside?s.firstChild:s.nextSibling;if(!x){r[A?&quot;setStartAfter&quot;:&quot;setEn
 dAfter&quot;](s);return}if(!y){if(x.nodeType==3){r[A?&quot;setStart&quot;:&quot;setEnd&quot;](x,0)}else{r[A?&quot;setStartBefore&quot;:&quot;setEndBefore&quot;](x)}return}while(x){t=x.nodeValue;z+=t.length;if(z&gt;=y){s=x;z-=y;z=t.length-z;break}x=x.nextSibling}}else{x=s.previousSibling;if(!x){return r[A?&quot;setStartBefore&quot;:&quot;setEndBefore&quot;](s)}if(!y){if(s.nodeType==3){r[A?&quot;setStart&quot;:&quot;setEnd&quot;](x,s.nodeValue.length)}else{r[A?&quot;setStartAfter&quot;:&quot;setEndAfter&quot;](x)}return}while(x){z+=x.nodeValue.length;if(z&gt;=y){s=x;z-=y;break}x=x.previousSibling}}r[A?&quot;setStart&quot;:&quot;setEnd&quot;](s,z)}try{o(true);if(!k){o()}}catch(n){if(n.number==-2147024809){m=b.getBookmark(2);p=i.duplicate();p.collapse(true);l=p.parentElement();if(!k){p=i.duplicate();p.collapse(false);q=p.parentElement();q.innerHTML=q.innerHTML}l.innerHTML=l.innerHTML;b.moveToBookmark(m);i=d.getRng();o(true);if(!k){o()}}else{throw n}}return r}this.getBookmark=fun
 ction(m){var j=d.getRng(),o,i,l={};function n(u){var t,p,s,r,q=[];t=u.parentNode;p=h.getRoot().parentNode;while(t!=p&amp;&amp;t.nodeType!==9){s=t.children;r=s.length;while(r--){if(u===s[r]){q.push(r);break}}u=t;t=t.parentNode}return q}function k(q){var p;p=e(j,q);if(p){return{position:p.position,offset:p.offset,indexes:n(p.node),inside:p.inside}}}if(m===2){if(!j.item){l.start=k(true);if(!d.isCollapsed()){l.end=k()}}else{l.start={ctrl:true,indexes:n(j.item(0))}}}return l};this.moveToBookmark=function(k){var j,i=h.doc.body;function m(o){var r,q,n,p;r=h.getRoot();for(q=o.length-1;q&gt;=0;q--){p=r.children;n=o[q];if(n&lt;=p.length-1){r=p[n]}}return r}function l(r){var n=k[r?&quot;start&quot;:&quot;end&quot;],q,p,o;if(n){q=n.position&gt;0;p=i.createTextRange();p.moveToElementText(m(n.indexes));offset=n.offset;if(offset!==o){p.collapse(n.inside||q);p.moveStart(&quot;character&quot;,q?-offset:offset)}else{p.collapse(r)}j.setEndPoint(r?&quot;StartToStart&quot;:&quot;EndToStart&quot;
 ,p);if(r){j.collapse(true)}}}if(k.start){if(k.start.ctrl){j=i.createControlRange();j.addElement(m(k.start.indexes));j.select()}else{j=i.createTextRange();l(true);l();j.select()}}};this.addRange=function(i){var n,l,k,p,v,q,t,s=d.dom.doc,m=s.body,r,u;function j(C){var y,B,x,A,z;x=h.create(&quot;a&quot;);y=C?k:v;B=C?p:q;A=n.duplicate();if(y==s||y==s.documentElement){y=m;B=0}if(y.nodeType==3){y.parentNode.insertBefore(x,y);A.moveToElementText(x);A.moveStart(&quot;character&quot;,B);h.remove(x);n.setEndPoint(C?&quot;StartToStart&quot;:&quot;EndToEnd&quot;,A)}else{z=y.childNodes;if(z.length){if(B&gt;=z.length){h.insertAfter(x,z[z.length-1])}else{y.insertBefore(x,z[B])}A.moveToElementText(x)}else{if(y.canHaveHTML){y.innerHTML=&quot;&lt;span&gt;\uFEFF&lt;/span&gt;&quot;;x=y.firstChild;A.moveToElementText(x);A.collapse(f)}}n.setEndPoint(C?&quot;StartToStart&quot;:&quot;EndToEnd&quot;,A);h.remove(x)}}k=i.startContainer;p=i.startOffset;v=i.endContainer;q=i.endOffset;n=m.createTextRange
 ();if(k==v&amp;&amp;k.nodeType==1){if(p==q&amp;&amp;!k.hasChildNodes()){if(k.canHaveHTML){t=k.previousSibling;if(t&amp;&amp;!t.hasChildNodes()&amp;&amp;h.isBlock(t)){t.innerHTML=&quot;\uFEFF&quot;}else{t=null}k.innerHTML=&quot;&lt;span&gt;\uFEFF&lt;/span&gt;&lt;span&gt;\uFEFF&lt;/span&gt;&quot;;n.moveToElementText(k.lastChild);n.select();h.doc.selection.clear();k.innerHTML=&quot;&quot;;if(t){t.innerHTML=&quot;&quot;}return}else{p=h.nodeIndex(k);k=k.parentNode}}if(p==q-1){try{u=k.childNodes[p];l=m.createControlRange();l.addElement(u);l.select();r=d.getRng();if(r.item&amp;&amp;u===r.item(0)){return}}catch(o){}}}j(true);j();n.select()};this.getRangeAt=g}tinymce.dom.TridentSelection=a})();(function(){var n=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['&quot;][^'&quot;]*['&quot;]|[^\[\]'&quot;]+)+\]|\\.|[^ &gt;+~,(\[\\]+)+|[&gt;+~])(\s*,\s*)?((?:.|\r|\n)*)/g,i=&quot;sizcache&quot;,o=0,r=Object.prototype.toString,h=false,g=true,q=/\\/g,u=/\r\n/g,x=/\W/;[0,0].sort(function(){
 g=false;return 0});var d=function(C,e,F,G){F=F||[];e=e||document;var I=e;if(e.nodeType!==1&amp;&amp;e.nodeType!==9){return[]}if(!C||typeof C!==&quot;string&quot;){return F}var z,K,N,y,J,M,L,E,B=true,A=d.isXML(e),D=[],H=C;do{n.exec(&quot;&quot;);z=n.exec(H);if(z){H=z[3];D.push(z[1]);if(z[2]){y=z[3];break}}}while(z);if(D.length&gt;1&amp;&amp;j.exec(C)){if(D.length===2&amp;&amp;k.relative[D[0]]){K=s(D[0]+D[1],e,G)}else{K=k.relative[D[0]]?[e]:d(D.shift(),e);while(D.length){C=D.shift();if(k.relative[C]){C+=D.shift()}K=s(C,K,G)}}}else{if(!G&amp;&amp;D.length&gt;1&amp;&amp;e.nodeType===9&amp;&amp;!A&amp;&amp;k.match.ID.test(D[0])&amp;&amp;!k.match.ID.test(D[D.length-1])){J=d.find(D.shift(),e,A);e=J.expr?d.filter(J.expr,J.set)[0]:J.set[0]}if(e){J=G?{expr:D.pop(),set:l(G)}:d.find(D.pop(),D.length===1&amp;&amp;(D[0]===&quot;~&quot;||D[0]===&quot;+&quot;)&amp;&amp;e.parentNode?e.parentNode:e,A);K=J.expr?d.filter(J.expr,J.set):J.set;if(D.length&gt;0){N=l(K)}else{B=false}while(D.length){
 M=D.pop();L=M;if(!k.relative[M]){M=&quot;&quot;}else{L=D.pop()}if(L==null){L=e}k.relative[M](N,L,A)}}else{N=D=[]}}if(!N){N=K}if(!N){d.error(M||C)}if(r.call(N)===&quot;[object Array]&quot;){if(!B){F.push.apply(F,N)}else{if(e&amp;&amp;e.nodeType===1){for(E=0;N[E]!=null;E++){if(N[E]&amp;&amp;(N[E]===true||N[E].nodeType===1&amp;&amp;d.contains(e,N[E]))){F.push(K[E])}}}else{for(E=0;N[E]!=null;E++){if(N[E]&amp;&amp;N[E].nodeType===1){F.push(K[E])}}}}}else{l(N,F)}if(y){d(y,I,F,G);d.uniqueSort(F)}return F};d.uniqueSort=function(y){if(p){h=g;y.sort(p);if(h){for(var e=1;e&lt;y.length;e++){if(y[e]===y[e-1]){y.splice(e--,1)}}}}return y};d.matches=function(e,y){return d(e,null,null,y)};d.matchesSelector=function(e,y){return d(y,null,null,[e]).length&gt;0};d.find=function(E,e,F){var D,z,B,A,C,y;if(!E){return[]}for(z=0,B=k.order.length;z&lt;B;z++){C=k.order[z];if((A=k.leftMatch[C].exec(E))){y=A[1];A.splice(1,1);if(y.substr(y.length-1)!==&quot;\\&quot;){A[1]=(A[1]||&quot;&quot;).replace(q,&
 quot;&quot;);D=k.find[C](A,e,F);if(D!=null){E=E.replace(k.match[C],&quot;&quot;);break}}}}if(!D){D=typeof e.getElementsByTagName!==&quot;undefined&quot;?e.getElementsByTagName(&quot;*&quot;):[]}return{set:D,expr:E}};d.filter=function(I,H,L,B){var D,e,G,N,K,y,A,C,J,z=I,M=[],F=H,E=H&amp;&amp;H[0]&amp;&amp;d.isXML(H[0]);while(I&amp;&amp;H.length){for(G in k.filter){if((D=k.leftMatch[G].exec(I))!=null&amp;&amp;D[2]){y=k.filter[G];A=D[1];e=false;D.splice(1,1);if(A.substr(A.length-1)===&quot;\\&quot;){continue}if(F===M){M=[]}if(k.preFilter[G]){D=k.preFilter[G](D,F,L,M,B,E);if(!D){e=N=true}else{if(D===true){continue}}}if(D){for(C=0;(K=F[C])!=null;C++){if(K){N=y(K,D,C,F);J=B^N;if(L&amp;&amp;N!=null){if(J){e=true}else{F[C]=false}}else{if(J){M.push(K);e=true}}}}}if(N!==undefined){if(!L){F=M}I=I.replace(k.match[G],&quot;&quot;);if(!e){return[]}break}}}if(I===z){if(e==null){d.error(I)}else{break}}z=I}return F};d.error=function(e){throw new Error(&quot;Syntax error, unrecognized expressi
 on: &quot;+e)};var b=d.getText=function(B){var z,A,e=B.nodeType,y=&quot;&quot;;if(e){if(e===1||e===9||e===11){if(typeof B.textContent===&quot;string&quot;){return B.textContent}else{if(typeof B.innerText===&quot;string&quot;){return B.innerText.replace(u,&quot;&quot;)}else{for(B=B.firstChild;B;B=B.nextSibling){y+=b(B)}}}}else{if(e===3||e===4){return B.nodeValue}}}else{for(z=0;(A=B[z]);z++){if(A.nodeType!==8){y+=b(A)}}}return y};var k=d.selectors={order:[&quot;ID&quot;,&quot;NAME&quot;,&quot;TAG&quot;],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['&quot;]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['&quot;]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['&quot;])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[
 ^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['&quot;]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{&quot;class&quot;:&quot;className&quot;,&quot;for&quot;:&quot;htmlFor&quot;},attrHandle:{href:function(e){return e.getAttribute(&quot;href&quot;)},type:function(e){return e.getAttribute(&quot;type&quot;)}},relative:{&quot;+&quot;:function(D,y){var A=typeof y===&quot;string&quot;,C=A&amp;&amp;!x.test(y),E=A&amp;&amp;!C;if(C){y=y.toLowerCase()}for(var z=0,e=D.length,B;z&lt;e;z++){if((B=D[z])){while((B=B.previousSibling)&amp;&amp;B.nodeType!==1){}D[z]=E||B&amp;&amp;B.nodeName.toLowerCase()===y?B||false:B===y}}if(E){d.filter(y,D,true)}},&quot;&gt;&quot;:function(D,y){var C,B=typeof y===&quot;string&quot;,z=0,e=D.length;if(B&amp;&amp;!x.test(y)){y=y.toLowerCase();for(;z&lt;e;z++){C=D[z];if(C){var A=C.parentNode;D[z]=A.nodeName.toLowerCase()===y?A:false}}}else{for(;z&lt;e;z++){C=D[z];if(C){D[z]=B?C.parentNode:C.parentNode===y}}if(B){d.filter(y,D,true)}}},&quot;
 &quot;:function(A,y,C){var B,z=o++,e=t;if(typeof y===&quot;string&quot;&amp;&amp;!x.test(y)){y=y.toLowerCase();B=y;e=a}e(&quot;parentNode&quot;,y,z,A,B,C)},&quot;~&quot;:function(A,y,C){var B,z=o++,e=t;if(typeof y===&quot;string&quot;&amp;&amp;!x.test(y)){y=y.toLowerCase();B=y;e=a}e(&quot;previousSibling&quot;,y,z,A,B,C)}},find:{ID:function(y,z,A){if(typeof z.getElementById!==&quot;undefined&quot;&amp;&amp;!A){var e=z.getElementById(y[1]);return e&amp;&amp;e.parentNode?[e]:[]}},NAME:function(z,C){if(typeof C.getElementsByName!==&quot;undefined&quot;){var y=[],B=C.getElementsByName(z[1]);for(var A=0,e=B.length;A&lt;e;A++){if(B[A].getAttribute(&quot;name&quot;)===z[1]){y.push(B[A])}}return y.length===0?null:y}},TAG:function(e,y){if(typeof y.getElementsByTagName!==&quot;undefined&quot;){return y.getElementsByTagName(e[1])}}},preFilter:{CLASS:function(A,y,z,e,D,E){A=&quot; &quot;+A[1].replace(q,&quot;&quot;)+&quot; &quot;;if(E){return A}for(var B=0,C;(C=y[B])!=null;B++){if(C){if
 (D^(C.className&amp;&amp;(&quot; &quot;+C.className+&quot; &quot;).replace(/[\t\n\r]/g,&quot; &quot;).indexOf(A)&gt;=0)){if(!z){e.push(C)}}else{if(z){y[B]=false}}}}return false},ID:function(e){return e[1].replace(q,&quot;&quot;)},TAG:function(y,e){return y[1].replace(q,&quot;&quot;).toLowerCase()},CHILD:function(e){if(e[1]===&quot;nth&quot;){if(!e[2]){d.error(e[0])}e[2]=e[2].replace(/^\+|\s*/g,&quot;&quot;);var y=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(e[2]===&quot;even&quot;&amp;&amp;&quot;2n&quot;||e[2]===&quot;odd&quot;&amp;&amp;&quot;2n+1&quot;||!/\D/.test(e[2])&amp;&amp;&quot;0n+&quot;+e[2]||e[2]);e[2]=(y[1]+(y[2]||1))-0;e[3]=y[3]-0}else{if(e[2]){d.error(e[0])}}e[0]=o++;return e},ATTR:function(B,y,z,e,C,D){var A=B[1]=B[1].replace(q,&quot;&quot;);if(!D&amp;&amp;k.attrMap[A]){B[1]=k.attrMap[A]}B[4]=(B[4]||B[5]||&quot;&quot;).replace(q,&quot;&quot;);if(B[2]===&quot;~=&quot;){B[4]=&quot; &quot;+B[4]+&quot; &quot;}return B},PSEUDO:function(B,y,z,e,C){if(B[1]===&quot;not&quot;){if(
 (n.exec(B[3])||&quot;&quot;).length&gt;1||/^\w/.test(B[3])){B[3]=d(B[3],null,null,y)}else{var A=d.filter(B[3],y,z,true^C);if(!z){e.push.apply(e,A)}return false}}else{if(k.match.POS.test(B[0])||k.match.CHILD.test(B[0])){return true}}return B},POS:function(e){e.unshift(true);return e}},filters:{enabled:function(e){return e.disabled===false&amp;&amp;e.type!==&quot;hidden&quot;},disabled:function(e){return e.disabled===true},checked:function(e){return e.checked===true},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex}return e.selected===true},parent:function(e){return !!e.firstChild},empty:function(e){return !e.firstChild},has:function(z,y,e){return !!d(e[3],z).length},header:function(e){return(/h\d/i).test(e.nodeName)},text:function(z){var e=z.getAttribute(&quot;type&quot;),y=z.type;return z.nodeName.toLowerCase()===&quot;input&quot;&amp;&amp;&quot;text&quot;===y&amp;&amp;(e===y||e===null)},radio:function(e){return e.nodeName.toLowerCase()===&quot;input&quot;&am
 p;&amp;&quot;radio&quot;===e.type},checkbox:function(e){return e.nodeName.toLowerCase()===&quot;input&quot;&amp;&amp;&quot;checkbox&quot;===e.type},file:function(e){return e.nodeName.toLowerCase()===&quot;input&quot;&amp;&amp;&quot;file&quot;===e.type},password:function(e){return e.nodeName.toLowerCase()===&quot;input&quot;&amp;&amp;&quot;password&quot;===e.type},submit:function(y){var e=y.nodeName.toLowerCase();return(e===&quot;input&quot;||e===&quot;button&quot;)&amp;&amp;&quot;submit&quot;===y.type},image:function(e){return e.nodeName.toLowerCase()===&quot;input&quot;&amp;&amp;&quot;image&quot;===e.type},reset:function(y){var e=y.nodeName.toLowerCase();return(e===&quot;input&quot;||e===&quot;button&quot;)&amp;&amp;&quot;reset&quot;===y.type},button:function(y){var e=y.nodeName.toLowerCase();return e===&quot;input&quot;&amp;&amp;&quot;button&quot;===y.type||e===&quot;button&quot;},input:function(e){return(/input|select|textarea|button/i).test(e.nodeName)},focus:function(e)
 {return e===e.ownerDocument.activeElement}},setFilters:{first:function(y,e){return e===0},last:function(z,y,e,A){return y===A.length-1},even:function(y,e){return e%2===0},odd:function(y,e){return e%2===1},lt:function(z,y,e){return y&lt;e[3]-0},gt:function(z,y,e){return y&gt;e[3]-0},nth:function(z,y,e){return e[3]-0===y},eq:function(z,y,e){return e[3]-0===y}},filter:{PSEUDO:function(z,E,D,F){var e=E[1],y=k.filters[e];if(y){return y(z,D,E,F)}else{if(e===&quot;contains&quot;){return(z.textContent||z.innerText||b([z])||&quot;&quot;).indexOf(E[3])&gt;=0}else{if(e===&quot;not&quot;){var A=E[3];for(var C=0,B=A.length;C&lt;B;C++){if(A[C]===z){return false}}return true}else{d.error(e)}}}},CHILD:function(z,B){var A,H,D,G,e,C,F,E=B[1],y=z;switch(E){case&quot;only&quot;:case&quot;first&quot;:while((y=y.previousSibling)){if(y.nodeType===1){return false}}if(E===&quot;first&quot;){return true}y=z;case&quot;last&quot;:while((y=y.nextSibling)){if(y.nodeType===1){return false}}return true;cas
 e&quot;nth&quot;:A=B[2];H=B[3];if(A===1&amp;&amp;H===0){return true}D=B[0];G=z.parentNode;if(G&amp;&amp;(G[i]!==D||!z.nodeIndex)){C=0;for(y=G.firstChild;y;y=y.nextSibling){if(y.nodeType===1){y.nodeIndex=++C}}G[i]=D}F=z.nodeIndex-H;if(A===0){return F===0}else{return(F%A===0&amp;&amp;F/A&gt;=0)}}},ID:function(y,e){return y.nodeType===1&amp;&amp;y.getAttribute(&quot;id&quot;)===e},TAG:function(y,e){return(e===&quot;*&quot;&amp;&amp;y.nodeType===1)||!!y.nodeName&amp;&amp;y.nodeName.toLowerCase()===e},CLASS:function(y,e){return(&quot; &quot;+(y.className||y.getAttribute(&quot;class&quot;))+&quot; &quot;).indexOf(e)&gt;-1},ATTR:function(C,A){var z=A[1],e=d.attr?d.attr(C,z):k.attrHandle[z]?k.attrHandle[z](C):C[z]!=null?C[z]:C.getAttribute(z),D=e+&quot;&quot;,B=A[2],y=A[4];return e==null?B===&quot;!=&quot;:!B&amp;&amp;d.attr?e!=null:B===&quot;=&quot;?D===y:B===&quot;*=&quot;?D.indexOf(y)&gt;=0:B===&quot;~=&quot;?(&quot; &quot;+D+&quot; &quot;).indexOf(y)&gt;=0:!y?D&amp;&amp;e!==fals
 e:B===&quot;!=&quot;?D!==y:B===&quot;^=&quot;?D.indexOf(y)===0:B===&quot;$=&quot;?D.substr(D.length-y.length)===y:B===&quot;|=&quot;?D===y||D.substr(0,y.length+1)===y+&quot;-&quot;:false},POS:function(B,y,z,C){var e=y[2],A=k.setFilters[e];if(A){return A(B,z,y,C)}}}};var j=k.match.POS,c=function(y,e){return&quot;\\&quot;+(e-0+1)};for(var f in k.match){k.match[f]=new RegExp(k.match[f].source+(/(?![^\[]*\])(?![^\(]*\))/.source));k.leftMatch[f]=new RegExp(/(^(?:.|\r|\n)*?)/.source+k.match[f].source.replace(/\\(\d+)/g,c))}k.match.globalPOS=j;var l=function(y,e){y=Array.prototype.slice.call(y,0);if(e){e.push.apply(e,y);return e}return y};try{Array.prototype.slice.call(document.documentElement.childNodes,0)[0].nodeType}catch(v){l=function(B,A){var z=0,y=A||[];if(r.call(B)===&quot;[object Array]&quot;){Array.prototype.push.apply(y,B)}else{if(typeof B.length===&quot;number&quot;){for(var e=B.length;z&lt;e;z++){y.push(B[z])}}else{for(;B[z];z++){y.push(B[z])}}}return y}}var p,m;if(docu
 ment.documentElement.compareDocumentPosition){p=function(y,e){if(y===e){h=true;return 0}if(!y.compareDocumentPosition||!e.compareDocumentPosition){return y.compareDocumentPosition?-1:1}return y.compareDocumentPosition(e)&amp;4?-1:1}}else{p=function(F,E){if(F===E){h=true;return 0}else{if(F.sourceIndex&amp;&amp;E.sourceIndex){return F.sourceIndex-E.sourceIndex}}var C,y,z=[],e=[],B=F.parentNode,D=E.parentNode,G=B;if(B===D){return m(F,E)}else{if(!B){return -1}else{if(!D){return 1}}}while(G){z.unshift(G);G=G.parentNode}G=D;while(G){e.unshift(G);G=G.parentNode}C=z.length;y=e.length;for(var A=0;A&lt;C&amp;&amp;A&lt;y;A++){if(z[A]!==e[A]){return m(z[A],e[A])}}return A===C?m(F,e[A],-1):m(z[A],E,1)};m=function(y,e,z){if(y===e){return z}var A=y.nextSibling;while(A){if(A===e){return -1}A=A.nextSibling}return 1}}(function(){var y=document.createElement(&quot;div&quot;),z=&quot;script&quot;+(new Date()).getTime(),e=document.documentElement;y.innerHTML=&quot;&lt;a name='&quot;+z+&quot;'/&g
 t;&quot;;e.insertBefore(y,e.firstChild);if(document.getElementById(z)){k.find.ID=function(B,C,D){if(typeof C.getElementById!==&quot;undefined&quot;&amp;&amp;!D){var A=C.getElementById(B[1]);return A?A.id===B[1]||typeof A.getAttributeNode!==&quot;undefined&quot;&amp;&amp;A.getAttributeNode(&quot;id&quot;).nodeValue===B[1]?[A]:undefined:[]}};k.filter.ID=function(C,A){var B=typeof C.getAttributeNode!==&quot;undefined&quot;&amp;&amp;C.getAttributeNode(&quot;id&quot;);return C.nodeType===1&amp;&amp;B&amp;&amp;B.nodeValue===A}}e.removeChild(y);e=y=null})();(function(){var e=document.createElement(&quot;div&quot;);e.appendChild(document.createComment(&quot;&quot;));if(e.getElementsByTagName(&quot;*&quot;).length&gt;0){k.find.TAG=function(y,C){var B=C.getElementsByTagName(y[1]);if(y[1]===&quot;*&quot;){var A=[];for(var z=0;B[z];z++){if(B[z].nodeType===1){A.push(B[z])}}B=A}return B}}e.innerHTML=&quot;&lt;a href='#'&gt;&lt;/a&gt;&quot;;if(e.firstChild&amp;&amp;typeof e.firstChild.getA
 ttribute!==&quot;undefined&quot;&amp;&amp;e.firstChild.getAttribute(&quot;href&quot;)!==&quot;#&quot;){k.attrHandle.href=function(y){return y.getAttribute(&quot;href&quot;,2)}}e=null})();if(document.querySelectorAll){(function(){var e=d,A=document.createElement(&quot;div&quot;),z=&quot;__sizzle__&quot;;A.innerHTML=&quot;&lt;p class='TEST'&gt;&lt;/p&gt;&quot;;if(A.querySelectorAll&amp;&amp;A.querySelectorAll(&quot;.TEST&quot;).length===0){return}d=function(L,C,G,K){C=C||document;if(!K&amp;&amp;!d.isXML(C)){var J=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(L);if(J&amp;&amp;(C.nodeType===1||C.nodeType===9)){if(J[1]){return l(C.getElementsByTagName(L),G)}else{if(J[2]&amp;&amp;k.find.CLASS&amp;&amp;C.getElementsByClassName){return l(C.getElementsByClassName(J[2]),G)}}}if(C.nodeType===9){if(L===&quot;body&quot;&amp;&amp;C.body){return l([C.body],G)}else{if(J&amp;&amp;J[3]){var F=C.getElementById(J[3]);if(F&amp;&amp;F.parentNode){if(F.id===J[3]){return l([F],G)}}else{return l([],G)}}
 }try{return l(C.querySelectorAll(L),G)}catch(H){}}else{if(C.nodeType===1&amp;&amp;C.nodeName.toLowerCase()!==&quot;object&quot;){var D=C,E=C.getAttribute(&quot;id&quot;),B=E||z,N=C.parentNode,M=/^\s*[+~]/.test(L);if(!E){C.setAttribute(&quot;id&quot;,B)}else{B=B.replace(/'/g,&quot;\\$&amp;&quot;)}if(M&amp;&amp;N){C=C.parentNode}try{if(!M||N){return l(C.querySelectorAll(&quot;[id='&quot;+B+&quot;'] &quot;+L),G)}}catch(I){}finally{if(!E){D.removeAttribute(&quot;id&quot;)}}}}}return e(L,C,G,K)};for(var y in e){d[y]=e[y]}A=null})()}(function(){var e=document.documentElement,z=e.matchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.msMatchesSelector;if(z){var B=!z.call(document.createElement(&quot;div&quot;),&quot;div&quot;),y=false;try{z.call(document.documentElement,&quot;[test!='']:sizzle&quot;)}catch(A){y=true}d.matchesSelector=function(D,F){F=F.replace(/\=\s*([^'&quot;\]]*)\s*\]/g,&quot;='$1']&quot;);if(!d.isXML(D)){try{if(y||!k.match.PSEUDO.test(F)&amp;&amp;!/!=/
 .test(F)){var C=z.call(D,F);if(C||!B||D.document&amp;&amp;D.document.nodeType!==11){return C}}}catch(E){}}return d(F,null,null,[D]).length&gt;0}}})();(function(){var e=document.createElement(&quot;div&quot;);e.innerHTML=&quot;&lt;div class='test e'&gt;&lt;/div&gt;&lt;div class='test'&gt;&lt;/div&gt;&quot;;if(!e.getElementsByClassName||e.getElementsByClassName(&quot;e&quot;).length===0){return}e.lastChild.className=&quot;e&quot;;if(e.getElementsByClassName(&quot;e&quot;).length===1){return}k.order.splice(1,0,&quot;CLASS&quot;);k.find.CLASS=function(y,z,A){if(typeof z.getElementsByClassName!==&quot;undefined&quot;&amp;&amp;!A){return z.getElementsByClassName(y[1])}};e=null})();function a(y,D,C,G,E,F){for(var A=0,z=G.length;A&lt;z;A++){var e=G[A];if(e){var B=false;e=e[y];while(e){if(e[i]===C){B=G[e.sizset];break}if(e.nodeType===1&amp;&amp;!F){e[i]=C;e.sizset=A}if(e.nodeName.toLowerCase()===D){B=e;break}e=e[y]}G[A]=B}}}function t(y,D,C,G,E,F){for(var A=0,z=G.length;A&lt;z;A++){v
 ar e=G[A];if(e){var B=false;e=e[y];while(e){if(e[i]===C){B=G[e.sizset];break}if(e.nodeType===1){if(!F){e[i]=C;e.sizset=A}if(typeof D!==&quot;string&quot;){if(e===D){B=true;break}}else{if(d.filter(D,[e]).length&gt;0){B=e;break}}}e=e[y]}G[A]=B}}}if(document.documentElement.contains){d.contains=function(y,e){return y!==e&amp;&amp;(y.contains?y.contains(e):true)}}else{if(document.documentElement.compareDocumentPosition){d.contains=function(y,e){return !!(y.compareDocumentPosition(e)&amp;16)}}else{d.contains=function(){return false}}}d.isXML=function(e){var y=(e?e.ownerDocument||e:0).documentElement;return y?y.nodeName!==&quot;HTML&quot;:false};var s=function(z,e,D){var C,E=[],B=&quot;&quot;,F=e.nodeType?[e]:e;while((C=k.match.PSEUDO.exec(z))){B+=C[0];z=z.replace(k.match.PSEUDO,&quot;&quot;)}z=k.relative[z]?z+&quot;*&quot;:z;for(var A=0,y=F.length;A&lt;y;A++){d(z,F[A],E,D)}return d.filter(B,E)};window.tinymce.dom.Sizzle=d})();(function(a){a.dom.Element=function(f,d){var b=this,e,
 c;b.settings=d=d||{};b.id=f;b.dom=e=d.dom||a.DOM;if(!a.isIE){c=e.get(b.id)}a.each((&quot;getPos,getRect,getParent,add,setStyle,getStyle,setStyles,setAttrib,setAttribs,getAttrib,addClass,removeClass,hasClass,getOuterHTML,setOuterHTML,remove,show,hide,isHidden,setHTML,get&quot;).split(/,/),function(g){b[g]=function(){var h=[f],j;for(j=0;j&lt;arguments.length;j++){h.push(arguments[j])}h=e[g].apply(e,h);b.update(g);return h}});a.extend(b,{on:function(i,h,g){return a.dom.Event.add(b.id,i,h,g)},getXY:function(){return{x:parseInt(b.getStyle(&quot;left&quot;)),y:parseInt(b.getStyle(&quot;top&quot;))}},getSize:function(){var g=e.get(b.id);return{w:parseInt(b.getStyle(&quot;width&quot;)||g.clientWidth),h:parseInt(b.getStyle(&quot;height&quot;)||g.clientHeight)}},moveTo:function(g,h){b.setStyles({left:g,top:h})},moveBy:function(g,i){var h=b.getXY();b.moveTo(h.x+g,h.y+i)},resizeTo:function(g,i){b.setStyles({width:g,height:i})},resizeBy:function(g,j){var i=b.getSize();b.resizeTo(i.w+g,i.
 h+j)},update:function(h){var g;if(a.isIE6&amp;&amp;d.blocker){h=h||&quot;&quot;;if(h.indexOf(&quot;get&quot;)===0||h.indexOf(&quot;has&quot;)===0||h.indexOf(&quot;is&quot;)===0){return}if(h==&quot;remove&quot;){e.remove(b.blocker);return}if(!b.blocker){b.blocker=e.uniqueId();g=e.add(d.container||e.getRoot(),&quot;iframe&quot;,{id:b.blocker,style:&quot;position:absolute;&quot;,frameBorder:0,src:'javascript:&quot;&quot;'});e.setStyle(g,&quot;opacity&quot;,0)}else{g=e.get(b.blocker)}e.setStyles(g,{left:b.getStyle(&quot;left&quot;,1),top:b.getStyle(&quot;top&quot;,1),width:b.getStyle(&quot;width&quot;,1),height:b.getStyle(&quot;height&quot;,1),display:b.getStyle(&quot;display&quot;,1),zIndex:parseInt(b.getStyle(&quot;zIndex&quot;,1)||0)-1})}}})}})(tinymce);(function(d){function f(g){return g.replace(/[\n\r]+/g,&quot;&quot;)}var c=d.is,b=d.isIE,e=d.each,a=d.dom.TreeWalker;d.create(&quot;tinymce.dom.Selection&quot;,{Selection:function(k,j,i,h){var g=this;g.dom=k;g.win=j;g.serializ
 er=i;g.editor=h;e([&quot;onBeforeSetContent&quot;,&quot;onBeforeGetContent&quot;,&quot;onSetContent&quot;,&quot;onGetContent&quot;],function(l){g[l]=new d.util.Dispatcher(g)});if(!g.win.getSelection){g.tridentSel=new d.dom.TridentSelection(g)}if(d.isIE&amp;&amp;k.boxModel){this._fixIESelection()}d.addUnload(g.destroy,g)},setCursorLocation:function(i,j){var g=this;var h=g.dom.createRng();h.setStart(i,j);h.setEnd(i,j);g.setRng(h);g.collapse(false)},getContent:function(h){var g=this,i=g.getRng(),m=g.dom.create(&quot;body&quot;),k=g.getSel(),j,l,o;h=h||{};j=l=&quot;&quot;;h.get=true;h.format=h.format||&quot;html&quot;;h.forced_root_block=&quot;&quot;;g.onBeforeGetContent.dispatch(g,h);if(h.format==&quot;text&quot;){return g.isCollapsed()?&quot;&quot;:(i.text||(k.toString?k.toString():&quot;&quot;))}if(i.cloneContents){o=i.cloneContents();if(o){m.appendChild(o)}}else{if(c(i.item)||c(i.htmlText)){m.innerHTML=&quot;&lt;br&gt;&quot;+(i.item?i.item(0).outerHTML:i.htmlText);m.removeCh
 ild(m.firstChild)}else{m.innerHTML=i.toString()}}if(/^\s/.test(m.innerHTML)){j=&quot; &quot;}if(/\s+$/.test(m.innerHTML)){l=&quot; &quot;}h.getInner=true;h.content=g.isCollapsed()?&quot;&quot;:j+g.serializer.serialize(m,h)+l;g.onGetContent.dispatch(g,h);return h.content},setContent:function(h,j){var o=this,g=o.getRng(),k,l=o.win.document,n,m;j=j||{format:&quot;html&quot;};j.set=true;h=j.content=h;if(!j.no_events){o.onBeforeSetContent.dispatch(o,j)}h=j.content;if(g.insertNode){h+='&lt;span id=&quot;__caret&quot;&gt;_&lt;/span&gt;';if(g.startContainer==l&amp;&amp;g.endContainer==l){l.body.innerHTML=h}else{g.deleteContents();if(l.body.childNodes.length===0){l.body.innerHTML=h}else{if(g.createContextualFragment){g.insertNode(g.createContextualFragment(h))}else{n=l.createDocumentFragment();m=l.createElement(&quot;div&quot;);n.appendChild(m);m.outerHTML=h;g.insertNode(n)}}}k=o.dom.get(&quot;__caret&quot;);g=l.createRange();g.setStartBefore(k);g.setEndBefore(k);o.setRng(g);o.dom.re
 move(&quot;__caret&quot;);try{o.setRng(g)}catch(i){}}else{if(g.item){l.execCommand(&quot;Delete&quot;,false,null);g=o.getRng()}if(/^\s+/.test(h)){g.pasteHTML('&lt;span id=&quot;__mce_tmp&quot;&gt;_&lt;/span&gt;'+h);o.dom.remove(&quot;__mce_tmp&quot;)}else{g.pasteHTML(h)}}if(!j.no_events){o.onSetContent.dispatch(o,j)}},getStart:function(){var i=this,h=i.getRng(),j,g,l,k;if(h.duplicate||h.item){if(h.item){return h.item(0)}l=h.duplicate();l.collapse(1);j=l.parentElement();if(j.ownerDocument!==i.dom.doc){j=i.dom.getRoot()}g=k=h.parentElement();while(k=k.parentNode){if(k==j){j=g;break}}return j}else{j=h.startContainer;if(j.nodeType==1&amp;&amp;j.hasChildNodes()){j=j.childNodes[Math.min(j.childNodes.length-1,h.startOffset)]}if(j&amp;&amp;j.nodeType==3){return j.parentNode}return j}},getEnd:function(){var h=this,g=h.getRng(),j,i;if(g.duplicate||g.item){if(g.item){return g.item(0)}g=g.duplicate();g.collapse(0);j=g.parentElement();if(j.ownerDocument!==h.dom.doc){j=h.dom.getRoot()}if(
 j&amp;&amp;j.nodeName==&quot;BODY&quot;){return j.lastChild||j}return j}else{j=g.endContainer;i=g.endOffset;if(j.nodeType==1&amp;&amp;j.hasChildNodes()){j=j.childNodes[i&gt;0?i-1:i]}if(j&amp;&amp;j.nodeType==3){return j.parentNode}return j}},getBookmark:function(s,v){var y=this,n=y.dom,h,k,j,o,i,p,q,m=&quot;\uFEFF&quot;,x;function g(z,A){var t=0;e(n.select(z),function(C,B){if(C==A){t=B}});return t}function u(t){function z(E){var A,D,C,B=E?&quot;start&quot;:&quot;end&quot;;A=t[B+&quot;Container&quot;];D=t[B+&quot;Offset&quot;];if(A.nodeType==1&amp;&amp;A.nodeName==&quot;TR&quot;){C=A.childNodes;A=C[Math.min(E?D:D-1,C.length-1)];if(A){D=E?0:A.childNodes.length;t[&quot;set&quot;+(E?&quot;Start&quot;:&quot;End&quot;)](A,D)}}}z(true);z();return t}function l(){var z=y.getRng(true),t=n.getRoot(),A={};function B(E,J){var D=E[J?&quot;startContainer&quot;:&quot;endContainer&quot;],I=E[J?&quot;startOffset&quot;:&quot;endOffset&quot;],C=[],F,H,G=0;if(D.nodeType==3){if(v){for(F=D.previou
 sSibling;F&amp;&amp;F.nodeType==3;F=F.previousSibling){I+=F.nodeValue.length}}C.push(I)}else{H=D.childNodes;if(I&gt;=H.length&amp;&amp;H.length){G=1;I=Math.max(0,H.length-1)}C.push(y.dom.nodeIndex(H[I],v)+G)}for(;D&amp;&amp;D!=t;D=D.parentNode){C.push(y.dom.nodeIndex(D,v))}return C}A.start=B(z,true);if(!y.isCollapsed()){A.end=B(z)}return A}if(s==2){if(y.tridentSel){return y.tridentSel.getBookmark(s)}return l()}if(s){return{rng:y.getRng()}}h=y.getRng();j=n.uniqueId();o=tinyMCE.activeEditor.selection.isCollapsed();x=&quot;overflow:hidden;line-height:0px&quot;;if(h.duplicate||h.item){if(!h.item){k=h.duplicate();try{h.collapse();h.pasteHTML('&lt;span data-mce-type=&quot;bookmark&quot; id=&quot;'+j+'_start&quot; style=&quot;'+x+'&quot;&gt;'+m+&quot;&lt;/span&gt;&quot;);if(!o){k.collapse(false);h.moveToElementText(k.parentElement());if(h.compareEndPoints(&quot;StartToEnd&quot;,k)===0){k.move(&quot;character&quot;,-1)}k.pasteHTML('&lt;span data-mce-type=&quot;bookmark&quot; id=&quo
 t;'+j+'_end&quot; style=&quot;'+x+'&quot;&gt;'+m+&quot;&lt;/span&gt;&quot;)}}catch(r){return null}}else{p=h.item(0);i=p.nodeName;return{name:i,index:g(i,p)}}}else{p=y.getNode();i=p.nodeName;if(i==&quot;IMG&quot;){return{name:i,index:g(i,p)}}k=u(h.cloneRange());if(!o){k.collapse(false);k.insertNode(n.create(&quot;span&quot;,{&quot;data-mce-type&quot;:&quot;bookmark&quot;,id:j+&quot;_end&quot;,style:x},m))}h=u(h);h.collapse(true);h.insertNode(n.create(&quot;span&quot;,{&quot;data-mce-type&quot;:&quot;bookmark&quot;,id:j+&quot;_start&quot;,style:x},m))}y.moveToBookmark({id:j,keep:1});return{id:j}},moveToBookmark:function(o){var s=this,m=s.dom,j,i,g,r,k,u,p,q;function h(A){var t=o[A?&quot;start&quot;:&quot;end&quot;],x,y,z,v;if(t){z=t[0];for(y=r,x=t.length-1;x&gt;=1;x--){v=y.childNodes;if(t[x]&gt;v.length-1){return}y=v[t[x]]}if(y.nodeType===3){z=Math.min(t[0],y.nodeValue.length)}if(y.nodeType===1){z=Math.min(t[0],y.childNodes.length)}if(A){g.setStart(y,z)}else{g.setEnd(y,z)}}ret
 urn true}function l(B){var v=m.get(o.id+&quot;_&quot;+B),A,t,y,z,x=o.keep;if(v){A=v.parentNode;if(B==&quot;start&quot;){if(!x){t=m.nodeIndex(v)}else{A=v.firstChild;t=1}k=u=A;p=q=t}else{if(!x){t=m.nodeIndex(v)}else{A=v.firstChild;t=1}u=A;q=t}if(!x){z=v.previousSibling;y=v.nextSibling;e(d.grep(v.childNodes),function(C){if(C.nodeType==3){C.nodeValue=C.nodeValue.replace(/\uFEFF/g,&quot;&quot;)}});while(v=m.get(o.id+&quot;_&quot;+B)){m.remove(v,1)}if(z&amp;&amp;y&amp;&amp;z.nodeType==y.nodeType&amp;&amp;z.nodeType==3&amp;&amp;!d.isOpera){t=z.nodeValue.length;z.appendData(y.nodeValue);m.remove(y);if(B==&quot;start&quot;){k=u=z;p=q=t}else{u=z;q=t}}}}}function n(t){if(m.isBlock(t)&amp;&amp;!t.innerHTML&amp;&amp;!b){t.innerHTML='&lt;br data-mce-bogus=&quot;1&quot; /&gt;'}return t}if(o){if(o.start){g=m.createRng();r=m.getRoot();if(s.tridentSel){return s.tridentSel.moveToBookmark(o)}if(h(true)&amp;&amp;h()){s.setRng(g)}}else{if(o.id){l(&quot;start&quot;);l(&quot;end&quot;);if(k){g=m.cr
 eateRng();g.setStart(n(k),p);g.setEnd(n(u),q);s.setRng(g)}}else{if(o.name){s.select(m.select(o.name)[o.index])}else{if(o.rng){s.setRng(o.rng)}}}}}},select:function(l,k){var j=this,m=j.dom,h=m.createRng(),g;function i(n,p){var o=new a(n,n);do{if(n.nodeType==3&amp;&amp;d.trim(n.nodeValue).length!==0){if(p){h.setStart(n,0)}else{h.setEnd(n,n.nodeValue.length)}return}if(n.nodeName==&quot;BR&quot;){if(p){h.setStartBefore(n)}else{h.setEndBefore(n)}return}}while(n=(p?o.next():o.prev()))}if(l){g=m.nodeIndex(l);h.setStart(l.parentNode,g);h.setEnd(l.parentNode,g+1);if(k){i(l,1);i(l)}j.setRng(h)}return l},isCollapsed:function(){var g=this,i=g.getRng(),h=g.getSel();if(!i||i.item){return false}if(i.compareEndPoints){return i.compareEndPoints(&quot;StartToEnd&quot;,i)===0}return !h||i.collapsed},collapse:function(g){var i=this,h=i.getRng(),j;if(h.item){j=h.item(0);h=i.win.document.body.createTextRange();h.moveToElementText(j)}h.collapse(!!g);i.setRng(h)},getSel:function(){var h=this,g=this
 .win;return g.getSelection?g.getSelection():g.document.selection},getRng:function(m){var h=this,j,g,l,k=h.win.document;if(m&amp;&amp;h.tridentSel){return h.tridentSel.getRangeAt(0)}try{if(j=h.getSel()){g=j.rangeCount&gt;0?j.getRangeAt(0):(j.createRange?j.createRange():k.createRange())}}catch(i){}if(d.isIE&amp;&amp;g&amp;&amp;g.setStart&amp;&amp;k.selection.createRange().item){l=k.selection.createRange().item(0);g=k.createRange();g.setStartBefore(l);g.setEndAfter(l)}if(!g){g=k.createRange?k.createRange():k.body.createTextRange()}if(g.setStart&amp;&amp;g.startContainer.nodeType===9&amp;&amp;g.collapsed){l=h.dom.getRoot();g.setStart(l,0);g.setEnd(l,0)}if(h.selectedRange&amp;&amp;h.explicitRange){if(g.compareBoundaryPoints(g.START_TO_START,h.selectedRange)===0&amp;&amp;g.compareBoundaryPoints(g.END_TO_END,h.selectedRange)===0){g=h.explicitRange}else{h.selectedRange=null;h.explicitRange=null}}return g},setRng:function(k,g){var j,i=this;if(!i.tridentSel){j=i.getSel();if(j){i.expli
 citRange=k;try{j.removeAllRanges()}catch(h){}j.addRange(k);if(g===false&amp;&amp;j.extend){j.collapse(k.endContainer,k.endOffset);j.extend(k.startContainer,k.startOffset)}i.selectedRange=j.rangeCount&gt;0?j.getRangeAt(0):null}}else{if(k.cloneRange){try{i.tridentSel.addRange(k);return}catch(h){}}try{k.select()}catch(h){}}},setNode:function(h){var g=this;g.setContent(g.dom.getOuterHTML(h));return h},getNode:function(){var i=this,h=i.getRng(),j=i.getSel(),m,l=h.startContainer,g=h.endContainer;function k(q,o){var p=q;while(q&amp;&amp;q.nodeType===3&amp;&amp;q.length===0){q=o?q.nextSibling:q.previousSibling}return q||p}if(!h){return i.dom.getRoot()}if(h.setStart){m=h.commonAncestorContainer;if(!h.collapsed){if(h.startContainer==h.endContainer){if(h.endOffset-h.startOffset&lt;2){if(h.startContainer.hasChildNodes()){m=h.startContainer.childNodes[h.startOffset]}}}if(l.nodeType===3&amp;&amp;g.nodeType===3){if(l.length===h.startOffset){l=k(l.nextSibling,true)}else{l=l.parentNode}if(h.
 endOffset===0){g=k(g.previousSibling,false)}else{g=g.parentNode}if(l&amp;&amp;l===g){return l}}}if(m&amp;&amp;m.nodeType==3){return m.parentNode}return m}return h.item?h.item(0):h.parentElement()},getSelectedBlocks:function(p,h){var o=this,k=o.dom,m,l,i,j=[];m=k.getParent(p||o.getStart(),k.isBlock);l=k.getParent(h||o.getEnd(),k.isBlock);if(m){j.push(m)}if(m&amp;&amp;l&amp;&amp;m!=l){i=m;var g=new a(m,k.getRoot());while((i=g.next())&amp;&amp;i!=l){if(k.isBlock(i)){j.push(i)}}}if(l&amp;&amp;m!=l){j.push(l)}return j},isForward:function(){var i=this.dom,g=this.getSel(),j,h;if(!g||g.anchorNode==null||g.focusNode==null){return true}j=i.createRng();j.setStart(g.anchorNode,g.anchorOffset);j.collapse(true);h=i.createRng();h.setStart(g.focusNode,g.focusOffset);h.collapse(true);return j.compareBoundaryPoints(j.START_TO_START,h)&lt;=0},normalize:function(){var h=this,g,m,l,j,i;function k(p){var o,r,n,s=h.dom,u=s.getRoot(),q,t,v;function y(z,A){var B=new a(z,s.getParent(z.parentNode,s.is
 Block)||u);while(z=B[A?&quot;prev&quot;:&quot;next&quot;]()){if(z.nodeName===&quot;BR&quot;){return true}}}function x(B,z){var C,A;z=z||o;C=new a(z,s.getParent(z.parentNode,s.isBlock)||u);while(q=C[B?&quot;prev&quot;:&quot;next&quot;]()){if(q.nodeType===3&amp;&amp;q.nodeValue.length&gt;0){o=q;r=B?q.nodeValue.length:0;m=true;return}if(s.isBlock(q)||t[q.nodeName.toLowerCase()]){return}A=q}if(l&amp;&amp;A){o=A;m=true;r=0}}o=g[(p?&quot;start&quot;:&quot;end&quot;)+&quot;Container&quot;];r=g[(p?&quot;start&quot;:&quot;end&quot;)+&quot;Offset&quot;];t=s.schema.getNonEmptyElements();if(o.nodeType===9){o=s.getRoot();r=0}if(o===u){if(p){q=o.childNodes[r&gt;0?r-1:0];if(q){v=q.nodeName.toLowerCase();if(t[q.nodeName]||q.nodeName==&quot;TABLE&quot;){return}}}if(o.hasChildNodes()){o=o.childNodes[Math.min(!p&amp;&amp;r&gt;0?r-1:r,o.childNodes.length-1)];r=0;if(o.hasChildNodes()&amp;&amp;!/TABLE/.test(o.nodeName)){q=o;n=new a(o,u);do{if(q.nodeType===3&amp;&amp;q.nodeValue.length&gt;0){r=p?0
 :q.nodeValue.length;o=q;m=true;break}if(t[q.nodeName.toLowerCase()]){r=s.nodeIndex(q);o=q.parentNode;if(q.nodeName==&quot;IMG&quot;&amp;&amp;!p){r++}m=true;break}}while(q=(p?n.next():n.prev()))}}}if(l){if(o.nodeType===3&amp;&amp;r===0){x(true)}if(o.nodeType===1){q=o.childNodes[r];if(q&amp;&amp;q.nodeName===&quot;BR&quot;&amp;&amp;!y(q)&amp;&amp;!y(q,true)){x(true,o.childNodes[r])}}}if(p&amp;&amp;!l&amp;&amp;o.nodeType===3&amp;&amp;r===o.nodeValue.length){x(false)}if(m){g[&quot;set&quot;+(p?&quot;Start&quot;:&quot;End&quot;)](o,r)}}if(d.isIE){return}g=h.getRng();l=g.collapsed;k(true);if(!l){k()}if(m){if(l){g.collapse(true)}h.setRng(g,h.isForward())}},selectorChanged:function(g,j){var h=this,i;if(!h.selectorChangedData){h.selectorChangedData={};i={};h.editor.onNodeChange.addToTop(function(l,k,o){var p=h.dom,m=p.getParents(o,null,p.getRoot()),n={};e(h.selectorChangedData,function(r,q){e(m,function(s){if(p.is(s,q)){if(!i[q]){e(r,function(t){t(true,{node:s,selector:q,parents:m})}
 );i[q]=r}n[q]=r;return false}})});e(i,function(r,q){if(!n[q]){delete i[q];e(r,function(s){s(false,{node:o,selector:q,parents:m})})}})})}if(!h.selectorChangedData[g]){h.selectorChangedData[g]=[]}h.selectorChangedData[g].push(j);return h},scrollIntoView:function(k){var j,h,g=this,i=g.dom;h=i.getViewPort(g.editor.getWin());j=i.getPos(k).y;if(j&lt;h.y||j+25&gt;h.y+h.h){g.editor.getWin().scrollTo(0,j&lt;h.y?j:j-h.h+25)}},destroy:function(h){var g=this;g.win=null;if(!h){d.removeUnload(g.destroy)}},_fixIESelection:function(){var h=this.dom,n=h.doc,i=n.body,k,o,g;function j(p,s){var q=i.createTextRange();try{q.moveToPoint(p,s)}catch(r){q=null}return q}function m(q){var p;if(q.button){p=j(q.x,q.y);if(p){if(p.compareEndPoints(&quot;StartToStart&quot;,o)&gt;0){p.setEndPoint(&quot;StartToStart&quot;,o)}else{p.setEndPoint(&quot;EndToEnd&quot;,o)}p.select()}}else{l()}}function l(){var p=n.selection.createRange();if(o&amp;&amp;!p.item&amp;&amp;p.compareEndPoints(&quot;StartToEnd&quot;,p)==
 =0){o.select()}h.unbind(n,&quot;mouseup&quot;,l);h.unbind(n,&quot;mousemove&quot;,m);o=k=0}n.documentElement.unselectable=true;h.bind(n,[&quot;mousedown&quot;,&quot;contextmenu&quot;],function(p){if(p.target.nodeName===&quot;HTML&quot;){if(k){l()}g=n.documentElement;if(g.scrollHeight&gt;g.clientHeight){return}k=1;o=j(p.x,p.y);if(o){h.bind(n,&quot;mouseup&quot;,l);h.bind(n,&quot;mousemove&quot;,m);h.win.focus();o.select()}}})}})})(tinymce);(function(a){a.dom.Serializer=function(e,i,f){var h,b,d=a.isIE,g=a.each,c;if(!e.apply_source_formatting){e.indent=false}i=i||a.DOM;f=f||new a.html.Schema(e);e.entity_encoding=e.entity_encoding||&quot;named&quot;;e.remove_trailing_brs=&quot;remove_trailing_brs&quot; in e?e.remove_trailing_brs:true;h=new a.util.Dispatcher(self);b=new a.util.Dispatcher(self);c=new a.html.DomParser(e,f);c.addAttributeFilter(&quot;src,href,style&quot;,function(k,j){var o=k.length,l,q,n=&quot;data-mce-&quot;+j,p=e.url_converter,r=e.url_converter_scope,m;while(o--
 ){l=k[o];q=l.attributes.map[n];if(q!==m){l.attr(j,q.length&gt;0?q:null);l.attr(n,null)}else{q=l.attributes.map[j];if(j===&quot;style&quot;){q=i.serializeStyle(i.parseStyle(q),l.name)}else{if(p){q=p.call(r,q,j,l.name)}}l.attr(j,q.length&gt;0?q:null)}}});c.addAttributeFilter(&quot;class&quot;,function(j,k){var l=j.length,m,n;while(l--){m=j[l];n=m.attr(&quot;class&quot;).replace(/(?:^|\s)mce(Item\w+|Selected)(?!\S)/g,&quot;&quot;);m.attr(&quot;class&quot;,n.length&gt;0?n:null)}});c.addAttributeFilter(&quot;data-mce-type&quot;,function(j,l,k){var m=j.length,n;while(m--){n=j[m];if(n.attributes.map[&quot;data-mce-type&quot;]===&quot;bookmark&quot;&amp;&amp;!k.cleanup){n.remove()}}});c.addAttributeFilter(&quot;data-mce-expando&quot;,function(j,l,k){var m=j.length;while(m--){j[m].attr(l,null)}});c.addNodeFilter(&quot;noscript&quot;,function(j){var k=j.length,l;while(k--){l=j[k].firstChild;if(l){l.value=a.html.Entities.decode(l.value)}}});c.addNodeFilter(&quot;script,style&quot;,func
 tion(k,l){var m=k.length,n,o;function j(p){return p.replace(/(&lt;!--\[CDATA\[|\]\]--&gt;)/g,&quot;\n&quot;).replace(/^[\r\n]*|[\r\n]*$/g,&quot;&quot;).replace(/^\s*((&lt;!--)?(\s*\/\/)?\s*&lt;!\[CDATA\[|(&lt;!--\s*)?\/\*\s*&lt;!\[CDATA\[\s*\*\/|(\/\/)?\s*&lt;!--|\/\*\s*&lt;!--\s*\*\/)\s*[\r\n]*/gi,&quot;&quot;).replace(/\s*(\/\*\s*\]\]&gt;\s*\*\/(--&gt;)?|\s*\/\/\s*\]\]&gt;(--&gt;)?|\/\/\s*(--&gt;)?|\]\]&gt;|\/\*\s*--&gt;\s*\*\/|\s*--&gt;\s*)\s*$/g,&quot;&quot;)}while(m--){n=k[m];o=n.firstChild?n.firstChild.value:&quot;&quot;;if(l===&quot;script&quot;){n.attr(&quot;type&quot;,(n.attr(&quot;type&quot;)||&quot;text/javascript&quot;).replace(/^mce\-/,&quot;&quot;));if(o.length&gt;0){n.firstChild.value=&quot;// &lt;![CDATA[\n&quot;+j(o)+&quot;\n// ]]&gt;&quot;}}else{if(o.length&gt;0){n.firstChild.value=&quot;&lt;!--\n&quot;+j(o)+&quot;\n--&gt;&quot;}}}});c.addNodeFilter(&quot;#comment&quot;,function(j,k){var l=j.length,m;while(l--){m=j[l];if(m.value.indexOf(&quot;[CDATA[&quot;)
 ===0){m.name=&quot;#cdata&quot;;m.type=4;m.value=m.value.replace(/^\[CDATA\[|\]\]$/g,&quot;&quot;)}else{if(m.value.indexOf(&quot;mce:protected &quot;)===0){m.name=&quot;#text&quot;;m.type=3;m.raw=true;m.value=unescape(m.value).substr(14)}}}});c.addNodeFilter(&quot;xml:namespace,input&quot;,function(j,k){var l=j.length,m;while(l--){m=j[l];if(m.type===7){m.remove()}else{if(m.type===1){if(k===&quot;input&quot;&amp;&amp;!(&quot;type&quot; in m.attributes.map)){m.attr(&quot;type&quot;,&quot;text&quot;)}}}}});if(e.fix_list_elements){c.addNodeFilter(&quot;ul,ol&quot;,function(k,l){var m=k.length,n,j;while(m--){n=k[m];j=n.parent;if(j.name===&quot;ul&quot;||j.name===&quot;ol&quot;){if(n.prev&amp;&amp;n.prev.name===&quot;li&quot;){n.prev.append(n)}}}})}c.addAttributeFilter(&quot;data-mce-src,data-mce-href,data-mce-style&quot;,function(j,k){var l=j.length;while(l--){j[l].attr(k,null)}});return{schema:f,addNodeFilter:c.addNodeFilter,addAttributeFilter:c.addAttributeFilter,onPreProcess:h
 ,onPostProcess:b,serialize:function(o,m){var l,p,k,j,n;if(d&amp;&amp;i.select(&quot;script,style,select,map&quot;).length&gt;0){n=o.innerHTML;o=o.cloneNode(false);i.setHTML(o,n)}else{o=o.cloneNode(true)}l=o.ownerDocument.implementation;if(l.createHTMLDocument){p=l.createHTMLDocument(&quot;&quot;);g(o.nodeName==&quot;BODY&quot;?o.childNodes:[o],function(q){p.body.appendChild(p.importNode(q,true))});if(o.nodeName!=&quot;BODY&quot;){o=p.body.firstChild}else{o=p.body}k=i.doc;i.doc=p}m=m||{};m.format=m.format||&quot;html&quot;;if(!m.no_events){m.node=o;h.dispatch(self,m)}j=new a.html.Serializer(e,f);m.content=j.serialize(c.parse(a.trim(m.getInner?o.innerHTML:i.getOuterHTML(o)),m));if(!m.cleanup){m.content=m.content.replace(/\uFEFF/g,&quot;&quot;)}if(!m.no_events){b.dispatch(self,m)}if(k){i.doc=k}m.node=null;return m.content},addRules:function(j){f.addValidElements(j)},setRules:function(j){f.setValidElements(j)}}}})(tinymce);(function(a){a.dom.ScriptLoader=function(h){var c=0,k=1,
 i=2,l={},j=[],e={},d=[],g=0,f;function b(m,v){var x=this,q=a.DOM,s,o,r,n;function p(){q.remove(n);if(s){s.onreadystatechange=s.onload=s=null}v()}function u(){if(typeof(console)!==&quot;undefined&quot;&amp;&amp;console.log){console.log(&quot;Failed to load: &quot;+m)}}n=q.uniqueId();if(a.isIE6){o=new a.util.URI(m);r=location;if(o.host==r.hostname&amp;&amp;o.port==r.port&amp;&amp;(o.protocol+&quot;:&quot;)==r.protocol&amp;&amp;o.protocol.toLowerCase()!=&quot;file&quot;){a.util.XHR.send({url:a._addVer(o.getURI()),success:function(y){var t=q.create(&quot;script&quot;,{type:&quot;text/javascript&quot;});t.text=y;document.getElementsByTagName(&quot;head&quot;)[0].appendChild(t);q.remove(t);p()},error:u});return}}s=document.createElement(&quot;script&quot;);s.id=n;s.type=&quot;text/javascript&quot;;s.src=a._addVer(m);if(!a.isIE){s.onload=p}s.onerror=u;if(!a.isOpera){s.onreadystatechange=function(){var t=s.readyState;if(t==&quot;complete&quot;||t==&quot;loaded&quot;){p()}}}(document
 .getElementsByTagName(&quot;head&quot;)[0]||document.body).appendChild(s)}this.isDone=function(m){return l[m]==i};this.markDone=function(m){l[m]=i};this.add=this.load=function(m,q,n){var o,p=l[m];if(p==f){j.push(m);l[m]=c}if(q){if(!e[m]){e[m]=[]}e[m].push({func:q,scope:n||this})}};this.loadQueue=function(n,m){this.loadScripts(j,n,m)};this.loadScripts=function(m,q,p){var o;function n(r){a.each(e[r],function(s){s.func.call(s.scope)});e[r]=f}d.push({func:q,scope:p||this});o=function(){var r=a.grep(m);m.length=0;a.each(r,function(s){if(l[s]==i){n(s);return}if(l[s]!=k){l[s]=k;g++;b(s,function(){l[s]=i;g--;n(s);o()})}});if(!g){a.each(d,function(s){s.func.call(s.scope)});d.length=0}};o()}};a.ScriptLoader=new a.dom.ScriptLoader()})(tinymce);(function(a){a.dom.RangeUtils=function(c){var b=&quot;\uFEFF&quot;;this.walk=function(d,s){var i=d.startContainer,l=d.startOffset,t=d.endContainer,m=d.endOffset,j,g,o,h,r,q,e;e=c.select(&quot;td.mceSelected,th.mceSelected&quot;);if(e.length&gt;0)
 {a.each(e,function(u){s([u])});return}function f(u){var v;v=u[0];if(v.nodeType===3&amp;&amp;v===i&amp;&amp;l&gt;=v.nodeValue.length){u.splice(0,1)}v=u[u.length-1];if(m===0&amp;&amp;u.length&gt;0&amp;&amp;v===t&amp;&amp;v.nodeType===3){u.splice(u.length-1,1)}return u}function p(x,v,u){var y=[];for(;x&amp;&amp;x!=u;x=x[v]){y.push(x)}return y}function n(v,u){do{if(v.parentNode==u){return v}v=v.parentNode}while(v)}function k(x,v,y){var u=y?&quot;nextSibling&quot;:&quot;previousSibling&quot;;for(h=x,r=h.parentNode;h&amp;&amp;h!=v;h=r){r=h.parentNode;q=p(h==x?h:h[u],u);if(q.length){if(!y){q.reverse()}s(f(q))}}}if(i.nodeType==1&amp;&amp;i.hasChildNodes()){i=i.childNodes[l]}if(t.nodeType==1&amp;&amp;t.hasChildNodes()){t=t.childNodes[Math.min(m-1,t.childNodes.length-1)]}if(i==t){return s(f([i]))}j=c.findCommonAncestor(i,t);for(h=i;h;h=h.parentNode){if(h===t){return k(i,j,true)}if(h===j){break}}for(h=t;h;h=h.parentNode){if(h===i){return k(t,j)}if(h===j){break}}g=n(i,j)||i;o=n(t,j)||t;
 k(i,g,true);q=p(g==i?g:g.nextSibling,&quot;nextSibling&quot;,o==t?o.nextSibling:o);if(q.length){s(f(q))}k(t,o)};this.split=function(e){var h=e.startContainer,d=e.startOffset,i=e.endContainer,g=e.endOffset;function f(j,k){return j.splitText(k)}if(h==i&amp;&amp;h.nodeType==3){if(d&gt;0&amp;&amp;d&lt;h.nodeValue.length){i=f(h,d);h=i.previousSibling;if(g&gt;d){g=g-d;h=i=f(i,g).previousSibling;g=i.nodeValue.length;d=0}else{g=0}}}else{if(h.nodeType==3&amp;&amp;d&gt;0&amp;&amp;d&lt;h.nodeValue.length){h=f(h,d);d=0}if(i.nodeType==3&amp;&amp;g&gt;0&amp;&amp;g&lt;i.nodeValue.length){i=f(i,g).previousSibling;g=i.nodeValue.length}}return{startContainer:h,startOffset:d,endContainer:i,endOffset:g}}};a.dom.RangeUtils.compareRanges=function(c,b){if(c&amp;&amp;b){if(c.item||c.duplicate){if(c.item&amp;&amp;b.item&amp;&amp;c.item(0)===b.item(0)){return true}if(c.isEqual&amp;&amp;b.isEqual&amp;&amp;b.isEqual(c)){return true}}else{return c.startContainer==b.startContainer&amp;&amp;c.startOffset=
 =b.startOffset}}return false}})(tinymce);(function(b){var a=b.dom.Event,c=b.each;b.create(&quot;tinymce.ui.KeyboardNavigation&quot;,{KeyboardNavigation:function(e,f){var q=this,n=e.root,m=e.items,o=e.enableUpDown,i=e.enableLeftRight||!e.enableUpDown,l=e.excludeFromTabOrder,k,h,p,d,g;f=f||b.DOM;k=function(r){g=r.target.id};h=function(r){f.setAttrib(r.target.id,&quot;tabindex&quot;,&quot;-1&quot;)};d=function(r){var s=f.get(g);f.setAttrib(s,&quot;tabindex&quot;,&quot;0&quot;);s.focus()};q.focus=function(){f.get(g).focus()};q.destroy=function(){c(m,function(s){var t=f.get(s.id);f.unbind(t,&quot;focus&quot;,k);f.unbind(t,&quot;blur&quot;,h)});var r=f.get(n);f.unbind(r,&quot;focus&quot;,d);f.unbind(r,&quot;keydown&quot;,p);m=f=n=q.focus=k=h=p=d=null;q.destroy=function(){}};q.moveFocus=function(v,s){var r=-1,u=q.controls,t;if(!g){return}c(m,function(y,x){if(y.id===g){r=x;return false}});r+=v;if(r&lt;0){r=m.length-1}else{if(r&gt;=m.length){r=0}}t=m[r];f.setAttrib(g,&quot;tabindex&q
 uot;,&quot;-1&quot;);f.setAttrib(t.id,&quot;tabindex&quot;,&quot;0&quot;);f.get(t.id).focus();if(e.actOnFocus){e.onAction(t.id)}if(s){a.cancel(s)}};p=function(z){var v=37,u=39,y=38,A=40,r=27,t=14,s=13,x=32;switch(z.keyCode){case v:if(i){q.moveFocus(-1)}break;case u:if(i){q.moveFocus(1)}break;case y:if(o){q.moveFocus(-1)}break;case A:if(o){q.moveFocus(1)}break;case r:if(e.onCancel){e.onCancel();a.cancel(z)}break;case t:case s:case x:if(e.onAction){e.onAction(g);a.cancel(z)}break}};c(m,function(t,r){var s,u;if(!t.id){t.id=f.uniqueId(&quot;_mce_item_&quot;)}u=f.get(t.id);if(l){f.bind(u,&quot;blur&quot;,h);s=&quot;-1&quot;}else{s=(r===0?&quot;0&quot;:&quot;-1&quot;)}u.setAttribute(&quot;tabindex&quot;,s);f.bind(u,&quot;focus&quot;,k)});if(m[0]){g=m[0].id}f.setAttrib(n,&quot;tabindex&quot;,&quot;-1&quot;);var j=f.get(n);f.bind(j,&quot;focus&quot;,d);f.bind(j,&quot;keydown&quot;,p)}})})(tinymce);(function(c){var b=c.DOM,a=c.is;c.create(&quot;tinymce.ui.Control&quot;,{Control:funct
 ion(f,e,d){this.id=f;this.settings=e=e||{};this.rendered=false;this.onRender=new c.util.Dispatcher(this);this.classPrefix=&quot;&quot;;this.scope=e.scope||this;this.disabled=0;this.active=0;this.editor=d},setAriaProperty:function(f,e){var d=b.get(this.id+&quot;_aria&quot;)||b.get(this.id);if(d){b.setAttrib(d,&quot;aria-&quot;+f,!!e)}},focus:function(){b.get(this.id).focus()},setDisabled:function(d){if(d!=this.disabled){this.setAriaProperty(&quot;disabled&quot;,d);this.setState(&quot;Disabled&quot;,d);this.setState(&quot;Enabled&quot;,!d);this.disabled=d}},isDisabled:function(){return this.disabled},setActive:function(d){if(d!=this.active){this.setState(&quot;Active&quot;,d);this.active=d;this.setAriaProperty(&quot;pressed&quot;,d)}},isActive:function(){return this.active},setState:function(f,d){var e=b.get(this.id);f=this.classPrefix+f;if(d){b.addClass(e,f)}else{b.removeClass(e,f)}},isRendered:function(){return this.rendered},renderHTML:function(){},renderTo:function(d){b.se
 tHTML(d,this.renderHTML())},postRender:function(){var e=this,d;if(a(e.disabled)){d=e.disabled;e.disabled=-1;e.setDisabled(d)}if(a(e.active)){d=e.active;e.active=-1;e.setActive(d)}},remove:function(){b.remove(this.id);this.destroy()},destroy:function(){c.dom.Event.clear(this.id)}})})(tinymce);tinymce.create(&quot;tinymce.ui.Container:tinymce.ui.Control&quot;,{Container:function(c,b,a){this.parent(c,b,a);this.controls=[];this.lookup={}},add:function(a){this.lookup[a.id]=a;this.controls.push(a);return a},get:function(a){return this.lookup[a]}});tinymce.create(&quot;tinymce.ui.Separator:tinymce.ui.Control&quot;,{Separator:function(b,a){this.parent(b,a);this.classPrefix=&quot;mceSeparator&quot;;this.setDisabled(true)},renderHTML:function(){return tinymce.DOM.createHTML(&quot;span&quot;,{&quot;class&quot;:this.classPrefix,role:&quot;separator&quot;,&quot;aria-orientation&quot;:&quot;vertical&quot;,tabindex:&quot;-1&quot;})}});(function(d){var c=d.is,b=d.DOM,e=d.each,a=d.walk;d.cre
 ate(&quot;tinymce.ui.MenuItem:tinymce.ui.Control&quot;,{MenuItem:function(g,f){this.parent(g,f);this.classPrefix=&quot;mceMenuItem&quot;},setSelected:function(f){this.setState(&quot;Selected&quot;,f);this.setAriaProperty(&quot;checked&quot;,!!f);this.selected=f},isSelected:function(){return this.selected},postRender:function(){var f=this;f.parent();if(c(f.selected)){f.setSelected(f.selected)}}})})(tinymce);(function(d){var c=d.is,b=d.DOM,e=d.each,a=d.walk;d.create(&quot;tinymce.ui.Menu:tinymce.ui.MenuItem&quot;,{Menu:function(h,g){var f=this;f.parent(h,g);f.items={};f.collapsed=false;f.menuCount=0;f.onAddItem=new d.util.Dispatcher(this)},expand:function(g){var f=this;if(g){a(f,function(h){if(h.expand){h.expand()}},&quot;items&quot;,f)}f.collapsed=false},collapse:function(g){var f=this;if(g){a(f,function(h){if(h.collapse){h.collapse()}},&quot;items&quot;,f)}f.collapsed=true},isCollapsed:function(){return this.collapsed},add:function(f){if(!f.settings){f=new d.ui.MenuItem(f.id
 ||b.uniqueId(),f)}this.onAddItem.dispatch(this,f);return this.items[f.id]=f},addSeparator:function(){return this.add({separator:true})},addMenu:function(f){if(!f.collapse){f=this.createMenu(f)}this.menuCount++;return this.add(f)},hasMenus:function(){return this.menuCount!==0},remove:function(f){delete this.items[f.id]},removeAll:function(){var f=this;a(f,function(g){if(g.removeAll){g.removeAll()}else{g.remove()}g.destroy()},&quot;items&quot;,f);f.items={}},createMenu:function(g){var f=new d.ui.Menu(g.id||b.uniqueId(),g);f.onAddItem.add(this.onAddItem.dispatch,this.onAddItem);return f}})})(tinymce);(function(e){var d=e.is,c=e.DOM,f=e.each,a=e.dom.Event,b=e.dom.Element;e.create(&quot;tinymce.ui.DropMenu:tinymce.ui.Menu&quot;,{DropMenu:function(h,g){g=g||{};g.container=g.container||c.doc.body;g.offset_x=g.offset_x||0;g.offset_y=g.offset_y||0;g.vp_offset_x=g.vp_offset_x||0;g.vp_offset_y=g.vp_offset_y||0;if(d(g.icons)&amp;&amp;!g.icons){g[&quot;class&quot;]+=&quot; mceNoIcons&quo
 t;}this.parent(h,g);this.onShowMenu=new e.util.Dispatcher(this);this.onHideMenu=new e.util.Dispatcher(this);this.classPrefix=&quot;mceMenu&quot;},createMenu:function(j){var h=this,i=h.settings,g;j.container=j.container||i.container;j.parent=h;j.constrain=j.constrain||i.constrain;j[&quot;class&quot;]=j[&quot;class&quot;]||i[&quot;class&quot;];j.vp_offset_x=j.vp_offset_x||i.vp_offset_x;j.vp_offset_y=j.vp_offset_y||i.vp_offset_y;j.keyboard_focus=i.keyboard_focus;g=new e.ui.DropMenu(j.id||c.uniqueId(),j);g.onAddItem.add(h.onAddItem.dispatch,h.onAddItem);return g},focus:function(){var g=this;if(g.keyboardNav){g.keyboardNav.focus()}},update:function(){var i=this,j=i.settings,g=c.get(&quot;menu_&quot;+i.id+&quot;_tbl&quot;),l=c.get(&quot;menu_&quot;+i.id+&quot;_co&quot;),h,k;h=j.max_width?Math.min(g.offsetWidth,j.max_width):g.offsetWidth;k=j.max_height?Math.min(g.offsetHeight,j.max_height):g.offsetHeight;if(!c.boxModel){i.element.setStyles({width:h+2,height:k+2})}else{i.element.set
 Styles({width:h,height:k})}if(j.max_width){c.setStyle(l,&quot;width&quot;,h)}if(j.max_height){c.setStyle(l,&quot;height&quot;,k);if(g.clientHeight&lt;j.max_height){c.setStyle(l,&quot;overflow&quot;,&quot;hidden&quot;)}}},showMenu:function(p,n,r){var z=this,A=z.settings,o,g=c.getViewPort(),u,l,v,q,i=2,k,j,m=z.classPrefix;z.collapse(1);if(z.isMenuVisible){return}if(!z.rendered){o=c.add(z.settings.container,z.renderNode());f(z.items,function(h){h.postRender()});z.element=new b(&quot;menu_&quot;+z.id,{blocker:1,container:A.container})}else{o=c.get(&quot;menu_&quot;+z.id)}if(!e.isOpera){c.setStyles(o,{left:-65535,top:-65535})}c.show(o);z.update();p+=A.offset_x||0;n+=A.offset_y||0;g.w-=4;g.h-=4;if(A.constrain){u=o.clientWidth-i;l=o.clientHeight-i;v=g.x+g.w;q=g.y+g.h;if((p+A.vp_offset_x+u)&gt;v){p=r?r-u:Math.max(0,(v-A.vp_offset_x)-u)}if((n+A.vp_offset_y+l)&gt;q){n=Math.max(0,(q-A.vp_offset_y)-l)}}c.setStyles(o,{left:p,top:n});z.element.update();z.isMenuVisible=1;z.mouseClickFunc=a
 .add(o,&quot;click&quot;,function(s){var h;s=s.target;if(s&amp;&amp;(s=c.getParent(s,&quot;tr&quot;))&amp;&amp;!c.hasClass(s,m+&quot;ItemSub&quot;)){h=z.items[s.id];if(h.isDisabled()){return}k=z;while(k){if(k.hideMenu){k.hideMenu()}k=k.settings.parent}if(h.settings.onclick){h.settings.onclick(s)}return false}});if(z.hasMenus()){z.mouseOverFunc=a.add(o,&quot;mouseover&quot;,function(x){var h,t,s;x=x.target;if(x&amp;&amp;(x=c.getParent(x,&quot;tr&quot;))){h=z.items[x.id];if(z.lastMenu){z.lastMenu.collapse(1)}if(h.isDisabled()){return}if(x&amp;&amp;c.hasClass(x,m+&quot;ItemSub&quot;)){t=c.getRect(x);h.showMenu((t.x+t.w-i),t.y-i,t.x);z.lastMenu=h;c.addClass(c.get(h.id).firstChild,m+&quot;ItemActive&quot;)}}})}a.add(o,&quot;keydown&quot;,z._keyHandler,z);z.onShowMenu.dispatch(z);if(A.keyboard_focus){z._setupKeyboardNav()}},hideMenu:function(j){var g=this,i=c.get(&quot;menu_&quot;+g.id),h;if(!g.isMenuVisible){return}if(g.keyboardNav){g.keyboardNav.destroy()}a.remove(i,&quot;mouseo
 ver&quot;,g.mouseOverFunc);a.remove(i,&quot;click&quot;,g.mouseClickFunc);a.remove(i,&quot;keydown&quot;,g._keyHandler);c.hide(i);g.isMenuVisible=0;if(!j){g.collapse(1)}if(g.element){g.element.hide()}if(h=c.get(g.id)){c.removeClass(h.firstChild,g.classPrefix+&quot;ItemActive&quot;)}g.onHideMenu.dispatch(g)},add:function(i){var g=this,h;i=g.parent(i);if(g.isRendered&amp;&amp;(h=c.get(&quot;menu_&quot;+g.id))){g._add(c.select(&quot;tbody&quot;,h)[0],i)}return i},collapse:function(g){this.parent(g);this.hideMenu(1)},remove:function(g){c.remove(g.id);this.destroy();return this.parent(g)},destroy:function(){var g=this,h=c.get(&quot;menu_&quot;+g.id);if(g.keyboardNav){g.keyboardNav.destroy()}a.remove(h,&quot;mouseover&quot;,g.mouseOverFunc);a.remove(c.select(&quot;a&quot;,h),&quot;focus&quot;,g.mouseOverFunc);a.remove(h,&quot;click&quot;,g.mouseClickFunc);a.remove(h,&quot;keydown&quot;,g._keyHandler);if(g.element){g.element.remove()}c.remove(h)},renderNode:function(){var i=this,j=
 i.settings,l,h,k,g;g=c.create(&quot;div&quot;,{role:&quot;listbox&quot;,id:&quot;menu_&quot;+i.id,&quot;class&quot;:j[&quot;class&quot;],style:&quot;position:absolute;left:0;top:0;z-index:200000;outline:0&quot;});if(i.settings.parent){c.setAttrib(g,&quot;aria-parent&quot;,&quot;menu_&quot;+i.settings.parent.id)}k=c.add(g,&quot;div&quot;,{role:&quot;presentation&quot;,id:&quot;menu_&quot;+i.id+&quot;_co&quot;,&quot;class&quot;:i.classPrefix+(j[&quot;class&quot;]?&quot; &quot;+j[&quot;class&quot;]:&quot;&quot;)});i.element=new b(&quot;menu_&quot;+i.id,{blocker:1,container:j.container});if(j.menu_line){c.add(k,&quot;span&quot;,{&quot;class&quot;:i.classPrefix+&quot;Line&quot;})}l=c.add(k,&quot;table&quot;,{role:&quot;presentation&quot;,id:&quot;menu_&quot;+i.id+&quot;_tbl&quot;,border:0,cellPadding:0,cellSpacing:0});h=c.add(l,&quot;tbody&quot;);f(i.items,function(m){i._add(h,m)});i.rendered=true;return g},_setupKeyboardNav:function(){var i,h,g=this;i=c.get(&quot;menu_&quot;+g.i
 d);h=c.select(&quot;a[role=option]&quot;,&quot;menu_&quot;+g.id);h.splice(0,0,i);g.keyboardNav=new e.ui.KeyboardNavigation({root:&quot;menu_&quot;+g.id,items:h,onCancel:function(){g.hideMenu()},enableUpDown:true});i.focus()},_keyHandler:function(g){var h=this,i;switch(g.keyCode){case 37:if(h.settings.parent){h.hideMenu();h.settings.parent.focus();a.cancel(g)}break;case 39:if(h.mouseOverFunc){h.mouseOverFunc(g)}break}},_add:function(j,h){var i,q=h.settings,p,l,k,m=this.classPrefix,g;if(q.separator){l=c.add(j,&quot;tr&quot;,{id:h.id,&quot;class&quot;:m+&quot;ItemSeparator&quot;});c.add(l,&quot;td&quot;,{&quot;class&quot;:m+&quot;ItemSeparator&quot;});if(i=l.previousSibling){c.addClass(i,&quot;mceLast&quot;)}return}i=l=c.add(j,&quot;tr&quot;,{id:h.id,&quot;class&quot;:m+&quot;Item &quot;+m+&quot;ItemEnabled&quot;});i=k=c.add(i,q.titleItem?&quot;th&quot;:&quot;td&quot;);i=p=c.add(i,&quot;a&quot;,{id:h.id+&quot;_aria&quot;,role:q.titleItem?&quot;presentation&quot;:&quot;option&qu
 ot;,href:&quot;javascript:;&quot;,onclick:&quot;return false;&quot;,onmousedown:&quot;return false;&quot;});if(q.parent){c.setAttrib(p,&quot;aria-haspopup&quot;,&quot;true&quot;);c.setAttrib(p,&quot;aria-owns&quot;,&quot;menu_&quot;+h.id)}c.addClass(k,q[&quot;class&quot;]);g=c.add(i,&quot;span&quot;,{&quot;class&quot;:&quot;mceIcon&quot;+(q.icon?&quot; mce_&quot;+q.icon:&quot;&quot;)});if(q.icon_src){c.add(g,&quot;img&quot;,{src:q.icon_src})}i=c.add(i,q.element||&quot;span&quot;,{&quot;class&quot;:&quot;mceText&quot;,title:h.settings.title},h.settings.title);if(h.settings.style){if(typeof h.settings.style==&quot;function&quot;){h.settings.style=h.settings.style()}c.setAttrib(i,&quot;style&quot;,h.settings.style)}if(j.childNodes.length==1){c.addClass(l,&quot;mceFirst&quot;)}if((i=l.previousSibling)&amp;&amp;c.hasClass(i,m+&quot;ItemSeparator&quot;)){c.addClass(l,&quot;mceFirst&quot;)}if(h.collapse){c.addClass(l,m+&quot;ItemSub&quot;)}if(i=l.previousSibling){c.removeClass(i,&q
 uot;mceLast&quot;)}c.addClass(l,&quot;mceLast&quot;)}})})(tinymce);(function(b){var a=b.DOM;b.create(&quot;tinymce.ui.Button:tinymce.ui.Control&quot;,{Button:function(e,d,c){this.parent(e,d,c);this.classPrefix=&quot;mceButton&quot;},renderHTML:function(){var f=this.classPrefix,e=this.settings,d,c;c=a.encode(e.label||&quot;&quot;);d='&lt;a role=&quot;button&quot; id=&quot;'+this.id+'&quot; href=&quot;javascript:;&quot; class=&quot;'+f+&quot; &quot;+f+&quot;Enabled &quot;+e[&quot;class&quot;]+(c?&quot; &quot;+f+&quot;Labeled&quot;:&quot;&quot;)+'&quot; onmousedown=&quot;return false;&quot; onclick=&quot;return false;&quot; aria-labelledby=&quot;'+this.id+'_voice&quot; title=&quot;'+a.encode(e.title)+'&quot;&gt;';if(e.image&amp;&amp;!(this.editor&amp;&amp;this.editor.forcedHighContrastMode)){d+='&lt;span class=&quot;mceIcon '+e[&quot;class&quot;]+'&quot;&gt;&lt;img class=&quot;mceIcon&quot; src=&quot;'+e.image+'&quot; alt=&quot;'+a.encode(e.title)+'&quot; /&gt;&lt;/span&gt;'+(c
 ?'&lt;span class=&quot;'+f+'Label&quot;&gt;'+c+&quot;&lt;/span&gt;&quot;:&quot;&quot;)}else{d+='&lt;span class=&quot;mceIcon '+e[&quot;class&quot;]+'&quot;&gt;&lt;/span&gt;'+(c?'&lt;span class=&quot;'+f+'Label&quot;&gt;'+c+&quot;&lt;/span&gt;&quot;:&quot;&quot;)}d+='&lt;span class=&quot;mceVoiceLabel mceIconOnly&quot; style=&quot;display: none;&quot; id=&quot;'+this.id+'_voice&quot;&gt;'+e.title+&quot;&lt;/span&gt;&quot;;d+=&quot;&lt;/a&gt;&quot;;return d},postRender:function(){var d=this,e=d.settings,c;if(b.isIE&amp;&amp;d.editor){b.dom.Event.add(d.id,&quot;mousedown&quot;,function(f){var g=d.editor.selection.getNode().nodeName;c=g===&quot;IMG&quot;?d.editor.selection.getBookmark():null})}b.dom.Event.add(d.id,&quot;click&quot;,function(f){if(!d.isDisabled()){if(b.isIE&amp;&amp;d.editor&amp;&amp;c!==null){d.editor.selection.moveToBookmark(c)}return e.onclick.call(e.scope,f)}});b.dom.Event.add(d.id,&quot;keyup&quot;,function(f){if(!d.isDisabled()&amp;&amp;f.keyCode==b.VK.SPAC
 EBAR){return e.onclick.call(e.scope,f)}})}})})(tinymce);(function(e){var d=e.DOM,b=e.dom.Event,f=e.each,a=e.util.Dispatcher,c;e.create(&quot;tinymce.ui.ListBox:tinymce.ui.Control&quot;,{ListBox:function(j,i,g){var h=this;h.parent(j,i,g);h.items=[];h.onChange=new a(h);h.onPostRender=new a(h);h.onAdd=new a(h);h.onRenderMenu=new e.util.Dispatcher(this);h.classPrefix=&quot;mceListBox&quot;;h.marked={}},select:function(h){var g=this,j,i;g.marked={};if(h==c){return g.selectByIndex(-1)}if(h&amp;&amp;typeof(h)==&quot;function&quot;){i=h}else{i=function(k){return k==h}}if(h!=g.selectedValue){f(g.items,function(l,k){if(i(l.value)){j=1;g.selectByIndex(k);return false}});if(!j){g.selectByIndex(-1)}}},selectByIndex:function(g){var i=this,j,k,h;i.marked={};if(g!=i.selectedIndex){j=d.get(i.id+&quot;_text&quot;);h=d.get(i.id+&quot;_voiceDesc&quot;);k=i.items[g];if(k){i.selectedValue=k.value;i.selectedIndex=g;d.setHTML(j,d.encode(k.title));d.setHTML(h,i.settings.title+&quot; - &quot;+k.title
 );d.removeClass(j,&quot;mceTitle&quot;);d.setAttrib(i.id,&quot;aria-valuenow&quot;,k.title)}else{d.setHTML(j,d.encode(i.settings.title));d.setHTML(h,d.encode(i.settings.title));d.addClass(j,&quot;mceTitle&quot;);i.selectedValue=i.selectedIndex=null;d.setAttrib(i.id,&quot;aria-valuenow&quot;,i.settings.title)}j=0}},mark:function(g){this.marked[g]=true},add:function(j,g,i){var h=this;i=i||{};i=e.extend(i,{title:j,value:g});h.items.push(i);h.onAdd.dispatch(h,i)},getLength:function(){return this.items.length},renderHTML:function(){var j=&quot;&quot;,g=this,i=g.settings,k=g.classPrefix;j='&lt;span role=&quot;listbox&quot; aria-haspopup=&quot;true&quot; aria-labelledby=&quot;'+g.id+'_voiceDesc&quot; aria-describedby=&quot;'+g.id+'_voiceDesc&quot;&gt;&lt;table role=&quot;presentation&quot; tabindex=&quot;0&quot; id=&quot;'+g.id+'&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;'+k+&quot; &quot;+k+&quot;Enabled&quot;+(i[&quot;class&quot;]?(&quot; &quot;+i[&quot
 ;class&quot;]):&quot;&quot;)+'&quot;&gt;&lt;tbody&gt;&lt;tr&gt;';j+=&quot;&lt;td&gt;&quot;+d.createHTML(&quot;span&quot;,{id:g.id+&quot;_voiceDesc&quot;,&quot;class&quot;:&quot;voiceLabel&quot;,style:&quot;display:none;&quot;},g.settings.title);j+=d.createHTML(&quot;a&quot;,{id:g.id+&quot;_text&quot;,tabindex:-1,href:&quot;javascript:;&quot;,&quot;class&quot;:&quot;mceText&quot;,onclick:&quot;return false;&quot;,onmousedown:&quot;return false;&quot;},d.encode(g.settings.title))+&quot;&lt;/td&gt;&quot;;j+=&quot;&lt;td&gt;&quot;+d.createHTML(&quot;a&quot;,{id:g.id+&quot;_open&quot;,tabindex:-1,href:&quot;javascript:;&quot;,&quot;class&quot;:&quot;mceOpen&quot;,onclick:&quot;return false;&quot;,onmousedown:&quot;return false;&quot;},'&lt;span&gt;&lt;span style=&quot;display:none;&quot; class=&quot;mceIconOnly&quot; aria-hidden=&quot;true&quot;&gt;\u25BC&lt;/span&gt;&lt;/span&gt;')+&quot;&lt;/td&gt;&quot;;j+=&quot;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/span&gt;&quot;;return
  j},showMenu:function(){var h=this,j,i=d.get(this.id),g;if(h.isDisabled()||h.items.length===0){return}if(h.menu&amp;&amp;h.menu.isMenuVisible){return h.hideMenu()}if(!h.isMenuRendered){h.renderMenu();h.isMenuRendered=true}j=d.getPos(i);g=h.menu;g.settings.offset_x=j.x;g.settings.offset_y=j.y;g.settings.keyboard_focus=!e.isOpera;f(h.items,function(k){if(g.items[k.id]){g.items[k.id].setSelected(0)}});f(h.items,function(k){if(g.items[k.id]&amp;&amp;h.marked[k.value]){g.items[k.id].setSelected(1)}if(k.value===h.selectedValue){g.items[k.id].setSelected(1)}});g.showMenu(0,i.clientHeight);b.add(d.doc,&quot;mousedown&quot;,h.hideMenu,h);d.addClass(h.id,h.classPrefix+&quot;Selected&quot;)},hideMenu:function(h){var g=this;if(g.menu&amp;&amp;g.menu.isMenuVisible){d.removeClass(g.id,g.classPrefix+&quot;Selected&quot;);if(h&amp;&amp;h.type==&quot;mousedown&quot;&amp;&amp;(h.target.id==g.id+&quot;_text&quot;||h.target.id==g.id+&quot;_open&quot;)){return}if(!h||!d.getParent(h.target,&quot;
 .mceMenu&quot;)){d.removeClass(g.id,g.classPrefix+&quot;Selected&quot;);b.remove(d.doc,&quot;mousedown&quot;,g.hideMenu,g);g.menu.hideMenu()}}},renderMenu:function(){var h=this,g;g=h.settings.control_manager.createDropMenu(h.id+&quot;_menu&quot;,{menu_line:1,&quot;class&quot;:h.classPrefix+&quot;Menu mceNoIcons&quot;,max_width:250,max_height:150});g.onHideMenu.add(function(){h.hideMenu();h.focus()});g.add({title:h.settings.title,&quot;class&quot;:&quot;mceMenuItemTitle&quot;,onclick:function(){if(h.settings.onselect(&quot;&quot;)!==false){h.select(&quot;&quot;)}}});f(h.items,function(i){if(i.value===c){g.add({title:i.title,role:&quot;option&quot;,&quot;class&quot;:&quot;mceMenuItemTitle&quot;,onclick:function(){if(h.settings.onselect(&quot;&quot;)!==false){h.select(&quot;&quot;)}}})}else{i.id=d.uniqueId();i.role=&quot;option&quot;;i.onclick=function(){if(h.settings.onselect(i.value)!==false){h.select(i.value)}};g.add(i)}});h.onRenderMenu.dispatch(h,g);h.menu=g},postRender:fu
 nction(){var g=this,h=g.classPrefix;b.add(g.id,&quot;click&quot;,g.showMenu,g);b.add(g.id,&quot;keydown&quot;,function(i){if(i.keyCode==32){g.showMenu(i);b.cancel(i)}});b.add(g.id,&quot;focus&quot;,function(){if(!g._focused){g.keyDownHandler=b.add(g.id,&quot;keydown&quot;,function(i){if(i.keyCode==40){g.showMenu();b.cancel(i)}});g.keyPressHandler=b.add(g.id,&quot;keypress&quot;,function(j){var i;if(j.keyCode==13){i=g.selectedValue;g.selectedValue=null;b.cancel(j);g.settings.onselect(i)}})}g._focused=1});b.add(g.id,&quot;blur&quot;,function(){b.remove(g.id,&quot;keydown&quot;,g.keyDownHandler);b.remove(g.id,&quot;keypress&quot;,g.keyPressHandler);g._focused=0});if(e.isIE6||!d.boxModel){b.add(g.id,&quot;mouseover&quot;,function(){if(!d.hasClass(g.id,h+&quot;Disabled&quot;)){d.addClass(g.id,h+&quot;Hover&quot;)}});b.add(g.id,&quot;mouseout&quot;,function(){if(!d.hasClass(g.id,h+&quot;Disabled&quot;)){d.removeClass(g.id,h+&quot;Hover&quot;)}})}g.onPostRender.dispatch(g,d.get(g.i
 d))},destroy:function(){this.parent();b.clear(this.id+&quot;_text&quot;);b.clear(this.id+&quot;_open&quot;)}})})(tinymce);(function(e){var d=e.DOM,b=e.dom.Event,f=e.each,a=e.util.Dispatcher,c;e.create(&quot;tinymce.ui.NativeListBox:tinymce.ui.ListBox&quot;,{NativeListBox:function(h,g){this.parent(h,g);this.classPrefix=&quot;mceNativeListBox&quot;},setDisabled:function(g){d.get(this.id).disabled=g;this.setAriaProperty(&quot;disabled&quot;,g)},isDisabled:function(){return d.get(this.id).disabled},select:function(h){var g=this,j,i;if(h==c){return g.selectByIndex(-1)}if(h&amp;&amp;typeof(h)==&quot;function&quot;){i=h}else{i=function(k){return k==h}}if(h!=g.selectedValue){f(g.items,function(l,k){if(i(l.value)){j=1;g.selectByIndex(k);return false}});if(!j){g.selectByIndex(-1)}}},selectByIndex:function(g){d.get(this.id).selectedIndex=g+1;this.selectedValue=this.items[g]?this.items[g].value:null},add:function(k,h,g){var j,i=this;g=g||{};g.value=h;if(i.isRendered()){d.add(d.get(this.
 id),&quot;option&quot;,g,k)}j={title:k,value:h,attribs:g};i.items.push(j);i.onAdd.dispatch(i,j)},getLength:function(){return this.items.length},renderHTML:function(){var i,g=this;i=d.createHTML(&quot;option&quot;,{value:&quot;&quot;},&quot;-- &quot;+g.settings.title+&quot; --&quot;);f(g.items,function(h){i+=d.createHTML(&quot;option&quot;,{value:h.value},h.title)});i=d.createHTML(&quot;select&quot;,{id:g.id,&quot;class&quot;:&quot;mceNativeListBox&quot;,&quot;aria-labelledby&quot;:g.id+&quot;_aria&quot;},i);i+=d.createHTML(&quot;span&quot;,{id:g.id+&quot;_aria&quot;,style:&quot;display: none&quot;},g.settings.title);return i},postRender:function(){var h=this,i,j=true;h.rendered=true;function g(l){var k=h.items[l.target.selectedIndex-1];if(k&amp;&amp;(k=k.value)){h.onChange.dispatch(h,k);if(h.settings.onselect){h.settings.onselect(k)}}}b.add(h.id,&quot;change&quot;,g);b.add(h.id,&quot;keydown&quot;,function(l){var k;b.remove(h.id,&quot;change&quot;,i);j=false;k=b.add(h.id,&qu
 ot;blur&quot;,function(){if(j){return}j=true;b.add(h.id,&quot;change&quot;,g);b.remove(h.id,&quot;blur&quot;,k)});if(e.isWebKit&amp;&amp;(l.keyCode==37||l.keyCode==39)){return b.prevent(l)}if(l.keyCode==13||l.keyCode==32){g(l);return b.cancel(l)}});h.onPostRender.dispatch(h,d.get(h.id))}})})(tinymce);(function(c){var b=c.DOM,a=c.dom.Event,d=c.each;c.create(&quot;tinymce.ui.MenuButton:tinymce.ui.Button&quot;,{MenuButton:function(g,f,e){this.parent(g,f,e);this.onRenderMenu=new c.util.Dispatcher(this);f.menu_container=f.menu_container||b.doc.body},showMenu:function(){var g=this,j,i,h=b.get(g.id),f;if(g.isDisabled()){return}if(!g.isMenuRendered){g.renderMenu();g.isMenuRendered=true}if(g.isMenuVisible){return g.hideMenu()}j=b.getPos(g.settings.menu_container);i=b.getPos(h);f=g.menu;f.settings.offset_x=i.x;f.settings.offset_y=i.y;f.settings.vp_offset_x=i.x;f.settings.vp_offset_y=i.y;f.settings.keyboard_focus=g._focused;f.showMenu(0,h.firstChild.clientHeight);a.add(b.doc,&quot;mous
 edown&quot;,g.hideMenu,g);g.setState(&quot;Selected&quot;,1);g.isMenuVisible=1},renderMenu:function(){var f=this,e;e=f.settings.control_manager.createDropMenu(f.id+&quot;_menu&quot;,{menu_line:1,&quot;class&quot;:this.classPrefix+&quot;Menu&quot;,icons:f.settings.icons});e.onHideMenu.add(function(){f.hideMenu();f.focus()});f.onRenderMenu.dispatch(f,e);f.menu=e},hideMenu:function(g){var f=this;if(g&amp;&amp;g.type==&quot;mousedown&quot;&amp;&amp;b.getParent(g.target,function(h){return h.id===f.id||h.id===f.id+&quot;_open&quot;})){return}if(!g||!b.getParent(g.target,&quot;.mceMenu&quot;)){f.setState(&quot;Selected&quot;,0);a.remove(b.doc,&quot;mousedown&quot;,f.hideMenu,f);if(f.menu){f.menu.hideMenu()}}f.isMenuVisible=0},postRender:function(){var e=this,f=e.settings;a.add(e.id,&quot;click&quot;,function(){if(!e.isDisabled()){if(f.onclick){f.onclick(e.value)}e.showMenu()}})}})})(tinymce);(function(c){var b=c.DOM,a=c.dom.Event,d=c.each;c.create(&quot;tinymce.ui.SplitButton:tinym
 ce.ui.MenuButton&quot;,{SplitButton:function(g,f,e){this.parent(g,f,e);this.classPrefix=&quot;mceSplitButton&quot;},renderHTML:function(){var i,f=this,g=f.settings,e;i=&quot;&lt;tbody&gt;&lt;tr&gt;&quot;;if(g.image){e=b.createHTML(&quot;img &quot;,{src:g.image,role:&quot;presentation&quot;,&quot;class&quot;:&quot;mceAction &quot;+g[&quot;class&quot;]})}else{e=b.createHTML(&quot;span&quot;,{&quot;class&quot;:&quot;mceAction &quot;+g[&quot;class&quot;]},&quot;&quot;)}e+=b.createHTML(&quot;span&quot;,{&quot;class&quot;:&quot;mceVoiceLabel mceIconOnly&quot;,id:f.id+&quot;_voice&quot;,style:&quot;display:none;&quot;},g.title);i+=&quot;&lt;td &gt;&quot;+b.createHTML(&quot;a&quot;,{role:&quot;button&quot;,id:f.id+&quot;_action&quot;,tabindex:&quot;-1&quot;,href:&quot;javascript:;&quot;,&quot;class&quot;:&quot;mceAction &quot;+g[&quot;class&quot;],onclick:&quot;return false;&quot;,onmousedown:&quot;return false;&quot;,title:g.title},e)+&quot;&lt;/td&gt;&quot;;e=b.createHTML(&quot;sp
 an&quot;,{&quot;class&quot;:&quot;mceOpen &quot;+g[&quot;class&quot;]},'&lt;span style=&quot;display:none;&quot; class=&quot;mceIconOnly&quot; aria-hidden=&quot;true&quot;&gt;\u25BC&lt;/span&gt;');i+=&quot;&lt;td &gt;&quot;+b.createHTML(&quot;a&quot;,{role:&quot;button&quot;,id:f.id+&quot;_open&quot;,tabindex:&quot;-1&quot;,href:&quot;javascript:;&quot;,&quot;class&quot;:&quot;mceOpen &quot;+g[&quot;class&quot;],onclick:&quot;return false;&quot;,onmousedown:&quot;return false;&quot;,title:g.title},e)+&quot;&lt;/td&gt;&quot;;i+=&quot;&lt;/tr&gt;&lt;/tbody&gt;&quot;;i=b.createHTML(&quot;table&quot;,{role:&quot;presentation&quot;,&quot;class&quot;:&quot;mceSplitButton mceSplitButtonEnabled &quot;+g[&quot;class&quot;],cellpadding:&quot;0&quot;,cellspacing:&quot;0&quot;,title:g.title},i);return b.createHTML(&quot;div&quot;,{id:f.id,role:&quot;button&quot;,tabindex:&quot;0&quot;,&quot;aria-labelledby&quot;:f.id+&quot;_voice&quot;,&quot;aria-haspopup&quot;:&quot;true&quot;},i)},pos
 tRender:function(){var e=this,g=e.settings,f;if(g.onclick){f=function(h){if(!e.isDisabled()){g.onclick(e.value);a.cancel(h)}};a.add(e.id+&quot;_action&quot;,&quot;click&quot;,f);a.add(e.id,[&quot;click&quot;,&quot;keydown&quot;],function(h){var k=32,m=14,i=13,j=38,l=40;if((h.keyCode===32||h.keyCode===13||h.keyCode===14)&amp;&amp;!h.altKey&amp;&amp;!h.ctrlKey&amp;&amp;!h.metaKey){f();a.cancel(h)}else{if(h.type===&quot;click&quot;||h.keyCode===l){e.showMenu();a.cancel(h)}}})}a.add(e.id+&quot;_open&quot;,&quot;click&quot;,function(h){e.showMenu();a.cancel(h)});a.add([e.id,e.id+&quot;_open&quot;],&quot;focus&quot;,function(){e._focused=1});a.add([e.id,e.id+&quot;_open&quot;],&quot;blur&quot;,function(){e._focused=0});if(c.isIE6||!b.boxModel){a.add(e.id,&quot;mouseover&quot;,function(){if(!b.hasClass(e.id,&quot;mceSplitButtonDisabled&quot;)){b.addClass(e.id,&quot;mceSplitButtonHover&quot;)}});a.add(e.id,&quot;mouseout&quot;,function(){if(!b.hasClass(e.id,&quot;mceSplitButtonDisab
 led&quot;)){b.removeClass(e.id,&quot;mceSplitButtonHover&quot;)}})}},destroy:function(){this.parent();a.clear(this.id+&quot;_action&quot;);a.clear(this.id+&quot;_open&quot;);a.clear(this.id)}})})(tinymce);(function(d){var c=d.DOM,a=d.dom.Event,b=d.is,e=d.each;d.create(&quot;tinymce.ui.ColorSplitButton:tinymce.ui.SplitButton&quot;,{ColorSplitButton:function(i,h,f){var g=this;g.parent(i,h,f);g.settings=h=d.extend({colors:&quot;000000,993300,333300,003300,003366,000080,333399,333333,800000,FF6600,808000,008000,008080,0000FF,666699,808080,FF0000,FF9900,99CC00,339966,33CCCC,3366FF,800080,999999,FF00FF,FFCC00,FFFF00,00FF00,00FFFF,00CCFF,993366,C0C0C0,FF99CC,FFCC99,FFFF99,CCFFCC,CCFFFF,99CCFF,CC99FF,FFFFFF&quot;,grid_width:8,default_color:&quot;#888888&quot;},g.settings);g.onShowMenu=new d.util.Dispatcher(g);g.onHideMenu=new d.util.Dispatcher(g);g.value=h.default_color},showMenu:function(){var f=this,g,j,i,h;if(f.isDisabled()){return}if(!f.isMenuRendered){f.renderMenu();f.isMenuRen
 dered=true}if(f.isMenuVisible){return f.hideMenu()}i=c.get(f.id);c.show(f.id+&quot;_menu&quot;);c.addClass(i,&quot;mceSplitButtonSelected&quot;);h=c.getPos(i);c.setStyles(f.id+&quot;_menu&quot;,{left:h.x,top:h.y+i.firstChild.clientHeight,zIndex:200000});i=0;a.add(c.doc,&quot;mousedown&quot;,f.hideMenu,f);f.onShowMenu.dispatch(f);if(f._focused){f._keyHandler=a.add(f.id+&quot;_menu&quot;,&quot;keydown&quot;,function(k){if(k.keyCode==27){f.hideMenu()}});c.select(&quot;a&quot;,f.id+&quot;_menu&quot;)[0].focus()}f.keyboardNav=new d.ui.KeyboardNavigation({root:f.id+&quot;_menu&quot;,items:c.select(&quot;a&quot;,f.id+&quot;_menu&quot;),onCancel:function(){f.hideMenu();f.focus()}});f.keyboardNav.focus();f.isMenuVisible=1},hideMenu:function(g){var f=this;if(f.isMenuVisible){if(g&amp;&amp;g.type==&quot;mousedown&quot;&amp;&amp;c.getParent(g.target,function(h){return h.id===f.id+&quot;_open&quot;})){return}if(!g||!c.getParent(g.target,&quot;.mceSplitButtonMenu&quot;)){c.removeClass(f.i
 d,&quot;mceSplitButtonSelected&quot;);a.remove(c.doc,&quot;mousedown&quot;,f.hideMenu,f);a.remove(f.id+&quot;_menu&quot;,&quot;keydown&quot;,f._keyHandler);c.hide(f.id+&quot;_menu&quot;)}f.isMenuVisible=0;f.onHideMenu.dispatch();f.keyboardNav.destroy()}},renderMenu:function(){var p=this,h,k=0,q=p.settings,g,j,l,o,f;o=c.add(q.menu_container,&quot;div&quot;,{role:&quot;listbox&quot;,id:p.id+&quot;_menu&quot;,&quot;class&quot;:q.menu_class+&quot; &quot;+q[&quot;class&quot;],style:&quot;position:absolute;left:0;top:-1000px;&quot;});h=c.add(o,&quot;div&quot;,{&quot;class&quot;:q[&quot;class&quot;]+&quot; mceSplitButtonMenu&quot;});c.add(h,&quot;span&quot;,{&quot;class&quot;:&quot;mceMenuLine&quot;});g=c.add(h,&quot;table&quot;,{role:&quot;presentation&quot;,&quot;class&quot;:&quot;mceColorSplitMenu&quot;});j=c.add(g,&quot;tbody&quot;);k=0;e(b(q.colors,&quot;array&quot;)?q.colors:q.colors.split(&quot;,&quot;),function(m){m=m.replace(/^#/,&quot;&quot;);if(!k--){l=c.add(j,&quot;tr&q
 uot;);k=q.grid_width-1}g=c.add(l,&quot;td&quot;);var i={href:&quot;javascript:;&quot;,style:{backgroundColor:&quot;#&quot;+m},title:p.editor.getLang(&quot;colors.&quot;+m,m),&quot;data-mce-color&quot;:&quot;#&quot;+m};if(!d.isIE){i.role=&quot;option&quot;}g=c.add(g,&quot;a&quot;,i);if(p.editor.forcedHighContrastMode){g=c.add(g,&quot;canvas&quot;,{width:16,height:16,&quot;aria-hidden&quot;:&quot;true&quot;});if(g.getContext&amp;&amp;(f=g.getContext(&quot;2d&quot;))){f.fillStyle=&quot;#&quot;+m;f.fillRect(0,0,16,16)}else{c.remove(g)}}});if(q.more_colors_func){g=c.add(j,&quot;tr&quot;);g=c.add(g,&quot;td&quot;,{colspan:q.grid_width,&quot;class&quot;:&quot;mceMoreColors&quot;});g=c.add(g,&quot;a&quot;,{role:&quot;option&quot;,id:p.id+&quot;_more&quot;,href:&quot;javascript:;&quot;,onclick:&quot;return false;&quot;,&quot;class&quot;:&quot;mceMoreColors&quot;},q.more_colors_title);a.add(g,&quot;click&quot;,function(i){q.more_colors_func.call(q.more_colors_scope||this);return a.can
 cel(i)})}c.addClass(h,&quot;mceColorSplitMenu&quot;);a.add(p.id+&quot;_menu&quot;,&quot;mousedown&quot;,function(i){return a.cancel(i)});a.add(p.id+&quot;_menu&quot;,&quot;click&quot;,function(i){var m;i=c.getParent(i.target,&quot;a&quot;,j);if(i&amp;&amp;i.nodeName.toLowerCase()==&quot;a&quot;&amp;&amp;(m=i.getAttribute(&quot;data-mce-color&quot;))){p.setColor(m)}return false});return o},setColor:function(f){this.displayColor(f);this.hideMenu();this.settings.onselect(f)},displayColor:function(g){var f=this;c.setStyle(f.id+&quot;_preview&quot;,&quot;backgroundColor&quot;,g);f.value=g},postRender:function(){var f=this,g=f.id;f.parent();c.add(g+&quot;_action&quot;,&quot;div&quot;,{id:g+&quot;_preview&quot;,&quot;class&quot;:&quot;mceColorPreview&quot;});c.setStyle(f.id+&quot;_preview&quot;,&quot;backgroundColor&quot;,f.value)},destroy:function(){var f=this;f.parent();a.clear(f.id+&quot;_menu&quot;);a.clear(f.id+&quot;_more&quot;);c.remove(f.id+&quot;_menu&quot;);if(f.keyboardN
 av){f.keyboardNav.destroy()}}})})(tinymce);(function(b){var d=b.DOM,c=b.each,a=b.dom.Event;b.create(&quot;tinymce.ui.ToolbarGroup:tinymce.ui.Container&quot;,{renderHTML:function(){var f=this,i=[],e=f.controls,j=b.each,g=f.settings;i.push('&lt;div id=&quot;'+f.id+'&quot; role=&quot;group&quot; aria-labelledby=&quot;'+f.id+'_voice&quot;&gt;');i.push(&quot;&lt;span role='application'&gt;&quot;);i.push('&lt;span id=&quot;'+f.id+'_voice&quot; class=&quot;mceVoiceLabel&quot; style=&quot;display:none;&quot;&gt;'+d.encode(g.name)+&quot;&lt;/span&gt;&quot;);j(e,function(h){i.push(h.renderHTML())});i.push(&quot;&lt;/span&gt;&quot;);i.push(&quot;&lt;/div&gt;&quot;);return i.join(&quot;&quot;)},focus:function(){var e=this;d.get(e.id).focus()},postRender:function(){var f=this,e=[];c(f.controls,function(g){c(g.controls,function(h){if(h.id){e.push(h)}})});f.keyNav=new b.ui.KeyboardNavigation({root:f.id,items:e,onCancel:function(){if(b.isWebKit){d.get(f.editor.id+&quot;_ifr&quot;).focus()}f
 .editor.focus()},excludeFromTabOrder:!f.settings.tab_focus_toolbar})},destroy:function(){var e=this;e.parent();e.keyNav.destroy();a.clear(e.id)}})})(tinymce);(function(a){var c=a.DOM,b=a.each;a.create(&quot;tinymce.ui.Toolbar:tinymce.ui.Container&quot;,{renderHTML:function(){var m=this,f=&quot;&quot;,j,k,n=m.settings,e,d,g,l;l=m.controls;for(e=0;e&lt;l.length;e++){k=l[e];d=l[e-1];g=l[e+1];if(e===0){j=&quot;mceToolbarStart&quot;;if(k.Button){j+=&quot; mceToolbarStartButton&quot;}else{if(k.SplitButton){j+=&quot; mceToolbarStartSplitButton&quot;}else{if(k.ListBox){j+=&quot; mceToolbarStartListBox&quot;}}}f+=c.createHTML(&quot;td&quot;,{&quot;class&quot;:j},c.createHTML(&quot;span&quot;,null,&quot;&lt;!-- IE --&gt;&quot;))}if(d&amp;&amp;k.ListBox){if(d.Button||d.SplitButton){f+=c.createHTML(&quot;td&quot;,{&quot;class&quot;:&quot;mceToolbarEnd&quot;},c.createHTML(&quot;span&quot;,null,&quot;&lt;!-- IE --&gt;&quot;))}}if(c.stdMode){f+='&lt;td style=&quot;position: relative&quot;&
 gt;'+k.renderHTML()+&quot;&lt;/td&gt;&quot;}else{f+=&quot;&lt;td&gt;&quot;+k.renderHTML()+&quot;&lt;/td&gt;&quot;}if(g&amp;&amp;k.ListBox){if(g.Button||g.SplitButton){f+=c.createHTML(&quot;td&quot;,{&quot;class&quot;:&quot;mceToolbarStart&quot;},c.createHTML(&quot;span&quot;,null,&quot;&lt;!-- IE --&gt;&quot;))}}}j=&quot;mceToolbarEnd&quot;;if(k.Button){j+=&quot; mceToolbarEndButton&quot;}else{if(k.SplitButton){j+=&quot; mceToolbarEndSplitButton&quot;}else{if(k.ListBox){j+=&quot; mceToolbarEndListBox&quot;}}}f+=c.createHTML(&quot;td&quot;,{&quot;class&quot;:j},c.createHTML(&quot;span&quot;,null,&quot;&lt;!-- IE --&gt;&quot;));return c.createHTML(&quot;table&quot;,{id:m.id,&quot;class&quot;:&quot;mceToolbar&quot;+(n[&quot;class&quot;]?&quot; &quot;+n[&quot;class&quot;]:&quot;&quot;),cellpadding:&quot;0&quot;,cellspacing:&quot;0&quot;,align:m.settings.align||&quot;&quot;,role:&quot;presentation&quot;,tabindex:&quot;-1&quot;},&quot;&lt;tbody&gt;&lt;tr&gt;&quot;+f+&quot;&lt;/tr&
 gt;&lt;/tbody&gt;&quot;)}})})(tinymce);(function(b){var a=b.util.Dispatcher,c=b.each;b.create(&quot;tinymce.AddOnManager&quot;,{AddOnManager:function(){var d=this;d.items=[];d.urls={};d.lookup={};d.onAdd=new a(d)},get:function(d){if(this.lookup[d]){return this.lookup[d].instance}else{return undefined}},dependencies:function(e){var d;if(this.lookup[e]){d=this.lookup[e].dependencies}return d||[]},requireLangPack:function(e){var d=b.settings;if(d&amp;&amp;d.language&amp;&amp;d.language_load!==false){b.ScriptLoader.add(this.urls[e]+&quot;/langs/&quot;+d.language+&quot;.js&quot;)}},add:function(f,e,d){this.items.push(e);this.lookup[f]={instance:e,dependencies:d};this.onAdd.dispatch(this,f,e);return e},createUrl:function(d,e){if(typeof e===&quot;object&quot;){return e}else{return{prefix:d.prefix,resource:e,suffix:d.suffix}}},addComponents:function(f,d){var e=this.urls[f];b.each(d,function(g){b.ScriptLoader.add(e+&quot;/&quot;+g)})},load:function(j,f,d,h){var g=this,e=f;function i(
 ){var k=g.dependencies(j);b.each(k,function(m){var l=g.createUrl(f,m);g.load(l.resource,l,undefined,undefined)});if(d){if(h){d.call(h)}else{d.call(b.ScriptLoader)}}}if(g.urls[j]){return}if(typeof f===&quot;object&quot;){e=f.prefix+f.resource+f.suffix}if(e.indexOf(&quot;/&quot;)!==0&amp;&amp;e.indexOf(&quot;://&quot;)==-1){e=b.baseURL+&quot;/&quot;+e}g.urls[j]=e.substring(0,e.lastIndexOf(&quot;/&quot;));if(g.lookup[j]){i()}else{b.ScriptLoader.add(e,i,h)}}});b.PluginManager=new b.AddOnManager();b.ThemeManager=new b.AddOnManager()}(tinymce));(function(j){var g=j.each,d=j.extend,k=j.DOM,i=j.dom.Event,f=j.ThemeManager,b=j.PluginManager,e=j.explode,h=j.util.Dispatcher,a,c=0;j.documentBaseURL=window.location.href.replace(/[\?#].*$/,&quot;&quot;).replace(/[\/\\][^\/]+$/,&quot;&quot;);if(!/[\/\\]$/.test(j.documentBaseURL)){j.documentBaseURL+=&quot;/&quot;}j.baseURL=new j.util.URI(j.documentBaseURL).toAbsolute(j.baseURL);j.baseURI=new j.util.URI(j.baseURL);j.onBeforeUnload=new h(j);i.
 add(window,&quot;beforeunload&quot;,function(l){j.onBeforeUnload.dispatch(j,l)});j.onAddEditor=new h(j);j.onRemoveEditor=new h(j);j.EditorManager=d(j,{editors:[],i18n:{},activeEditor:null,init:function(x){var v=this,o,n=j.ScriptLoader,u,l=[],r;function q(t){var s=t.id;if(!s){s=t.name;if(s&amp;&amp;!k.get(s)){s=t.name}else{s=k.uniqueId()}t.setAttribute(&quot;id&quot;,s)}return s}function m(z,A,t){var y=z[A];if(!y){return}if(j.is(y,&quot;string&quot;)){t=y.replace(/\.\w+$/,&quot;&quot;);t=t?j.resolve(t):0;y=j.resolve(y)}return y.apply(t||this,Array.prototype.slice.call(arguments,2))}function p(t,s){return s.constructor===RegExp?s.test(t.className):k.hasClass(t,s)}v.settings=x;i.bind(window,&quot;ready&quot;,function(){var s,t;m(x,&quot;onpageload&quot;);switch(x.mode){case&quot;exact&quot;:s=x.elements||&quot;&quot;;if(s.length&gt;0){g(e(s),function(y){if(k.get(y)){r=new j.Editor(y,x);l.push(r);r.render(1)}else{g(document.forms,function(z){g(z.elements,function(A){if(A.name===
 y){y=&quot;mce_editor_&quot;+c++;k.setAttrib(A,&quot;id&quot;,y);r=new j.Editor(y,x);l.push(r);r.render(1)}})})}})}break;case&quot;textareas&quot;:case&quot;specific_textareas&quot;:g(k.select(&quot;textarea&quot;),function(y){if(x.editor_deselector&amp;&amp;p(y,x.editor_deselector)){return}if(!x.editor_selector||p(y,x.editor_selector)){r=new j.Editor(q(y),x);l.push(r);r.render(1)}});break;default:if(x.types){g(x.types,function(y){g(k.select(y.selector),function(A){var z=new j.Editor(q(A),j.extend({},x,y));l.push(z);z.render(1)})})}else{if(x.selector){g(k.select(x.selector),function(z){var y=new j.Editor(q(z),x);l.push(y);y.render(1)})}}}if(x.oninit){s=t=0;g(l,function(y){t++;if(!y.initialized){y.onInit.add(function(){s++;if(s==t){m(x,&quot;oninit&quot;)}})}else{s++}if(s==t){m(x,&quot;oninit&quot;)}})}})},get:function(l){if(l===a){return this.editors}if(!this.editors.hasOwnProperty(l)){return a}return this.editors[l]},getInstanceById:function(l){return this.get(l)},add:funct
 ion(m){var l=this,n=l.editors;n[m.id]=m;n.push(m);l._setActive(m);l.onAddEditor.dispatch(l,m);return m},remove:function(n){var m=this,l,o=m.editors;if(!o[n.id]){return null}delete o[n.id];for(l=0;l&lt;o.length;l++){if(o[l]==n){o.splice(l,1);break}}if(m.activeEditor==n){m._setActive(o[0])}n.destroy();m.onRemoveEditor.dispatch(m,n);return n},execCommand:function(r,p,o){var q=this,n=q.get(o),l;function m(){n.destroy();l.detachEvent(&quot;onunload&quot;,m);l=l.tinyMCE=l.tinymce=null}switch(r){case&quot;mceFocus&quot;:n.focus();return true;case&quot;mceAddEditor&quot;:case&quot;mceAddControl&quot;:if(!q.get(o)){new j.Editor(o,q.settings).render()}return true;case&quot;mceAddFrameControl&quot;:l=o.window;l.tinyMCE=tinyMCE;l.tinymce=j;j.DOM.doc=l.document;j.DOM.win=l;n=new j.Editor(o.element_id,o);n.render();if(j.isIE){l.attachEvent(&quot;onunload&quot;,m)}o.page_window=null;return true;case&quot;mceRemoveEditor&quot;:case&quot;mceRemoveControl&quot;:if(n){n.remove()}return true;ca
 se&quot;mceToggleEditor&quot;:if(!n){q.execCommand(&quot;mceAddControl&quot;,0,o);return true}if(n.isHidden()){n.show()}else{n.hide()}return true}if(q.activeEditor){return q.activeEditor.execCommand(r,p,o)}return false},execInstanceCommand:function(p,o,n,m){var l=this.get(p);if(l){return l.execCommand(o,n,m)}return false},triggerSave:function(){g(this.editors,function(l){l.save()})},addI18n:function(n,q){var l,m=this.i18n;if(!j.is(n,&quot;string&quot;)){g(n,function(r,p){g(r,function(t,s){g(t,function(v,u){if(s===&quot;common&quot;){m[p+&quot;.&quot;+u]=v}else{m[p+&quot;.&quot;+s+&quot;.&quot;+u]=v}})})})}else{g(q,function(r,p){m[n+&quot;.&quot;+p]=r})}},_setActive:function(l){this.selectedInstance=this.activeEditor=l}})})(tinymce);(function(k){var l=k.DOM,j=k.dom.Event,f=k.extend,i=k.each,a=k.isGecko,b=k.isIE,e=k.isWebKit,d=k.is,h=k.ThemeManager,c=k.PluginManager,g=k.explode;k.create(&quot;tinymce.Editor&quot;,{Editor:function(p,o){var m=this,n=true;m.settings=o=f({id:p,lan
 guage:&quot;en&quot;,theme:&quot;advanced&quot;,skin:&quot;default&quot;,delta_width:0,delta_height:0,popup_css:&quot;&quot;,plugins:&quot;&quot;,document_base_url:k.documentBaseURL,add_form_submit_trigger:n,submit_patch:n,add_unload_trigger:n,convert_urls:n,relative_urls:n,remove_script_host:n,table_inline_editing:false,object_resizing:n,accessibility_focus:n,doctype:k.isIE6?'&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;':&quot;&lt;!DOCTYPE&gt;&quot;,visual:n,font_size_style_values:&quot;xx-small,x-small,small,medium,large,x-large,xx-large&quot;,font_size_legacy_values:&quot;xx-small,small,medium,large,x-large,xx-large,300%&quot;,apply_source_formatting:n,directionality:&quot;ltr&quot;,forced_root_block:&quot;p&quot;,hidden_input:n,padd_empty_editor:n,render_ui:n,indentation:&quot;30px&quot;,fix_table_elements:n,inline_styles:n,convert_fonts_to_spans:n,indent:&quot;simple&quot;,indent_before:&quot;p,h1,h2,h3,h4,h5,h6,blockquote,div,title,st
 yle,pre,script,td,ul,li,area,table,thead,tfoot,tbody,tr,section,article,hgroup,aside,figure,option,optgroup,datalist&quot;,indent_after:&quot;p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,ul,li,area,table,thead,tfoot,tbody,tr,section,article,hgroup,aside,figure,option,optgroup,datalist&quot;,validate:n,entity_encoding:&quot;named&quot;,url_converter:m.convertURL,url_converter_scope:m,ie7_compat:n},o);m.id=m.editorId=p;m.isNotDirty=false;m.plugins={};m.documentBaseURI=new k.util.URI(o.document_base_url||k.documentBaseURL,{base_uri:tinyMCE.baseURI});m.baseURI=k.baseURI;m.contentCSS=[];m.contentStyles=[];m.setupEvents();m.execCommands={};m.queryStateCommands={};m.queryValueCommands={};m.execCallback(&quot;setup&quot;,m)},render:function(o){var p=this,q=p.settings,r=p.id,m=k.ScriptLoader;if(!j.domLoaded){j.add(window,&quot;ready&quot;,function(){p.render()});return}tinyMCE.settings=q;if(!p.getElement()){return}if(k.isIDevice&amp;&amp;!k.isIOS5){return}if(!/TEXTARE
 A|INPUT/i.test(p.getElement().nodeName)&amp;&amp;q.hidden_input&amp;&amp;l.getParent(r,&quot;form&quot;)){l.insertAfter(l.create(&quot;input&quot;,{type:&quot;hidden&quot;,name:r}),r)}if(!q.content_editable){p.orgVisibility=p.getElement().style.visibility;p.getElement().style.visibility=&quot;hidden&quot;}if(k.WindowManager){p.windowManager=new k.WindowManager(p)}if(q.encoding==&quot;xml&quot;){p.onGetContent.add(function(s,t){if(t.save){t.content=l.encode(t.content)}})}if(q.add_form_submit_trigger){p.onSubmit.addToTop(function(){if(p.initialized){p.save();p.isNotDirty=1}})}if(q.add_unload_trigger){p._beforeUnload=tinyMCE.onBeforeUnload.add(function(){if(p.initialized&amp;&amp;!p.destroyed&amp;&amp;!p.isHidden()){p.save({format:&quot;raw&quot;,no_events:true})}})}k.addUnload(p.destroy,p);if(q.submit_patch){p.onBeforeRenderUI.add(function(){var s=p.getElement().form;if(!s){return}if(s._mceOldSubmit){return}if(!s.submit.nodeType&amp;&amp;!s.submit.length){p.formElement=s;s._mc
 eOldSubmit=s.submit;s.submit=function(){k.triggerSave();p.isNotDirty=1;return p.formElement._mceOldSubmit(p.formElement)}}s=null})}function n(){if(q.language&amp;&amp;q.language_load!==false){m.add(k.baseURL+&quot;/langs/&quot;+q.language+&quot;.js&quot;)}if(q.theme&amp;&amp;typeof q.theme!=&quot;function&quot;&amp;&amp;q.theme.charAt(0)!=&quot;-&quot;&amp;&amp;!h.urls[q.theme]){h.load(q.theme,&quot;themes/&quot;+q.theme+&quot;/editor_template&quot;+k.suffix+&quot;.js&quot;)}i(g(q.plugins),function(t){if(t&amp;&amp;!c.urls[t]){if(t.charAt(0)==&quot;-&quot;){t=t.substr(1,t.length);var s=c.dependencies(t);i(s,function(v){var u={prefix:&quot;plugins/&quot;,resource:v,suffix:&quot;/editor_plugin&quot;+k.suffix+&quot;.js&quot;};v=c.createUrl(u,v);c.load(v.resource,v)})}else{if(t==&quot;safari&quot;){return}c.load(t,{prefix:&quot;plugins/&quot;,resource:t,suffix:&quot;/editor_plugin&quot;+k.suffix+&quot;.js&quot;})}}});m.loadQueue(function(){if(!p.removed){p.init()}})}n()},init:fu
 nction(){var q,G=this,H=G.settings,D,y,z,C=G.getElement(),p,m,E,v,B,F,x,r=[];k.add(G);H.aria_label=H.aria_label||l.getAttrib(C,&quot;aria-label&quot;,G.getLang(&quot;aria.rich_text_area&quot;));if(H.theme){if(typeof H.theme!=&quot;function&quot;){H.theme=H.theme.replace(/-/,&quot;&quot;);p=h.get(H.theme);G.theme=new p();if(G.theme.init){G.theme.init(G,h.urls[H.theme]||k.documentBaseURL.replace(/\/$/,&quot;&quot;))}}else{G.theme=H.theme}}function A(s){var t=c.get(s),o=c.urls[s]||k.documentBaseURL.replace(/\/$/,&quot;&quot;),n;if(t&amp;&amp;k.inArray(r,s)===-1){i(c.dependencies(s),function(u){A(u)});n=new t(G,o);G.plugins[s]=n;if(n.init){n.init(G,o);r.push(s)}}}i(g(H.plugins.replace(/\-/g,&quot;&quot;)),A);if(H.popup_css!==false){if(H.popup_css){H.popup_css=G.documentBaseURI.toAbsolute(H.popup_css)}else{H.popup_css=G.baseURI.toAbsolute(&quot;themes/&quot;+H.theme+&quot;/skins/&quot;+H.skin+&quot;/dialog.css&quot;)}}if(H.popup_css_add){H.popup_css+=&quot;,&quot;+G.documentBaseU
 RI.toAbsolute(H.popup_css_add)}G.controlManager=new k.ControlManager(G);G.onBeforeRenderUI.dispatch(G,G.controlManager);if(H.render_ui&amp;&amp;G.theme){G.orgDisplay=C.style.display;if(typeof H.theme!=&quot;function&quot;){D=H.width||C.style.width||C.offsetWidth;y=H.height||C.style.height||C.offsetHeight;z=H.min_height||100;F=/^[0-9\.]+(|px)$/i;if(F.test(&quot;&quot;+D)){D=Math.max(parseInt(D,10)+(p.deltaWidth||0),100)}if(F.test(&quot;&quot;+y)){y=Math.max(parseInt(y,10)+(p.deltaHeight||0),z)}p=G.theme.renderUI({targetNode:C,width:D,height:y,deltaWidth:H.delta_width,deltaHeight:H.delta_height});l.setStyles(p.sizeContainer||p.editorContainer,{width:D,height:y});y=(p.iframeHeight||y)+(typeof(y)==&quot;number&quot;?(p.deltaHeight||0):&quot;&quot;);if(y&lt;z){y=z}}else{p=H.theme(G,C);if(p.editorContainer.nodeType){p.editorContainer=p.editorContainer.id=p.editorContainer.id||G.id+&quot;_parent&quot;}if(p.iframeContainer.nodeType){p.iframeContainer=p.iframeContainer.id=p.iframeCon
 tainer.id||G.id+&quot;_iframecontainer&quot;}y=p.iframeHeight||C.offsetHeight;if(b){G.onInit.add(function(n){n.dom.bind(n.getBody(),&quot;beforedeactivate keydown&quot;,function(){n.lastIERng=n.selection.getRng()})})}}G.editorContainer=p.editorContainer}if(H.content_css){i(g(H.content_css),function(n){G.contentCSS.push(G.documentBaseURI.toAbsolute(n))})}if(H.content_style){G.contentStyles.push(H.content_style)}if(H.content_editable){C=q=p=null;return G.initContentBody()}if(document.domain&amp;&amp;location.hostname!=document.domain){k.relaxedDomain=document.domain}G.iframeHTML=H.doctype+'&lt;html&gt;&lt;head xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;';if(H.document_base_url!=k.documentBaseURL){G.iframeHTML+='&lt;base href=&quot;'+G.documentBaseURI.getURI()+'&quot; /&gt;'}if(k.isIE8){if(H.ie7_compat){G.iframeHTML+='&lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=7&quot; /&gt;'}else{G.iframeHTML+='&lt;meta http-equiv=&quot;X-UA-Compatible&quot; content
 =&quot;IE=edge&quot; /&gt;'}}G.iframeHTML+='&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=UTF-8&quot; /&gt;';for(x=0;x&lt;G.contentCSS.length;x++){G.iframeHTML+='&lt;link type=&quot;text/css&quot; rel=&quot;stylesheet&quot; href=&quot;'+G.contentCSS[x]+'&quot; /&gt;'}G.contentCSS=[];v=H.body_id||&quot;tinymce&quot;;if(v.indexOf(&quot;=&quot;)!=-1){v=G.getParam(&quot;body_id&quot;,&quot;&quot;,&quot;hash&quot;);v=v[G.id]||v}B=H.body_class||&quot;&quot;;if(B.indexOf(&quot;=&quot;)!=-1){B=G.getParam(&quot;body_class&quot;,&quot;&quot;,&quot;hash&quot;);B=B[G.id]||&quot;&quot;}G.iframeHTML+='&lt;/head&gt;&lt;body id=&quot;'+v+'&quot; class=&quot;mceContentBody '+B+'&quot; onload=&quot;window.parent.tinyMCE.get(\''+G.id+&quot;').onLoad.dispatch();\&quot;&gt;&lt;br&gt;&lt;/body&gt;&lt;/html&gt;&quot;;if(k.relaxedDomain&amp;&amp;(b||(k.isOpera&amp;&amp;parseFloat(opera.version())&lt;11))){E='javascript:(function(){document.open();document.domain=&quo
 t;'+document.domain+'&quot;;var ed = window.parent.tinyMCE.get(&quot;'+G.id+'&quot;);document.write(ed.iframeHTML);document.close();ed.initContentBody();})()'}q=l.add(p.iframeContainer,&quot;iframe&quot;,{id:G.id+&quot;_ifr&quot;,src:E||'javascript:&quot;&quot;',frameBorder:&quot;0&quot;,allowTransparency:&quot;true&quot;,title:H.aria_label,style:{width:&quot;100%&quot;,height:y,display:&quot;block&quot;}});G.contentAreaContainer=p.iframeContainer;if(p.editorContainer){l.get(p.editorContainer).style.display=G.orgDisplay}C.style.visibility=G.orgVisibility;l.get(G.id).style.display=&quot;none&quot;;l.setAttrib(G.id,&quot;aria-hidden&quot;,true);if(!k.relaxedDomain||!E){G.initContentBody()}C=q=p=null},initContentBody:function(){var n=this,p=n.settings,q=l.get(n.id),r=n.getDoc(),o,m,s;if((!b||!k.relaxedDomain)&amp;&amp;!p.content_editable){r.open();r.write(n.iframeHTML);r.close();if(k.relaxedDomain){r.domain=k.relaxedDomain}}if(p.content_editable){l.addClass(q,&quot;mceContentBo
 dy&quot;);n.contentDocument=r=p.content_document||document;n.contentWindow=p.content_window||window;n.bodyElement=q;p.content_document=p.content_window=null}m=n.getBody();m.disabled=true;if(!p.readonly){m.contentEditable=n.getParam(&quot;content_editable_state&quot;,true)}m.disabled=false;n.schema=new k.html.Schema(p);n.dom=new k.dom.DOMUtils(r,{keep_values:true,url_converter:n.convertURL,url_converter_scope:n,hex_colors:p.force_hex_style_colors,class_filter:p.class_filter,update_styles:true,root_element:p.content_editable?n.id:null,schema:n.schema});n.parser=new k.html.DomParser(p,n.schema);n.parser.addAttributeFilter(&quot;src,href,style&quot;,function(t,u){var v=t.length,y,A=n.dom,z,x;while(v--){y=t[v];z=y.attr(u);x=&quot;data-mce-&quot;+u;if(!y.attributes.map[x]){if(u===&quot;style&quot;){y.attr(x,A.serializeStyle(A.parseStyle(z),y.name))}else{y.attr(x,n.convertURL(z,u,y.name))}}}});n.parser.addNodeFilter(&quot;script&quot;,function(t,u){var v=t.length,x;while(v--){x=t[v
 ];x.attr(&quot;type&quot;,&quot;mce-&quot;+(x.attr(&quot;type&quot;)||&quot;text/javascript&quot;))}});n.parser.addNodeFilter(&quot;#cdata&quot;,function(t,u){var v=t.length,x;while(v--){x=t[v];x.type=8;x.name=&quot;#comment&quot;;x.value=&quot;[CDATA[&quot;+x.value+&quot;]]&quot;}});n.parser.addNodeFilter(&quot;p,h1,h2,h3,h4,h5,h6,div&quot;,function(u,v){var x=u.length,y,t=n.schema.getNonEmptyElements();while(x--){y=u[x];if(y.isEmpty(t)){y.empty().append(new k.html.Node(&quot;br&quot;,1)).shortEnded=true}}});n.serializer=new k.dom.Serializer(p,n.dom,n.schema);n.selection=new k.dom.Selection(n.dom,n.getWin(),n.serializer,n);n.formatter=new k.Formatter(n);n.undoManager=new k.UndoManager(n);n.forceBlocks=new k.ForceBlocks(n);n.enterKey=new k.EnterKey(n);n.editorCommands=new k.EditorCommands(n);n.onExecCommand.add(function(t,u){if(!/^(FontName|FontSize)$/.test(u)){n.nodeChanged()}});n.serializer.onPreProcess.add(function(t,u){return n.onPreProcess.dispatch(n,u,t)});n.serializer
 .onPostProcess.add(function(t,u){return n.onPostProcess.dispatch(n,u,t)});n.onPreInit.dispatch(n);if(!p.browser_spellcheck&amp;&amp;!p.gecko_spellcheck){r.body.spellcheck=false}if(!p.readonly){n.bindNativeEvents()}n.controlManager.onPostRender.dispatch(n,n.controlManager);n.onPostRender.dispatch(n);n.quirks=k.util.Quirks(n);if(p.directionality){m.dir=p.directionality}if(p.nowrap){m.style.whiteSpace=&quot;nowrap&quot;}if(p.protect){n.onBeforeSetContent.add(function(t,u){i(p.protect,function(v){u.content=u.content.replace(v,function(x){return&quot;&lt;!--mce:protected &quot;+escape(x)+&quot;--&gt;&quot;})})})}n.onSetContent.add(function(){n.addVisual(n.getBody())});if(p.padd_empty_editor){n.onPostProcess.add(function(t,u){u.content=u.content.replace(/^(&lt;p[^&gt;]*&gt;(&amp;nbsp;|&amp;#160;|\s|\u00a0|)&lt;\/p&gt;[\r\n]*|&lt;br \/&gt;[\r\n]*)$/,&quot;&quot;)})}n.load({initial:true,format:&quot;html&quot;});n.startContent=n.getContent({format:&quot;raw&quot;});n.initialized=tru
 e;n.onInit.dispatch(n);n.execCallback(&quot;setupcontent_callback&quot;,n.id,m,r);n.execCallback(&quot;init_instance_callback&quot;,n);n.focus(true);n.nodeChanged({initial:true});if(n.contentStyles.length&gt;0){s=&quot;&quot;;i(n.contentStyles,function(t){s+=t+&quot;\r\n&quot;});n.dom.addStyle(s)}i(n.contentCSS,function(t){n.dom.loadCSS(t)});if(p.auto_focus){setTimeout(function(){var t=k.get(p.auto_focus);t.selection.select(t.getBody(),1);t.selection.collapse(1);t.getBody().focus();t.getWin().focus()},100)}q=r=m=null},focus:function(p){var o,u=this,t=u.selection,q=u.settings.content_editable,n,r,s=u.getDoc(),m;if(!p){if(u.lastIERng){t.setRng(u.lastIERng)}n=t.getRng();if(n.item){r=n.item(0)}u._refreshContentEditable();if(!q){u.getWin().focus()}if(k.isGecko||q){m=u.getBody();if(m.setActive){m.setActive()}else{m.focus()}if(q){t.normalize()}}if(r&amp;&amp;r.ownerDocument==s){n=s.body.createControlRange();n.addElement(r);n.select()}}if(k.activeEditor!=u){if((o=k.activeEditor)!=nu
 ll){o.onDeactivate.dispatch(o,u)}u.onActivate.dispatch(u,o)}k._setActive(u)},execCallback:function(q){var m=this,p=m.settings[q],o;if(!p){return}if(m.callbackLookup&amp;&amp;(o=m.callbackLookup[q])){p=o.func;o=o.scope}if(d(p,&quot;string&quot;)){o=p.replace(/\.\w+$/,&quot;&quot;);o=o?k.resolve(o):0;p=k.resolve(p);m.callbackLookup=m.callbackLookup||{};m.callbackLookup[q]={func:p,scope:o}}return p.apply(o||m,Array.prototype.slice.call(arguments,1))},translate:function(m){var o=this.settings.language||&quot;en&quot;,n=k.i18n;if(!m){return&quot;&quot;}return n[o+&quot;.&quot;+m]||m.replace(/\{\#([^\}]+)\}/g,function(q,p){return n[o+&quot;.&quot;+p]||&quot;{#&quot;+p+&quot;}&quot;})},getLang:function(o,m){return k.i18n[(this.settings.language||&quot;en&quot;)+&quot;.&quot;+o]||(d(m)?m:&quot;{#&quot;+o+&quot;}&quot;)},getParam:function(t,q,m){var r=k.trim,p=d(this.settings[t])?this.settings[t]:q,s;if(m===&quot;hash&quot;){s={};if(d(p,&quot;string&quot;)){i(p.indexOf(&quot;=&quot;)
 &gt;0?p.split(/[;,](?![^=;,]*(?:[;,]|$))/):p.split(&quot;,&quot;),function(n){n=n.split(&quot;=&quot;);if(n.length&gt;1){s[r(n[0])]=r(n[1])}else{s[r(n[0])]=r(n)}})}else{s=p}return s}return p},nodeChanged:function(q){var m=this,n=m.selection,p;if(m.initialized){q=q||{};p=n.getStart()||m.getBody();p=b&amp;&amp;p.ownerDocument!=m.getDoc()?m.getBody():p;q.parents=[];m.dom.getParent(p,function(o){if(o.nodeName==&quot;BODY&quot;){return true}q.parents.push(o)});m.onNodeChange.dispatch(m,q?q.controlManager||m.controlManager:m.controlManager,p,n.isCollapsed(),q)}},addButton:function(n,o){var m=this;m.buttons=m.buttons||{};m.buttons[n]=o},addCommand:function(m,o,n){this.execCommands[m]={func:o,scope:n||this}},addQueryStateHandler:function(m,o,n){this.queryStateCommands[m]={func:o,scope:n||this}},addQueryValueHandler:function(m,o,n){this.queryValueCommands[m]={func:o,scope:n||this}},addShortcut:function(o,q,m,p){var n=this,r;if(n.settings.custom_shortcuts===false){return false}n.short
 cuts=n.shortcuts||{};if(d(m,&quot;string&quot;)){r=m;m=function(){n.execCommand(r,false,null)}}if(d(m,&quot;object&quot;)){r=m;m=function(){n.execCommand(r[0],r[1],r[2])}}i(g(o),function(s){var t={func:m,scope:p||this,desc:n.translate(q),alt:false,ctrl:false,shift:false};i(g(s,&quot;+&quot;),function(u){switch(u){case&quot;alt&quot;:case&quot;ctrl&quot;:case&quot;shift&quot;:t[u]=true;break;default:t.charCode=u.charCodeAt(0);t.keyCode=u.toUpperCase().charCodeAt(0)}});n.shortcuts[(t.ctrl?&quot;ctrl&quot;:&quot;&quot;)+&quot;,&quot;+(t.alt?&quot;alt&quot;:&quot;&quot;)+&quot;,&quot;+(t.shift?&quot;shift&quot;:&quot;&quot;)+&quot;,&quot;+t.keyCode]=t});return true},execCommand:function(u,r,x,m){var p=this,q=0,v,n;if(!/^(mceAddUndoLevel|mceEndUndoLevel|mceBeginUndoLevel|mceRepaint|SelectAll)$/.test(u)&amp;&amp;(!m||!m.skip_focus)){p.focus()}m=f({},m);p.onBeforeExecCommand.dispatch(p,u,r,x,m);if(m.terminate){return false}if(p.execCallback(&quot;execcommand_callback&quot;,p.id,p.s
 election.getNode(),u,r,x)){p.onExecCommand.dispatch(p,u,r,x,m);return true}if(v=p.execCommands[u]){n=v.func.call(v.scope,r,x);if(n!==true){p.onExecCommand.dispatch(p,u,r,x,m);return n}}i(p.plugins,function(o){if(o.execCommand&amp;&amp;o.execCommand(u,r,x)){p.onExecCommand.dispatch(p,u,r,x,m);q=1;return false}});if(q){return true}if(p.theme&amp;&amp;p.theme.execCommand&amp;&amp;p.theme.execCommand(u,r,x)){p.onExecCommand.dispatch(p,u,r,x,m);return true}if(p.editorCommands.execCommand(u,r,x)){p.onExecCommand.dispatch(p,u,r,x,m);return true}p.getDoc().execCommand(u,r,x);p.onExecCommand.dispatch(p,u,r,x,m)},queryCommandState:function(q){var n=this,r,p;if(n._isHidden()){return}if(r=n.queryStateCommands[q]){p=r.func.call(r.scope);if(p!==true){return p}}r=n.editorCommands.queryCommandState(q);if(r!==-1){return r}try{return this.getDoc().queryCommandState(q)}catch(m){}},queryCommandValue:function(r){var n=this,q,p;if(n._isHidden()){return}if(q=n.queryValueCommands[r]){p=q.func.call(
 q.scope);if(p!==true){return p}}q=n.editorCommands.queryCommandValue(r);if(d(q)){return q}try{return this.getDoc().queryCommandValue(r)}catch(m){}},show:function(){var m=this;l.show(m.getContainer());l.hide(m.id);m.load()},hide:function(){var m=this,n=m.getDoc();if(b&amp;&amp;n){n.execCommand(&quot;SelectAll&quot;)}m.save();l.hide(m.getContainer());l.setStyle(m.id,&quot;display&quot;,m.orgDisplay)},isHidden:function(){return !l.isHidden(this.id)},setProgressState:function(m,n,p){this.onSetProgressState.dispatch(this,m,n,p);return m},load:function(q){var m=this,p=m.getElement(),n;if(p){q=q||{};q.load=true;n=m.setContent(d(p.value)?p.value:p.innerHTML,q);q.element=p;if(!q.no_events){m.onLoadContent.dispatch(m,q)}q.element=p=null;return n}},save:function(r){var m=this,q=m.getElement(),n,p;if(!q||!m.initialized){return}r=r||{};r.save=true;r.element=q;n=r.content=m.getContent(r);if(!r.no_events){m.onSaveContent.dispatch(m,r)}n=r.content;if(!/TEXTAREA|INPUT/i.test(q.nodeName)){q.i
 nnerHTML=n;if(p=l.getParent(m.id,&quot;form&quot;)){i(p.elements,function(o){if(o.name==m.id){o.value=n;return false}})}}else{q.value=n}r.element=q=null;return n},setContent:function(r,p){var o=this,n,m=o.getBody(),q;p=p||{};p.format=p.format||&quot;html&quot;;p.set=true;p.content=r;if(!p.no_events){o.onBeforeSetContent.dispatch(o,p)}r=p.content;if(!k.isIE&amp;&amp;(r.length===0||/^\s+$/.test(r))){q=o.settings.forced_root_block;if(q){r=&quot;&lt;&quot;+q+'&gt;&lt;br data-mce-bogus=&quot;1&quot;&gt;&lt;/'+q+&quot;&gt;&quot;}else{r='&lt;br data-mce-bogus=&quot;1&quot;&gt;'}m.innerHTML=r;o.selection.select(m,true);o.selection.collapse(true);return}if(p.format!==&quot;raw&quot;){r=new k.html.Serializer({},o.schema).serialize(o.parser.parse(r))}p.content=k.trim(r);o.dom.setHTML(m,p.content);if(!p.no_events){o.onSetContent.dispatch(o,p)}if(!o.settings.content_editable||document.activeElement===o.getBody()){o.selection.normalize()}return p.content},getContent:function(o){var n=this
 ,p,m=n.getBody();o=o||{};o.format=o.format||&quot;html&quot;;o.get=true;o.getInner=true;if(!o.no_events){n.onBeforeGetContent.dispatch(n,o)}if(o.format==&quot;raw&quot;){p=m.innerHTML}else{if(o.format==&quot;text&quot;){p=m.innerText||m.textContent}else{p=n.serializer.serialize(m,o)}}if(o.format!=&quot;text&quot;){o.content=k.trim(p)}else{o.content=p}if(!o.no_events){n.onGetContent.dispatch(n,o)}return o.content},isDirty:function(){var m=this;return k.trim(m.startContent)!=k.trim(m.getContent({format:&quot;raw&quot;,no_events:1}))&amp;&amp;!m.isNotDirty},getContainer:function(){var m=this;if(!m.container){m.container=l.get(m.editorContainer||m.id+&quot;_parent&quot;)}return m.container},getContentAreaContainer:function(){return this.contentAreaContainer},getElement:function(){return l.get(this.settings.content_element||this.id)},getWin:function(){var m=this,n;if(!m.contentWindow){n=l.get(m.id+&quot;_ifr&quot;);if(n){m.contentWindow=n.contentWindow}}return m.contentWindow},ge
 tDoc:function(){var m=this,n;if(!m.contentDocument){n=m.getWin();if(n){m.contentDocument=n.document}}return m.contentDocument},getBody:function(){return this.bodyElement||this.getDoc().body},convertURL:function(o,n,q){var m=this,p=m.settings;if(p.urlconverter_callback){return m.execCallback(&quot;urlconverter_callback&quot;,o,q,true,n)}if(!p.convert_urls||(q&amp;&amp;q.nodeName==&quot;LINK&quot;)||o.indexOf(&quot;file:&quot;)===0){return o}if(p.relative_urls){return m.documentBaseURI.toRelative(o)}o=m.documentBaseURI.toAbsolute(o,p.remove_script_host);return o},addVisual:function(q){var n=this,o=n.settings,p=n.dom,m;q=q||n.getBody();if(!d(n.hasVisual)){n.hasVisual=o.visual}i(p.select(&quot;table,a&quot;,q),function(s){var r;switch(s.nodeName){case&quot;TABLE&quot;:m=o.visual_table_class||&quot;mceItemTable&quot;;r=p.getAttrib(s,&quot;border&quot;);if(!r||r==&quot;0&quot;){if(n.hasVisual){p.addClass(s,m)}else{p.removeClass(s,m)}}return;case&quot;A&quot;:if(!p.getAttrib(s,&quo
 t;href&quot;,false)){r=p.getAttrib(s,&quot;name&quot;)||s.id;m=&quot;mceItemAnchor&quot;;if(r){if(n.hasVisual){p.addClass(s,m)}else{p.removeClass(s,m)}}}return}});n.onVisualAid.dispatch(n,q,n.hasVisual)},remove:function(){var m=this,o=m.getContainer(),n=m.getDoc();if(!m.removed){m.removed=1;if(b&amp;&amp;n){n.execCommand(&quot;SelectAll&quot;)}m.save();l.setStyle(m.id,&quot;display&quot;,m.orgDisplay);if(!m.settings.content_editable){j.unbind(m.getWin());j.unbind(m.getDoc())}j.unbind(m.getBody());j.clear(o);m.execCallback(&quot;remove_instance_callback&quot;,m);m.onRemove.dispatch(m);m.onExecCommand.listeners=[];k.remove(m);l.remove(o)}},destroy:function(n){var m=this;if(m.destroyed){return}if(a){j.unbind(m.getDoc());j.unbind(m.getWin());j.unbind(m.getBody())}if(!n){k.removeUnload(m.destroy);tinyMCE.onBeforeUnload.remove(m._beforeUnload);if(m.theme&amp;&amp;m.theme.destroy){m.theme.destroy()}m.controlManager.destroy();m.selection.destroy();m.dom.destroy()}if(m.formElement){m
 .formElement.submit=m.formElement._mceOldSubmit;m.formElement._mceOldSubmit=null}m.contentAreaContainer=m.formElement=m.container=m.settings.content_element=m.bodyElement=m.contentDocument=m.contentWindow=null;if(m.selection){m.selection=m.selection.win=m.selection.dom=m.selection.dom.doc=null}m.destroyed=1},_refreshContentEditable:function(){var n=this,m,o;if(n._isHidden()){m=n.getBody();o=m.parentNode;o.removeChild(m);o.appendChild(m);m.focus()}},_isHidden:function(){var m;if(!a){return 0}m=this.selection.getSel();return(!m||!m.rangeCount||m.rangeCount===0)}})})(tinymce);(function(a){var b=a.each;a.Editor.prototype.setupEvents=function(){var c=this,d=c.settings;b([&quot;onPreInit&quot;,&quot;onBeforeRenderUI&quot;,&quot;onPostRender&quot;,&quot;onLoad&quot;,&quot;onInit&quot;,&quot;onRemove&quot;,&quot;onActivate&quot;,&quot;onDeactivate&quot;,&quot;onClick&quot;,&quot;onEvent&quot;,&quot;onMouseUp&quot;,&quot;onMouseDown&quot;,&quot;onDblClick&quot;,&quot;onKeyDown&quot;,
 &quot;onKeyUp&quot;,&quot;onKeyPress&quot;,&quot;onContextMenu&quot;,&quot;onSubmit&quot;,&quot;onReset&quot;,&quot;onPaste&quot;,&quot;onPreProcess&quot;,&quot;onPostProcess&quot;,&quot;onBeforeSetContent&quot;,&quot;onBeforeGetContent&quot;,&quot;onSetContent&quot;,&quot;onGetContent&quot;,&quot;onLoadContent&quot;,&quot;onSaveContent&quot;,&quot;onNodeChange&quot;,&quot;onChange&quot;,&quot;onBeforeExecCommand&quot;,&quot;onExecCommand&quot;,&quot;onUndo&quot;,&quot;onRedo&quot;,&quot;onVisualAid&quot;,&quot;onSetProgressState&quot;,&quot;onSetAttrib&quot;],function(e){c[e]=new a.util.Dispatcher(c)});if(d.cleanup_callback){c.onBeforeSetContent.add(function(e,f){f.content=e.execCallback(&quot;cleanup_callback&quot;,&quot;insert_to_editor&quot;,f.content,f)});c.onPreProcess.add(function(e,f){if(f.set){e.execCallback(&quot;cleanup_callback&quot;,&quot;insert_to_editor_dom&quot;,f.node,f)}if(f.get){e.execCallback(&quot;cleanup_callback&quot;,&quot;get_from_editor_dom&quot;,f.
 node,f)}});c.onPostProcess.add(function(e,f){if(f.set){f.content=e.execCallback(&quot;cleanup_callback&quot;,&quot;insert_to_editor&quot;,f.content,f)}if(f.get){f.content=e.execCallback(&quot;cleanup_callback&quot;,&quot;get_from_editor&quot;,f.content,f)}})}if(d.save_callback){c.onGetContent.add(function(e,f){if(f.save){f.content=e.execCallback(&quot;save_callback&quot;,e.id,f.content,e.getBody())}})}if(d.handle_event_callback){c.onEvent.add(function(f,g,h){if(c.execCallback(&quot;handle_event_callback&quot;,g,f,h)===false){g.preventDefault();g.stopPropagation()}})}if(d.handle_node_change_callback){c.onNodeChange.add(function(f,e,g){f.execCallback(&quot;handle_node_change_callback&quot;,f.id,g,-1,-1,true,f.selection.isCollapsed())})}if(d.save_callback){c.onSaveContent.add(function(e,g){var f=e.execCallback(&quot;save_callback&quot;,e.id,g.content,e.getBody());if(f){g.content=f}})}if(d.onchange_callback){c.onChange.add(function(f,e){f.execCallback(&quot;onchange_callback&quo
 t;,f,e)})}};a.Editor.prototype.bindNativeEvents=function(){var l=this,f,d=l.settings,e=l.dom,h;h={mouseup:&quot;onMouseUp&quot;,mousedown:&quot;onMouseDown&quot;,click:&quot;onClick&quot;,keyup:&quot;onKeyUp&quot;,keydown:&quot;onKeyDown&quot;,keypress:&quot;onKeyPress&quot;,submit:&quot;onSubmit&quot;,reset:&quot;onReset&quot;,contextmenu:&quot;onContextMenu&quot;,dblclick:&quot;onDblClick&quot;,paste:&quot;onPaste&quot;};function c(i,m){var n=i.type;if(l.removed){return}if(l.onEvent.dispatch(l,i,m)!==false){l[h[i.fakeType||i.type]].dispatch(l,i,m)}}function j(i){l.focus(true)}function k(i,m){if(m.keyCode!=65||!a.VK.metaKeyPressed(m)){l.selection.normalize()}l.nodeChanged()}b(h,function(m,n){var i=d.content_editable?l.getBody():l.getDoc();switch(n){case&quot;contextmenu&quot;:e.bind(i,n,c);break;case&quot;paste&quot;:e.bind(l.getBody(),n,c);break;case&quot;submit&quot;:case&quot;reset&quot;:e.bind(l.getElement().form||a.DOM.getParent(l.id,&quot;form&quot;),n,c);break;defaul
 t:e.bind(i,n,c)}});e.bind(d.content_editable?l.getBody():(a.isGecko?l.getDoc():l.getWin()),&quot;focus&quot;,function(i){l.focus(true)});if(d.content_editable&amp;&amp;a.isOpera){e.bind(l.getBody(),&quot;click&quot;,j);e.bind(l.getBody(),&quot;keydown&quot;,j)}l.onMouseUp.add(k);l.onKeyUp.add(function(i,n){var m=n.keyCode;if((m&gt;=33&amp;&amp;m&lt;=36)||(m&gt;=37&amp;&amp;m&lt;=40)||m==13||m==45||m==46||m==8||(a.isMac&amp;&amp;(m==91||m==93))||n.ctrlKey){k(i,n)}});l.onReset.add(function(){l.setContent(l.startContent,{format:&quot;raw&quot;})});function g(m,i){if(m.altKey||m.ctrlKey||m.metaKey){b(l.shortcuts,function(n){var o=a.isMac?m.metaKey:m.ctrlKey;if(n.ctrl!=o||n.alt!=m.altKey||n.shift!=m.shiftKey){return}if(m.keyCode==n.keyCode||(m.charCode&amp;&amp;m.charCode==n.charCode)){m.preventDefault();if(i){n.func.call(n.scope)}return true}})}}l.onKeyUp.add(function(i,m){g(m)});l.onKeyPress.add(function(i,m){g(m)});l.onKeyDown.add(function(i,m){g(m,true)});if(a.isOpera){l.onCl
 ick.add(function(i,m){m.preventDefault()})}}})(tinymce);(function(d){var e=d.each,b,a=true,c=false;d.EditorCommands=function(n){var m=n.dom,p=n.selection,j={state:{},exec:{},value:{}},k=n.settings,q=n.formatter,o;function r(z,y,x){var v;z=z.toLowerCase();if(v=j.exec[z]){v(z,y,x);return a}return c}function l(x){var v;x=x.toLowerCase();if(v=j.state[x]){return v(x)}return -1}function h(x){var v;x=x.toLowerCase();if(v=j.value[x]){return v(x)}return c}function u(v,x){x=x||&quot;exec&quot;;e(v,function(z,y){e(y.toLowerCase().split(&quot;,&quot;),function(A){j[x][A]=z})})}d.extend(this,{execCommand:r,queryCommandState:l,queryCommandValue:h,addCommands:u});function f(y,x,v){if(x===b){x=c}if(v===b){v=null}return n.getDoc().execCommand(y,x,v)}function t(v){return q.match(v)}function s(v,x){q.toggle(v,x?{value:x}:b)}function i(v){o=p.getBookmark(v)}function g(){p.moveToBookmark(o)}u({&quot;mceResetDesignMode,mceBeginUndoLevel&quot;:function(){},&quot;mceEndUndoLevel,mceAddUndoLevel&quo
 t;:function(){n.undoManager.add()},&quot;Cut,Copy,Paste&quot;:function(z){var y=n.getDoc(),v;try{f(z)}catch(x){v=a}if(v||!y.queryCommandSupported(z)){if(d.isGecko){n.windowManager.confirm(n.getLang(&quot;clipboard_msg&quot;),function(A){if(A){open(&quot;http://www.mozilla.org/editor/midasdemo/securityprefs.html&quot;,&quot;_blank&quot;)}})}else{n.windowManager.alert(n.getLang(&quot;clipboard_no_support&quot;))}}},unlink:function(v){if(p.isCollapsed()){p.select(p.getNode())}f(v);p.collapse(c)},&quot;JustifyLeft,JustifyCenter,JustifyRight,JustifyFull&quot;:function(v){var x=v.substring(7);e(&quot;left,center,right,full&quot;.split(&quot;,&quot;),function(y){if(x!=y){q.remove(&quot;align&quot;+y)}});s(&quot;align&quot;+x);r(&quot;mceRepaint&quot;)},&quot;InsertUnorderedList,InsertOrderedList&quot;:function(y){var v,x;f(y);v=m.getParent(p.getNode(),&quot;ol,ul&quot;);if(v){x=v.parentNode;if(/^(H[1-6]|P|ADDRESS|PRE)$/.test(x.nodeName)){i();m.split(x,v);g()}}},&quot;Bold,Italic,Un
 derline,Strikethrough,Superscript,Subscript&quot;:function(v){s(v)},&quot;ForeColor,HiliteColor,FontName&quot;:function(y,x,v){s(y,v)},FontSize:function(z,y,x){var v,A;if(x&gt;=1&amp;&amp;x&lt;=7){A=d.explode(k.font_size_style_values);v=d.explode(k.font_size_classes);if(v){x=v[x-1]||x}else{x=A[x-1]||x}}s(z,x)},RemoveFormat:function(v){q.remove(v)},mceBlockQuote:function(v){s(&quot;blockquote&quot;)},FormatBlock:function(y,x,v){return s(v||&quot;p&quot;)},mceCleanup:function(){var v=p.getBookmark();n.setContent(n.getContent({cleanup:a}),{cleanup:a});p.moveToBookmark(v)},mceRemoveNode:function(z,y,x){var v=x||p.getNode();if(v!=n.getBody()){i();n.dom.remove(v,a);g()}},mceSelectNodeDepth:function(z,y,x){var v=0;m.getParent(p.getNode(),function(A){if(A.nodeType==1&amp;&amp;v++==x){p.select(A);return c}},n.getBody())},mceSelectNode:function(y,x,v){p.select(v)},mceInsertContent:function(B,I,K){var y,J,E,z,F,G,D,C,L,x,A,M,v,H;y=n.parser;J=new d.html.Serializer({},n.schema);v='&lt;sp
 an id=&quot;mce_marker&quot; data-mce-type=&quot;bookmark&quot;&gt;\uFEFF&lt;/span&gt;';G={content:K,format:&quot;html&quot;};p.onBeforeSetContent.dispatch(p,G);K=G.content;if(K.indexOf(&quot;{$caret}&quot;)==-1){K+=&quot;{$caret}&quot;}K=K.replace(/\{\$caret\}/,v);if(!p.isCollapsed()){n.getDoc().execCommand(&quot;Delete&quot;,false,null)}E=p.getNode();G={context:E.nodeName.toLowerCase()};F=y.parse(K,G);A=F.lastChild;if(A.attr(&quot;id&quot;)==&quot;mce_marker&quot;){D=A;for(A=A.prev;A;A=A.walk(true)){if(A.type==3||!m.isBlock(A.name)){A.parent.insert(D,A,A.name===&quot;br&quot;);break}}}if(!G.invalid){K=J.serialize(F);A=E.firstChild;M=E.lastChild;if(!A||(A===M&amp;&amp;A.nodeName===&quot;BR&quot;)){m.setHTML(E,K)}else{p.setContent(K)}}else{p.setContent(v);E=p.getNode();z=n.getBody();if(E.nodeType==9){E=A=z}else{A=E}while(A!==z){E=A;A=A.parentNode}K=E==z?z.innerHTML:m.getOuterHTML(E);K=J.serialize(y.parse(K.replace(/&lt;span (id=&quot;mce_marker&quot;|id=mce_marker).+?&lt;\/s
 pan&gt;/i,function(){return J.serialize(F)})));if(E==z){m.setHTML(z,K)}else{m.setOuterHTML(E,K)}}D=m.get(&quot;mce_marker&quot;);C=m.getRect(D);L=m.getViewPort(n.getWin());if((C.y+C.h&gt;L.y+L.h||C.y&lt;L.y)||(C.x&gt;L.x+L.w||C.x&lt;L.x)){H=d.isIE?n.getDoc().documentElement:n.getBody();H.scrollLeft=C.x;H.scrollTop=C.y-L.h+25}x=m.createRng();A=D.previousSibling;if(A&amp;&amp;A.nodeType==3){x.setStart(A,A.nodeValue.length)}else{x.setStartBefore(D);x.setEndBefore(D)}m.remove(D);p.setRng(x);p.onSetContent.dispatch(p,G);n.addVisual()},mceInsertRawHTML:function(y,x,v){p.setContent(&quot;tiny_mce_marker&quot;);n.setContent(n.getContent().replace(/tiny_mce_marker/g,function(){return v}))},mceToggleFormat:function(y,x,v){s(v)},mceSetContent:function(y,x,v){n.setContent(v)},&quot;Indent,Outdent&quot;:function(z){var x,v,y;x=k.indentation;v=/[a-z%]+$/i.exec(x);x=parseInt(x);if(!l(&quot;InsertUnorderedList&quot;)&amp;&amp;!l(&quot;InsertOrderedList&quot;)){if(!k.forced_root_block&amp;&a
 mp;!m.getParent(p.getNode(),m.isBlock)){q.apply(&quot;div&quot;)}e(p.getSelectedBlocks(),function(A){if(z==&quot;outdent&quot;){y=Math.max(0,parseInt(A.style.paddingLeft||0)-x);m.setStyle(A,&quot;paddingLeft&quot;,y?y+v:&quot;&quot;)}else{m.setStyle(A,&quot;paddingLeft&quot;,(parseInt(A.style.paddingLeft||0)+x)+v)}})}else{f(z)}},mceRepaint:function(){var x;if(d.isGecko){try{i(a);if(p.getSel()){p.getSel().selectAllChildren(n.getBody())}p.collapse(a);g()}catch(v){}}},mceToggleFormat:function(y,x,v){q.toggle(v)},InsertHorizontalRule:function(){n.execCommand(&quot;mceInsertContent&quot;,false,&quot;&lt;hr /&gt;&quot;)},mceToggleVisualAid:function(){n.hasVisual=!n.hasVisual;n.addVisual()},mceReplaceContent:function(y,x,v){n.execCommand(&quot;mceInsertContent&quot;,false,v.replace(/\{\$selection\}/g,p.getContent({format:&quot;text&quot;})))},mceInsertLink:function(z,y,x){var v;if(typeof(x)==&quot;string&quot;){x={href:x}}v=m.getParent(p.getNode(),&quot;a&quot;);x.href=x.href.repla
 ce(&quot; &quot;,&quot;%20&quot;);if(!v||!x.href){q.remove(&quot;link&quot;)}if(x.href){q.apply(&quot;link&quot;,x,v)}},selectAll:function(){var x=m.getRoot(),v=m.createRng();if(p.getRng().setStart){v.setStart(x,0);v.setEnd(x,x.childNodes.length);p.setRng(v)}else{f(&quot;SelectAll&quot;)}}});u({&quot;JustifyLeft,JustifyCenter,JustifyRight,JustifyFull&quot;:function(z){var x=&quot;align&quot;+z.substring(7);var v=p.isCollapsed()?[m.getParent(p.getNode(),m.isBlock)]:p.getSelectedBlocks();var y=d.map(v,function(A){return !!q.matchNode(A,x)});return d.inArray(y,a)!==-1},&quot;Bold,Italic,Underline,Strikethrough,Superscript,Subscript&quot;:function(v){return t(v)},mceBlockQuote:function(){return t(&quot;blockquote&quot;)},Outdent:function(){var v;if(k.inline_styles){if((v=m.getParent(p.getStart(),m.isBlock))&amp;&amp;parseInt(v.style.paddingLeft)&gt;0){return a}if((v=m.getParent(p.getEnd(),m.isBlock))&amp;&amp;parseInt(v.style.paddingLeft)&gt;0){return a}}return l(&quot;InsertUno
 rderedList&quot;)||l(&quot;InsertOrderedList&quot;)||(!k.inline_styles&amp;&amp;!!m.getParent(p.getNode(),&quot;BLOCKQUOTE&quot;))},&quot;InsertUnorderedList,InsertOrderedList&quot;:function(x){var v=m.getParent(p.getNode(),&quot;ul,ol&quot;);return v&amp;&amp;(x===&quot;insertunorderedlist&quot;&amp;&amp;v.tagName===&quot;UL&quot;||x===&quot;insertorderedlist&quot;&amp;&amp;v.tagName===&quot;OL&quot;)}},&quot;state&quot;);u({&quot;FontSize,FontName&quot;:function(y){var x=0,v;if(v=m.getParent(p.getNode(),&quot;span&quot;)){if(y==&quot;fontsize&quot;){x=v.style.fontSize}else{x=v.style.fontFamily.replace(/, /g,&quot;,&quot;).replace(/[\'\&quot;]/g,&quot;&quot;).toLowerCase()}}return x}},&quot;value&quot;);u({Undo:function(){n.undoManager.undo()},Redo:function(){n.undoManager.redo()}})}})(tinymce);(function(b){var a=b.util.Dispatcher;b.UndoManager=function(h){var l,i=0,e=[],g,k,j,f;function c(){return b.trim(h.getContent({format:&quot;raw&quot;,no_events:1}).replace(/&lt;span[
 ^&gt;]+data-mce-bogus[^&gt;]+&gt;[\u200B\uFEFF]+&lt;\/span&gt;/g,&quot;&quot;))}function d(){l.typing=false;l.add()}onBeforeAdd=new a(l);k=new a(l);j=new a(l);f=new a(l);k.add(function(m,n){if(m.hasUndo()){return h.onChange.dispatch(h,n,m)}});j.add(function(m,n){return h.onUndo.dispatch(h,n,m)});f.add(function(m,n){return h.onRedo.dispatch(h,n,m)});h.onInit.add(function(){l.add()});h.onBeforeExecCommand.add(function(m,p,o,q,n){if(p!=&quot;Undo&quot;&amp;&amp;p!=&quot;Redo&quot;&amp;&amp;p!=&quot;mceRepaint&quot;&amp;&amp;(!n||!n.skip_undo)){l.beforeChange()}});h.onExecCommand.add(function(m,p,o,q,n){if(p!=&quot;Undo&quot;&amp;&amp;p!=&quot;Redo&quot;&amp;&amp;p!=&quot;mceRepaint&quot;&amp;&amp;(!n||!n.skip_undo)){l.add()}});h.onSaveContent.add(d);h.dom.bind(h.dom.getRoot(),&quot;dragend&quot;,d);h.dom.bind(h.getBody(),&quot;focusout&quot;,function(m){if(!h.removed&amp;&amp;l.typing){d()}});h.onKeyUp.add(function(m,o){var n=o.keyCode;if((n&gt;=33&amp;&amp;n&lt;=36)||(n&gt;=37
 &amp;&amp;n&lt;=40)||n==45||n==13||o.ctrlKey){d()}});h.onKeyDown.add(function(m,o){var n=o.keyCode;if((n&gt;=33&amp;&amp;n&lt;=36)||(n&gt;=37&amp;&amp;n&lt;=40)||n==45){if(l.typing){d()}return}if((n&lt;16||n&gt;20)&amp;&amp;n!=224&amp;&amp;n!=91&amp;&amp;!l.typing){l.beforeChange();l.typing=true;l.add()}});h.onMouseDown.add(function(m,n){if(l.typing){d()}});h.addShortcut(&quot;ctrl+z&quot;,&quot;undo_desc&quot;,&quot;Undo&quot;);h.addShortcut(&quot;ctrl+y&quot;,&quot;redo_desc&quot;,&quot;Redo&quot;);l={data:e,typing:false,onBeforeAdd:onBeforeAdd,onAdd:k,onUndo:j,onRedo:f,beforeChange:function(){g=h.selection.getBookmark(2,true)},add:function(p){var m,n=h.settings,o;p=p||{};p.content=c();l.onBeforeAdd.dispatch(l,p);o=e[i];if(o&amp;&amp;o.content==p.content){return null}if(e[i]){e[i].beforeBookmark=g}if(n.custom_undo_redo_levels){if(e.length&gt;n.custom_undo_redo_levels){for(m=0;m&lt;e.length-1;m++){e[m]=e[m+1]}e.length--;i=e.length}}p.bookmark=h.selection.getBookmark(2,true)
 ;if(i&lt;e.length-1){e.length=i+1}e.push(p);i=e.length-1;l.onAdd.dispatch(l,p);h.isNotDirty=0;return p},undo:function(){var n,m;if(l.typing){l.add();l.typing=false}if(i&gt;0){n=e[--i];h.setContent(n.content,{format:&quot;raw&quot;});h.selection.moveToBookmark(n.beforeBookmark);l.onUndo.dispatch(l,n)}return n},redo:function(){var m;if(i&lt;e.length-1){m=e[++i];h.setContent(m.content,{format:&quot;raw&quot;});h.selection.moveToBookmark(m.bookmark);l.onRedo.dispatch(l,m)}return m},clear:function(){e=[];i=0;l.typing=false},hasUndo:function(){return i&gt;0||this.typing},hasRedo:function(){return i&lt;e.length-1&amp;&amp;!this.typing}};return l}})(tinymce);tinymce.ForceBlocks=function(c){var b=c.settings,e=c.dom,a=c.selection,d=c.schema.getBlockElements();function f(){var j=a.getStart(),h=c.getBody(),g,k,o,s,q,i,l,m=-16777215,p,r;if(!j||j.nodeType!==1||!b.forced_root_block){return}while(j&amp;&amp;j!=h){if(d[j.nodeName]){return}j=j.parentNode}g=a.getRng();if(g.setStart){k=g.startC
 ontainer;o=g.startOffset;s=g.endContainer;q=g.endOffset}else{if(g.item){j=g.item(0);g=c.getDoc().body.createTextRange();g.moveToElementText(j)}r=g.parentElement().ownerDocument===c.getDoc();tmpRng=g.duplicate();tmpRng.collapse(true);o=tmpRng.move(&quot;character&quot;,m)*-1;if(!tmpRng.collapsed){tmpRng=g.duplicate();tmpRng.collapse(false);q=(tmpRng.move(&quot;character&quot;,m)*-1)-o}}j=h.firstChild;while(j){if(j.nodeType===3||(j.nodeType==1&amp;&amp;!d[j.nodeName])){if(j.nodeType===3&amp;&amp;j.nodeValue.length==0){l=j;j=j.nextSibling;e.remove(l);continue}if(!i){i=e.create(b.forced_root_block);j.parentNode.insertBefore(i,j);p=true}l=j;j=j.nextSibling;i.appendChild(l)}else{i=null;j=j.nextSibling}}if(p){if(g.setStart){g.setStart(k,o);g.setEnd(s,q);a.setRng(g)}else{if(r){try{g=c.getDoc().body.createTextRange();g.moveToElementText(h);g.collapse(true);g.moveStart(&quot;character&quot;,o);if(q&gt;0){g.moveEnd(&quot;character&quot;,q)}g.select()}catch(n){}}}c.nodeChanged()}}if(b.f
 orced_root_block){c.onKeyUp.add(f);c.onNodeChange.add(f)}};(function(c){var b=c.DOM,a=c.dom.Event,d=c.each,e=c.extend;c.create(&quot;tinymce.ControlManager&quot;,{ControlManager:function(f,j){var h=this,g;j=j||{};h.editor=f;h.controls={};h.onAdd=new c.util.Dispatcher(h);h.onPostRender=new c.util.Dispatcher(h);h.prefix=j.prefix||f.id+&quot;_&quot;;h._cls={};h.onPostRender.add(function(){d(h.controls,function(i){i.postRender()})})},get:function(f){return this.controls[this.prefix+f]||this.controls[f]},setActive:function(h,f){var g=null;if(g=this.get(h)){g.setActive(f)}return g},setDisabled:function(h,f){var g=null;if(g=this.get(h)){g.setDisabled(f)}return g},add:function(g){var f=this;if(g){f.controls[g.id]=g;f.onAdd.dispatch(g,f)}return g},createControl:function(j){var o,k,g,h=this,m=h.editor,n,f;if(!h.controlFactories){h.controlFactories=[];d(m.plugins,function(i){if(i.createControl){h.controlFactories.push(i)}})}n=h.controlFactories;for(k=0,g=n.length;k&lt;g;k++){o=n[k].cre
 ateControl(j,h);if(o){return h.add(o)}}if(j===&quot;|&quot;||j===&quot;separator&quot;){return h.createSeparator()}if(m.buttons&amp;&amp;(o=m.buttons[j])){return h.createButton(j,o)}return h.add(o)},createDropMenu:function(f,n,h){var m=this,i=m.editor,j,g,k,l;n=e({&quot;class&quot;:&quot;mceDropDown&quot;,constrain:i.settings.constrain_menus},n);n[&quot;class&quot;]=n[&quot;class&quot;]+&quot; &quot;+i.getParam(&quot;skin&quot;)+&quot;Skin&quot;;if(k=i.getParam(&quot;skin_variant&quot;)){n[&quot;class&quot;]+=&quot; &quot;+i.getParam(&quot;skin&quot;)+&quot;Skin&quot;+k.substring(0,1).toUpperCase()+k.substring(1)}n[&quot;class&quot;]+=i.settings.directionality==&quot;rtl&quot;?&quot; mceRtl&quot;:&quot;&quot;;f=m.prefix+f;l=h||m._cls.dropmenu||c.ui.DropMenu;j=m.controls[f]=new l(f,n);j.onAddItem.add(function(r,q){var p=q.settings;p.title=i.getLang(p.title,p.title);if(!p.onclick){p.onclick=function(o){if(p.cmd){i.execCommand(p.cmd,p.ui||false,p.value)}}}});i.onRemove.add(func
 tion(){j.destroy()});if(c.isIE){j.onShowMenu.add(function(){i.focus();g=i.selection.getBookmark(1)});j.onHideMenu.add(function(){if(g){i.selection.moveToBookmark(g);g=0}})}return m.add(j)},createListBox:function(f,n,h){var l=this,j=l.editor,i,k,m;if(l.get(f)){return null}n.title=j.translate(n.title);n.scope=n.scope||j;if(!n.onselect){n.onselect=function(o){j.execCommand(n.cmd,n.ui||false,o||n.value)}}n=e({title:n.title,&quot;class&quot;:&quot;mce_&quot;+f,scope:n.scope,control_manager:l},n);f=l.prefix+f;function g(o){return o.settings.use_accessible_selects&amp;&amp;!c.isGecko}if(j.settings.use_native_selects||g(j)){k=new c.ui.NativeListBox(f,n)}else{m=h||l._cls.listbox||c.ui.ListBox;k=new m(f,n,j)}l.controls[f]=k;if(c.isWebKit){k.onPostRender.add(function(p,o){a.add(o,&quot;mousedown&quot;,function(){j.bookmark=j.selection.getBookmark(1)});a.add(o,&quot;focus&quot;,function(){j.selection.moveToBookmark(j.bookmark);j.bookmark=null})})}if(k.hideMenu){j.onMouseDown.add(k.hideM
 enu,k)}return l.add(k)},createButton:function(m,i,l){var h=this,g=h.editor,j,k,f;if(h.get(m)){return null}i.title=g.translate(i.title);i.label=g.translate(i.label);i.scope=i.scope||g;if(!i.onclick&amp;&amp;!i.menu_button){i.onclick=function(){g.execCommand(i.cmd,i.ui||false,i.value)}}i=e({title:i.title,&quot;class&quot;:&quot;mce_&quot;+m,unavailable_prefix:g.getLang(&quot;unavailable&quot;,&quot;&quot;),scope:i.scope,control_manager:h},i);m=h.prefix+m;if(i.menu_button){f=l||h._cls.menubutton||c.ui.MenuButton;k=new f(m,i,g);g.onMouseDown.add(k.hideMenu,k)}else{f=h._cls.button||c.ui.Button;k=new f(m,i,g)}return h.add(k)},createMenuButton:function(h,f,g){f=f||{};f.menu_button=1;return this.createButton(h,f,g)},createSplitButton:function(m,i,l){var h=this,g=h.editor,j,k,f;if(h.get(m)){return null}i.title=g.translate(i.title);i.scope=i.scope||g;if(!i.onclick){i.onclick=function(n){g.execCommand(i.cmd,i.ui||false,n||i.value)}}if(!i.onselect){i.onselect=function(n){g.execCommand(i
 .cmd,i.ui||false,n||i.value)}}i=e({title:i.title,&quot;class&quot;:&quot;mce_&quot;+m,scope:i.scope,control_manager:h},i);m=h.prefix+m;f=l||h._cls.splitbutton||c.ui.SplitButton;k=h.add(new f(m,i,g));g.onMouseDown.add(k.hideMenu,k);return k},createColorSplitButton:function(f,n,h){var l=this,j=l.editor,i,k,m,g;if(l.get(f)){return null}n.title=j.translate(n.title);n.scope=n.scope||j;if(!n.onclick){n.onclick=function(o){if(c.isIE){g=j.selection.getBookmark(1)}j.execCommand(n.cmd,n.ui||false,o||n.value)}}if(!n.onselect){n.onselect=function(o){j.execCommand(n.cmd,n.ui||false,o||n.value)}}n=e({title:n.title,&quot;class&quot;:&quot;mce_&quot;+f,menu_class:j.getParam(&quot;skin&quot;)+&quot;Skin&quot;,scope:n.scope,more_colors_title:j.getLang(&quot;more_colors&quot;)},n);f=l.prefix+f;m=h||l._cls.colorsplitbutton||c.ui.ColorSplitButton;k=new m(f,n,j);j.onMouseDown.add(k.hideMenu,k);j.onRemove.add(function(){k.destroy()});if(c.isIE){k.onShowMenu.add(function(){j.focus();g=j.selection.g
 etBookmark(1)});k.onHideMenu.add(function(){if(g){j.selection.moveToBookmark(g);g=0}})}return l.add(k)},createToolbar:function(k,h,j){var i,g=this,f;k=g.prefix+k;f=j||g._cls.toolbar||c.ui.Toolbar;i=new f(k,h,g.editor);if(g.get(k)){return null}return g.add(i)},createToolbarGroup:function(k,h,j){var i,g=this,f;k=g.prefix+k;f=j||this._cls.toolbarGroup||c.ui.ToolbarGroup;i=new f(k,h,g.editor);if(g.get(k)){return null}return g.add(i)},createSeparator:function(g){var f=g||this._cls.separator||c.ui.Separator;return new f()},setControlType:function(g,f){return this._cls[g.toLowerCase()]=f},destroy:function(){d(this.controls,function(f){f.destroy()});this.controls=null}})})(tinymce);(function(d){var a=d.util.Dispatcher,e=d.each,c=d.isIE,b=d.isOpera;d.create(&quot;tinymce.WindowManager&quot;,{WindowManager:function(f){var g=this;g.editor=f;g.onOpen=new a(g);g.onClose=new a(g);g.params={};g.features={}},open:function(z,h){var v=this,k=&quot;&quot;,n,m,i=v.editor.settings.dialog_type==&
 quot;modal&quot;,q,o,j,g=d.DOM.getViewPort(),r;z=z||{};h=h||{};o=b?g.w:screen.width;j=b?g.h:screen.height;z.name=z.name||&quot;mc_&quot;+new Date().getTime();z.width=parseInt(z.width||320);z.height=parseInt(z.height||240);z.resizable=true;z.left=z.left||parseInt(o/2)-(z.width/2);z.top=z.top||parseInt(j/2)-(z.height/2);h.inline=false;h.mce_width=z.width;h.mce_height=z.height;h.mce_auto_focus=z.auto_focus;if(i){if(c){z.center=true;z.help=false;z.dialogWidth=z.width+&quot;px&quot;;z.dialogHeight=z.height+&quot;px&quot;;z.scroll=z.scrollbars||false}}e(z,function(p,f){if(d.is(p,&quot;boolean&quot;)){p=p?&quot;yes&quot;:&quot;no&quot;}if(!/^(name|url)$/.test(f)){if(c&amp;&amp;i){k+=(k?&quot;;&quot;:&quot;&quot;)+f+&quot;:&quot;+p}else{k+=(k?&quot;,&quot;:&quot;&quot;)+f+&quot;=&quot;+p}}});v.features=z;v.params=h;v.onOpen.dispatch(v,z,h);r=z.url||z.file;r=d._addVer(r);try{if(c&amp;&amp;i){q=1;window.showModalDialog(r,window,k)}else{q=window.open(r,z.name,k)}}catch(l){}if(!q){alert
 (v.editor.getLang(&quot;popup_blocked&quot;))}},close:function(f){f.close();this.onClose.dispatch(this)},createInstance:function(i,h,g,m,l,k){var j=d.resolve(i);return new j(h,g,m,l,k)},confirm:function(h,f,i,g){g=g||window;f.call(i||this,g.confirm(this._decode(this.editor.getLang(h,h))))},alert:function(h,f,j,g){var i=this;g=g||window;g.alert(i._decode(i.editor.getLang(h,h)));if(f){f.call(j||i)}},resizeBy:function(f,g,h){h.resizeBy(f,g)},_decode:function(f){return d.DOM.decode(f).replace(/\\n/g,&quot;\n&quot;)}})}(tinymce));(function(a){a.Formatter=function(aa){var Q={},T=a.each,c=aa.dom,r=aa.selection,t=a.dom.TreeWalker,N=new a.dom.RangeUtils(c),d=aa.schema.isValidChild,A=a.isArray,H=c.isBlock,m=aa.settings.forced_root_block,s=c.nodeIndex,G=&quot;\uFEFF&quot;,e=/^(src|href|style)$/,X=false,C=true,P,D,x=c.getContentEditable;function I(ab){return !!aa.schema.getTextBlocks()[ab.toLowerCase()]}function n(ac,ab){return c.getParents(ac,ab,c.getRoot())}function b(ab){return ab.no
 deType===1&amp;&amp;ab.id===&quot;_mce_caret&quot;}function j(){l({alignleft:[{selector:&quot;figure,p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li&quot;,styles:{textAlign:&quot;left&quot;},defaultBlock:&quot;div&quot;},{selector:&quot;img,table&quot;,collapsed:false,styles:{&quot;float&quot;:&quot;left&quot;}}],aligncenter:[{selector:&quot;figure,p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li&quot;,styles:{textAlign:&quot;center&quot;},defaultBlock:&quot;div&quot;},{selector:&quot;img&quot;,collapsed:false,styles:{display:&quot;block&quot;,marginLeft:&quot;auto&quot;,marginRight:&quot;auto&quot;}},{selector:&quot;table&quot;,collapsed:false,styles:{marginLeft:&quot;auto&quot;,marginRight:&quot;auto&quot;}}],alignright:[{selector:&quot;figure,p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li&quot;,styles:{textAlign:&quot;right&quot;},defaultBlock:&quot;div&quot;},{selector:&quot;img,table&quot;,collapsed:false,styles:{&quot;float&quot;:&quot;right&quot;}}],alignfull:[{selector:&quot;figure,p,h1,h2,h3,
 h4,h5,h6,td,th,div,ul,ol,li&quot;,styles:{textAlign:&quot;justify&quot;},defaultBlock:&quot;div&quot;}],bold:[{inline:&quot;strong&quot;,remove:&quot;all&quot;},{inline:&quot;span&quot;,styles:{fontWeight:&quot;bold&quot;}},{inline:&quot;b&quot;,remove:&quot;all&quot;}],italic:[{inline:&quot;em&quot;,remove:&quot;all&quot;},{inline:&quot;span&quot;,styles:{fontStyle:&quot;italic&quot;}},{inline:&quot;i&quot;,remove:&quot;all&quot;}],underline:[{inline:&quot;span&quot;,styles:{textDecoration:&quot;underline&quot;},exact:true},{inline:&quot;u&quot;,remove:&quot;all&quot;}],strikethrough:[{inline:&quot;span&quot;,styles:{textDecoration:&quot;line-through&quot;},exact:true},{inline:&quot;strike&quot;,remove:&quot;all&quot;}],forecolor:{inline:&quot;span&quot;,styles:{color:&quot;%value&quot;},wrap_links:false},hilitecolor:{inline:&quot;span&quot;,styles:{backgroundColor:&quot;%value&quot;},wrap_links:false},fontname:{inline:&quot;span&quot;,styles:{fontFamily:&quot;%value&quot;}
 },fontsize:{inline:&quot;span&quot;,styles:{fontSize:&quot;%value&quot;}},fontsize_class:{inline:&quot;span&quot;,attributes:{&quot;class&quot;:&quot;%value&quot;}},blockquote:{block:&quot;blockquote&quot;,wrapper:1,remove:&quot;all&quot;},subscript:{inline:&quot;sub&quot;},superscript:{inline:&quot;sup&quot;},link:{inline:&quot;a&quot;,selector:&quot;a&quot;,remove:&quot;all&quot;,split:true,deep:true,onmatch:function(ab){return true},onformat:function(ad,ab,ac){T(ac,function(af,ae){c.setAttrib(ad,ae,af)})}},removeformat:[{selector:&quot;b,strong,em,i,font,u,strike&quot;,remove:&quot;all&quot;,split:true,expand:false,block_expand:true,deep:true},{selector:&quot;span&quot;,attributes:[&quot;style&quot;,&quot;class&quot;],remove:&quot;empty&quot;,split:true,expand:false,deep:true},{selector:&quot;*&quot;,attributes:[&quot;style&quot;,&quot;class&quot;],split:false,expand:false,deep:true}]});T(&quot;p h1 h2 h3 h4 h5 h6 div address pre div code dt dd samp&quot;.split(/\s/),func
 tion(ab){l(ab,{block:ab,remove:&quot;all&quot;})});l(aa.settings.formats)}function W(){aa.addShortcut(&quot;ctrl+b&quot;,&quot;bold_desc&quot;,&quot;Bold&quot;);aa.addShortcut(&quot;ctrl+i&quot;,&quot;italic_desc&quot;,&quot;Italic&quot;);aa.addShortcut(&quot;ctrl+u&quot;,&quot;underline_desc&quot;,&quot;Underline&quot;);for(var ab=1;ab&lt;=6;ab++){aa.addShortcut(&quot;ctrl+&quot;+ab,&quot;&quot;,[&quot;FormatBlock&quot;,false,&quot;h&quot;+ab])}aa.addShortcut(&quot;ctrl+7&quot;,&quot;&quot;,[&quot;FormatBlock&quot;,false,&quot;p&quot;]);aa.addShortcut(&quot;ctrl+8&quot;,&quot;&quot;,[&quot;FormatBlock&quot;,false,&quot;div&quot;]);aa.addShortcut(&quot;ctrl+9&quot;,&quot;&quot;,[&quot;FormatBlock&quot;,false,&quot;address&quot;])}function V(ab){return ab?Q[ab]:Q}function l(ab,ac){if(ab){if(typeof(ab)!==&quot;string&quot;){T(ab,function(ae,ad){l(ad,ae)})}else{ac=ac.length?ac:[ac];T(ac,function(ad){if(ad.deep===D){ad.deep=!ad.selector}if(ad.split===D){ad.split=!ad.selector||ad
 .inline}if(ad.remove===D&amp;&amp;ad.selector&amp;&amp;!ad.inline){ad.remove=&quot;none&quot;}if(ad.selector&amp;&amp;ad.inline){ad.mixed=true;ad.block_expand=true}if(typeof(ad.classes)===&quot;string&quot;){ad.classes=ad.classes.split(/\s+/)}});Q[ab]=ac}}}var i=function(ac){var ab;aa.dom.getParent(ac,function(ad){ab=aa.dom.getStyle(ad,&quot;text-decoration&quot;);return ab&amp;&amp;ab!==&quot;none&quot;});return ab};var L=function(ab){var ac;if(ab.nodeType===1&amp;&amp;ab.parentNode&amp;&amp;ab.parentNode.nodeType===1){ac=i(ab.parentNode);if(aa.dom.getStyle(ab,&quot;color&quot;)&amp;&amp;ac){aa.dom.setStyle(ab,&quot;text-decoration&quot;,ac)}else{if(aa.dom.getStyle(ab,&quot;textdecoration&quot;)===ac){aa.dom.setStyle(ab,&quot;text-decoration&quot;,null)}}}};function Y(ae,al,ag){var ah=V(ae),am=ah[0],ak,ac,aj,ai=r.isCollapsed();function ab(aq,ap){ap=ap||am;if(aq){if(ap.onformat){ap.onformat(aq,ap,al,ag)}T(ap.styles,function(at,ar){c.setStyle(aq,ar,q(at,al))});T(ap.attributes
 ,function(at,ar){c.setAttrib(aq,ar,q(at,al))});T(ap.classes,function(ar){ar=q(ar,al);if(!c.hasClass(aq,ar)){c.addClass(aq,ar)}})}}function af(){function ar(ay,aw){var ax=new t(aw);for(ag=ax.current();ag;ag=ax.prev()){if(ag.childNodes.length&gt;1||ag==ay||ag.tagName==&quot;BR&quot;){return ag}}}var aq=aa.selection.getRng();var av=aq.startContainer;var ap=aq.endContainer;if(av!=ap&amp;&amp;aq.endOffset===0){var au=ar(av,ap);var at=au.nodeType==3?au.length:au.childNodes.length;aq.setEnd(au,at)}return aq}function ad(at,ay,aw,av,aq){var ap=[],ar=-1,ax,aA=-1,au=-1,az;T(at.childNodes,function(aC,aB){if(aC.nodeName===&quot;UL&quot;||aC.nodeName===&quot;OL&quot;){ar=aB;ax=aC;return false}});T(at.childNodes,function(aC,aB){if(aC.nodeName===&quot;SPAN&quot;&amp;&amp;c.getAttrib(aC,&quot;data-mce-type&quot;)==&quot;bookmark&quot;){if(aC.id==ay.id+&quot;_start&quot;){aA=aB}else{if(aC.id==ay.id+&quot;_end&quot;){au=aB}}}});if(ar&lt;=0||(aA&lt;ar&amp;&amp;au&gt;ar)){T(a.grep(at.childNodes)
 ,aq);return 0}else{az=c.clone(aw,X);T(a.grep(at.childNodes),function(aC,aB){if((aA&lt;ar&amp;&amp;aB&lt;ar)||(aA&gt;ar&amp;&amp;aB&gt;ar)){ap.push(aC);aC.parentNode.removeChild(aC)}});if(aA&lt;ar){at.insertBefore(az,ax)}else{if(aA&gt;ar){at.insertBefore(az,ax.nextSibling)}}av.push(az);T(ap,function(aB){az.appendChild(aB)});return az}}function an(aq,at,aw){var ap=[],av,ar,au=true;av=am.inline||am.block;ar=c.create(av);ab(ar);N.walk(aq,function(ax){var ay;function az(aA){var aF,aD,aB,aC,aE;aE=au;aF=aA.nodeName.toLowerCase();aD=aA.parentNode.nodeName.toLowerCase();if(aA.nodeType===1&amp;&amp;x(aA)){aE=au;au=x(aA)===&quot;true&quot;;aC=true}if(g(aF,&quot;br&quot;)){ay=0;if(am.block){c.remove(aA)}return}if(am.wrapper&amp;&amp;y(aA,ae,al)){ay=0;return}if(au&amp;&amp;!aC&amp;&amp;am.block&amp;&amp;!am.wrapper&amp;&amp;I(aF)){aA=c.rename(aA,av);ab(aA);ap.push(aA);ay=0;return}if(am.selector){T(ah,function(aG){if(&quot;collapsed&quot; in aG&amp;&amp;aG.collapsed!==ai){return}if(c.is(a
 A,aG.selector)&amp;&amp;!b(aA)){ab(aA,aG);aB=true}});if(!am.inline||aB){ay=0;return}}if(au&amp;&amp;!aC&amp;&amp;d(av,aF)&amp;&amp;d(aD,av)&amp;&amp;!(!aw&amp;&amp;aA.nodeType===3&amp;&amp;aA.nodeValue.length===1&amp;&amp;aA.nodeValue.charCodeAt(0)===65279)&amp;&amp;!b(aA)){if(!ay){ay=c.clone(ar,X);aA.parentNode.insertBefore(ay,aA);ap.push(ay)}ay.appendChild(aA)}else{if(aF==&quot;li&quot;&amp;&amp;at){ay=ad(aA,at,ar,ap,az)}else{ay=0;T(a.grep(aA.childNodes),az);if(aC){au=aE}ay=0}}}T(ax,az)});if(am.wrap_links===false){T(ap,function(ax){function ay(aC){var aB,aA,az;if(aC.nodeName===&quot;A&quot;){aA=c.clone(ar,X);ap.push(aA);az=a.grep(aC.childNodes);for(aB=0;aB&lt;az.length;aB++){aA.appendChild(az[aB])}aC.appendChild(aA)}T(a.grep(aC.childNodes),ay)}ay(ax)})}T(ap,function(az){var ax;function aA(aC){var aB=0;T(aC.childNodes,function(aD){if(!f(aD)&amp;&amp;!K(aD)){aB++}});return aB}function ay(aB){var aD,aC;T(aB.childNodes,function(aE){if(aE.nodeType==1&amp;&amp;!K(aE)&amp;&amp;!b
 (aE)){aD=aE;return X}});if(aD&amp;&amp;h(aD,am)){aC=c.clone(aD,X);ab(aC);c.replace(aC,aB,C);c.remove(aD,1)}return aC||aB}ax=aA(az);if((ap.length&gt;1||!H(az))&amp;&amp;ax===0){c.remove(az,1);return}if(am.inline||am.wrapper){if(!am.exact&amp;&amp;ax===1){az=ay(az)}T(ah,function(aB){T(c.select(aB.inline,az),function(aD){var aC;if(aB.wrap_links===false){aC=aD.parentNode;do{if(aC.nodeName===&quot;A&quot;){return}}while(aC=aC.parentNode)}Z(aB,al,aD,aB.exact?aD:null)})});if(y(az.parentNode,ae,al)){c.remove(az,1);az=0;return C}if(am.merge_with_parents){c.getParent(az.parentNode,function(aB){if(y(aB,ae,al)){c.remove(az,1);az=0;return C}})}if(az&amp;&amp;am.merge_siblings!==false){az=u(E(az),az);az=u(az,E(az,C))}}})}if(am){if(ag){if(ag.nodeType){ac=c.createRng();ac.setStartBefore(ag);ac.setEndAfter(ag);an(p(ac,ah),null,true)}else{an(ag,null,true)}}else{if(!ai||!am.inline||c.select(&quot;td.mceSelected,th.mceSelected&quot;).length){var ao=aa.selection.getNode();if(!m&amp;&amp;ah[0].de
 faultBlock&amp;&amp;!c.getParent(ao,c.isBlock)){Y(ah[0].defaultBlock)}aa.selection.setRng(af());ak=r.getBookmark();an(p(r.getRng(C),ah),ak);if(am.styles&amp;&amp;(am.styles.color||am.styles.textDecoration)){a.walk(ao,L,&quot;childNodes&quot;);L(ao)}r.moveToBookmark(ak);R(r.getRng(C));aa.nodeChanged()}else{U(&quot;apply&quot;,ae,al)}}}}function B(ad,am,af){var ag=V(ad),ao=ag[0],ak,aj,ac,al=true;function ae(av){var au,at,ar,aq,ax,aw;if(av.nodeType===3){return}if(av.nodeType===1&amp;&amp;x(av)){ax=al;al=x(av)===&quot;true&quot;;aw=true}au=a.grep(av.childNodes);if(al&amp;&amp;!aw){for(at=0,ar=ag.length;at&lt;ar;at++){if(Z(ag[at],am,av,av)){break}}}if(ao.deep){if(au.length){for(at=0,ar=au.length;at&lt;ar;at++){ae(au[at])}if(aw){al=ax}}}}function ah(aq){var ar;T(n(aq.parentNode).reverse(),function(at){var au;if(!ar&amp;&amp;at.id!=&quot;_start&quot;&amp;&amp;at.id!=&quot;_end&quot;){au=y(at,ad,am);if(au&amp;&amp;au.split!==false){ar=at}}});return ar}function ab(au,aq,aw,az){var aA
 ,ay,ax,at,av,ar;if(au){ar=au.parentNode;for(aA=aq.parentNode;aA&amp;&amp;aA!=ar;aA=aA.parentNode){ay=c.clone(aA,X);for(av=0;av&lt;ag.length;av++){if(Z(ag[av],am,ay,ay)){ay=0;break}}if(ay){if(ax){ay.appendChild(ax)}if(!at){at=ay}ax=ay}}if(az&amp;&amp;(!ao.mixed||!H(au))){aq=c.split(au,aq)}if(ax){aw.parentNode.insertBefore(ax,aw);at.appendChild(aw)}}return aq}function an(aq){return ab(ah(aq),aq,aq,true)}function ai(at){var ar=c.get(at?&quot;_start&quot;:&quot;_end&quot;),aq=ar[at?&quot;firstChild&quot;:&quot;lastChild&quot;];if(K(aq)){aq=aq[at?&quot;firstChild&quot;:&quot;lastChild&quot;]}c.remove(ar,true);return aq}function ap(aq){var at,au,ar;aq=p(aq,ag,C);if(ao.split){at=M(aq,C);au=M(aq);if(at!=au){if(/^(TR|TD)$/.test(at.nodeName)&amp;&amp;at.firstChild){at=(at.nodeName==&quot;TD&quot;?at.firstChild:at.firstChild.firstChild)||at}at=S(at,&quot;span&quot;,{id:&quot;_start&quot;,&quot;data-mce-type&quot;:&quot;bookmark&quot;});au=S(au,&quot;span&quot;,{id:&quot;_end&quot;,&quo
 t;data-mce-type&quot;:&quot;bookmark&quot;});an(at);an(au);at=ai(C);au=ai()}else{at=au=an(at)}aq.startContainer=at.parentNode;aq.startOffset=s(at);aq.endContainer=au.parentNode;aq.endOffset=s(au)+1}N.walk(aq,function(av){T(av,function(aw){ae(aw);if(aw.nodeType===1&amp;&amp;aa.dom.getStyle(aw,&quot;text-decoration&quot;)===&quot;underline&quot;&amp;&amp;aw.parentNode&amp;&amp;i(aw.parentNode)===&quot;underline&quot;){Z({deep:false,exact:true,inline:&quot;span&quot;,styles:{textDecoration:&quot;underline&quot;}},null,aw)}})})}if(af){if(af.nodeType){ac=c.createRng();ac.setStartBefore(af);ac.setEndAfter(af);ap(ac)}else{ap(af)}return}if(!r.isCollapsed()||!ao.inline||c.select(&quot;td.mceSelected,th.mceSelected&quot;).length){ak=r.getBookmark();ap(r.getRng(C));r.moveToBookmark(ak);if(ao.inline&amp;&amp;k(ad,am,r.getStart())){R(r.getRng(true))}aa.nodeChanged()}else{U(&quot;remove&quot;,ad,am)}}function F(ac,ae,ad){var ab=V(ac);if(k(ac,ae,ad)&amp;&amp;(!(&quot;toggle&quot; in ab[0])
 ||ab[0].toggle)){B(ac,ae,ad)}else{Y(ac,ae,ad)}}function y(ac,ab,ah,af){var ad=V(ab),ai,ag,ae;function aj(an,ap,aq){var am,ao,ak=ap[aq],al;if(ap.onmatch){return ap.onmatch(an,ap,aq)}if(ak){if(ak.length===D){for(am in ak){if(ak.hasOwnProperty(am)){if(aq===&quot;attributes&quot;){ao=c.getAttrib(an,am)}else{ao=O(an,am)}if(af&amp;&amp;!ao&amp;&amp;!ap.exact){return}if((!af||ap.exact)&amp;&amp;!g(ao,q(ak[am],ah))){return}}}}else{for(al=0;al&lt;ak.length;al++){if(aq===&quot;attributes&quot;?c.getAttrib(an,ak[al]):O(an,ak[al])){return ap}}}}return ap}if(ad&amp;&amp;ac){for(ag=0;ag&lt;ad.length;ag++){ai=ad[ag];if(h(ac,ai)&amp;&amp;aj(ac,ai,&quot;attributes&quot;)&amp;&amp;aj(ac,ai,&quot;styles&quot;)){if(ae=ai.classes){for(ag=0;ag&lt;ae.length;ag++){if(!c.hasClass(ac,ae[ag])){return}}}return ai}}}}function k(ad,af,ae){var ac;function ab(ag){ag=c.getParent(ag,function(ah){return !!y(ah,ad,af,true)});return y(ag,ad,af)}if(ae){return ab(ae)}ae=r.getNode();if(ab(ae)){return C}ac=r.getSta
 rt();if(ac!=ae){if(ab(ac)){return C}}return X}function v(ai,ah){var af,ag=[],ae={},ad,ac,ab;af=r.getStart();c.getParent(af,function(al){var ak,aj;for(ak=0;ak&lt;ai.length;ak++){aj=ai[ak];if(!ae[aj]&amp;&amp;y(al,aj,ah)){ae[aj]=true;ag.push(aj)}}},c.getRoot());return ag}function z(af){var ah=V(af),ae,ad,ag,ac,ab;if(ah){ae=r.getStart();ad=n(ae);for(ac=ah.length-1;ac&gt;=0;ac--){ab=ah[ac].selector;if(!ab){return C}for(ag=ad.length-1;ag&gt;=0;ag--){if(c.is(ad[ag],ab)){return C}}}}return X}function J(ab,ae,ac){var ad;if(!P){P={};ad={};aa.onNodeChange.addToTop(function(ag,af,ai){var ah=n(ai),aj={};T(P,function(ak,al){T(ah,function(am){if(y(am,al,{},ak.similar)){if(!ad[al]){T(ak,function(an){an(true,{node:am,format:al,parents:ah})});ad[al]=ak}aj[al]=ak;return false}})});T(ad,function(ak,al){if(!aj[al]){delete ad[al];T(ak,function(am){am(false,{node:ai,format:al,parents:ah})})}})})}T(ab.split(&quot;,&quot;),function(af){if(!P[af]){P[af]=[];P[af].similar=ac}P[af].push(ae)});return th
 is}a.extend(this,{get:V,register:l,apply:Y,remove:B,toggle:F,match:k,matchAll:v,matchNode:y,canApply:z,formatChanged:J});j();W();function h(ab,ac){if(g(ab,ac.inline)){return C}if(g(ab,ac.block)){return C}if(ac.selector){return c.is(ab,ac.selector)}}function g(ac,ab){ac=ac||&quot;&quot;;ab=ab||&quot;&quot;;ac=&quot;&quot;+(ac.nodeName||ac);ab=&quot;&quot;+(ab.nodeName||ab);return ac.toLowerCase()==ab.toLowerCase()}function O(ac,ab){var ad=c.getStyle(ac,ab);if(ab==&quot;color&quot;||ab==&quot;backgroundColor&quot;){ad=c.toHex(ad)}if(ab==&quot;fontWeight&quot;&amp;&amp;ad==700){ad=&quot;bold&quot;}return&quot;&quot;+ad}function q(ab,ac){if(typeof(ab)!=&quot;string&quot;){ab=ab(ac)}else{if(ac){ab=ab.replace(/%(\w+)/g,function(ae,ad){return ac[ad]||ae})}}return ab}function f(ab){return ab&amp;&amp;ab.nodeType===3&amp;&amp;/^([\t \r\n]+|)$/.test(ab.nodeValue)}function S(ad,ac,ab){var ae=c.create(ac,ab);ad.parentNode.insertBefore(ae,ad);ae.appendChild(ad);return ae}function p(ab,am
 ,ae){var ap,an,ah,al,ad=ab.startContainer,ai=ab.startOffset,ar=ab.endContainer,ak=ab.endOffset;function ao(aA){var au,ax,az,aw,av,at;au=ax=aA?ad:ar;av=aA?&quot;previousSibling&quot;:&quot;nextSibling&quot;;at=c.getRoot();function ay(aB){return aB.nodeName==&quot;BR&quot;&amp;&amp;aB.getAttribute(&quot;data-mce-bogus&quot;)&amp;&amp;!aB.nextSibling}if(au.nodeType==3&amp;&amp;!f(au)){if(aA?ai&gt;0:ak&lt;au.nodeValue.length){return au}}for(;;){if(!am[0].block_expand&amp;&amp;H(ax)){return ax}for(aw=ax[av];aw;aw=aw[av]){if(!K(aw)&amp;&amp;!f(aw)&amp;&amp;!ay(aw)){return ax}}if(ax.parentNode==at){au=ax;break}ax=ax.parentNode}return au}function ag(at,au){if(au===D){au=at.nodeType===3?at.length:at.childNodes.length}while(at&amp;&amp;at.hasChildNodes()){at=at.childNodes[au];if(at){au=at.nodeType===3?at.length:at.childNodes.length}}return{node:at,offset:au}}if(ad.nodeType==1&amp;&amp;ad.hasChildNodes()){an=ad.childNodes.length-1;ad=ad.childNodes[ai&gt;an?an:ai];if(ad.nodeType==3){ai=
 0}}if(ar.nodeType==1&amp;&amp;ar.hasChildNodes()){an=ar.childNodes.length-1;ar=ar.childNodes[ak&gt;an?an:ak-1];if(ar.nodeType==3){ak=ar.nodeValue.length}}function aq(au){var at=au;while(at){if(at.nodeType===1&amp;&amp;x(at)){return x(at)===&quot;false&quot;?at:au}at=at.parentNode}return au}function aj(au,ay,aA){var ax,av,az,at;function aw(aC,aE){var aF,aB,aD=aC.nodeValue;if(typeof(aE)==&quot;undefined&quot;){aE=aA?aD.length:0}if(aA){aF=aD.lastIndexOf(&quot; &quot;,aE);aB=aD.lastIndexOf(&quot;\u00a0&quot;,aE);aF=aF&gt;aB?aF:aB;if(aF!==-1&amp;&amp;!ae){aF++}}else{aF=aD.indexOf(&quot; &quot;,aE);aB=aD.indexOf(&quot;\u00a0&quot;,aE);aF=aF!==-1&amp;&amp;(aB===-1||aF&lt;aB)?aF:aB}return aF}if(au.nodeType===3){az=aw(au,ay);if(az!==-1){return{container:au,offset:az}}at=au}ax=new t(au,c.getParent(au,H)||aa.getBody());while(av=ax[aA?&quot;prev&quot;:&quot;next&quot;]()){if(av.nodeType===3){at=av;az=aw(av);if(az!==-1){return{container:av,offset:az}}}else{if(H(av)){break}}}if(at){if(aA)
 {ay=0}else{ay=at.length}return{container:at,offset:ay}}}function af(au,at){var av,aw,ay,ax;if(au.nodeType==3&amp;&amp;au.nodeValue.length===0&amp;&amp;au[at]){au=au[at]}av=n(au);for(aw=0;aw&lt;av.length;aw++){for(ay=0;ay&lt;am.length;ay++){ax=am[ay];if(&quot;collapsed&quot; in ax&amp;&amp;ax.collapsed!==ab.collapsed){continue}if(c.is(av[aw],ax.selector)){return av[aw]}}}return au}function ac(au,at,aw){var av;if(!am[0].wrapper){av=c.getParent(au,am[0].block)}if(!av){av=c.getParent(au.nodeType==3?au.parentNode:au,I)}if(av&amp;&amp;am[0].wrapper){av=n(av,&quot;ul,ol&quot;).reverse()[0]||av}if(!av){av=au;while(av[at]&amp;&amp;!H(av[at])){av=av[at];if(g(av,&quot;br&quot;)){break}}}return av||au}ad=aq(ad);ar=aq(ar);if(K(ad.parentNode)||K(ad)){ad=K(ad)?ad:ad.parentNode;ad=ad.nextSibling||ad;if(ad.nodeType==3){ai=0}}if(K(ar.parentNode)||K(ar)){ar=K(ar)?ar:ar.parentNode;ar=ar.previousSibling||ar;if(ar.nodeType==3){ak=ar.length}}if(am[0].inline){if(ab.collapsed){al=aj(ad,ai,true);if(a
 l){ad=al.container;ai=al.offset}al=aj(ar,ak);if(al){ar=al.container;ak=al.offset}}ah=ag(ar,ak);if(ah.node){while(ah.node&amp;&amp;ah.offset===0&amp;&amp;ah.node.previousSibling){ah=ag(ah.node.previousSibling)}if(ah.node&amp;&amp;ah.offset&gt;0&amp;&amp;ah.node.nodeType===3&amp;&amp;ah.node.nodeValue.charAt(ah.offset-1)===&quot; &quot;){if(ah.offset&gt;1){ar=ah.node;ar.splitText(ah.offset-1)}}}}if(am[0].inline||am[0].block_expand){if(!am[0].inline||(ad.nodeType!=3||ai===0)){ad=ao(true)}if(!am[0].inline||(ar.nodeType!=3||ak===ar.nodeValue.length)){ar=ao()}}if(am[0].selector&amp;&amp;am[0].expand!==X&amp;&amp;!am[0].inline){ad=af(ad,&quot;previousSibling&quot;);ar=af(ar,&quot;nextSibling&quot;)}if(am[0].block||am[0].selector){ad=ac(ad,&quot;previousSibling&quot;);ar=ac(ar,&quot;nextSibling&quot;);if(am[0].block){if(!H(ad)){ad=ao(true)}if(!H(ar)){ar=ao()}}}if(ad.nodeType==1){ai=s(ad);ad=ad.parentNode}if(ar.nodeType==1){ak=s(ar)+1;ar=ar.parentNode}return{startContainer:ad,startOf
 fset:ai,endContainer:ar,endOffset:ak}}function Z(ah,ag,ae,ab){var ad,ac,af;if(!h(ae,ah)){return X}if(ah.remove!=&quot;all&quot;){T(ah.styles,function(aj,ai){aj=q(aj,ag);if(typeof(ai)===&quot;number&quot;){ai=aj;ab=0}if(!ab||g(O(ab,ai),aj)){c.setStyle(ae,ai,&quot;&quot;)}af=1});if(af&amp;&amp;c.getAttrib(ae,&quot;style&quot;)==&quot;&quot;){ae.removeAttribute(&quot;style&quot;);ae.removeAttribute(&quot;data-mce-style&quot;)}T(ah.attributes,function(ak,ai){var aj;ak=q(ak,ag);if(typeof(ai)===&quot;number&quot;){ai=ak;ab=0}if(!ab||g(c.getAttrib(ab,ai),ak)){if(ai==&quot;class&quot;){ak=c.getAttrib(ae,ai);if(ak){aj=&quot;&quot;;T(ak.split(/\s+/),function(al){if(/mce\w+/.test(al)){aj+=(aj?&quot; &quot;:&quot;&quot;)+al}});if(aj){c.setAttrib(ae,ai,aj);return}}}if(ai==&quot;class&quot;){ae.removeAttribute(&quot;className&quot;)}if(e.test(ai)){ae.removeAttribute(&quot;data-mce-&quot;+ai)}ae.removeAttribute(ai)}});T(ah.classes,function(ai){ai=q(ai,ag);if(!ab||c.hasClass(ab,ai)){c.remov
 eClass(ae,ai)}});ac=c.getAttribs(ae);for(ad=0;ad&lt;ac.length;ad++){if(ac[ad].nodeName.indexOf(&quot;_&quot;)!==0){return X}}}if(ah.remove!=&quot;none&quot;){o(ae,ah);return C}}function o(ad,ae){var ab=ad.parentNode,ac;function af(ah,ag,ai){ah=E(ah,ag,ai);return !ah||(ah.nodeName==&quot;BR&quot;||H(ah))}if(ae.block){if(!m){if(H(ad)&amp;&amp;!H(ab)){if(!af(ad,X)&amp;&amp;!af(ad.firstChild,C,1)){ad.insertBefore(c.create(&quot;br&quot;),ad.firstChild)}if(!af(ad,C)&amp;&amp;!af(ad.lastChild,X,1)){ad.appendChild(c.create(&quot;br&quot;))}}}else{if(ab==c.getRoot()){if(!ae.list_block||!g(ad,ae.list_block)){T(a.grep(ad.childNodes),function(ag){if(d(m,ag.nodeName.toLowerCase())){if(!ac){ac=S(ag,m)}else{ac.appendChild(ag)}}else{ac=0}})}}}}if(ae.selector&amp;&amp;ae.inline&amp;&amp;!g(ae.inline,ad)){return}c.remove(ad,1)}function E(ac,ab,ad){if(ac){ab=ab?&quot;nextSibling&quot;:&quot;previousSibling&quot;;for(ac=ad?ac:ac[ab];ac;ac=ac[ab]){if(ac.nodeType==1||!f(ac)){return ac}}}}functio
 n K(ab){return ab&amp;&amp;ab.nodeType==1&amp;&amp;ab.getAttribute(&quot;data-mce-type&quot;)==&quot;bookmark&quot;}function u(af,ae){var ab,ad,ac;function ah(ak,aj){if(ak.nodeName!=aj.nodeName){return X}function ai(am){var an={};T(c.getAttribs(am),function(ao){var ap=ao.nodeName.toLowerCase();if(ap.indexOf(&quot;_&quot;)!==0&amp;&amp;ap!==&quot;style&quot;){an[ap]=c.getAttrib(am,ap)}});return an}function al(ap,ao){var an,am;for(am in ap){if(ap.hasOwnProperty(am)){an=ao[am];if(an===D){return X}if(ap[am]!=an){return X}delete ao[am]}}for(am in ao){if(ao.hasOwnProperty(am)){return X}}return C}if(!al(ai(ak),ai(aj))){return X}if(!al(c.parseStyle(c.getAttrib(ak,&quot;style&quot;)),c.parseStyle(c.getAttrib(aj,&quot;style&quot;)))){return X}return C}function ag(aj,ai){for(ad=aj;ad;ad=ad[ai]){if(ad.nodeType==3&amp;&amp;ad.nodeValue.length!==0){return aj}if(ad.nodeType==1&amp;&amp;!K(ad)){return ad}}return aj}if(af&amp;&amp;ae){af=ag(af,&quot;previousSibling&quot;);ae=ag(ae,&quot;next
 Sibling&quot;);if(ah(af,ae)){for(ad=af.nextSibling;ad&amp;&amp;ad!=ae;){ac=ad;ad=ad.nextSibling;af.appendChild(ac)}c.remove(ae);T(a.grep(ae.childNodes),function(ai){af.appendChild(ai)});return af}}return ae}function I(ab){return/^(h[1-6]|p|div|pre|address|dl|dt|dd)$/.test(ab)}function M(ac,ag){var ab,af,ad,ae;ab=ac[ag?&quot;startContainer&quot;:&quot;endContainer&quot;];af=ac[ag?&quot;startOffset&quot;:&quot;endOffset&quot;];if(ab.nodeType==1){ad=ab.childNodes.length-1;if(!ag&amp;&amp;af){af--}ab=ab.childNodes[af&gt;ad?ad:af]}if(ab.nodeType===3&amp;&amp;ag&amp;&amp;af&gt;=ab.nodeValue.length){ab=new t(ab,aa.getBody()).next()||ab}if(ab.nodeType===3&amp;&amp;!ag&amp;&amp;af===0){ab=new t(ab,aa.getBody()).prev()||ab}return ab}function U(ak,ab,ai){var al=&quot;_mce_caret&quot;,ac=aa.settings.caret_debug;function ad(ap){var ao=c.create(&quot;span&quot;,{id:al,&quot;data-mce-bogus&quot;:true,style:ac?&quot;color:red&quot;:&quot;&quot;});if(ap){ao.appendChild(aa.getDoc().createText
 Node(G))}return ao}function aj(ap,ao){while(ap){if((ap.nodeType===3&amp;&amp;ap.nodeValue!==G)||ap.childNodes.length&gt;1){return false}if(ao&amp;&amp;ap.nodeType===1){ao.push(ap)}ap=ap.firstChild}return true}function ag(ao){while(ao){if(ao.id===al){return ao}ao=ao.parentNode}}function af(ao){var ap;if(ao){ap=new t(ao,ao);for(ao=ap.current();ao;ao=ap.next()){if(ao.nodeType===3){return ao}}}}function ae(aq,ap){var ar,ao;if(!aq){aq=ag(r.getStart());if(!aq){while(aq=c.get(al)){ae(aq,false)}}}else{ao=r.getRng(true);if(aj(aq)){if(ap!==false){ao.setStartBefore(aq);ao.setEndBefore(aq)}c.remove(aq)}else{ar=af(aq);if(ar.nodeValue.charAt(0)===G){ar=ar.deleteData(0,1)}c.remove(aq,1)}r.setRng(ao)}}function ah(){var aq,ao,av,au,ar,ap,at;aq=r.getRng(true);au=aq.startOffset;ap=aq.startContainer;at=ap.nodeValue;ao=ag(r.getStart());if(ao){av=af(ao)}if(at&amp;&amp;au&gt;0&amp;&amp;au&lt;at.length&amp;&amp;/\w/.test(at.charAt(au))&amp;&amp;/\w/.test(at.charAt(au-1))){ar=r.getBookmark();aq.coll
 apse(true);aq=p(aq,V(ab));aq=N.split(aq);Y(ab,ai,aq);r.moveToBookmark(ar)}else{if(!ao||av.nodeValue!==G){ao=ad(true);av=ao.firstChild;aq.insertNode(ao);au=1;Y(ab,ai,ao)}else{Y(ab,ai,ao)}r.setCursorLocation(av,au)}}function am(){var ao=r.getRng(true),ap,ar,av,au,aq,ay,ax=[],at,aw;ap=ao.startContainer;ar=ao.startOffset;aq=ap;if(ap.nodeType==3){if(ar!=ap.nodeValue.length||ap.nodeValue===G){au=true}aq=aq.parentNode}while(aq){if(y(aq,ab,ai)){ay=aq;break}if(aq.nextSibling){au=true}ax.push(aq);aq=aq.parentNode}if(!ay){return}if(au){av=r.getBookmark();ao.collapse(true);ao=p(ao,V(ab),true);ao=N.split(ao);B(ab,ai,ao);r.moveToBookmark(av)}else{aw=ad();aq=aw;for(at=ax.length-1;at&gt;=0;at--){aq.appendChild(c.clone(ax[at],false));aq=aq.firstChild}aq.appendChild(c.doc.createTextNode(G));aq=aq.firstChild;c.insertAfter(aw,ay);r.setCursorLocation(aq,1)}}function an(){var ap,ao,aq;ao=ag(r.getStart());if(ao&amp;&amp;!c.isEmpty(ao)){a.walk(ao,function(ar){if(ar.nodeType==1&amp;&amp;ar.id!==al&a
 mp;&amp;!c.isEmpty(ar)){c.setAttrib(ar,&quot;data-mce-bogus&quot;,null)}},&quot;childNodes&quot;)}}if(!self._hasCaretEvents){aa.onBeforeGetContent.addToTop(function(){var ao=[],ap;if(aj(ag(r.getStart()),ao)){ap=ao.length;while(ap--){c.setAttrib(ao[ap],&quot;data-mce-bogus&quot;,&quot;1&quot;)}}});a.each(&quot;onMouseUp onKeyUp&quot;.split(&quot; &quot;),function(ao){aa[ao].addToTop(function(){ae();an()})});aa.onKeyDown.addToTop(function(ao,aq){var ap=aq.keyCode;if(ap==8||ap==37||ap==39){ae(ag(r.getStart()))}an()});r.onSetContent.add(an);self._hasCaretEvents=true}if(ak==&quot;apply&quot;){ah()}else{am()}}function R(ac){var ab=ac.startContainer,ai=ac.startOffset,ae,ah,ag,ad,af;if(ab.nodeType==3&amp;&amp;ai&gt;=ab.nodeValue.length){ai=s(ab);ab=ab.parentNode;ae=true}if(ab.nodeType==1){ad=ab.childNodes;ab=ad[Math.min(ai,ad.length-1)];ah=new t(ab,c.getParent(ab,c.isBlock));if(ai&gt;ad.length-1||ae){ah.next()}for(ag=ah.current();ag;ag=ah.next()){if(ag.nodeType==3&amp;&amp;!f(ag)){a
 f=c.create(&quot;a&quot;,null,G);ag.parentNode.insertBefore(af,ag);ac.setStart(ag,0);r.setRng(ac);c.remove(af);return}}}}}})(tinymce);tinymce.onAddEditor.add(function(e,a){var d,h,g,c=a.settings;function b(j,i){e.each(i,function(l,k){if(l){g.setStyle(j,k,l)}});g.rename(j,&quot;span&quot;)}function f(i,j){g=i.dom;if(c.convert_fonts_to_spans){e.each(g.select(&quot;font,u,strike&quot;,j.node),function(k){d[k.nodeName.toLowerCase()](a.dom,k)})}}if(c.inline_styles){h=e.explode(c.font_size_legacy_values);d={font:function(j,i){b(i,{backgroundColor:i.style.backgroundColor,color:i.color,fontFamily:i.face,fontSize:h[parseInt(i.size,10)-1]})},u:function(j,i){b(i,{textDecoration:&quot;underline&quot;})},strike:function(j,i){b(i,{textDecoration:&quot;line-through&quot;})}};a.onPreProcess.add(f);a.onSetContent.add(f);a.onInit.add(function(){a.selection.onSetContent.add(f)})}});(function(b){var a=b.dom.TreeWalker;b.EnterKey=function(f){var i=f.dom,e=f.selection,d=f.settings,h=f.undoManager
 ,c=f.schema.getNonEmptyElements();function g(A){var v=e.getRng(true),G,j,z,u,p,M,B,o,k,n,t,J,x,C;function E(N){return N&amp;&amp;i.isBlock(N)&amp;&amp;!/^(TD|TH|CAPTION|FORM)$/.test(N.nodeName)&amp;&amp;!/^(fixed|absolute)/i.test(N.style.position)&amp;&amp;i.getContentEditable(N)!==&quot;true&quot;}function F(O){var N;if(b.isIE&amp;&amp;i.isBlock(O)){N=e.getRng();O.appendChild(i.create(&quot;span&quot;,null,&quot;\u00a0&quot;));e.select(O);O.lastChild.outerHTML=&quot;&quot;;e.setRng(N)}}function y(P){var O=P,Q=[],N;while(O=O.firstChild){if(i.isBlock(O)){return}if(O.nodeType==1&amp;&amp;!c[O.nodeName.toLowerCase()]){Q.push(O)}}N=Q.length;while(N--){O=Q[N];if(!O.hasChildNodes()||(O.firstChild==O.lastChild&amp;&amp;O.firstChild.nodeValue===&quot;&quot;)){i.remove(O)}else{if(O.nodeName==&quot;A&quot;&amp;&amp;(O.innerText||O.textContent)===&quot; &quot;){i.remove(O)}}}}function m(O){var T,R,N,U,S,Q=O,P;N=i.createRng();if(O.hasChildNodes()){T=new a(O,O);while(R=T.current()){if(R.
 nodeType==3){N.setStart(R,0);N.setEnd(R,0);break}if(c[R.nodeName.toLowerCase()]){N.setStartBefore(R);N.setEndBefore(R);break}Q=R;R=T.next()}if(!R){N.setStart(Q,0);N.setEnd(Q,0)}}else{if(O.nodeName==&quot;BR&quot;){if(O.nextSibling&amp;&amp;i.isBlock(O.nextSibling)){if(!M||M&lt;9){P=i.create(&quot;br&quot;);O.parentNode.insertBefore(P,O)}N.setStartBefore(O);N.setEndBefore(O)}else{N.setStartAfter(O);N.setEndAfter(O)}}else{N.setStart(O,0);N.setEnd(O,0)}}e.setRng(N);i.remove(P);S=i.getViewPort(f.getWin());U=i.getPos(O).y;if(U&lt;S.y||U+25&gt;S.y+S.h){f.getWin().scrollTo(0,U&lt;S.y?U:U-S.h+25)}}function r(O){var P=z,R,Q,N;R=O||t==&quot;TABLE&quot;?i.create(O||x):p.cloneNode(false);N=R;if(d.keep_styles!==false){do{if(/^(SPAN|STRONG|B|EM|I|FONT|STRIKE|U)$/.test(P.nodeName)){if(P.id==&quot;_mce_caret&quot;){continue}Q=P.cloneNode(false);i.setAttrib(Q,&quot;id&quot;,&quot;&quot;);if(R.hasChildNodes()){Q.appendChild(R.firstChild);R.appendChild(Q)}else{N=Q;R.appendChild(Q)}}}while(P=P.
 parentNode)}if(!b.isIE){N.innerHTML='&lt;br data-mce-bogus=&quot;1&quot;&gt;'}return R}function q(Q){var P,O,N;if(z.nodeType==3&amp;&amp;(Q?u&gt;0:u&lt;z.nodeValue.length)){return false}if(z.parentNode==p&amp;&amp;C&amp;&amp;!Q){return true}if(Q&amp;&amp;z.nodeType==1&amp;&amp;z==p.firstChild){return true}if(z.nodeName===&quot;TABLE&quot;||(z.previousSibling&amp;&amp;z.previousSibling.nodeName==&quot;TABLE&quot;)){return(C&amp;&amp;!Q)||(!C&amp;&amp;Q)}P=new a(z,p);if(z.nodeType==3){if(Q&amp;&amp;u==0){P.prev()}else{if(!Q&amp;&amp;u==z.nodeValue.length){P.next()}}}while(O=P.current()){if(O.nodeType===1){if(!O.getAttribute(&quot;data-mce-bogus&quot;)){N=O.nodeName.toLowerCase();if(c[N]&amp;&amp;N!==&quot;br&quot;){return false}}}else{if(O.nodeType===3&amp;&amp;!/^[ \t\r\n]*$/.test(O.nodeValue)){return false}}if(Q){P.prev()}else{P.next()}}return true}function l(N,T){var U,S,P,R,Q,O=x||&quot;P&quot;;S=i.getParent(N,i.isBlock);if(!S||!E(S)){S=S||j;if(!S.hasChildNodes()){U=i.crea
 te(O);S.appendChild(U);v.setStart(U,0);v.setEnd(U,0);return U}R=N;while(R.parentNode!=S){R=R.parentNode}while(R&amp;&amp;!i.isBlock(R)){P=R;R=R.previousSibling}if(P){U=i.create(O);P.parentNode.insertBefore(U,P);R=P;while(R&amp;&amp;!i.isBlock(R)){Q=R.nextSibling;U.appendChild(R);R=Q}v.setStart(N,T);v.setEnd(N,T)}}return N}function H(){function N(P){var O=n[P?&quot;firstChild&quot;:&quot;lastChild&quot;];while(O){if(O.nodeType==1){break}O=O[P?&quot;nextSibling&quot;:&quot;previousSibling&quot;]}return O===p}o=x?r(x):i.create(&quot;BR&quot;);if(N(true)&amp;&amp;N()){i.replace(o,n)}else{if(N(true)){n.parentNode.insertBefore(o,n)}else{if(N()){i.insertAfter(o,n);F(o)}else{G=v.cloneRange();G.setStartAfter(p);G.setEndAfter(n);k=G.extractContents();i.insertAfter(k,n);i.insertAfter(o,n)}}}i.remove(p);m(o);h.add()}function D(){var O=new a(z,p),N;while(N=O.current()){if(N.nodeName==&quot;BR&quot;){return true}N=O.next()}}function L(){var P,O,N;if(z&amp;&amp;z.nodeType==3&amp;&amp;u&gt;
 =z.nodeValue.length){if(!b.isIE&amp;&amp;!D()){P=i.create(&quot;br&quot;);v.insertNode(P);v.setStartAfter(P);v.setEndAfter(P);O=true}}P=i.create(&quot;br&quot;);v.insertNode(P);if(b.isIE&amp;&amp;t==&quot;PRE&quot;&amp;&amp;(!M||M&lt;8)){P.parentNode.insertBefore(i.doc.createTextNode(&quot;\r&quot;),P)}N=i.create(&quot;span&quot;,{},&quot;&amp;nbsp;&quot;);P.parentNode.insertBefore(N,P);e.scrollIntoView(N);i.remove(N);if(!O){v.setStartAfter(P);v.setEndAfter(P)}else{v.setStartBefore(P);v.setEndBefore(P)}e.setRng(v);h.add()}function s(N){do{if(N.nodeType===3){N.nodeValue=N.nodeValue.replace(/^[\r\n]+/,&quot;&quot;)}N=N.firstChild}while(N)}function K(P){var N=i.getRoot(),O,Q;O=P;while(O!==N&amp;&amp;i.getContentEditable(O)!==&quot;false&quot;){if(i.getContentEditable(O)===&quot;true&quot;){Q=O}O=O.parentNode}return O!==N?Q:N}function I(O){var N;if(!b.isIE){O.normalize();N=O.lastChild;if(!N||(/^(left|right)$/gi.test(i.getStyle(N,&quot;float&quot;,true)))){i.add(O,&quot;br&quot;)
 }}}if(!v.collapsed){f.execCommand(&quot;Delete&quot;);return}if(A.isDefaultPrevented()){return}z=v.startContainer;u=v.startOffset;x=(d.force_p_newlines?&quot;p&quot;:&quot;&quot;)||d.forced_root_block;x=x?x.toUpperCase():&quot;&quot;;M=i.doc.documentMode;B=A.shiftKey;if(z.nodeType==1&amp;&amp;z.hasChildNodes()){C=u&gt;z.childNodes.length-1;z=z.childNodes[Math.min(u,z.childNodes.length-1)]||z;if(C&amp;&amp;z.nodeType==3){u=z.nodeValue.length}else{u=0}}j=K(z);if(!j){return}h.beforeChange();if(!i.isBlock(j)&amp;&amp;j!=i.getRoot()){if(!x||B){L()}return}if((x&amp;&amp;!B)||(!x&amp;&amp;B)){z=l(z,u)}p=i.getParent(z,i.isBlock);n=p?i.getParent(p.parentNode,i.isBlock):null;t=p?p.nodeName.toUpperCase():&quot;&quot;;J=n?n.nodeName.toUpperCase():&quot;&quot;;if(J==&quot;LI&quot;&amp;&amp;!A.ctrlKey){p=n;t=J}if(t==&quot;LI&quot;){if(!x&amp;&amp;B){L();return}if(i.isEmpty(p)){if(/^(UL|OL|LI)$/.test(n.parentNode.nodeName)){return false}H();return}}if(t==&quot;PRE&quot;&amp;&amp;d.br_in_pr
 e!==false){if(!B){L();return}}else{if((!x&amp;&amp;!B&amp;&amp;t!=&quot;LI&quot;)||(x&amp;&amp;B)){L();return}}x=x||&quot;P&quot;;if(q()){if(/^(H[1-6]|PRE)$/.test(t)&amp;&amp;J!=&quot;HGROUP&quot;){o=r(x)}else{o=r()}if(d.end_container_on_empty_block&amp;&amp;E(n)&amp;&amp;i.isEmpty(p)){o=i.split(n,p)}else{i.insertAfter(o,p)}m(o)}else{if(q(true)){o=p.parentNode.insertBefore(r(),p);F(o)}else{G=v.cloneRange();G.setEndAfter(p);k=G.extractContents();s(k);o=k.firstChild;i.insertAfter(k,p);y(o);I(p);m(o)}}i.setAttrib(o,&quot;id&quot;,&quot;&quot;);h.add()}f.onKeyDown.add(function(k,j){if(j.keyCode==13){if(g(j)!==false){j.preventDefault()}}})}})(tinymce);
</del><span class="cx">\ No newline at end of file
</span><ins>+(function(e){var a=/^\s*|\s*$/g,b,d=&quot;B&quot;.replace(/A(.)|B/,&quot;$1&quot;)===&quot;$1&quot;;var c={majorVersion:&quot;3&quot;,minorVersion:&quot;5.8-wp&quot;,releaseDate:&quot;2012-12-19&quot;,_init:function(){var s=this,q=document,o=navigator,g=o.userAgent,m,f,l,k,j,r;s.isOpera=e.opera&amp;&amp;opera.buildNumber;s.isWebKit=/WebKit/.test(g);s.isIE=!s.isWebKit&amp;&amp;!s.isOpera&amp;&amp;(/MSIE/gi).test(g)&amp;&amp;(/Explorer/gi).test(o.appName);s.isIE6=s.isIE&amp;&amp;/MSIE [56]/.test(g);s.isIE7=s.isIE&amp;&amp;/MSIE [7]/.test(g);s.isIE8=s.isIE&amp;&amp;/MSIE [8]/.test(g);s.isIE9=s.isIE&amp;&amp;/MSIE [9]/.test(g);s.isGecko=!s.isWebKit&amp;&amp;/Gecko/.test(g);s.isMac=g.indexOf(&quot;Mac&quot;)!=-1;s.isAir=/adobeair/i.test(g);s.isIDevice=/(iPad|iPhone)/.test(g);s.isIOS5=s.isIDevice&amp;&amp;g.match(/AppleWebKit\/(\d*)/)[1]&gt;=534;if(e.tinyMCEPreInit){s.suffix=tinyMCEPreInit.suffix;s.baseURL=tinyMCEPreInit.base;s.query=tinyMCEPreInit.query;return}s.suffi
 x=&quot;&quot;;f=q.getElementsByTagName(&quot;base&quot;);for(m=0;m&lt;f.length;m++){r=f[m].href;if(r){if(/^https?:\/\/[^\/]+$/.test(r)){r+=&quot;/&quot;}k=r?r.match(/.*\//)[0]:&quot;&quot;}}function h(i){if(i.src&amp;&amp;/tiny_mce(|_gzip|_jquery|_prototype|_full)(_dev|_src)?.js/.test(i.src)){if(/_(src|dev)\.js/g.test(i.src)){s.suffix=&quot;_src&quot;}if((j=i.src.indexOf(&quot;?&quot;))!=-1){s.query=i.src.substring(j+1)}s.baseURL=i.src.substring(0,i.src.lastIndexOf(&quot;/&quot;));if(k&amp;&amp;s.baseURL.indexOf(&quot;://&quot;)==-1&amp;&amp;s.baseURL.indexOf(&quot;/&quot;)!==0){s.baseURL=k+s.baseURL}return s.baseURL}return null}f=q.getElementsByTagName(&quot;script&quot;);for(m=0;m&lt;f.length;m++){if(h(f[m])){return}}l=q.getElementsByTagName(&quot;head&quot;)[0];if(l){f=l.getElementsByTagName(&quot;script&quot;);for(m=0;m&lt;f.length;m++){if(h(f[m])){return}}}return},is:function(g,f){if(!f){return g!==b}if(f==&quot;array&quot;&amp;&amp;c.isArray(g)){return true}return typ
 eof(g)==f},isArray:Array.isArray||function(f){return Object.prototype.toString.call(f)===&quot;[object Array]&quot;},makeMap:function(f,j,h){var g;f=f||[];j=j||&quot;,&quot;;if(typeof(f)==&quot;string&quot;){f=f.split(j)}h=h||{};g=f.length;while(g--){h[f[g]]={}}return h},each:function(i,f,h){var j,g;if(!i){return 0}h=h||i;if(i.length!==b){for(j=0,g=i.length;j&lt;g;j++){if(f.call(h,i[j],j,i)===false){return 0}}}else{for(j in i){if(i.hasOwnProperty(j)){if(f.call(h,i[j],j,i)===false){return 0}}}}return 1},map:function(g,h){var i=[];c.each(g,function(f){i.push(h(f))});return i},grep:function(g,h){var i=[];c.each(g,function(f){if(!h||h(f)){i.push(f)}});return i},inArray:function(g,h){var j,f;if(g){for(j=0,f=g.length;j&lt;f;j++){if(g[j]===h){return j}}}return -1},extend:function(n,k){var j,f,h,g=arguments,m;for(j=1,f=g.length;j&lt;f;j++){k=g[j];for(h in k){if(k.hasOwnProperty(h)){m=k[h];if(m!==b){n[h]=m}}}}return n},trim:function(f){return(f?&quot;&quot;+f:&quot;&quot;).replace(a,
 &quot;&quot;)},create:function(o,f,j){var n=this,g,i,k,l,h,m=0;o=/^((static) )?([\w.]+)(:([\w.]+))?/.exec(o);k=o[3].match(/(^|\.)(\w+)$/i)[2];i=n.createNS(o[3].replace(/\.\w+$/,&quot;&quot;),j);if(i[k]){return}if(o[2]==&quot;static&quot;){i[k]=f;if(this.onCreate){this.onCreate(o[2],o[3],i[k])}return}if(!f[k]){f[k]=function(){};m=1}i[k]=f[k];n.extend(i[k].prototype,f);if(o[5]){g=n.resolve(o[5]).prototype;l=o[5].match(/\.(\w+)$/i)[1];h=i[k];if(m){i[k]=function(){return g[l].apply(this,arguments)}}else{i[k]=function(){this.parent=g[l];return h.apply(this,arguments)}}i[k].prototype[k]=i[k];n.each(g,function(p,q){i[k].prototype[q]=g[q]});n.each(f,function(p,q){if(g[q]){i[k].prototype[q]=function(){this.parent=g[q];return p.apply(this,arguments)}}else{if(q!=k){i[k].prototype[q]=p}}})}n.each(f[&quot;static&quot;],function(p,q){i[k][q]=p});if(this.onCreate){this.onCreate(o[2],o[3],i[k].prototype)}},walk:function(i,h,j,g){g=g||this;if(i){if(j){i=i[j]}c.each(i,function(k,f){if(h.call(
 g,k,f,j)===false){return false}c.walk(k,h,j,g)})}},createNS:function(j,h){var g,f;h=h||e;j=j.split(&quot;.&quot;);for(g=0;g&lt;j.length;g++){f=j[g];if(!h[f]){h[f]={}}h=h[f]}return h},resolve:function(j,h){var g,f;h=h||e;j=j.split(&quot;.&quot;);for(g=0,f=j.length;g&lt;f;g++){h=h[j[g]];if(!h){break}}return h},addUnload:function(j,i){var h=this,g;g=function(){var f=h.unloads,l,m;if(f){for(m in f){l=f[m];if(l&amp;&amp;l.func){l.func.call(l.scope,1)}}if(e.detachEvent){e.detachEvent(&quot;onbeforeunload&quot;,k);e.detachEvent(&quot;onunload&quot;,g)}else{if(e.removeEventListener){e.removeEventListener(&quot;unload&quot;,g,false)}}h.unloads=l=f=w=g=0;if(e.CollectGarbage){CollectGarbage()}}};function k(){var l=document;function f(){l.detachEvent(&quot;onstop&quot;,f);if(g){g()}l=0}if(l.readyState==&quot;interactive&quot;){if(l){l.attachEvent(&quot;onstop&quot;,f)}e.setTimeout(function(){if(l){l.detachEvent(&quot;onstop&quot;,f)}},0)}}j={func:j,scope:i||this};if(!h.unloads){if(e.att
 achEvent){e.attachEvent(&quot;onunload&quot;,g);e.attachEvent(&quot;onbeforeunload&quot;,k)}else{if(e.addEventListener){e.addEventListener(&quot;unload&quot;,g,false)}}h.unloads=[j]}else{h.unloads.push(j)}return j},removeUnload:function(i){var g=this.unloads,h=null;c.each(g,function(j,f){if(j&amp;&amp;j.func==i){g.splice(f,1);h=i;return false}});return h},explode:function(f,g){if(!f||c.is(f,&quot;array&quot;)){return f}return c.map(f.split(g||&quot;,&quot;),c.trim)},_addVer:function(g){var f;if(!this.query){return g}f=(g.indexOf(&quot;?&quot;)==-1?&quot;?&quot;:&quot;&amp;&quot;)+this.query;if(g.indexOf(&quot;#&quot;)==-1){return g+f}return g.replace(&quot;#&quot;,f+&quot;#&quot;)},_replace:function(h,f,g){if(d){return g.replace(h,function(){var l=f,j=arguments,k;for(k=0;k&lt;j.length-2;k++){if(j[k]===b){l=l.replace(new RegExp(&quot;\\$&quot;+k,&quot;g&quot;),&quot;&quot;)}else{l=l.replace(new RegExp(&quot;\\$&quot;+k,&quot;g&quot;),j[k])}}return l})}return g.replace(h,f)}};
 c._init();e.tinymce=e.tinyMCE=c})(window);tinymce.create(&quot;tinymce.util.Dispatcher&quot;,{scope:null,listeners:null,inDispatch:false,Dispatcher:function(a){this.scope=a||this;this.listeners=[]},add:function(b,a){this.listeners.push({cb:b,scope:a||this.scope});return b},addToTop:function(d,b){var a=this,c={cb:d,scope:b||a.scope};if(a.inDispatch){a.listeners=[c].concat(a.listeners)}else{a.listeners.unshift(c)}return d},remove:function(c){var b=this.listeners,a=null;tinymce.each(b,function(e,d){if(c==e.cb){a=e;b.splice(d,1);return false}});return a},dispatch:function(){var a=this,e,b=arguments,c,d=a.listeners,f;a.inDispatch=true;for(c=0;c&lt;d.length;c++){f=d[c];e=f.cb.apply(f.scope,b.length&gt;0?b:[f.scope]);if(e===false){break}}a.inDispatch=false;return e}});(function(){var a=tinymce.each;tinymce.create(&quot;tinymce.util.URI&quot;,{URI:function(e,g){var f=this,i,d,c,h;e=tinymce.trim(e);g=f.settings=g||{};if(/^([\w\-]+):([^\/]{2})/i.test(e)||/^\s*#/.test(e)){f.source=e;re
 turn}if(e.indexOf(&quot;/&quot;)===0&amp;&amp;e.indexOf(&quot;//&quot;)!==0){e=(g.base_uri?g.base_uri.protocol||&quot;http&quot;:&quot;http&quot;)+&quot;://mce_host&quot;+e}if(!/^[\w\-]*:?\/\//.test(e)){h=g.base_uri?g.base_uri.path:new tinymce.util.URI(location.href).directory;e=((g.base_uri&amp;&amp;g.base_uri.protocol)||&quot;http&quot;)+&quot;://mce_host&quot;+f.toAbsPath(h,e)}e=e.replace(/@@/g,&quot;(mce_at)&quot;);e=/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@\/]*):?([^:@\/]*))?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/.exec(e);a([&quot;source&quot;,&quot;protocol&quot;,&quot;authority&quot;,&quot;userInfo&quot;,&quot;user&quot;,&quot;password&quot;,&quot;host&quot;,&quot;port&quot;,&quot;relative&quot;,&quot;path&quot;,&quot;directory&quot;,&quot;file&quot;,&quot;query&quot;,&quot;anchor&quot;],function(b,j){var k=e[j];if(k){k=k.replace(/\(mce_at\)/g,&quot;@@&quot;)}f[b]=k});c=g.ba
 se_uri;if(c){if(!f.protocol){f.protocol=c.protocol}if(!f.userInfo){f.userInfo=c.userInfo}if(!f.port&amp;&amp;f.host===&quot;mce_host&quot;){f.port=c.port}if(!f.host||f.host===&quot;mce_host&quot;){f.host=c.host}f.source=&quot;&quot;}},setPath:function(c){var b=this;c=/^(.*?)\/?(\w+)?$/.exec(c);b.path=c[0];b.directory=c[1];b.file=c[2];b.source=&quot;&quot;;b.getURI()},toRelative:function(b){var d=this,f;if(b===&quot;./&quot;){return b}b=new tinymce.util.URI(b,{base_uri:d});if((b.host!=&quot;mce_host&quot;&amp;&amp;d.host!=b.host&amp;&amp;b.host)||d.port!=b.port||d.protocol!=b.protocol){return b.getURI()}var c=d.getURI(),e=b.getURI();if(c==e||(c.charAt(c.length-1)==&quot;/&quot;&amp;&amp;c.substr(0,c.length-1)==e)){return c}f=d.toRelPath(d.path,b.path);if(b.query){f+=&quot;?&quot;+b.query}if(b.anchor){f+=&quot;#&quot;+b.anchor}return f},toAbsolute:function(b,c){b=new tinymce.util.URI(b,{base_uri:this});return b.getURI(this.host==b.host&amp;&amp;this.protocol==b.protocol?c:0)},
 toRelPath:function(g,h){var c,f=0,d=&quot;&quot;,e,b;g=g.substring(0,g.lastIndexOf(&quot;/&quot;));g=g.split(&quot;/&quot;);c=h.split(&quot;/&quot;);if(g.length&gt;=c.length){for(e=0,b=g.length;e&lt;b;e++){if(e&gt;=c.length||g[e]!=c[e]){f=e+1;break}}}if(g.length&lt;c.length){for(e=0,b=c.length;e&lt;b;e++){if(e&gt;=g.length||g[e]!=c[e]){f=e+1;break}}}if(f===1){return h}for(e=0,b=g.length-(f-1);e&lt;b;e++){d+=&quot;../&quot;}for(e=f-1,b=c.length;e&lt;b;e++){if(e!=f-1){d+=&quot;/&quot;+c[e]}else{d+=c[e]}}return d},toAbsPath:function(e,f){var c,b=0,h=[],d,g;d=/\/$/.test(f)?&quot;/&quot;:&quot;&quot;;e=e.split(&quot;/&quot;);f=f.split(&quot;/&quot;);a(e,function(i){if(i){h.push(i)}});e=h;for(c=f.length-1,h=[];c&gt;=0;c--){if(f[c].length===0||f[c]===&quot;.&quot;){continue}if(f[c]===&quot;..&quot;){b++;continue}if(b&gt;0){b--;continue}h.push(f[c])}c=e.length-b;if(c&lt;=0){g=h.reverse().join(&quot;/&quot;)}else{g=e.slice(0,c).join(&quot;/&quot;)+&quot;/&quot;+h.reverse().join(&quot
 ;/&quot;)}if(g.indexOf(&quot;/&quot;)!==0){g=&quot;/&quot;+g}if(d&amp;&amp;g.lastIndexOf(&quot;/&quot;)!==g.length-1){g+=d}return g},getURI:function(d){var c,b=this;if(!b.source||d){c=&quot;&quot;;if(!d){if(b.protocol){c+=b.protocol+&quot;://&quot;}if(b.userInfo){c+=b.userInfo+&quot;@&quot;}if(b.host){c+=b.host}if(b.port){c+=&quot;:&quot;+b.port}}if(b.path){c+=b.path}if(b.query){c+=&quot;?&quot;+b.query}if(b.anchor){c+=&quot;#&quot;+b.anchor}b.source=c}return b.source}})})();(function(){var a=tinymce.each;tinymce.create(&quot;static tinymce.util.Cookie&quot;,{getHash:function(d){var b=this.get(d),c;if(b){a(b.split(&quot;&amp;&quot;),function(e){e=e.split(&quot;=&quot;);c=c||{};c[unescape(e[0])]=unescape(e[1])})}return c},setHash:function(j,b,g,f,i,c){var h=&quot;&quot;;a(b,function(e,d){h+=(!h?&quot;&quot;:&quot;&amp;&quot;)+escape(d)+&quot;=&quot;+escape(e)});this.set(j,h,g,f,i,c)},get:function(i){var h=document.cookie,g,f=i+&quot;=&quot;,d;if(!h){return}d=h.indexOf(&quot;;
  &quot;+f);if(d==-1){d=h.indexOf(f);if(d!==0){return null}}else{d+=2}g=h.indexOf(&quot;;&quot;,d);if(g==-1){g=h.length}return unescape(h.substring(d+f.length,g))},set:function(i,b,g,f,h,c){document.cookie=i+&quot;=&quot;+escape(b)+((g)?&quot;; expires=&quot;+g.toGMTString():&quot;&quot;)+((f)?&quot;; path=&quot;+escape(f):&quot;&quot;)+((h)?&quot;; domain=&quot;+h:&quot;&quot;)+((c)?&quot;; secure&quot;:&quot;&quot;)},remove:function(c,e,d){var b=new Date();b.setTime(b.getTime()-1000);this.set(c,&quot;&quot;,b,e,d)}})})();(function(){function serialize(o,quote){var i,v,t,name;quote=quote||'&quot;';if(o==null){return&quot;null&quot;}t=typeof o;if(t==&quot;string&quot;){v=&quot;\bb\tt\nn\ff\rr\&quot;\&quot;''\\\\&quot;;return quote+o.replace(/([\u0080-\uFFFF\x00-\x1f\&quot;\'\\])/g,function(a,b){if(quote==='&quot;'&amp;&amp;a===&quot;'&quot;){return a}i=v.indexOf(b);if(i+1){return&quot;\\&quot;+v.charAt(i+1)}a=b.charCodeAt().toString(16);return&quot;\\u&quot;+&quot;0000&quot;.
 substring(a.length)+a})+quote}if(t==&quot;object&quot;){if(o.hasOwnProperty&amp;&amp;Object.prototype.toString.call(o)===&quot;[object Array]&quot;){for(i=0,v=&quot;[&quot;;i&lt;o.length;i++){v+=(i&gt;0?&quot;,&quot;:&quot;&quot;)+serialize(o[i],quote)}return v+&quot;]&quot;}v=&quot;{&quot;;for(name in o){if(o.hasOwnProperty(name)){v+=typeof o[name]!=&quot;function&quot;?(v.length&gt;1?&quot;,&quot;+quote:quote)+name+quote+&quot;:&quot;+serialize(o[name],quote):&quot;&quot;}}return v+&quot;}&quot;}return&quot;&quot;+o}tinymce.util.JSON={serialize:serialize,parse:function(s){try{return eval(&quot;(&quot;+s+&quot;)&quot;)}catch(ex){}}}})();tinymce.create(&quot;static tinymce.util.XHR&quot;,{send:function(g){var a,e,b=window,h=0;function f(){if(!g.async||a.readyState==4||h++&gt;10000){if(g.success&amp;&amp;h&lt;10000&amp;&amp;a.status==200){g.success.call(g.success_scope,&quot;&quot;+a.responseText,a,g)}else{if(g.error){g.error.call(g.error_scope,h&gt;10000?&quot;TIMED_OUT&quot
 ;:&quot;GENERAL&quot;,a,g)}}a=null}else{b.setTimeout(f,10)}}g.scope=g.scope||this;g.success_scope=g.success_scope||g.scope;g.error_scope=g.error_scope||g.scope;g.async=g.async===false?false:true;g.data=g.data||&quot;&quot;;function d(i){a=0;try{a=new ActiveXObject(i)}catch(c){}return a}a=b.XMLHttpRequest?new XMLHttpRequest():d(&quot;Microsoft.XMLHTTP&quot;)||d(&quot;Msxml2.XMLHTTP&quot;);if(a){if(a.overrideMimeType){a.overrideMimeType(g.content_type)}a.open(g.type||(g.data?&quot;POST&quot;:&quot;GET&quot;),g.url,g.async);if(g.content_type){a.setRequestHeader(&quot;Content-Type&quot;,g.content_type)}a.setRequestHeader(&quot;X-Requested-With&quot;,&quot;XMLHttpRequest&quot;);a.send(g.data);if(!g.async){return f()}e=b.setTimeout(f,10)}}});(function(){var c=tinymce.extend,b=tinymce.util.JSON,a=tinymce.util.XHR;tinymce.create(&quot;tinymce.util.JSONRequest&quot;,{JSONRequest:function(d){this.settings=c({},d);this.count=0},send:function(f){var e=f.error,d=f.success;f=c(this.settin
 gs,f);f.success=function(h,g){h=b.parse(h);if(typeof(h)==&quot;undefined&quot;){h={error:&quot;JSON Parse error.&quot;}}if(h.error){e.call(f.error_scope||f.scope,h.error,g)}else{d.call(f.success_scope||f.scope,h.result)}};f.error=function(h,g){if(e){e.call(f.error_scope||f.scope,h,g)}};f.data=b.serialize({id:f.id||&quot;c&quot;+(this.count++),method:f.method,params:f.params});f.content_type=&quot;application/json&quot;;a.send(f)},&quot;static&quot;:{sendRPC:function(d){return new tinymce.util.JSONRequest().send(d)}}})}());(function(a){a.VK={BACKSPACE:8,DELETE:46,DOWN:40,ENTER:13,LEFT:37,RIGHT:39,SPACEBAR:32,TAB:9,UP:38,modifierPressed:function(b){return b.shiftKey||b.ctrlKey||b.altKey},metaKeyPressed:function(b){return a.isMac?b.metaKey:b.ctrlKey&amp;&amp;!b.altKey}}})(tinymce);tinymce.util.Quirks=function(a){var j=tinymce.VK,f=j.BACKSPACE,k=j.DELETE,e=a.dom,l=a.selection,H=a.settings,v=a.parser,o=a.serializer,E=tinymce.each;function A(N,M){try{a.getDoc().execCommand(N,false
 ,M)}catch(L){}}function n(){var L=a.getDoc().documentMode;return L?L:6}function z(L){return L.isDefaultPrevented()}function J(){function L(P){var N,S,Q,O,M,R;function T(){if(M.nodeType==3){if(P&amp;&amp;R==M.length){return true}if(!P&amp;&amp;R===0){return true}}}N=l.getRng();M=N[(P?&quot;start&quot;:&quot;end&quot;)+&quot;Container&quot;];R=N[(P?&quot;start&quot;:&quot;end&quot;)+&quot;Offset&quot;];if(M.nodeType==3){S=e.getParent(N.startContainer,e.isBlock);if(P){S=e.getNext(S,e.isBlock)}if(S&amp;&amp;T()){Q=e.create(&quot;em&quot;,{id:&quot;__mceDel&quot;});E(tinymce.grep(S.childNodes),function(U){Q.appendChild(U)});S.appendChild(Q)}}a.getDoc().execCommand(P?&quot;ForwardDelete&quot;:&quot;Delete&quot;,false,null);if(Q){O=l.getBookmark();e.remove(e.get(&quot;__mceDel&quot;),true);l.moveToBookmark(O)}}a.onKeyDown.add(function(M,O){var N;N=O.keyCode==k;if(!z(O)&amp;&amp;(N||O.keyCode==f)&amp;&amp;!j.modifierPressed(O)){O.preventDefault();L(N)}});a.addCommand(&quot;Delete&qu
 ot;,function(){L()})}function q(){function L(O){var N=e.create(&quot;body&quot;);var P=O.cloneContents();N.appendChild(P);return l.serializer.serialize(N,{format:&quot;html&quot;})}function M(N){var P=L(N);var Q=e.createRng();Q.selectNode(a.getBody());var O=L(Q);return P===O}a.onKeyDown.add(function(O,Q){var P=Q.keyCode,N;if(!z(Q)&amp;&amp;(P==k||P==f)){N=O.selection.isCollapsed();if(N&amp;&amp;!e.isEmpty(O.getBody())){return}if(tinymce.isIE&amp;&amp;!N){return}if(!N&amp;&amp;!M(O.selection.getRng())){return}O.setContent(&quot;&quot;);O.selection.setCursorLocation(O.getBody(),0);O.nodeChanged()}})}function I(){a.onKeyDown.add(function(L,M){if(!z(M)&amp;&amp;M.keyCode==65&amp;&amp;j.metaKeyPressed(M)){M.preventDefault();L.execCommand(&quot;SelectAll&quot;)}})}function K(){if(!a.settings.content_editable){e.bind(a.getDoc(),&quot;focusin&quot;,function(L){l.setRng(l.getRng())});e.bind(a.getDoc(),&quot;mousedown&quot;,function(L){if(L.target==a.getDoc().documentElement){a.getWin
 ().focus();l.setRng(l.getRng())}})}}function B(){a.onKeyDown.add(function(L,O){if(!z(O)&amp;&amp;O.keyCode===f){if(l.isCollapsed()&amp;&amp;l.getRng(true).startOffset===0){var N=l.getNode();var M=N.previousSibling;if(M&amp;&amp;M.nodeName&amp;&amp;M.nodeName.toLowerCase()===&quot;hr&quot;){e.remove(M);tinymce.dom.Event.cancel(O)}}}})}function y(){if(!Range.prototype.getClientRects){a.onMouseDown.add(function(M,N){if(!z(N)&amp;&amp;N.target.nodeName===&quot;HTML&quot;){var L=M.getBody();L.blur();setTimeout(function(){L.focus()},0)}})}}function h(){a.onClick.add(function(L,M){M=M.target;if(/^(IMG|HR)$/.test(M.nodeName)){l.getSel().setBaseAndExtent(M,0,M,1)}if(M.nodeName==&quot;A&quot;&amp;&amp;e.hasClass(M,&quot;mceItemAnchor&quot;)){l.select(M)}L.nodeChanged()})}function c(){function M(){var O=e.getAttribs(l.getStart().cloneNode(false));return function(){var P=l.getStart();if(P!==a.getBody()){e.setAttrib(P,&quot;style&quot;,null);E(O,function(Q){P.setAttributeNode(Q.cloneNode
 (true))})}}}function L(){return !l.isCollapsed()&amp;&amp;e.getParent(l.getStart(),e.isBlock)!=e.getParent(l.getEnd(),e.isBlock)}function N(O,P){P.preventDefault();return false}a.onKeyPress.add(function(O,Q){var P;if(!z(Q)&amp;&amp;(Q.keyCode==8||Q.keyCode==46)&amp;&amp;L()){P=M();O.getDoc().execCommand(&quot;delete&quot;,false,null);P();Q.preventDefault();return false}});e.bind(a.getDoc(),&quot;cut&quot;,function(P){var O;if(!z(P)&amp;&amp;L()){O=M();a.onKeyUp.addToTop(N);setTimeout(function(){O();a.onKeyUp.remove(N)},0)}})}function b(){var M,L;e.bind(a.getDoc(),&quot;selectionchange&quot;,function(){if(L){clearTimeout(L);L=0}L=window.setTimeout(function(){var N=l.getRng();if(!M||!tinymce.dom.RangeUtils.compareRanges(N,M)){a.nodeChanged();M=N}},50)})}function x(){document.body.setAttribute(&quot;role&quot;,&quot;application&quot;)}function t(){a.onKeyDown.add(function(L,N){if(!z(N)&amp;&amp;N.keyCode===f){if(l.isCollapsed()&amp;&amp;l.getRng(true).startOffset===0){var M=l.g
 etNode().previousSibling;if(M&amp;&amp;M.nodeName&amp;&amp;M.nodeName.toLowerCase()===&quot;table&quot;){return tinymce.dom.Event.cancel(N)}}}})}function C(){if(n()&gt;7){return}A(&quot;RespectVisibilityInDesign&quot;,true);a.contentStyles.push(&quot;.mceHideBrInPre pre br {display: none}&quot;);e.addClass(a.getBody(),&quot;mceHideBrInPre&quot;);v.addNodeFilter(&quot;pre&quot;,function(L,N){var O=L.length,Q,M,R,P;while(O--){Q=L[O].getAll(&quot;br&quot;);M=Q.length;while(M--){R=Q[M];P=R.prev;if(P&amp;&amp;P.type===3&amp;&amp;P.value.charAt(P.value-1)!=&quot;\n&quot;){P.value+=&quot;\n&quot;}else{R.parent.insert(new tinymce.html.Node(&quot;#text&quot;,3),R,true).value=&quot;\n&quot;}}}});o.addNodeFilter(&quot;pre&quot;,function(L,N){var O=L.length,Q,M,R,P;while(O--){Q=L[O].getAll(&quot;br&quot;);M=Q.length;while(M--){R=Q[M];P=R.prev;if(P&amp;&amp;P.type==3){P.value=P.value.replace(/\r?\n$/,&quot;&quot;)}}}})}function g(){e.bind(a.getBody(),&quot;mouseup&quot;,function(N){var M
 ,L=l.getNode();if(L.nodeName==&quot;IMG&quot;){if(M=e.getStyle(L,&quot;width&quot;)){e.setAttrib(L,&quot;width&quot;,M.replace(/[^0-9%]+/g,&quot;&quot;));e.setStyle(L,&quot;width&quot;,&quot;&quot;)}if(M=e.getStyle(L,&quot;height&quot;)){e.setAttrib(L,&quot;height&quot;,M.replace(/[^0-9%]+/g,&quot;&quot;));e.setStyle(L,&quot;height&quot;,&quot;&quot;)}}})}function d(){a.onKeyDown.add(function(R,S){var Q,L,M,O,P,T,N;Q=S.keyCode==k;if(!z(S)&amp;&amp;(Q||S.keyCode==f)&amp;&amp;!j.modifierPressed(S)){L=l.getRng();M=L.startContainer;O=L.startOffset;N=L.collapsed;if(M.nodeType==3&amp;&amp;M.nodeValue.length&gt;0&amp;&amp;((O===0&amp;&amp;!N)||(N&amp;&amp;O===(Q?0:1)))){T=M.previousSibling;if(T&amp;&amp;T.nodeName==&quot;IMG&quot;){return}nonEmptyElements=R.schema.getNonEmptyElements();S.preventDefault();P=e.create(&quot;br&quot;,{id:&quot;__tmp&quot;});M.parentNode.insertBefore(P,M);R.getDoc().execCommand(Q?&quot;ForwardDelete&quot;:&quot;Delete&quot;,false,null);M=l.getRng().star
 tContainer;T=M.previousSibling;if(T&amp;&amp;T.nodeType==1&amp;&amp;!e.isBlock(T)&amp;&amp;e.isEmpty(T)&amp;&amp;!nonEmptyElements[T.nodeName.toLowerCase()]){e.remove(T)}e.remove(&quot;__tmp&quot;)}}})}function G(){a.onKeyDown.add(function(P,Q){var N,M,R,L,O;if(z(Q)||Q.keyCode!=j.BACKSPACE){return}N=l.getRng();M=N.startContainer;R=N.startOffset;L=e.getRoot();O=M;if(!N.collapsed||R!==0){return}while(O&amp;&amp;O.parentNode&amp;&amp;O.parentNode.firstChild==O&amp;&amp;O.parentNode!=L){O=O.parentNode}if(O.tagName===&quot;BLOCKQUOTE&quot;){P.formatter.toggle(&quot;blockquote&quot;,null,O);N=e.createRng();N.setStart(M,0);N.setEnd(M,0);l.setRng(N)}})}function F(){function L(){a._refreshContentEditable();A(&quot;StyleWithCSS&quot;,false);A(&quot;enableInlineTableEditing&quot;,false);if(!H.object_resizing){A(&quot;enableObjectResizing&quot;,false)}}if(!H.readonly){a.onBeforeExecCommand.add(L);a.onMouseDown.add(L)}}function s(){function L(M,N){E(e.select(&quot;a&quot;),function(Q){va
 r O=Q.parentNode,P=e.getRoot();if(O.lastChild===Q){while(O&amp;&amp;!e.isBlock(O)){if(O.parentNode.lastChild!==O||O===P){return}O=O.parentNode}e.add(O,&quot;br&quot;,{&quot;data-mce-bogus&quot;:1})}})}a.onExecCommand.add(function(M,N){if(N===&quot;CreateLink&quot;){L(M)}});a.onSetContent.add(l.onSetContent.add(L))}function m(){if(H.forced_root_block){a.onInit.add(function(){A(&quot;DefaultParagraphSeparator&quot;,H.forced_root_block)})}}function p(){function L(N,M){if(!N||!M.initial){a.execCommand(&quot;mceRepaint&quot;)}}a.onUndo.add(L);a.onRedo.add(L);a.onSetContent.add(L)}function i(){a.onKeyDown.add(function(M,N){var L;if(!z(N)&amp;&amp;N.keyCode==f){L=M.getDoc().selection.createRange();if(L&amp;&amp;L.item){N.preventDefault();M.undoManager.beforeChange();e.remove(L.item(0));M.undoManager.add()}}})}function r(){var L;if(n()&gt;=10){L=&quot;&quot;;E(&quot;p div h1 h2 h3 h4 h5 h6&quot;.split(&quot; &quot;),function(M,N){L+=(N&gt;0?&quot;,&quot;:&quot;&quot;)+M+&quot;:empty
 &quot;});a.contentStyles.push(L+&quot;{padding-right: 1px !important}&quot;)}}function u(){var N,M,ad,L,Y,ab,Z,ac,O,P,aa,W,V,X=document,T=a.getDoc();if(!H.object_resizing||H.webkit_fake_resize===false){return}A(&quot;enableObjectResizing&quot;,false);aa={n:[0.5,0,0,-1],e:[1,0.5,1,0],s:[0.5,1,0,1],w:[0,0.5,-1,0],nw:[0,0,-1,-1],ne:[1,0,1,-1],se:[1,1,1,1],sw:[0,1,-1,1]};function R(ah){var ag,af;ag=ah.screenX-ab;af=ah.screenY-Z;W=ag*Y[2]+ac;V=af*Y[3]+O;W=W&lt;5?5:W;V=V&lt;5?5:V;if(j.modifierPressed(ah)||(ad.nodeName==&quot;IMG&quot;&amp;&amp;Y[2]*Y[3]!==0)){W=Math.round(V/P);V=Math.round(W*P)}e.setStyles(L,{width:W,height:V});if(Y[2]&lt;0&amp;&amp;L.clientWidth&lt;=W){e.setStyle(L,&quot;left&quot;,N+(ac-W))}if(Y[3]&lt;0&amp;&amp;L.clientHeight&lt;=V){e.setStyle(L,&quot;top&quot;,M+(O-V))}}function ae(){function af(ag,ah){if(ah){if(ad.style[ag]||!a.schema.isValid(ad.nodeName.toLowerCase(),ag)){e.setStyle(ad,ag,ah)}else{e.setAttrib(ad,ag,ah)}}}af(&quot;width&quot;,W);af(&quot;heig
 ht&quot;,V);e.unbind(T,&quot;mousemove&quot;,R);e.unbind(T,&quot;mouseup&quot;,ae);if(X!=T){e.unbind(X,&quot;mousemove&quot;,R);e.unbind(X,&quot;mouseup&quot;,ae)}e.remove(L);Q(ad)}function Q(ai){var ag,ah,af;S();ag=e.getPos(ai);N=ag.x;M=ag.y;ah=ai.offsetWidth;af=ai.offsetHeight;if(ad!=ai){ad=ai;W=V=0}E(aa,function(al,aj){var ak;ak=e.get(&quot;mceResizeHandle&quot;+aj);if(!ak){ak=e.add(T.documentElement,&quot;div&quot;,{id:&quot;mceResizeHandle&quot;+aj,&quot;class&quot;:&quot;mceResizeHandle&quot;,style:&quot;cursor:&quot;+aj+&quot;-resize; margin:0; padding:0&quot;});e.bind(ak,&quot;mousedown&quot;,function(am){am.preventDefault();ae();ab=am.screenX;Z=am.screenY;ac=ad.clientWidth;O=ad.clientHeight;P=O/ac;Y=al;L=ad.cloneNode(true);e.addClass(L,&quot;mceClonedResizable&quot;);e.setStyles(L,{left:N,top:M,margin:0});T.documentElement.appendChild(L);e.bind(T,&quot;mousemove&quot;,R);e.bind(T,&quot;mouseup&quot;,ae);if(X!=T){e.bind(X,&quot;mousemove&quot;,R);e.bind(X,&quot;mouse
 up&quot;,ae)}})}else{e.show(ak)}e.setStyles(ak,{left:(ah*al[0]+N)-(ak.offsetWidth/2),top:(af*al[1]+M)-(ak.offsetHeight/2)})});if(!tinymce.isOpera&amp;&amp;ad.nodeName==&quot;IMG&quot;){ad.setAttribute(&quot;data-mce-selected&quot;,&quot;1&quot;)}}function S(){if(ad){ad.removeAttribute(&quot;data-mce-selected&quot;)}for(var af in aa){e.hide(&quot;mceResizeHandle&quot;+af)}}a.contentStyles.push(&quot;.mceResizeHandle {position: absolute;border: 1px solid black;background: #FFF;width: 5px;height: 5px;z-index: 10000}.mceResizeHandle:hover {background: #000}img[data-mce-selected] {outline: 1px solid black}img.mceClonedResizable, table.mceClonedResizable {position: absolute;outline: 1px dashed black;opacity: .5;z-index: 10000}&quot;);function U(){var af=e.getParent(l.getNode(),&quot;table,img&quot;);E(e.select(&quot;img[data-mce-selected]&quot;),function(ag){ag.removeAttribute(&quot;data-mce-selected&quot;)});if(af){Q(af)}else{S()}}a.onNodeChange.add(U);e.bind(T,&quot;selectioncha
 nge&quot;,U);a.serializer.addAttributeFilter(&quot;data-mce-selected&quot;,function(af,ag){var ah=af.length;while(ah--){af[ah].attr(ag,null)}})}function D(){if(n()&lt;9){v.addNodeFilter(&quot;noscript&quot;,function(L){var M=L.length,N,O;while(M--){N=L[M];O=N.firstChild;if(O){N.attr(&quot;data-mce-innertext&quot;,O.value)}}});o.addNodeFilter(&quot;noscript&quot;,function(L){var M=L.length,N,P,O;while(M--){N=L[M];P=L[M].firstChild;if(P){P.value=tinymce.html.Entities.decode(P.value)}else{O=N.attributes.map[&quot;data-mce-innertext&quot;];if(O){N.attr(&quot;data-mce-innertext&quot;,null);P=new tinymce.html.Node(&quot;#text&quot;,3);P.value=O;P.raw=true;N.append(P)}}}})}}t();G();q();if(tinymce.isWebKit){d();J();K();h();m();if(tinymce.isIDevice){b()}else{u();I()}}if(tinymce.isIE){B();x();C();g();i();r();D()}if(tinymce.isGecko){B();y();c();F();s();p()}if(tinymce.isOpera){u()}};(function(j){var a,g,d,k=/[&amp;&lt;&gt;\&quot;\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]
 /g,b=/[&lt;&gt;&amp;\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,f=/[&lt;&gt;&amp;\&quot;\']/g,c=/&amp;(#x|#)?([\w]+);/g,i={128:&quot;\u20AC&quot;,130:&quot;\u201A&quot;,131:&quot;\u0192&quot;,132:&quot;\u201E&quot;,133:&quot;\u2026&quot;,134:&quot;\u2020&quot;,135:&quot;\u2021&quot;,136:&quot;\u02C6&quot;,137:&quot;\u2030&quot;,138:&quot;\u0160&quot;,139:&quot;\u2039&quot;,140:&quot;\u0152&quot;,142:&quot;\u017D&quot;,145:&quot;\u2018&quot;,146:&quot;\u2019&quot;,147:&quot;\u201C&quot;,148:&quot;\u201D&quot;,149:&quot;\u2022&quot;,150:&quot;\u2013&quot;,151:&quot;\u2014&quot;,152:&quot;\u02DC&quot;,153:&quot;\u2122&quot;,154:&quot;\u0161&quot;,155:&quot;\u203A&quot;,156:&quot;\u0153&quot;,158:&quot;\u017E&quot;,159:&quot;\u0178&quot;};g={'&quot;':&quot;&amp;quot;&quot;,&quot;'&quot;:&quot;&amp;#39;&quot;,&quot;&lt;&quot;:&quot;&amp;lt;&quot;,&quot;&gt;&quot;:&quot;&amp;gt;&quot;,&quot;&amp;&quot;:&quot;&amp;amp;&quot;};d={&quot;&amp;lt;&quot;:&quot;&lt;&quot
 ;,&quot;&amp;gt;&quot;:&quot;&gt;&quot;,&quot;&amp;amp;&quot;:&quot;&amp;&quot;,&quot;&amp;quot;&quot;:'&quot;',&quot;&amp;apos;&quot;:&quot;'&quot;};function h(l){var m;m=document.createElement(&quot;div&quot;);m.innerHTML=l;return m.textContent||m.innerText||l}function e(m,p){var n,o,l,q={};if(m){m=m.split(&quot;,&quot;);p=p||10;for(n=0;n&lt;m.length;n+=2){o=String.fromCharCode(parseInt(m[n],p));if(!g[o]){l=&quot;&amp;&quot;+m[n+1]+&quot;;&quot;;q[o]=l;q[l]=o}}return q}}a=e(&quot;50,nbsp,51,iexcl,52,cent,53,pound,54,curren,55,yen,56,brvbar,57,sect,58,uml,59,copy,5a,ordf,5b,laquo,5c,not,5d,shy,5e,reg,5f,macr,5g,deg,5h,plusmn,5i,sup2,5j,sup3,5k,acute,5l,micro,5m,para,5n,middot,5o,cedil,5p,sup1,5q,ordm,5r,raquo,5s,frac14,5t,frac12,5u,frac34,5v,iquest,60,Agrave,61,Aacute,62,Acirc,63,Atilde,64,Auml,65,Aring,66,AElig,67,Ccedil,68,Egrave,69,Eacute,6a,Ecirc,6b,Euml,6c,Igrave,6d,Iacute,6e,Icirc,6f,Iuml,6g,ETH,6h,Ntilde,6i,Ograve,6j,Oacute,6k,Ocirc,6l,Otilde,6m,Ouml,6n,times,6o,Osla
 sh,6p,Ugrave,6q,Uacute,6r,Ucirc,6s,Uuml,6t,Yacute,6u,THORN,6v,szlig,70,agrave,71,aacute,72,acirc,73,atilde,74,auml,75,aring,76,aelig,77,ccedil,78,egrave,79,eacute,7a,ecirc,7b,euml,7c,igrave,7d,iacute,7e,icirc,7f,iuml,7g,eth,7h,ntilde,7i,ograve,7j,oacute,7k,ocirc,7l,otilde,7m,ouml,7n,divide,7o,oslash,7p,ugrave,7q,uacute,7r,ucirc,7s,uuml,7t,yacute,7u,thorn,7v,yuml,ci,fnof,sh,Alpha,si,Beta,sj,Gamma,sk,Delta,sl,Epsilon,sm,Zeta,sn,Eta,so,Theta,sp,Iota,sq,Kappa,sr,Lambda,ss,Mu,st,Nu,su,Xi,sv,Omicron,t0,Pi,t1,Rho,t3,Sigma,t4,Tau,t5,Upsilon,t6,Phi,t7,Chi,t8,Psi,t9,Omega,th,alpha,ti,beta,tj,gamma,tk,delta,tl,epsilon,tm,zeta,tn,eta,to,theta,tp,iota,tq,kappa,tr,lambda,ts,mu,tt,nu,tu,xi,tv,omicron,u0,pi,u1,rho,u2,sigmaf,u3,sigma,u4,tau,u5,upsilon,u6,phi,u7,chi,u8,psi,u9,omega,uh,thetasym,ui,upsih,um,piv,812,bull,816,hellip,81i,prime,81j,Prime,81u,oline,824,frasl,88o,weierp,88h,image,88s,real,892,trade,89l,alefsym,8cg,larr,8ch,uarr,8ci,rarr,8cj,darr,8ck,harr,8dl,crarr,8eg,lArr,8eh,uArr,8
 ei,rArr,8ej,dArr,8ek,hArr,8g0,forall,8g2,part,8g3,exist,8g5,empty,8g7,nabla,8g8,isin,8g9,notin,8gb,ni,8gf,prod,8gh,sum,8gi,minus,8gn,lowast,8gq,radic,8gt,prop,8gu,infin,8h0,ang,8h7,and,8h8,or,8h9,cap,8ha,cup,8hb,int,8hk,there4,8hs,sim,8i5,cong,8i8,asymp,8j0,ne,8j1,equiv,8j4,le,8j5,ge,8k2,sub,8k3,sup,8k4,nsub,8k6,sube,8k7,supe,8kl,oplus,8kn,otimes,8l5,perp,8m5,sdot,8o8,lceil,8o9,rceil,8oa,lfloor,8ob,rfloor,8p9,lang,8pa,rang,9ea,loz,9j0,spades,9j3,clubs,9j5,hearts,9j6,diams,ai,OElig,aj,oelig,b0,Scaron,b1,scaron,bo,Yuml,m6,circ,ms,tilde,802,ensp,803,emsp,809,thinsp,80c,zwnj,80d,zwj,80e,lrm,80f,rlm,80j,ndash,80k,mdash,80o,lsquo,80p,rsquo,80q,sbquo,80s,ldquo,80t,rdquo,80u,bdquo,810,dagger,811,Dagger,81g,permil,81p,lsaquo,81q,rsaquo,85c,euro&quot;,32);j.html=j.html||{};j.html.Entities={encodeRaw:function(m,l){return m.replace(l?k:b,function(n){return g[n]||n})},encodeAllRaw:function(l){return(&quot;&quot;+l).replace(f,function(m){return g[m]||m})},encodeNumeric:function(m,l){retur
 n m.replace(l?k:b,function(n){if(n.length&gt;1){return&quot;&amp;#&quot;+(((n.charCodeAt(0)-55296)*1024)+(n.charCodeAt(1)-56320)+65536)+&quot;;&quot;}return g[n]||&quot;&amp;#&quot;+n.charCodeAt(0)+&quot;;&quot;})},encodeNamed:function(n,l,m){m=m||a;return n.replace(l?k:b,function(o){return g[o]||m[o]||o})},getEncodeFunc:function(l,o){var p=j.html.Entities;o=e(o)||a;function m(r,q){return r.replace(q?k:b,function(s){return g[s]||o[s]||&quot;&amp;#&quot;+s.charCodeAt(0)+&quot;;&quot;||s})}function n(r,q){return p.encodeNamed(r,q,o)}l=j.makeMap(l.replace(/\+/g,&quot;,&quot;));if(l.named&amp;&amp;l.numeric){return m}if(l.named){if(o){return n}return p.encodeNamed}if(l.numeric){return p.encodeNumeric}return p.encodeRaw},decode:function(l){return l.replace(c,function(n,m,o){if(m){o=parseInt(o,m.length===2?16:10);if(o&gt;65535){o-=65536;return String.fromCharCode(55296+(o&gt;&gt;10),56320+(o&amp;1023))}else{return i[o]||String.fromCharCode(o)}}return d[n]||a[n]||h(n)})}}})(tinymce
 );tinymce.html.Styles=function(d,f){var k=/rgb\s*\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*\)/gi,h=/(?:url(?:(?:\(\s*\&quot;([^\&quot;]+)\&quot;\s*\))|(?:\(\s*\'([^\']+)\'\s*\))|(?:\(\s*([^)\s]+)\s*\))))|(?:\'([^\']+)\')|(?:\&quot;([^\&quot;]+)\&quot;)/gi,b=/\s*([^:]+):\s*([^;]+);?/g,l=/\s+$/,m=/rgb/,e,g,a={},j;d=d||{};j=&quot;\\\&quot; \\' \\; \\: ; : \uFEFF&quot;.split(&quot; &quot;);for(g=0;g&lt;j.length;g++){a[j[g]]=&quot;\uFEFF&quot;+g;a[&quot;\uFEFF&quot;+g]=j[g]}function c(n,q,p,i){function o(r){r=parseInt(r).toString(16);return r.length&gt;1?r:&quot;0&quot;+r}return&quot;#&quot;+o(q)+o(p)+o(i)}return{toHex:function(i){return i.replace(k,c)},parse:function(s){var z={},q,n,x,r,v=d.url_converter,y=d.url_converter_scope||this;function p(D,G){var F,C,B,E;F=z[D+&quot;-top&quot;+G];if(!F){return}C=z[D+&quot;-right&quot;+G];if(F!=C){return}B=z[D+&quot;-bottom&quot;+G];if(C!=B){return}E=z[D+&quot;-left&quot;+G];if(B!=E){return}z[D+G]=E;delete z[D+&quot;-top&quot;+G];delet
 e z[D+&quot;-right&quot;+G];delete z[D+&quot;-bottom&quot;+G];delete z[D+&quot;-left&quot;+G]}function u(C){var D=z[C],B;if(!D||D.indexOf(&quot; &quot;)&lt;0){return}D=D.split(&quot; &quot;);B=D.length;while(B--){if(D[B]!==D[0]){return false}}z[C]=D[0];return true}function A(D,C,B,E){if(!u(C)){return}if(!u(B)){return}if(!u(E)){return}z[D]=z[C]+&quot; &quot;+z[B]+&quot; &quot;+z[E];delete z[C];delete z[B];delete z[E]}function t(B){r=true;return a[B]}function i(C,B){if(r){C=C.replace(/\uFEFF[0-9]/g,function(D){return a[D]})}if(!B){C=C.replace(/\\([\'\&quot;;:])/g,&quot;$1&quot;)}return C}function o(C,B,F,E,G,D){G=G||D;if(G){G=i(G);return&quot;'&quot;+G.replace(/\'/g,&quot;\\'&quot;)+&quot;'&quot;}B=i(B||F||E);if(v){B=v.call(y,B,&quot;style&quot;)}return&quot;url('&quot;+B.replace(/\'/g,&quot;\\'&quot;)+&quot;')&quot;}if(s){s=s.replace(/\\[\&quot;\';:\uFEFF]/g,t).replace(/\&quot;[^\&quot;]+\&quot;|\'[^\']+\'/g,function(B){return B.replace(/[;:]/g,t)});while(q=b.exec(s)){n=q[1].
 replace(l,&quot;&quot;).toLowerCase();x=q[2].replace(l,&quot;&quot;);if(n&amp;&amp;x.length&gt;0){if(n===&quot;font-weight&quot;&amp;&amp;x===&quot;700&quot;){x=&quot;bold&quot;}else{if(n===&quot;color&quot;||n===&quot;background-color&quot;){x=x.toLowerCase()}}x=x.replace(k,c);x=x.replace(h,o);z[n]=r?i(x,true):x}b.lastIndex=q.index+q[0].length}p(&quot;border&quot;,&quot;&quot;);p(&quot;border&quot;,&quot;-width&quot;);p(&quot;border&quot;,&quot;-color&quot;);p(&quot;border&quot;,&quot;-style&quot;);p(&quot;padding&quot;,&quot;&quot;);p(&quot;margin&quot;,&quot;&quot;);A(&quot;border&quot;,&quot;border-width&quot;,&quot;border-style&quot;,&quot;border-color&quot;);if(z.border===&quot;medium none&quot;){delete z.border}}return z},serialize:function(p,r){var o=&quot;&quot;,n,q;function i(t){var x,u,s,v;x=f.styles[t];if(x){for(u=0,s=x.length;u&lt;s;u++){t=x[u];v=p[t];if(v!==e&amp;&amp;v.length&gt;0){o+=(o.length&gt;0?&quot; &quot;:&quot;&quot;)+t+&quot;: &quot;+v+&quot;;&quot;}
 }}}if(r&amp;&amp;f&amp;&amp;f.styles){i(&quot;*&quot;);i(r)}else{for(n in p){q=p[n];if(q!==e&amp;&amp;q.length&gt;0){o+=(o.length&gt;0?&quot; &quot;:&quot;&quot;)+n+&quot;: &quot;+q+&quot;;&quot;}}}return o}}};(function(f){var a={},e=f.makeMap,g=f.each;function d(j,i){return j.split(i||&quot;,&quot;)}function h(m,l){var j,k={};function i(n){return n.replace(/[A-Z]+/g,function(o){return i(m[o])})}for(j in m){if(m.hasOwnProperty(j)){m[j]=i(m[j])}}i(l).replace(/#/g,&quot;#text&quot;).replace(/(\w+)\[([^\]]+)\]\[([^\]]*)\]/g,function(q,o,n,p){n=d(n,&quot;|&quot;);k[o]={attributes:e(n),attributesOrder:n,children:e(p,&quot;|&quot;,{&quot;#comment&quot;:{}})}});return k}function b(){var i=a.html5;if(!i){i=a.html5=h({A:&quot;id|accesskey|class|dir|draggable|item|hidden|itemprop|role|spellcheck|style|subject|title|onclick|ondblclick|onmousedown|onmouseup|onmouseover|onmousemove|onmouseout|onkeypress|onkeydown|onkeyup&quot;,B:&quot;#|a|abbr|area|audio|b|bdo|br|button|canvas|cite|code|
 command|datalist|del|dfn|em|embed|i|iframe|img|input|ins|kbd|keygen|label|link|map|mark|meta|meter|noscript|object|output|progress|q|ruby|samp|script|select|small|span|strong|sub|sup|svg|textarea|time|var|video|wbr&quot;,C:&quot;#|a|abbr|area|address|article|aside|audio|b|bdo|blockquote|br|button|canvas|cite|code|command|datalist|del|details|dfn|dialog|div|dl|em|embed|fieldset|figure|footer|form|h1|h2|h3|h4|h5|h6|header|hgroup|hr|i|iframe|img|input|ins|kbd|keygen|label|link|map|mark|menu|meta|meter|nav|noscript|ol|object|output|p|pre|progress|q|ruby|samp|script|section|select|small|span|strong|style|sub|sup|svg|table|textarea|time|ul|var|video&quot;},&quot;html[A|manifest][body|head]head[A][base|command|link|meta|noscript|script|style|title]title[A][#]base[A|href|target][]link[A|href|rel|media|type|sizes][]meta[A|http-equiv|name|content|charset][]style[A|type|media|scoped][#]script[A|charset|type|src|defer|async][#]noscript[A][C]body[A][C]section[A][C]nav[A][C]article[A][C]a
 side[A][C]h1[A][B]h2[A][B]h3[A][B]h4[A][B]h5[A][B]h6[A][B]hgroup[A][h1|h2|h3|h4|h5|h6]header[A][C]footer[A][C]address[A][C]p[A][B]br[A][]pre[A][B]dialog[A][dd|dt]blockquote[A|cite][C]ol[A|start|reversed][li]ul[A][li]li[A|value][C]dl[A][dd|dt]dt[A][B]dd[A][C]a[A|href|target|ping|rel|media|type][B]em[A][B]strong[A][B]small[A][B]cite[A][B]q[A|cite][B]dfn[A][B]abbr[A][B]code[A][B]var[A][B]samp[A][B]kbd[A][B]sub[A][B]sup[A][B]i[A][B]b[A][B]mark[A][B]progress[A|value|max][B]meter[A|value|min|max|low|high|optimum][B]time[A|datetime][B]ruby[A][B|rt|rp]rt[A][B]rp[A][B]bdo[A][B]span[A][B]ins[A|cite|datetime][B]del[A|cite|datetime][B]figure[A][C|legend|figcaption]figcaption[A][C]img[A|alt|src|height|width|usemap|ismap][]iframe[A|name|src|height|width|sandbox|seamless][]embed[A|src|height|width|type][]object[A|data|type|height|width|usemap|name|form|classid][param]param[A|name|value][]details[A|open][C|legend]command[A|type|label|icon|disabled|checked|radiogroup][]menu[A|type|label][C|l
 i]legend[A][C|B]div[A][C]source[A|src|type|media][]audio[A|src|autobuffer|autoplay|loop|controls][source]video[A|src|autobuffer|autoplay|loop|controls|width|height|poster][source]hr[A][]form[A|accept-charset|action|autocomplete|enctype|method|name|novalidate|target][C]fieldset[A|disabled|form|name][C|legend]label[A|form|for][B]input[A|type|accept|alt|autocomplete|autofocus|checked|disabled|form|formaction|formenctype|formmethod|formnovalidate|formtarget|height|list|max|maxlength|min|multiple|pattern|placeholder|readonly|required|size|src|step|width|files|value|name][]button[A|autofocus|disabled|form|formaction|formenctype|formmethod|formnovalidate|formtarget|name|value|type][B]select[A|autofocus|disabled|form|multiple|name|size][option|optgroup]datalist[A][B|option]optgroup[A|disabled|label][option]option[A|disabled|selected|label|value][]textarea[A|autofocus|disabled|form|maxlength|name|placeholder|readonly|required|rows|cols|wrap][]keygen[A|autofocus|challenge|disabled|for
 m|keytype|name][]output[A|for|form|name][B]canvas[A|width|height][]map[A|name][B|C]area[A|shape|coords|href|alt|target|media|rel|ping|type][]mathml[A][]svg[A][]table[A|border][caption|colgroup|thead|tfoot|tbody|tr]caption[A][C]colgroup[A|span][col]col[A|span][]thead[A][tr]tfoot[A][tr]tbody[A][tr]tr[A][th|td]th[A|headers|rowspan|colspan|scope][B]td[A|headers|rowspan|colspan][C]wbr[A][]&quot;)}return i}function c(){var i=a.html4;if(!i){i=a.html4=h({Z:&quot;H|K|N|O|P&quot;,Y:&quot;X|form|R|Q&quot;,ZG:&quot;E|span|width|align|char|charoff|valign&quot;,X:&quot;p|T|div|U|W|isindex|fieldset|table&quot;,ZF:&quot;E|align|char|charoff|valign&quot;,W:&quot;pre|hr|blockquote|address|center|noframes&quot;,ZE:&quot;abbr|axis|headers|scope|rowspan|colspan|align|char|charoff|valign|nowrap|bgcolor|width|height&quot;,ZD:&quot;[E][S]&quot;,U:&quot;ul|ol|dl|menu|dir&quot;,ZC:&quot;p|Y|div|U|W|table|br|span|bdo|object|applet|img|map|K|N|Q&quot;,T:&quot;h1|h2|h3|h4|h5|h6&quot;,ZB:&quot;X|S|Q&quot
 ;,S:&quot;R|P&quot;,ZA:&quot;a|G|J|M|O|P&quot;,R:&quot;a|H|K|N|O&quot;,Q:&quot;noscript|P&quot;,P:&quot;ins|del|script&quot;,O:&quot;input|select|textarea|label|button&quot;,N:&quot;M|L&quot;,M:&quot;em|strong|dfn|code|q|samp|kbd|var|cite|abbr|acronym&quot;,L:&quot;sub|sup&quot;,K:&quot;J|I&quot;,J:&quot;tt|i|b|u|s|strike&quot;,I:&quot;big|small|font|basefont&quot;,H:&quot;G|F&quot;,G:&quot;br|span|bdo&quot;,F:&quot;object|applet|img|map|iframe&quot;,E:&quot;A|B|C&quot;,D:&quot;accesskey|tabindex|onfocus|onblur&quot;,C:&quot;onclick|ondblclick|onmousedown|onmouseup|onmouseover|onmousemove|onmouseout|onkeypress|onkeydown|onkeyup&quot;,B:&quot;lang|xml:lang|dir&quot;,A:&quot;id|class|style|title&quot;},&quot;script[id|charset|type|language|src|defer|xml:space][]style[B|id|type|media|title|xml:space][]object[E|declare|classid|codebase|data|type|codetype|archive|standby|width|height|usemap|name|tabindex|align|border|hspace|vspace][#|param|Y]param[id|name|value|valuetype|type][]p
 [E|align][#|S]a[E|D|charset|type|name|href|hreflang|rel|rev|shape|coords|target][#|Z]br[A|clear][]span[E][#|S]bdo[A|C|B][#|S]applet[A|codebase|archive|code|object|alt|name|width|height|align|hspace|vspace][#|param|Y]h1[E|align][#|S]img[E|src|alt|name|longdesc|width|height|usemap|ismap|align|border|hspace|vspace][]map[B|C|A|name][X|form|Q|area]h2[E|align][#|S]iframe[A|longdesc|name|src|frameborder|marginwidth|marginheight|scrolling|align|width|height][#|Y]h3[E|align][#|S]tt[E][#|S]i[E][#|S]b[E][#|S]u[E][#|S]s[E][#|S]strike[E][#|S]big[E][#|S]small[E][#|S]font[A|B|size|color|face][#|S]basefont[id|size|color|face][]em[E][#|S]strong[E][#|S]dfn[E][#|S]code[E][#|S]q[E|cite][#|S]samp[E][#|S]kbd[E][#|S]var[E][#|S]cite[E][#|S]abbr[E][#|S]acronym[E][#|S]sub[E][#|S]sup[E][#|S]input[E|D|type|name|value|checked|disabled|readonly|size|maxlength|src|alt|usemap|onselect|onchange|accept|align][]select[E|name|size|multiple|disabled|tabindex|onfocus|onblur|onchange][optgroup|option]optgroup[E|d
 isabled|label][option]option[E|selected|disabled|label|value][]textarea[E|D|name|rows|cols|disabled|readonly|onselect|onchange][]label[E|for|accesskey|onfocus|onblur][#|S]button[E|D|name|value|type|disabled][#|p|T|div|U|W|table|G|object|applet|img|map|K|N|Q]h4[E|align][#|S]ins[E|cite|datetime][#|Y]h5[E|align][#|S]del[E|cite|datetime][#|Y]h6[E|align][#|S]div[E|align][#|Y]ul[E|type|compact][li]li[E|type|value][#|Y]ol[E|type|compact|start][li]dl[E|compact][dt|dd]dt[E][#|S]dd[E][#|Y]menu[E|compact][li]dir[E|compact][li]pre[E|width|xml:space][#|ZA]hr[E|align|noshade|size|width][]blockquote[E|cite][#|Y]address[E][#|S|p]center[E][#|Y]noframes[E][#|Y]isindex[A|B|prompt][]fieldset[E][#|legend|Y]legend[E|accesskey|align][#|S]table[E|summary|width|border|frame|rules|cellspacing|cellpadding|align|bgcolor][caption|col|colgroup|thead|tfoot|tbody|tr]caption[E|align][#|S]col[ZG][]colgroup[ZG][col]thead[ZF][tr]tr[ZF|bgcolor][th|td]th[E|ZE][#|Y]form[E|action|method|name|enctype|onsubmit|onres
 et|accept|accept-charset|target][#|X|R|Q]noscript[E][#|Y]td[E|ZE][#|Y]tfoot[ZF][tr]tbody[ZF][tr]area[E|D|shape|coords|href|nohref|alt|target][]base[id|href|target][]body[E|onload|onunload|background|bgcolor|text|link|vlink|alink][#|Y]&quot;)}return i}f.html.Schema=function(A){var u=this,s={},k={},j=[],D,y;var o,q,z,r,v,n,p={};function m(F,E,H){var G=A[F];if(!G){G=a[F];if(!G){G=e(E,&quot; &quot;,e(E.toUpperCase(),&quot; &quot;));G=f.extend(G,H);a[F]=G}}else{G=e(G,&quot;,&quot;,e(G.toUpperCase(),&quot; &quot;))}return G}A=A||{};y=A.schema==&quot;html5&quot;?b():c();if(A.verify_html===false){A.valid_elements=&quot;*[*]&quot;}if(A.valid_styles){D={};g(A.valid_styles,function(F,E){D[E]=f.explode(F)})}o=m(&quot;whitespace_elements&quot;,&quot;pre script noscript style textarea&quot;);q=m(&quot;self_closing_elements&quot;,&quot;colgroup dd dt li option p td tfoot th thead tr&quot;);z=m(&quot;short_ended_elements&quot;,&quot;area base basefont br col frame hr img input isindex link 
 meta param embed source wbr&quot;);r=m(&quot;boolean_attributes&quot;,&quot;checked compact declare defer disabled ismap multiple nohref noresize noshade nowrap readonly selected autoplay loop controls&quot;);n=m(&quot;non_empty_elements&quot;,&quot;td th iframe video audio object&quot;,z);textBlockElementsMap=m(&quot;text_block_elements&quot;,&quot;h1 h2 h3 h4 h5 h6 p div address pre form blockquote center dir fieldset header footer article section hgroup aside nav figure&quot;);v=m(&quot;block_elements&quot;,&quot;hr table tbody thead tfoot th tr td li ol ul caption dl dt dd noscript menu isindex samp option datalist select optgroup&quot;,textBlockElementsMap);function i(E){return new RegExp(&quot;^&quot;+E.replace(/([?+*])/g,&quot;.$1&quot;)+&quot;$&quot;)}function C(L){var K,G,Z,V,aa,F,I,U,X,Q,Y,ac,O,J,W,E,S,H,ab,ad,P,T,N=/^([#+\-])?([^\[\/]+)(?:\/([^\[]+))?(?:\[([^\]]+)\])?$/,R=/^([!\-])?(\w+::\w+|[^=:&lt;]+)?(?:([=:&lt;])(.*))?$/,M=/[*?+]/;if(L){L=d(L);if(s[&quot;@&quo
 t;]){S=s[&quot;@&quot;].attributes;H=s[&quot;@&quot;].attributesOrder}for(K=0,G=L.length;K&lt;G;K++){F=N.exec(L[K]);if(F){W=F[1];Q=F[2];E=F[3];X=F[4];O={};J=[];I={attributes:O,attributesOrder:J};if(W===&quot;#&quot;){I.paddEmpty=true}if(W===&quot;-&quot;){I.removeEmpty=true}if(S){for(ad in S){O[ad]=S[ad]}J.push.apply(J,H)}if(X){X=d(X,&quot;|&quot;);for(Z=0,V=X.length;Z&lt;V;Z++){F=R.exec(X[Z]);if(F){U={};ac=F[1];Y=F[2].replace(/::/g,&quot;:&quot;);W=F[3];T=F[4];if(ac===&quot;!&quot;){I.attributesRequired=I.attributesRequired||[];I.attributesRequired.push(Y);U.required=true}if(ac===&quot;-&quot;){delete O[Y];J.splice(f.inArray(J,Y),1);continue}if(W){if(W===&quot;=&quot;){I.attributesDefault=I.attributesDefault||[];I.attributesDefault.push({name:Y,value:T});U.defaultValue=T}if(W===&quot;:&quot;){I.attributesForced=I.attributesForced||[];I.attributesForced.push({name:Y,value:T});U.forcedValue=T}if(W===&quot;&lt;&quot;){U.validValues=e(T,&quot;?&quot;)}}if(M.test(Y)){I.attribute
 Patterns=I.attributePatterns||[];U.pattern=i(Y);I.attributePatterns.push(U)}else{if(!O[Y]){J.push(Y)}O[Y]=U}}}}if(!S&amp;&amp;Q==&quot;@&quot;){S=O;H=J}if(E){I.outputName=Q;s[E]=I}if(M.test(Q)){I.pattern=i(Q);j.push(I)}else{s[Q]=I}}}}}function t(E){s={};j=[];C(E);g(y,function(G,F){k[F]=G.children})}function l(F){var E=/^(~)?(.+)$/;if(F){g(d(F),function(J){var H=E.exec(J),I=H[1]===&quot;~&quot;,K=I?&quot;span&quot;:&quot;div&quot;,G=H[2];k[G]=k[K];p[G]=K;if(!I){v[G.toUpperCase()]={};v[G]={}}if(!s[G]){s[G]=s[K]}g(k,function(L,M){if(L[K]){L[G]=L[K]}})})}}function x(F){var E=/^([+\-]?)(\w+)\[([^\]]+)\]$/;if(F){g(d(F),function(J){var I=E.exec(J),G,H;if(I){H=I[1];if(H){G=k[I[2]]}else{G=k[I[2]]={&quot;#comment&quot;:{}}}G=k[I[2]];g(d(I[3],&quot;|&quot;),function(K){if(H===&quot;-&quot;){delete G[K]}else{G[K]={}}})}})}}function B(E){var G=s[E],F;if(G){return G}F=j.length;while(F--){G=j[F];if(G.pattern.test(E)){return G}}}if(!A.valid_elements){g(y,function(F,E){s[E]={attributes:F.att
 ributes,attributesOrder:F.attributesOrder};k[E]=F.children});if(A.schema!=&quot;html5&quot;){g(d(&quot;strong/b,em/i&quot;),function(E){E=d(E,&quot;/&quot;);s[E[1]].outputName=E[0]})}s.img.attributesDefault=[{name:&quot;alt&quot;,value:&quot;&quot;}];g(d(&quot;ol,ul,sub,sup,blockquote,span,font,a,table,tbody,tr,strong,em,b,i&quot;),function(E){if(s[E]){s[E].removeEmpty=true}});g(d(&quot;p,h1,h2,h3,h4,h5,h6,th,td,pre,div,address,caption&quot;),function(E){s[E].paddEmpty=true})}else{t(A.valid_elements)}l(A.custom_elements);x(A.valid_children);C(A.extended_valid_elements);x(&quot;+ol[ul|ol],+ul[ul|ol]&quot;);if(A.invalid_elements){f.each(f.explode(A.invalid_elements),function(E){if(s[E]){delete s[E]}})}if(!B(&quot;span&quot;)){C(&quot;span[!data-mce-type|*]&quot;)}u.children=k;u.styles=D;u.getBoolAttrs=function(){return r};u.getBlockElements=function(){return v};u.getTextBlockElements=function(){return textBlockElementsMap};u.getShortEndedElements=function(){return z};u.getSelf
 ClosingElements=function(){return q};u.getNonEmptyElements=function(){return n};u.getWhiteSpaceElements=function(){return o};u.isValidChild=function(E,G){var F=k[E];return !!(F&amp;&amp;F[G])};u.isValid=function(F,E){var H,G,I=B(F);if(I){if(E){if(I.attributes[E]){return true}H=I.attributePatterns;if(H){G=H.length;while(G--){if(H[G].pattern.test(F)){return true}}}}else{return true}}return false};u.getElementRule=B;u.getCustomElements=function(){return p};u.addValidElements=C;u.setValidElements=t;u.addCustomElements=l;u.addValidChildren=x;u.elements=s}})(tinymce);(function(a){a.html.SaxParser=function(c,e){var b=this,d=function(){};c=c||{};b.schema=e=e||new a.html.Schema();if(c.fix_self_closing!==false){c.fix_self_closing=true}a.each(&quot;comment cdata text start end pi doctype&quot;.split(&quot; &quot;),function(f){if(f){b[f]=c[f]||d}});b.parse=function(E){var n=this,g,G=0,I,B,A=[],N,Q,C,r,z,s,M,H,O,v,m,k,t,R,o,P,F,S,L,f,J,l,D,K,h,x=0,j=a.html.Entities.decode,y,q;function u(
 T){var V,U;V=A.length;while(V--){if(A[V].name===T){break}}if(V&gt;=0){for(U=A.length-1;U&gt;=V;U--){T=A[U];if(T.valid){n.end(T.name)}}A.length=V}}function p(U,T,Y,X,W){var Z,V;T=T.toLowerCase();Y=T in H?T:j(Y||X||W||&quot;&quot;);if(v&amp;&amp;!z&amp;&amp;T.indexOf(&quot;data-&quot;)!==0){Z=P[T];if(!Z&amp;&amp;F){V=F.length;while(V--){Z=F[V];if(Z.pattern.test(T)){break}}if(V===-1){Z=null}}if(!Z){return}if(Z.validValues&amp;&amp;!(Y in Z.validValues)){return}}N.map[T]=Y;N.push({name:T,value:Y})}l=new RegExp(&quot;&lt;(?:(?:!--([\\w\\W]*?)--&gt;)|(?:!\\[CDATA\\[([\\w\\W]*?)\\]\\]&gt;)|(?:!DOCTYPE([\\w\\W]*?)&gt;)|(?:\\?([^\\s\\/&lt;&gt;]+) ?([\\w\\W]*?)[?/]&gt;)|(?:\\/([^&gt;]+)&gt;)|(?:([A-Za-z0-9\\-\\:\\.]+)((?:\\s+[^\&quot;'&gt;]+(?:(?:\&quot;[^\&quot;]*\&quot;)|(?:'[^']*')|[^&gt;]*))*|\\/|\\s+)&gt;))&quot;,&quot;g&quot;);D=/([\w:\-]+)(?:\s*=\s*(?:(?:\&quot;((?:[^\&quot;])*)\&quot;)|(?:\'((?:[^\'])*)\')|([^&gt;\s]+)))?/g;K={script:/&lt;\/script[^&gt;]*&gt;/gi,style:/&lt;\/s
 tyle[^&gt;]*&gt;/gi,noscript:/&lt;\/noscript[^&gt;]*&gt;/gi};M=e.getShortEndedElements();J=c.self_closing_elements||e.getSelfClosingElements();H=e.getBoolAttrs();v=c.validate;s=c.remove_internals;y=c.fix_self_closing;q=a.isIE;o=/^:/;while(g=l.exec(E)){if(G&lt;g.index){n.text(j(E.substr(G,g.index-G)))}if(I=g[6]){I=I.toLowerCase();if(q&amp;&amp;o.test(I)){I=I.substr(1)}u(I)}else{if(I=g[7]){I=I.toLowerCase();if(q&amp;&amp;o.test(I)){I=I.substr(1)}O=I in M;if(y&amp;&amp;J[I]&amp;&amp;A.length&gt;0&amp;&amp;A[A.length-1].name===I){u(I)}if(!v||(m=e.getElementRule(I))){k=true;if(v){P=m.attributes;F=m.attributePatterns}if(R=g[8]){z=R.indexOf(&quot;data-mce-type&quot;)!==-1;if(z&amp;&amp;s){k=false}N=[];N.map={};R.replace(D,p)}else{N=[];N.map={}}if(v&amp;&amp;!z){S=m.attributesRequired;L=m.attributesDefault;f=m.attributesForced;if(f){Q=f.length;while(Q--){t=f[Q];r=t.name;h=t.value;if(h===&quot;{$uid}&quot;){h=&quot;mce_&quot;+x++}N.map[r]=h;N.push({name:r,value:h})}}if(L){Q=L.length;
 while(Q--){t=L[Q];r=t.name;if(!(r in N.map)){h=t.value;if(h===&quot;{$uid}&quot;){h=&quot;mce_&quot;+x++}N.map[r]=h;N.push({name:r,value:h})}}}if(S){Q=S.length;while(Q--){if(S[Q] in N.map){break}}if(Q===-1){k=false}}if(N.map[&quot;data-mce-bogus&quot;]){k=false}}if(k){n.start(I,N,O)}}else{k=false}if(B=K[I]){B.lastIndex=G=g.index+g[0].length;if(g=B.exec(E)){if(k){C=E.substr(G,g.index-G)}G=g.index+g[0].length}else{C=E.substr(G);G=E.length}if(k&amp;&amp;C.length&gt;0){n.text(C,true)}if(k){n.end(I)}l.lastIndex=G;continue}if(!O){if(!R||R.indexOf(&quot;/&quot;)!=R.length-1){A.push({name:I,valid:k})}else{if(k){n.end(I)}}}}else{if(I=g[1]){n.comment(I)}else{if(I=g[2]){n.cdata(I)}else{if(I=g[3]){n.doctype(I)}else{if(I=g[4]){n.pi(I,g[5])}}}}}}G=g.index+g[0].length}if(G&lt;E.length){n.text(j(E.substr(G)))}for(Q=A.length-1;Q&gt;=0;Q--){I=A[Q];if(I.valid){n.end(I.name)}}}}})(tinymce);(function(d){var c=/^[ \t\r\n]*$/,e={&quot;#text&quot;:3,&quot;#comment&quot;:8,&quot;#cdata&quot;:4,&quot
 ;#pi&quot;:7,&quot;#doctype&quot;:10,&quot;#document-fragment&quot;:11};function a(k,l,j){var i,h,f=j?&quot;lastChild&quot;:&quot;firstChild&quot;,g=j?&quot;prev&quot;:&quot;next&quot;;if(k[f]){return k[f]}if(k!==l){i=k[g];if(i){return i}for(h=k.parent;h&amp;&amp;h!==l;h=h.parent){i=h[g];if(i){return i}}}}function b(f,g){this.name=f;this.type=g;if(g===1){this.attributes=[];this.attributes.map={}}}d.extend(b.prototype,{replace:function(g){var f=this;if(g.parent){g.remove()}f.insert(g,f);f.remove();return f},attr:function(h,l){var f=this,g,j,k;if(typeof h!==&quot;string&quot;){for(j in h){f.attr(j,h[j])}return f}if(g=f.attributes){if(l!==k){if(l===null){if(h in g.map){delete g.map[h];j=g.length;while(j--){if(g[j].name===h){g=g.splice(j,1);return f}}}return f}if(h in g.map){j=g.length;while(j--){if(g[j].name===h){g[j].value=l;break}}}else{g.push({name:h,value:l})}g.map[h]=l;return f}else{return g.map[h]}}},clone:function(){var g=this,n=new b(g.name,g.type),h,f,m,j,k;if(m=g.attr
 ibutes){k=[];k.map={};for(h=0,f=m.length;h&lt;f;h++){j=m[h];if(j.name!==&quot;id&quot;){k[k.length]={name:j.name,value:j.value};k.map[j.name]=j.value}}n.attributes=k}n.value=g.value;n.shortEnded=g.shortEnded;return n},wrap:function(g){var f=this;f.parent.insert(g,f);g.append(f);return f},unwrap:function(){var f=this,h,g;for(h=f.firstChild;h;){g=h.next;f.insert(h,f,true);h=g}f.remove()},remove:function(){var f=this,h=f.parent,g=f.next,i=f.prev;if(h){if(h.firstChild===f){h.firstChild=g;if(g){g.prev=null}}else{i.next=g}if(h.lastChild===f){h.lastChild=i;if(i){i.next=null}}else{g.prev=i}f.parent=f.next=f.prev=null}return f},append:function(h){var f=this,g;if(h.parent){h.remove()}g=f.lastChild;if(g){g.next=h;h.prev=g;f.lastChild=h}else{f.lastChild=f.firstChild=h}h.parent=f;return h},insert:function(h,f,i){var g;if(h.parent){h.remove()}g=f.parent||this;if(i){if(f===g.firstChild){g.firstChild=h}else{f.prev.next=h}h.prev=f.prev;h.next=f;f.prev=h}else{if(f===g.lastChild){g.lastChild=h
 }else{f.next.prev=h}h.next=f.next;h.prev=f;f.next=h}h.parent=g;return h},getAll:function(g){var f=this,h,i=[];for(h=f.firstChild;h;h=a(h,f)){if(h.name===g){i.push(h)}}return i},empty:function(){var g=this,f,h,j;if(g.firstChild){f=[];for(j=g.firstChild;j;j=a(j,g)){f.push(j)}h=f.length;while(h--){j=f[h];j.parent=j.firstChild=j.lastChild=j.next=j.prev=null}}g.firstChild=g.lastChild=null;return g},isEmpty:function(k){var f=this,j=f.firstChild,h,g;if(j){do{if(j.type===1){if(j.attributes.map[&quot;data-mce-bogus&quot;]){continue}if(k[j.name]){return false}h=j.attributes.length;while(h--){g=j.attributes[h].name;if(g===&quot;name&quot;||g.indexOf(&quot;data-mce-&quot;)===0){return false}}}if(j.type===8){return false}if((j.type===3&amp;&amp;!c.test(j.value))){return false}}while(j=a(j,f))}return true},walk:function(f){return a(this,null,f)}});d.extend(b,{create:function(g,f){var i,h;i=new b(g,e[g]||1);if(f){for(h in f){i.attr(h,f[h])}}return i}});d.html.Node=b})(tinymce);(function(b)
 {var a=b.html.Node;b.html.DomParser=function(g,h){var f=this,e={},d=[],i={},c={};g=g||{};g.validate=&quot;validate&quot; in g?g.validate:true;g.root_name=g.root_name||&quot;body&quot;;f.schema=h=h||new b.html.Schema();function j(n){var p,q,y,x,A,o,r,l,u,v,k,t,m,z,s;t=b.makeMap(&quot;tr,td,th,tbody,thead,tfoot,table&quot;);k=h.getNonEmptyElements();m=h.getTextBlockElements();for(p=0;p&lt;n.length;p++){q=n[p];if(!q.parent||q.fixed){continue}if(m[q.name]&amp;&amp;q.parent.name==&quot;li&quot;){z=q.next;while(z){if(m[z.name]){z.name=&quot;li&quot;;z.fixed=true;q.parent.insert(z,q.parent)}else{break}z=z.next}q.unwrap(q);continue}x=[q];for(y=q.parent;y&amp;&amp;!h.isValidChild(y.name,q.name)&amp;&amp;!t[y.name];y=y.parent){x.push(y)}if(y&amp;&amp;x.length&gt;1){x.reverse();A=o=f.filterNode(x[0].clone());for(u=0;u&lt;x.length-1;u++){if(h.isValidChild(o.name,x[u].name)){r=f.filterNode(x[u].clone());o.append(r)}else{r=o}for(l=x[u].firstChild;l&amp;&amp;l!=x[u+1];){s=l.next;r.append(l
 );l=s}o=r}if(!A.isEmpty(k)){y.insert(A,x[0],true);y.insert(q,A)}else{y.insert(q,x[0],true)}y=x[0];if(y.isEmpty(k)||y.firstChild===y.lastChild&amp;&amp;y.firstChild.name===&quot;br&quot;){y.empty().remove()}}else{if(q.parent){if(q.name===&quot;li&quot;){z=q.prev;if(z&amp;&amp;(z.name===&quot;ul&quot;||z.name===&quot;ul&quot;)){z.append(q);continue}z=q.next;if(z&amp;&amp;(z.name===&quot;ul&quot;||z.name===&quot;ul&quot;)){z.insert(q,z.firstChild,true);continue}q.wrap(f.filterNode(new a(&quot;ul&quot;,1)));continue}if(h.isValidChild(q.parent.name,&quot;div&quot;)&amp;&amp;h.isValidChild(&quot;div&quot;,q.name)){q.wrap(f.filterNode(new a(&quot;div&quot;,1)))}else{if(q.name===&quot;style&quot;||q.name===&quot;script&quot;){q.empty().remove()}else{q.unwrap()}}}}}}f.filterNode=function(m){var l,k,n;if(k in e){n=i[k];if(n){n.push(m)}else{i[k]=[m]}}l=d.length;while(l--){k=d[l].name;if(k in m.attributes.map){n=c[k];if(n){n.push(m)}else{c[k]=[m]}}}return m};f.addNodeFilter=function(k,l
 ){b.each(b.explode(k),function(m){var n=e[m];if(!n){e[m]=n=[]}n.push(l)})};f.addAttributeFilter=function(k,l){b.each(b.explode(k),function(m){var n;for(n=0;n&lt;d.length;n++){if(d[n].name===m){d[n].callbacks.push(l);return}}d.push({name:m,callbacks:[l]})})};f.parse=function(v,m){var n,J,B,A,D,C,x,r,F,N,z,o,E,M=[],L,t,k,y,s,p,u,q;m=m||{};i={};c={};o=b.extend(b.makeMap(&quot;script,style,head,html,body,title,meta,param&quot;),h.getBlockElements());u=h.getNonEmptyElements();p=h.children;z=g.validate;q=&quot;forced_root_block&quot; in m?m.forced_root_block:g.forced_root_block;s=h.getWhiteSpaceElements();E=/^[ \t\r\n]+/;t=/[ \t\r\n]+$/;k=/[ \t\r\n]+/g;y=/^[ \t\r\n]+$/;function G(){var O=J.firstChild,l,P;while(O){l=O.next;if(O.type==3||(O.type==1&amp;&amp;O.name!==&quot;p&quot;&amp;&amp;!o[O.name]&amp;&amp;!O.attr(&quot;data-mce-type&quot;))){if(!P){P=K(q,1);J.insert(P,O);P.append(O)}else{P.append(O)}}else{P=null}O=l}}function K(l,O){var P=new a(l,O),Q;if(l in e){Q=i[l];if(Q){Q.pu
 sh(P)}else{i[l]=[P]}}return P}function I(P){var Q,l,O;for(Q=P.prev;Q&amp;&amp;Q.type===3;){l=Q.value.replace(t,&quot;&quot;);if(l.length&gt;0){Q.value=l;Q=Q.prev}else{O=Q.prev;Q.remove();Q=O}}}function H(O){var P,l={};for(P in O){if(P!==&quot;li&quot;&amp;&amp;P!=&quot;p&quot;){l[P]=O[P]}}return l}n=new b.html.SaxParser({validate:z,self_closing_elements:H(h.getSelfClosingElements()),cdata:function(l){B.append(K(&quot;#cdata&quot;,4)).value=l},text:function(P,l){var O;if(!L){P=P.replace(k,&quot; &quot;);if(B.lastChild&amp;&amp;o[B.lastChild.name]){P=P.replace(E,&quot;&quot;)}}if(P.length!==0){O=K(&quot;#text&quot;,3);O.raw=!!l;B.append(O).value=P}},comment:function(l){B.append(K(&quot;#comment&quot;,8)).value=l},pi:function(l,O){B.append(K(l,7)).value=O;I(B)},doctype:function(O){var l;l=B.append(K(&quot;#doctype&quot;,10));l.value=O;I(B)},start:function(l,W,P){var U,R,Q,O,S,X,V,T;Q=z?h.getElementRule(l):{};if(Q){U=K(Q.outputName||l,1);U.attributes=W;U.shortEnded=P;B.append(U)
 ;T=p[B.name];if(T&amp;&amp;p[U.name]&amp;&amp;!T[U.name]){M.push(U)}R=d.length;while(R--){S=d[R].name;if(S in W.map){F=c[S];if(F){F.push(U)}else{c[S]=[U]}}}if(o[l]){I(U)}if(!P){B=U}if(!L&amp;&amp;s[l]){L=true}}},end:function(l){var S,P,R,O,Q;P=z?h.getElementRule(l):{};if(P){if(o[l]){if(!L){S=B.firstChild;if(S&amp;&amp;S.type===3){R=S.value.replace(E,&quot;&quot;);if(R.length&gt;0){S.value=R;S=S.next}else{O=S.next;S.remove();S=O}while(S&amp;&amp;S.type===3){R=S.value;O=S.next;if(R.length===0||y.test(R)){S.remove();S=O}S=O}}S=B.lastChild;if(S&amp;&amp;S.type===3){R=S.value.replace(t,&quot;&quot;);if(R.length&gt;0){S.value=R;S=S.prev}else{O=S.prev;S.remove();S=O}while(S&amp;&amp;S.type===3){R=S.value;O=S.prev;if(R.length===0||y.test(R)){S.remove();S=O}S=O}}}}if(L&amp;&amp;s[l]){L=false}if(P.removeEmpty||P.paddEmpty){if(B.isEmpty(u)){if(P.paddEmpty){B.empty().append(new a(&quot;#text&quot;,&quot;3&quot;)).value=&quot;\u00a0&quot;}else{if(!B.attributes.map.name&amp;&amp;!B.attrib
 utes.map.id){Q=B.parent;B.empty().remove();B=Q;return}}}}B=B.parent}}},h);J=B=new a(m.context||g.root_name,11);n.parse(v);if(z&amp;&amp;M.length){if(!m.context){j(M)}else{m.invalid=true}}if(q&amp;&amp;J.name==&quot;body&quot;){G()}if(!m.invalid){for(N in i){F=e[N];A=i[N];x=A.length;while(x--){if(!A[x].parent){A.splice(x,1)}}for(D=0,C=F.length;D&lt;C;D++){F[D](A,N,m)}}for(D=0,C=d.length;D&lt;C;D++){F=d[D];if(F.name in c){A=c[F.name];x=A.length;while(x--){if(!A[x].parent){A.splice(x,1)}}for(x=0,r=F.callbacks.length;x&lt;r;x++){F.callbacks[x](A,F.name,m)}}}}return J};if(g.remove_trailing_brs){f.addNodeFilter(&quot;br&quot;,function(n,m){var r,q=n.length,o,v=b.extend({},h.getBlockElements()),k=h.getNonEmptyElements(),t,s,p,u;v.body=1;for(r=0;r&lt;q;r++){o=n[r];t=o.parent;if(v[o.parent.name]&amp;&amp;o===t.lastChild){p=o.prev;while(p){u=p.name;if(u!==&quot;span&quot;||p.attr(&quot;data-mce-type&quot;)!==&quot;bookmark&quot;){if(u!==&quot;br&quot;){break}if(u===&quot;br&quot;){o=n
 ull;break}}p=p.prev}if(o){o.remove();if(t.isEmpty(k)){elementRule=h.getElementRule(t.name);if(elementRule){if(elementRule.removeEmpty){t.remove()}else{if(elementRule.paddEmpty){t.empty().append(new b.html.Node(&quot;#text&quot;,3)).value=&quot;\u00a0&quot;}}}}}}else{s=o;while(t.firstChild===s&amp;&amp;t.lastChild===s){s=t;if(v[t.name]){break}t=t.parent}if(s===t){textNode=new b.html.Node(&quot;#text&quot;,3);textNode.value=&quot;\u00a0&quot;;o.replace(textNode)}}}})}if(!g.allow_html_in_named_anchor){f.addAttributeFilter(&quot;id,name&quot;,function(k,l){var n=k.length,p,m,o,q;while(n--){q=k[n];if(q.name===&quot;a&quot;&amp;&amp;q.firstChild&amp;&amp;!q.attr(&quot;href&quot;)){o=q.parent;p=q.lastChild;do{m=p.prev;o.insert(p,q);p=m}while(p)}}})}}})(tinymce);tinymce.html.Writer=function(e){var c=[],a,b,d,f,g;e=e||{};a=e.indent;b=tinymce.makeMap(e.indent_before||&quot;&quot;);d=tinymce.makeMap(e.indent_after||&quot;&quot;);f=tinymce.html.Entities.getEncodeFunc(e.entity_encoding||
 &quot;raw&quot;,e.entities);g=e.element_format==&quot;html&quot;;return{start:function(m,k,p){var n,j,h,o;if(a&amp;&amp;b[m]&amp;&amp;c.length&gt;0){o=c[c.length-1];if(o.length&gt;0&amp;&amp;o!==&quot;\n&quot;){c.push(&quot;\n&quot;)}}c.push(&quot;&lt;&quot;,m);if(k){for(n=0,j=k.length;n&lt;j;n++){h=k[n];c.push(&quot; &quot;,h.name,'=&quot;',f(h.value,true),'&quot;')}}if(!p||g){c[c.length]=&quot;&gt;&quot;}else{c[c.length]=&quot; /&gt;&quot;}if(p&amp;&amp;a&amp;&amp;d[m]&amp;&amp;c.length&gt;0){o=c[c.length-1];if(o.length&gt;0&amp;&amp;o!==&quot;\n&quot;){c.push(&quot;\n&quot;)}}},end:function(h){var i;c.push(&quot;&lt;/&quot;,h,&quot;&gt;&quot;);if(a&amp;&amp;d[h]&amp;&amp;c.length&gt;0){i=c[c.length-1];if(i.length&gt;0&amp;&amp;i!==&quot;\n&quot;){c.push(&quot;\n&quot;)}}},text:function(i,h){if(i.length&gt;0){c[c.length]=h?i:f(i)}},cdata:function(h){c.push(&quot;&lt;![CDATA[&quot;,h,&quot;]]&gt;&quot;)},comment:function(h){c.push(&quot;&lt;!--&quot;,h,&quot;--&gt;&quot;)},
 pi:function(h,i){if(i){c.push(&quot;&lt;?&quot;,h,&quot; &quot;,i,&quot;?&gt;&quot;)}else{c.push(&quot;&lt;?&quot;,h,&quot;?&gt;&quot;)}if(a){c.push(&quot;\n&quot;)}},doctype:function(h){c.push(&quot;&lt;!DOCTYPE&quot;,h,&quot;&gt;&quot;,a?&quot;\n&quot;:&quot;&quot;)},reset:function(){c.length=0},getContent:function(){return c.join(&quot;&quot;).replace(/\n$/,&quot;&quot;)}}};(function(a){a.html.Serializer=function(c,d){var b=this,e=new a.html.Writer(c);c=c||{};c.validate=&quot;validate&quot; in c?c.validate:true;b.schema=d=d||new a.html.Schema();b.writer=e;b.serialize=function(h){var g,i;i=c.validate;g={3:function(k,j){e.text(k.value,k.raw)},8:function(j){e.comment(j.value)},7:function(j){e.pi(j.name,j.value)},10:function(j){e.doctype(j.value)},4:function(j){e.cdata(j.value)},11:function(j){if((j=j.firstChild)){do{f(j)}while(j=j.next)}}};e.reset();function f(k){var t=g[k.type],j,o,s,r,p,u,n,m,q;if(!t){j=k.name;o=k.shortEnded;s=k.attributes;if(i&amp;&amp;s&amp;&amp;s.length
 &gt;1){u=[];u.map={};q=d.getElementRule(k.name);for(n=0,m=q.attributesOrder.length;n&lt;m;n++){r=q.attributesOrder[n];if(r in s.map){p=s.map[r];u.map[r]=p;u.push({name:r,value:p})}}for(n=0,m=s.length;n&lt;m;n++){r=s[n].name;if(!(r in u.map)){p=s.map[r];u.map[r]=p;u.push({name:r,value:p})}}s=u}e.start(k.name,s,o);if(!o){if((k=k.firstChild)){do{f(k)}while(k=k.next)}e.end(j)}}else{t(k)}}if(h.type==1&amp;&amp;!c.inner){f(h)}else{g[11](h)}return e.getContent()}}})(tinymce);tinymce.dom={};(function(b,h){var g=!!document.addEventListener;function c(k,j,l,i){if(k.addEventListener){k.addEventListener(j,l,i||false)}else{if(k.attachEvent){k.attachEvent(&quot;on&quot;+j,l)}}}function e(k,j,l,i){if(k.removeEventListener){k.removeEventListener(j,l,i||false)}else{if(k.detachEvent){k.detachEvent(&quot;on&quot;+j,l)}}}function a(n,l){var i,k=l||{};function j(){return false}function m(){return true}for(i in n){if(i!==&quot;layerX&quot;&amp;&amp;i!==&quot;layerY&quot;){k[i]=n[i]}}if(!k.target)
 {k.target=k.srcElement||document}k.preventDefault=function(){k.isDefaultPrevented=m;if(n){if(n.preventDefault){n.preventDefault()}else{n.returnValue=false}}};k.stopPropagation=function(){k.isPropagationStopped=m;if(n){if(n.stopPropagation){n.stopPropagation()}else{n.cancelBubble=true}}};k.stopImmediatePropagation=function(){k.isImmediatePropagationStopped=m;k.stopPropagation()};if(!k.isDefaultPrevented){k.isDefaultPrevented=j;k.isPropagationStopped=j;k.isImmediatePropagationStopped=j}return k}function d(m,n,l){var k=m.document,j={type:&quot;ready&quot;};function i(){if(!l.domLoaded){l.domLoaded=true;n(j)}}if(k.readyState==&quot;complete&quot;){i();return}if(g){c(m,&quot;DOMContentLoaded&quot;,i)}else{c(k,&quot;readystatechange&quot;,function(){if(k.readyState===&quot;complete&quot;){e(k,&quot;readystatechange&quot;,arguments.callee);i()}});if(k.documentElement.doScroll&amp;&amp;m===m.top){(function(){try{k.documentElement.doScroll(&quot;left&quot;)}catch(o){setTimeout(argume
 nts.callee,0);return}i()})()}}c(m,&quot;load&quot;,i)}function f(k){var q=this,p={},i,o,n,m,l;m=&quot;onmouseenter&quot; in document.documentElement;n=&quot;onfocusin&quot; in document.documentElement;l={mouseenter:&quot;mouseover&quot;,mouseleave:&quot;mouseout&quot;};i=1;q.domLoaded=false;q.events=p;function j(t,x){var s,u,r,v;s=p[x][t.type];if(s){for(u=0,r=s.length;u&lt;r;u++){v=s[u];if(v&amp;&amp;v.func.call(v.scope,t)===false){t.preventDefault()}if(t.isImmediatePropagationStopped()){return}}}}q.bind=function(x,A,D,E){var s,t,u,r,B,z,C,v=window;function y(F){j(a(F||v.event),s)}if(!x||x.nodeType===3||x.nodeType===8){return}if(!x[h]){s=i++;x[h]=s;p[s]={}}else{s=x[h];if(!p[s]){p[s]={}}}E=E||x;A=A.split(&quot; &quot;);u=A.length;while(u--){r=A[u];z=y;B=C=false;if(r===&quot;DOMContentLoaded&quot;){r=&quot;ready&quot;}if((q.domLoaded||x.readyState==&quot;complete&quot;)&amp;&amp;r===&quot;ready&quot;){q.domLoaded=true;D.call(E,a({type:r}));continue}if(!m){B=l[r];if(B){z=functi
 on(F){var H,G;H=F.currentTarget;G=F.relatedTarget;if(G&amp;&amp;H.contains){G=H.contains(G)}else{while(G&amp;&amp;G!==H){G=G.parentNode}}if(!G){F=a(F||v.event);F.type=F.type===&quot;mouseout&quot;?&quot;mouseleave&quot;:&quot;mouseenter&quot;;F.target=H;j(F,s)}}}}if(!n&amp;&amp;(r===&quot;focusin&quot;||r===&quot;focusout&quot;)){C=true;B=r===&quot;focusin&quot;?&quot;focus&quot;:&quot;blur&quot;;z=function(F){F=a(F||v.event);F.type=F.type===&quot;focus&quot;?&quot;focusin&quot;:&quot;focusout&quot;;j(F,s)}}t=p[s][r];if(!t){p[s][r]=t=[{func:D,scope:E}];t.fakeName=B;t.capture=C;t.nativeHandler=z;if(!g){t.proxyHandler=k(s)}if(r===&quot;ready&quot;){d(x,z,q)}else{c(x,B||r,g?z:t.proxyHandler,C)}}else{t.push({func:D,scope:E})}}x=t=0;return D};q.unbind=function(x,z,A){var s,u,v,B,r,t;if(!x||x.nodeType===3||x.nodeType===8){return q}s=x[h];if(s){t=p[s];if(z){z=z.split(&quot; &quot;);v=z.length;while(v--){r=z[v];u=t[r];if(u){if(A){B=u.length;while(B--){if(u[B].func===A){u.splice(B,1)
 }}}if(!A||u.length===0){delete t[r];e(x,u.fakeName||r,g?u.nativeHandler:u.proxyHandler,u.capture)}}}}else{for(r in t){u=t[r];e(x,u.fakeName||r,g?u.nativeHandler:u.proxyHandler,u.capture)}t={}}for(r in t){return q}delete p[s];try{delete x[h]}catch(y){x[h]=null}}return q};q.fire=function(u,s,r){var v,t;if(!u||u.nodeType===3||u.nodeType===8){return q}t=a(null,r);t.type=s;do{v=u[h];if(v){j(t,v)}u=u.parentNode||u.ownerDocument||u.defaultView||u.parentWindow}while(u&amp;&amp;!t.isPropagationStopped());return q};q.clean=function(u){var s,r,t=q.unbind;if(!u||u.nodeType===3||u.nodeType===8){return q}if(u[h]){t(u)}if(!u.getElementsByTagName){u=u.document}if(u&amp;&amp;u.getElementsByTagName){t(u);r=u.getElementsByTagName(&quot;*&quot;);s=r.length;while(s--){u=r[s];if(u[h]){t(u)}}}return q};q.callNativeHandler=function(s,r){if(p){p[s][r.type].nativeHandler(r)}};q.destory=function(){p={}};q.add=function(v,s,u,t){if(typeof(v)===&quot;string&quot;){v=document.getElementById(v)}if(v&amp;&a
 mp;v instanceof Array){var r=v.length;while(r--){q.add(v[r],s,u,t)}return}if(s===&quot;init&quot;){s=&quot;ready&quot;}return q.bind(v,s instanceof Array?s.join(&quot; &quot;):s,u,t)};q.remove=function(v,s,u,t){if(!v){return q}if(typeof(v)===&quot;string&quot;){v=document.getElementById(v)}if(v instanceof Array){var r=v.length;while(r--){q.remove(v[r],s,u,t)}return q}return q.unbind(v,s instanceof Array?s.join(&quot; &quot;):s,u)};q.clear=function(r){if(typeof(r)===&quot;string&quot;){r=document.getElementById(r)}return q.clean(r)};q.cancel=function(r){if(r){q.prevent(r);q.stop(r)}return false};q.prevent=function(r){if(!r.preventDefault){r=a(r)}r.preventDefault();return false};q.stop=function(r){if(!r.stopPropagation){r=a(r)}r.stopPropagation();return false}}b.EventUtils=f;b.Event=new f(function(i){return function(j){tinymce.dom.Event.callNativeHandler(i,j)}});b.Event.bind(window,&quot;ready&quot;,function(){});b=0})(tinymce.dom,&quot;data-mce-expando&quot;);tinymce.dom.Tree
 Walker=function(a,c){var b=a;function d(i,f,e,j){var h,g;if(i){if(!j&amp;&amp;i[f]){return i[f]}if(i!=c){h=i[e];if(h){return h}for(g=i.parentNode;g&amp;&amp;g!=c;g=g.parentNode){h=g[e];if(h){return h}}}}}this.current=function(){return b};this.next=function(e){return(b=d(b,&quot;firstChild&quot;,&quot;nextSibling&quot;,e))};this.prev=function(e){return(b=d(b,&quot;lastChild&quot;,&quot;previousSibling&quot;,e))}};(function(e){var g=e.each,d=e.is,f=e.isWebKit,b=e.isIE,h=e.html.Entities,c=/^([a-z0-9],?)+$/i,a=/^[ \t\r\n]*$/;e.create(&quot;tinymce.dom.DOMUtils&quot;,{doc:null,root:null,files:null,pixelStyles:/^(top|left|bottom|right|width|height|borderWidth)$/,props:{&quot;for&quot;:&quot;htmlFor&quot;,&quot;class&quot;:&quot;className&quot;,className:&quot;className&quot;,checked:&quot;checked&quot;,disabled:&quot;disabled&quot;,maxlength:&quot;maxLength&quot;,readonly:&quot;readOnly&quot;,selected:&quot;selected&quot;,value:&quot;value&quot;,id:&quot;id&quot;,name:&quot;name&q
 uot;,type:&quot;type&quot;},DOMUtils:function(o,l){var k=this,i,j,n;k.doc=o;k.win=window;k.files={};k.cssFlicker=false;k.counter=0;k.stdMode=!e.isIE||o.documentMode&gt;=8;k.boxModel=!e.isIE||o.compatMode==&quot;CSS1Compat&quot;||k.stdMode;k.hasOuterHTML=&quot;outerHTML&quot; in o.createElement(&quot;a&quot;);k.settings=l=e.extend({keep_values:false,hex_colors:1},l);k.schema=l.schema;k.styles=new e.html.Styles({url_converter:l.url_converter,url_converter_scope:l.url_converter_scope},l.schema);if(e.isIE6){try{o.execCommand(&quot;BackgroundImageCache&quot;,false,true)}catch(m){k.cssFlicker=true}}k.fixDoc(o);k.events=l.ownEvents?new e.dom.EventUtils(l.proxy):e.dom.Event;e.addUnload(k.destroy,k);n=l.schema?l.schema.getBlockElements():{};k.isBlock=function(q){if(!q){return false}var p=q.nodeType;if(p){return !!(p===1&amp;&amp;n[q.nodeName])}return !!n[q]}},fixDoc:function(k){var j=this.settings,i;if(b&amp;&amp;j.schema){(&quot;abbr article aside audio canvas details figcaption fig
 ure footer header hgroup mark menu meter nav output progress section summary time video&quot;).replace(/\w+/g,function(l){k.createElement(l)});for(i in j.schema.getCustomElements()){k.createElement(i)}}},clone:function(k,i){var j=this,m,l;if(!b||k.nodeType!==1||i){return k.cloneNode(i)}l=j.doc;if(!i){m=l.createElement(k.nodeName);g(j.getAttribs(k),function(n){j.setAttrib(m,n.nodeName,j.getAttrib(k,n.nodeName))});return m}return m.firstChild},getRoot:function(){var i=this,j=i.settings;return(j&amp;&amp;i.get(j.root_element))||i.doc.body},getViewPort:function(j){var k,i;j=!j?this.win:j;k=j.document;i=this.boxModel?k.documentElement:k.body;return{x:j.pageXOffset||i.scrollLeft,y:j.pageYOffset||i.scrollTop,w:j.innerWidth||i.clientWidth,h:j.innerHeight||i.clientHeight}},getRect:function(l){var k,i=this,j;l=i.get(l);k=i.getPos(l);j=i.getSize(l);return{x:k.x,y:k.y,w:j.w,h:j.h}},getSize:function(l){var j=this,i,k;l=j.get(l);i=j.getStyle(l,&quot;width&quot;);k=j.getStyle(l,&quot;heigh
 t&quot;);if(i.indexOf(&quot;px&quot;)===-1){i=0}if(k.indexOf(&quot;px&quot;)===-1){k=0}return{w:parseInt(i,10)||l.offsetWidth||l.clientWidth,h:parseInt(k,10)||l.offsetHeight||l.clientHeight}},getParent:function(k,j,i){return this.getParents(k,j,i,false)},getParents:function(s,m,k,q){var j=this,i,l=j.settings,p=[];s=j.get(s);q=q===undefined;if(l.strict_root){k=k||j.getRoot()}if(d(m,&quot;string&quot;)){i=m;if(m===&quot;*&quot;){m=function(o){return o.nodeType==1}}else{m=function(o){return j.is(o,i)}}}while(s){if(s==k||!s.nodeType||s.nodeType===9){break}if(!m||m(s)){if(q){p.push(s)}else{return s}}s=s.parentNode}return q?p:null},get:function(i){var j;if(i&amp;&amp;this.doc&amp;&amp;typeof(i)==&quot;string&quot;){j=i;i=this.doc.getElementById(i);if(i&amp;&amp;i.id!==j){return this.doc.getElementsByName(j)[1]}}return i},getNext:function(j,i){return this._findSib(j,i,&quot;nextSibling&quot;)},getPrev:function(j,i){return this._findSib(j,i,&quot;previousSibling&quot;)},select:funct
 ion(k,j){var i=this;return e.dom.Sizzle(k,i.get(j)||i.get(i.settings.root_element)||i.doc,[])},is:function(l,j){var k;if(l.length===undefined){if(j===&quot;*&quot;){return l.nodeType==1}if(c.test(j)){j=j.toLowerCase().split(/,/);l=l.nodeName.toLowerCase();for(k=j.length-1;k&gt;=0;k--){if(j[k]==l){return true}}return false}}return e.dom.Sizzle.matches(j,l.nodeType?[l]:l).length&gt;0},add:function(l,o,i,k,m){var j=this;return this.run(l,function(r){var q,n;q=d(o,&quot;string&quot;)?j.doc.createElement(o):o;j.setAttribs(q,i);if(k){if(k.nodeType){q.appendChild(k)}else{j.setHTML(q,k)}}return !m?r.appendChild(q):q})},create:function(k,i,j){return this.add(this.doc.createElement(k),k,i,j,1)},createHTML:function(q,i,m){var p=&quot;&quot;,l=this,j;p+=&quot;&lt;&quot;+q;for(j in i){if(i.hasOwnProperty(j)){p+=&quot; &quot;+j+'=&quot;'+l.encode(i[j])+'&quot;'}}if(typeof(m)!=&quot;undefined&quot;){return p+&quot;&gt;&quot;+m+&quot;&lt;/&quot;+q+&quot;&gt;&quot;}return p+&quot; /&gt;&quot
 ;},remove:function(i,j){return this.run(i,function(l){var m,k=l.parentNode;if(!k){return null}if(j){while(m=l.firstChild){if(!e.isIE||m.nodeType!==3||m.nodeValue){k.insertBefore(m,l)}else{l.removeChild(m)}}}return k.removeChild(l)})},setStyle:function(l,i,j){var k=this;return k.run(l,function(o){var n,m;n=o.style;i=i.replace(/-(\D)/g,function(q,p){return p.toUpperCase()});if(k.pixelStyles.test(i)&amp;&amp;(e.is(j,&quot;number&quot;)||/^[\-0-9\.]+$/.test(j))){j+=&quot;px&quot;}switch(i){case&quot;opacity&quot;:if(b){n.filter=j===&quot;&quot;?&quot;&quot;:&quot;alpha(opacity=&quot;+(j*100)+&quot;)&quot;;if(!l.currentStyle||!l.currentStyle.hasLayout){n.display=&quot;inline-block&quot;}}n[i]=n[&quot;-moz-opacity&quot;]=n[&quot;-khtml-opacity&quot;]=j||&quot;&quot;;break;case&quot;float&quot;:b?n.styleFloat=j:n.cssFloat=j;break;default:n[i]=j||&quot;&quot;}if(k.settings.update_styles){k.setAttrib(o,&quot;data-mce-style&quot;)}})},getStyle:function(l,i,k){l=this.get(l);if(!l){retu
 rn}if(this.doc.defaultView&amp;&amp;k){i=i.replace(/[A-Z]/g,function(m){return&quot;-&quot;+m});try{return this.doc.defaultView.getComputedStyle(l,null).getPropertyValue(i)}catch(j){return null}}i=i.replace(/-(\D)/g,function(n,m){return m.toUpperCase()});if(i==&quot;float&quot;){i=b?&quot;styleFloat&quot;:&quot;cssFloat&quot;}if(l.currentStyle&amp;&amp;k){return l.currentStyle[i]}return l.style?l.style[i]:undefined},setStyles:function(l,m){var j=this,k=j.settings,i;i=k.update_styles;k.update_styles=0;g(m,function(o,p){j.setStyle(l,p,o)});k.update_styles=i;if(k.update_styles){j.setAttrib(l,k.cssText)}},removeAllAttribs:function(i){return this.run(i,function(l){var k,j=l.attributes;for(k=j.length-1;k&gt;=0;k--){l.removeAttributeNode(j.item(k))}})},setAttrib:function(k,l,i){var j=this;if(!k||!l){return}if(j.settings.strict){l=l.toLowerCase()}return this.run(k,function(p){var o=j.settings;var m=p.getAttribute(l);if(i!==null){switch(l){case&quot;style&quot;:if(!d(i,&quot;string&q
 uot;)){g(i,function(q,r){j.setStyle(p,r,q)});return}if(o.keep_values){if(i&amp;&amp;!j._isRes(i)){p.setAttribute(&quot;data-mce-style&quot;,i,2)}else{p.removeAttribute(&quot;data-mce-style&quot;,2)}}p.style.cssText=i;break;case&quot;class&quot;:p.className=i||&quot;&quot;;break;case&quot;src&quot;:case&quot;href&quot;:if(o.keep_values){if(o.url_converter){i=o.url_converter.call(o.url_converter_scope||j,i,l,p)}j.setAttrib(p,&quot;data-mce-&quot;+l,i,2)}break;case&quot;shape&quot;:p.setAttribute(&quot;data-mce-style&quot;,i);break}}if(d(i)&amp;&amp;i!==null&amp;&amp;i.length!==0){p.setAttribute(l,&quot;&quot;+i,2)}else{p.removeAttribute(l,2)}if(tinyMCE.activeEditor&amp;&amp;m!=i){var n=tinyMCE.activeEditor;n.onSetAttrib.dispatch(n,p,l,i)}})},setAttribs:function(j,k){var i=this;return this.run(j,function(l){g(k,function(m,o){i.setAttrib(l,o,m)})})},getAttrib:function(m,o,k){var i,j=this,l;m=j.get(m);if(!m||m.nodeType!==1){return k===l?false:k}if(!d(k)){k=&quot;&quot;}if(/^(src|
 href|style|coords|shape)$/.test(o)){i=m.getAttribute(&quot;data-mce-&quot;+o);if(i){return i}}if(b&amp;&amp;j.props[o]){i=m[j.props[o]];i=i&amp;&amp;i.nodeValue?i.nodeValue:i}if(!i){i=m.getAttribute(o,2)}if(/^(checked|compact|declare|defer|disabled|ismap|multiple|nohref|noshade|nowrap|readonly|selected)$/.test(o)){if(m[j.props[o]]===true&amp;&amp;i===&quot;&quot;){return o}return i?o:&quot;&quot;}if(m.nodeName===&quot;FORM&quot;&amp;&amp;m.getAttributeNode(o)){return m.getAttributeNode(o).nodeValue}if(o===&quot;style&quot;){i=i||m.style.cssText;if(i){i=j.serializeStyle(j.parseStyle(i),m.nodeName);if(j.settings.keep_values&amp;&amp;!j._isRes(i)){m.setAttribute(&quot;data-mce-style&quot;,i)}}}if(f&amp;&amp;o===&quot;class&quot;&amp;&amp;i){i=i.replace(/(apple|webkit)\-[a-z\-]+/gi,&quot;&quot;)}if(b){switch(o){case&quot;rowspan&quot;:case&quot;colspan&quot;:if(i===1){i=&quot;&quot;}break;case&quot;size&quot;:if(i===&quot;+0&quot;||i===20||i===0){i=&quot;&quot;}break;case&quot;w
 idth&quot;:case&quot;height&quot;:case&quot;vspace&quot;:case&quot;checked&quot;:case&quot;disabled&quot;:case&quot;readonly&quot;:if(i===0){i=&quot;&quot;}break;case&quot;hspace&quot;:if(i===-1){i=&quot;&quot;}break;case&quot;maxlength&quot;:case&quot;tabindex&quot;:if(i===32768||i===2147483647||i===&quot;32768&quot;){i=&quot;&quot;}break;case&quot;multiple&quot;:case&quot;compact&quot;:case&quot;noshade&quot;:case&quot;nowrap&quot;:if(i===65535){return o}return k;case&quot;shape&quot;:i=i.toLowerCase();break;default:if(o.indexOf(&quot;on&quot;)===0&amp;&amp;i){i=e._replace(/^function\s+\w+\(\)\s+\{\s+(.*)\s+\}$/,&quot;$1&quot;,&quot;&quot;+i)}}}return(i!==l&amp;&amp;i!==null&amp;&amp;i!==&quot;&quot;)?&quot;&quot;+i:k},getPos:function(q,l){var j=this,i=0,p=0,m,o=j.doc,k;q=j.get(q);l=l||o.body;if(q){if(q.getBoundingClientRect){q=q.getBoundingClientRect();m=j.boxModel?o.documentElement:o.body;i=q.left+(o.documentElement.scrollLeft||o.body.scrollLeft)-m.clientTop;p=q.top+(o.d
 ocumentElement.scrollTop||o.body.scrollTop)-m.clientLeft;return{x:i,y:p}}k=q;while(k&amp;&amp;k!=l&amp;&amp;k.nodeType){i+=k.offsetLeft||0;p+=k.offsetTop||0;k=k.offsetParent}k=q.parentNode;while(k&amp;&amp;k!=l&amp;&amp;k.nodeType){i-=k.scrollLeft||0;p-=k.scrollTop||0;k=k.parentNode}}return{x:i,y:p}},parseStyle:function(i){return this.styles.parse(i)},serializeStyle:function(j,i){return this.styles.serialize(j,i)},addStyle:function(j){var k=this.doc,i;styleElm=k.getElementById(&quot;mceDefaultStyles&quot;);if(!styleElm){styleElm=k.createElement(&quot;style&quot;),styleElm.id=&quot;mceDefaultStyles&quot;;styleElm.type=&quot;text/css&quot;;i=k.getElementsByTagName(&quot;head&quot;)[0];if(i.firstChild){i.insertBefore(styleElm,i.firstChild)}else{i.appendChild(styleElm)}}if(styleElm.styleSheet){styleElm.styleSheet.cssText+=j}else{styleElm.appendChild(k.createTextNode(j))}},loadCSS:function(i){var k=this,l=k.doc,j;if(!i){i=&quot;&quot;}j=l.getElementsByTagName(&quot;head&quot;)[0]
 ;g(i.split(&quot;,&quot;),function(m){var n;if(k.files[m]){return}k.files[m]=true;n=k.create(&quot;link&quot;,{rel:&quot;stylesheet&quot;,href:e._addVer(m)});if(b&amp;&amp;l.documentMode&amp;&amp;l.recalc){n.onload=function(){if(l.recalc){l.recalc()}n.onload=null}}j.appendChild(n)})},addClass:function(i,j){return this.run(i,function(k){var l;if(!j){return 0}if(this.hasClass(k,j)){return k.className}l=this.removeClass(k,j);return k.className=(l!=&quot;&quot;?(l+&quot; &quot;):&quot;&quot;)+j})},removeClass:function(k,l){var i=this,j;return i.run(k,function(n){var m;if(i.hasClass(n,l)){if(!j){j=new RegExp(&quot;(^|\\s+)&quot;+l+&quot;(\\s+|$)&quot;,&quot;g&quot;)}m=n.className.replace(j,&quot; &quot;);m=e.trim(m!=&quot; &quot;?m:&quot;&quot;);n.className=m;if(!m){n.removeAttribute(&quot;class&quot;);n.removeAttribute(&quot;className&quot;)}return m}return n.className})},hasClass:function(j,i){j=this.get(j);if(!j||!i){return false}return(&quot; &quot;+j.className+&quot; &quot;)
 .indexOf(&quot; &quot;+i+&quot; &quot;)!==-1},show:function(i){return this.setStyle(i,&quot;display&quot;,&quot;block&quot;)},hide:function(i){return this.setStyle(i,&quot;display&quot;,&quot;none&quot;)},isHidden:function(i){i=this.get(i);return !i||i.style.display==&quot;none&quot;||this.getStyle(i,&quot;display&quot;)==&quot;none&quot;},uniqueId:function(i){return(!i?&quot;mce_&quot;:i)+(this.counter++)},setHTML:function(k,j){var i=this;return i.run(k,function(m){if(b){while(m.firstChild){m.removeChild(m.firstChild)}try{m.innerHTML=&quot;&lt;br /&gt;&quot;+j;m.removeChild(m.firstChild)}catch(l){var n=i.create(&quot;div&quot;);n.innerHTML=&quot;&lt;br /&gt;&quot;+j;g(e.grep(n.childNodes),function(p,o){if(o&amp;&amp;m.canHaveHTML){m.appendChild(p)}})}}else{m.innerHTML=j}return j})},getOuterHTML:function(k){var j,i=this;k=i.get(k);if(!k){return null}if(k.nodeType===1&amp;&amp;i.hasOuterHTML){return k.outerHTML}j=(k.ownerDocument||i.doc).createElement(&quot;body&quot;);j.appe
 ndChild(k.cloneNode(true));return j.innerHTML},setOuterHTML:function(l,j,m){var i=this;function k(p,o,r){var s,q;q=r.createElement(&quot;body&quot;);q.innerHTML=o;s=q.lastChild;while(s){i.insertAfter(s.cloneNode(true),p);s=s.previousSibling}i.remove(p)}return this.run(l,function(o){o=i.get(o);if(o.nodeType==1){m=m||o.ownerDocument||i.doc;if(b){try{if(b&amp;&amp;o.nodeType==1){o.outerHTML=j}else{k(o,j,m)}}catch(n){k(o,j,m)}}else{k(o,j,m)}}})},decode:h.decode,encode:h.encodeAllRaw,insertAfter:function(i,j){j=this.get(j);return this.run(i,function(l){var k,m;k=j.parentNode;m=j.nextSibling;if(m){k.insertBefore(l,m)}else{k.appendChild(l)}return l})},replace:function(m,l,i){var j=this;if(d(l,&quot;array&quot;)){m=m.cloneNode(true)}return j.run(l,function(k){if(i){g(e.grep(k.childNodes),function(n){m.appendChild(n)})}return k.parentNode.replaceChild(m,k)})},rename:function(l,i){var k=this,j;if(l.nodeName!=i.toUpperCase()){j=k.create(i);g(k.getAttribs(l),function(m){k.setAttrib(j,m.
 nodeName,k.getAttrib(l,m.nodeName))});k.replace(j,l,1)}return j||l},findCommonAncestor:function(k,i){var l=k,j;while(l){j=i;while(j&amp;&amp;l!=j){j=j.parentNode}if(l==j){break}l=l.parentNode}if(!l&amp;&amp;k.ownerDocument){return k.ownerDocument.documentElement}return l},toHex:function(i){var k=/^\s*rgb\s*?\(\s*?([0-9]+)\s*?,\s*?([0-9]+)\s*?,\s*?([0-9]+)\s*?\)\s*$/i.exec(i);function j(l){l=parseInt(l,10).toString(16);return l.length&gt;1?l:&quot;0&quot;+l}if(k){i=&quot;#&quot;+j(k[1])+j(k[2])+j(k[3]);return i}return i},getClasses:function(){var n=this,j=[],m,o={},p=n.settings.class_filter,l;if(n.classes){return n.classes}function q(i){g(i.imports,function(s){q(s)});g(i.cssRules||i.rules,function(s){switch(s.type||1){case 1:if(s.selectorText){g(s.selectorText.split(&quot;,&quot;),function(r){r=r.replace(/^\s*|\s*$|^\s\./g,&quot;&quot;);if(/\.mce/.test(r)||!/\.[\w\-]+$/.test(r)){return}l=r;r=e._replace(/.*\.([a-z0-9_\-]+).*/i,&quot;$1&quot;,r);if(p&amp;&amp;!(r=p(r,l))){retur
 n}if(!o[r]){j.push({&quot;class&quot;:r});o[r]=1}})}break;case 3:q(s.styleSheet);break}})}try{g(n.doc.styleSheets,q)}catch(k){}if(j.length&gt;0){n.classes=j}return j},run:function(l,k,j){var i=this,m;if(i.doc&amp;&amp;typeof(l)===&quot;string&quot;){l=i.get(l)}if(!l){return false}j=j||this;if(!l.nodeType&amp;&amp;(l.length||l.length===0)){m=[];g(l,function(o,n){if(o){if(typeof(o)==&quot;string&quot;){o=i.doc.getElementById(o)}m.push(k.call(j,o,n))}});return m}return k.call(j,l)},getAttribs:function(j){var i;j=this.get(j);if(!j){return[]}if(b){i=[];if(j.nodeName==&quot;OBJECT&quot;){return j.attributes}if(j.nodeName===&quot;OPTION&quot;&amp;&amp;this.getAttrib(j,&quot;selected&quot;)){i.push({specified:1,nodeName:&quot;selected&quot;})}j.cloneNode(false).outerHTML.replace(/&lt;\/?[\w:\-]+ ?|=[\&quot;][^\&quot;]+\&quot;|=\'[^\']+\'|=[\w\-]+|&gt;/gi,&quot;&quot;).replace(/[\w:\-]+/gi,function(k){i.push({specified:1,nodeName:k})});return i}return j.attributes},isEmpty:function(m
 ,k){var r=this,o,n,q,j,l,p=0;m=m.firstChild;if(m){j=new e.dom.TreeWalker(m,m.parentNode);k=k||r.schema?r.schema.getNonEmptyElements():null;do{q=m.nodeType;if(q===1){if(m.getAttribute(&quot;data-mce-bogus&quot;)){continue}l=m.nodeName.toLowerCase();if(k&amp;&amp;k[l]){if(l===&quot;br&quot;){p++;continue}return false}n=r.getAttribs(m);o=m.attributes.length;while(o--){l=m.attributes[o].nodeName;if(l===&quot;name&quot;||l===&quot;data-mce-bookmark&quot;){return false}}}if(q==8){return false}if((q===3&amp;&amp;!a.test(m.nodeValue))){return false}}while(m=j.next())}return p&lt;=1},destroy:function(j){var i=this;i.win=i.doc=i.root=i.events=i.frag=null;if(!j){e.removeUnload(i.destroy)}},createRng:function(){var i=this.doc;return i.createRange?i.createRange():new e.dom.Range(this)},nodeIndex:function(m,n){var i=0,k,l,j;if(m){for(k=m.nodeType,m=m.previousSibling,l=m;m;m=m.previousSibling){j=m.nodeType;if(n&amp;&amp;j==3){if(j==k||!m.nodeValue.length){continue}}i++;k=j}}return i},split
 :function(m,l,p){var q=this,i=q.createRng(),n,k,o;function j(v){var t,s=v.childNodes,u=v.nodeType;function x(A){var z=A.previousSibling&amp;&amp;A.previousSibling.nodeName==&quot;SPAN&quot;;var y=A.nextSibling&amp;&amp;A.nextSibling.nodeName==&quot;SPAN&quot;;return z&amp;&amp;y}if(u==1&amp;&amp;v.getAttribute(&quot;data-mce-type&quot;)==&quot;bookmark&quot;){return}for(t=s.length-1;t&gt;=0;t--){j(s[t])}if(u!=9){if(u==3&amp;&amp;v.nodeValue.length&gt;0){var r=e.trim(v.nodeValue).length;if(!q.isBlock(v.parentNode)||r&gt;0||r===0&amp;&amp;x(v)){return}}else{if(u==1){s=v.childNodes;if(s.length==1&amp;&amp;s[0]&amp;&amp;s[0].nodeType==1&amp;&amp;s[0].getAttribute(&quot;data-mce-type&quot;)==&quot;bookmark&quot;){v.parentNode.insertBefore(s[0],v)}if(s.length||/^(br|hr|input|img)$/i.test(v.nodeName)){return}}}q.remove(v)}return v}if(m&amp;&amp;l){i.setStart(m.parentNode,q.nodeIndex(m));i.setEnd(l.parentNode,q.nodeIndex(l));n=i.extractContents();i=q.createRng();i.setStart(l.parentN
 ode,q.nodeIndex(l)+1);i.setEnd(m.parentNode,q.nodeIndex(m)+1);k=i.extractContents();o=m.parentNode;o.insertBefore(j(n),m);if(p){o.replaceChild(p,l)}else{o.insertBefore(l,m)}o.insertBefore(j(k),m);q.remove(m);return p||l}},bind:function(l,i,k,j){return this.events.add(l,i,k,j||this)},unbind:function(k,i,j){return this.events.remove(k,i,j)},fire:function(k,j,i){return this.events.fire(k,j,i)},getContentEditable:function(j){var i;if(j.nodeType!=1){return null}i=j.getAttribute(&quot;data-mce-contenteditable&quot;);if(i&amp;&amp;i!==&quot;inherit&quot;){return i}return j.contentEditable!==&quot;inherit&quot;?j.contentEditable:null},_findSib:function(l,i,j){var k=this,m=i;if(l){if(d(m,&quot;string&quot;)){m=function(n){return k.is(n,i)}}for(l=l[j];l;l=l[j]){if(m(l)){return l}}}return null},_isRes:function(i){return/^(top|left|bottom|right|width|height)/i.test(i)||/;\s*(top|left|bottom|right|width|height)/i.test(i)}});e.DOM=new e.dom.DOMUtils(document,{process_html:0})})(tinymce);(
 function(a){function b(c){var O=this,e=c.doc,U=0,F=1,j=2,E=true,S=false,W=&quot;startOffset&quot;,h=&quot;startContainer&quot;,Q=&quot;endContainer&quot;,A=&quot;endOffset&quot;,k=tinymce.extend,n=c.nodeIndex;k(O,{startContainer:e,startOffset:0,endContainer:e,endOffset:0,collapsed:E,commonAncestorContainer:e,START_TO_START:0,START_TO_END:1,END_TO_END:2,END_TO_START:3,setStart:q,setEnd:s,setStartBefore:g,setStartAfter:J,setEndBefore:K,setEndAfter:u,collapse:B,selectNode:y,selectNodeContents:G,compareBoundaryPoints:v,deleteContents:p,extractContents:I,cloneContents:d,insertNode:D,surroundContents:N,cloneRange:L,toStringIE:T});function x(){return e.createDocumentFragment()}function q(X,t){C(E,X,t)}function s(X,t){C(S,X,t)}function g(t){q(t.parentNode,n(t))}function J(t){q(t.parentNode,n(t)+1)}function K(t){s(t.parentNode,n(t))}function u(t){s(t.parentNode,n(t)+1)}function B(t){if(t){O[Q]=O[h];O[A]=O[W]}else{O[h]=O[Q];O[W]=O[A]}O.collapsed=E}function y(t){g(t);u(t)}function G(t)
 {q(t,0);s(t,t.nodeType===1?t.childNodes.length:t.nodeValue.length)}function v(aa,t){var ad=O[h],Y=O[W],ac=O[Q],X=O[A],ab=t.startContainer,af=t.startOffset,Z=t.endContainer,ae=t.endOffset;if(aa===0){return H(ad,Y,ab,af)}if(aa===1){return H(ac,X,ab,af)}if(aa===2){return H(ac,X,Z,ae)}if(aa===3){return H(ad,Y,Z,ae)}}function p(){l(j)}function I(){return l(U)}function d(){return l(F)}function D(aa){var X=this[h],t=this[W],Z,Y;if((X.nodeType===3||X.nodeType===4)&amp;&amp;X.nodeValue){if(!t){X.parentNode.insertBefore(aa,X)}else{if(t&gt;=X.nodeValue.length){c.insertAfter(aa,X)}else{Z=X.splitText(t);X.parentNode.insertBefore(aa,Z)}}}else{if(X.childNodes.length&gt;0){Y=X.childNodes[t]}if(Y){X.insertBefore(aa,Y)}else{X.appendChild(aa)}}}function N(X){var t=O.extractContents();O.insertNode(X);X.appendChild(t);O.selectNode(X)}function L(){return k(new b(c),{startContainer:O[h],startOffset:O[W],endContainer:O[Q],endOffset:O[A],collapsed:O.collapsed,commonAncestorContainer:O.commonAncestor
 Container})}function P(t,X){var Y;if(t.nodeType==3){return t}if(X&lt;0){return t}Y=t.firstChild;while(Y&amp;&amp;X&gt;0){--X;Y=Y.nextSibling}if(Y){return Y}return t}function m(){return(O[h]==O[Q]&amp;&amp;O[W]==O[A])}function H(Z,ab,X,aa){var ac,Y,t,ad,af,ae;if(Z==X){if(ab==aa){return 0}if(ab&lt;aa){return -1}return 1}ac=X;while(ac&amp;&amp;ac.parentNode!=Z){ac=ac.parentNode}if(ac){Y=0;t=Z.firstChild;while(t!=ac&amp;&amp;Y&lt;ab){Y++;t=t.nextSibling}if(ab&lt;=Y){return -1}return 1}ac=Z;while(ac&amp;&amp;ac.parentNode!=X){ac=ac.parentNode}if(ac){Y=0;t=X.firstChild;while(t!=ac&amp;&amp;Y&lt;aa){Y++;t=t.nextSibling}if(Y&lt;aa){return -1}return 1}ad=c.findCommonAncestor(Z,X);af=Z;while(af&amp;&amp;af.parentNode!=ad){af=af.parentNode}if(!af){af=ad}ae=X;while(ae&amp;&amp;ae.parentNode!=ad){ae=ae.parentNode}if(!ae){ae=ad}if(af==ae){return 0}t=ad.firstChild;while(t){if(t==af){return -1}if(t==ae){return 1}t=t.nextSibling}}function C(X,aa,Z){var t,Y;if(X){O[h]=aa;O[W]=Z}else{O[Q]=aa;O
 [A]=Z}t=O[Q];while(t.parentNode){t=t.parentNode}Y=O[h];while(Y.parentNode){Y=Y.parentNode}if(Y==t){if(H(O[h],O[W],O[Q],O[A])&gt;0){O.collapse(X)}}else{O.collapse(X)}O.collapsed=m();O.commonAncestorContainer=c.findCommonAncestor(O[h],O[Q])}function l(ad){var ac,Z=0,af=0,X,ab,Y,aa,t,ae;if(O[h]==O[Q]){return f(ad)}for(ac=O[Q],X=ac.parentNode;X;ac=X,X=X.parentNode){if(X==O[h]){return r(ac,ad)}++Z}for(ac=O[h],X=ac.parentNode;X;ac=X,X=X.parentNode){if(X==O[Q]){return V(ac,ad)}++af}ab=af-Z;Y=O[h];while(ab&gt;0){Y=Y.parentNode;ab--}aa=O[Q];while(ab&lt;0){aa=aa.parentNode;ab++}for(t=Y.parentNode,ae=aa.parentNode;t!=ae;t=t.parentNode,ae=ae.parentNode){Y=t;aa=ae}return o(Y,aa,ad)}function f(ac){var ae,af,t,Y,Z,ad,aa,X,ab;if(ac!=j){ae=x()}if(O[W]==O[A]){return ae}if(O[h].nodeType==3){af=O[h].nodeValue;t=af.substring(O[W],O[A]);if(ac!=F){Y=O[h];X=O[W];ab=O[A]-O[W];if(X===0&amp;&amp;ab&gt;=Y.nodeValue.length-1){Y.parentNode.removeChild(Y)}else{Y.deleteData(X,ab)}O.collapse(E)}if(ac==j){re
 turn}if(t.length&gt;0){ae.appendChild(e.createTextNode(t))}return ae}Y=P(O[h],O[W]);Z=O[A]-O[W];while(Y&amp;&amp;Z&gt;0){ad=Y.nextSibling;aa=z(Y,ac);if(ae){ae.appendChild(aa)}--Z;Y=ad}if(ac!=F){O.collapse(E)}return ae}function r(ad,aa){var ac,ab,X,t,Z,Y;if(aa!=j){ac=x()}ab=i(ad,aa);if(ac){ac.appendChild(ab)}X=n(ad);t=X-O[W];if(t&lt;=0){if(aa!=F){O.setEndBefore(ad);O.collapse(S)}return ac}ab=ad.previousSibling;while(t&gt;0){Z=ab.previousSibling;Y=z(ab,aa);if(ac){ac.insertBefore(Y,ac.firstChild)}--t;ab=Z}if(aa!=F){O.setEndBefore(ad);O.collapse(S)}return ac}function V(ab,aa){var ad,X,ac,t,Z,Y;if(aa!=j){ad=x()}ac=R(ab,aa);if(ad){ad.appendChild(ac)}X=n(ab);++X;t=O[A]-X;ac=ab.nextSibling;while(ac&amp;&amp;t&gt;0){Z=ac.nextSibling;Y=z(ac,aa);if(ad){ad.appendChild(Y)}--t;ac=Z}if(aa!=F){O.setStartAfter(ab);O.collapse(E)}return ad}function o(ab,t,ae){var Y,ag,aa,ac,ad,X,af,Z;if(ae!=j){ag=x()}Y=R(ab,ae);if(ag){ag.appendChild(Y)}aa=ab.parentNode;ac=n(ab);ad=n(t);++ac;X=ad-ac;af=ab.nextS
 ibling;while(X&gt;0){Z=af.nextSibling;Y=z(af,ae);if(ag){ag.appendChild(Y)}af=Z;--X}Y=i(t,ae);if(ag){ag.appendChild(Y)}if(ae!=F){O.setStartAfter(ab);O.collapse(E)}return ag}function i(ac,ad){var Y=P(O[Q],O[A]-1),ae,ab,aa,t,X,Z=Y!=O[Q];if(Y==ac){return M(Y,Z,S,ad)}ae=Y.parentNode;ab=M(ae,S,S,ad);while(ae){while(Y){aa=Y.previousSibling;t=M(Y,Z,S,ad);if(ad!=j){ab.insertBefore(t,ab.firstChild)}Z=E;Y=aa}if(ae==ac){return ab}Y=ae.previousSibling;ae=ae.parentNode;X=M(ae,S,S,ad);if(ad!=j){X.appendChild(ab)}ab=X}}function R(ac,ad){var Z=P(O[h],O[W]),aa=Z!=O[h],ae,ab,Y,t,X;if(Z==ac){return M(Z,aa,E,ad)}ae=Z.parentNode;ab=M(ae,S,E,ad);while(ae){while(Z){Y=Z.nextSibling;t=M(Z,aa,E,ad);if(ad!=j){ab.appendChild(t)}aa=E;Z=Y}if(ae==ac){return ab}Z=ae.nextSibling;ae=ae.parentNode;X=M(ae,S,E,ad);if(ad!=j){X.appendChild(ab)}ab=X}}function M(t,aa,ad,ae){var Z,Y,ab,X,ac;if(aa){return z(t,ae)}if(t.nodeType==3){Z=t.nodeValue;if(ad){X=O[W];Y=Z.substring(X);ab=Z.substring(0,X)}else{X=O[A];Y=Z.substri
 ng(0,X);ab=Z.substring(X)}if(ae!=F){t.nodeValue=ab}if(ae==j){return}ac=c.clone(t,S);ac.nodeValue=Y;return ac}if(ae==j){return}return c.clone(t,S)}function z(X,t){if(t!=j){return t==F?c.clone(X,E):X}X.parentNode.removeChild(X)}function T(){return c.create(&quot;body&quot;,null,d()).outerText}return O}a.Range=b;b.prototype.toString=function(){return this.toStringIE()}})(tinymce.dom);(function(){function a(d){var b=this,h=d.dom,c=true,f=false;function e(i,j){var k,t=0,q,n,m,l,o,r,p=-1,s;k=i.duplicate();k.collapse(j);s=k.parentElement();if(s.ownerDocument!==d.dom.doc){return}while(s.contentEditable===&quot;false&quot;){s=s.parentNode}if(!s.hasChildNodes()){return{node:s,inside:1}}m=s.children;q=m.length-1;while(t&lt;=q){r=Math.floor((t+q)/2);l=m[r];k.moveToElementText(l);p=k.compareEndPoints(j?&quot;StartToStart&quot;:&quot;EndToEnd&quot;,i);if(p&gt;0){q=r-1}else{if(p&lt;0){t=r+1}else{return{node:l}}}}if(p&lt;0){if(!l){k.moveToElementText(s);k.collapse(true);l=s;n=true}else{k.co
 llapse(false)}o=0;while(k.compareEndPoints(j?&quot;StartToStart&quot;:&quot;StartToEnd&quot;,i)!==0){if(k.move(&quot;character&quot;,1)===0||s!=k.parentElement()){break}o++}}else{k.collapse(true);o=0;while(k.compareEndPoints(j?&quot;StartToStart&quot;:&quot;StartToEnd&quot;,i)!==0){if(k.move(&quot;character&quot;,-1)===0||s!=k.parentElement()){break}o++}}return{node:l,position:p,offset:o,inside:n}}function g(){var i=d.getRng(),r=h.createRng(),l,k,p,q,m,j;l=i.item?i.item(0):i.parentElement();if(l.ownerDocument!=h.doc){return r}k=d.isCollapsed();if(i.item){r.setStart(l.parentNode,h.nodeIndex(l));r.setEnd(r.startContainer,r.startOffset+1);return r}function o(A){var u=e(i,A),s,y,z=0,x,v,t;s=u.node;y=u.offset;if(u.inside&amp;&amp;!s.hasChildNodes()){r[A?&quot;setStart&quot;:&quot;setEnd&quot;](s,0);return}if(y===v){r[A?&quot;setStartBefore&quot;:&quot;setEndAfter&quot;](s);return}if(u.position&lt;0){x=u.inside?s.firstChild:s.nextSibling;if(!x){r[A?&quot;setStartAfter&quot;:&quot;
 setEndAfter&quot;](s);return}if(!y){if(x.nodeType==3){r[A?&quot;setStart&quot;:&quot;setEnd&quot;](x,0)}else{r[A?&quot;setStartBefore&quot;:&quot;setEndBefore&quot;](x)}return}while(x){t=x.nodeValue;z+=t.length;if(z&gt;=y){s=x;z-=y;z=t.length-z;break}x=x.nextSibling}}else{x=s.previousSibling;if(!x){return r[A?&quot;setStartBefore&quot;:&quot;setEndBefore&quot;](s)}if(!y){if(s.nodeType==3){r[A?&quot;setStart&quot;:&quot;setEnd&quot;](x,s.nodeValue.length)}else{r[A?&quot;setStartAfter&quot;:&quot;setEndAfter&quot;](x)}return}while(x){z+=x.nodeValue.length;if(z&gt;=y){s=x;z-=y;break}x=x.previousSibling}}r[A?&quot;setStart&quot;:&quot;setEnd&quot;](s,z)}try{o(true);if(!k){o()}}catch(n){if(n.number==-2147024809){m=b.getBookmark(2);p=i.duplicate();p.collapse(true);l=p.parentElement();if(!k){p=i.duplicate();p.collapse(false);q=p.parentElement();q.innerHTML=q.innerHTML}l.innerHTML=l.innerHTML;b.moveToBookmark(m);i=d.getRng();o(true);if(!k){o()}}else{throw n}}return r}this.getBookmar
 k=function(m){var j=d.getRng(),o,i,l={};function n(u){var t,p,s,r,q=[];t=u.parentNode;p=h.getRoot().parentNode;while(t!=p&amp;&amp;t.nodeType!==9){s=t.children;r=s.length;while(r--){if(u===s[r]){q.push(r);break}}u=t;t=t.parentNode}return q}function k(q){var p;p=e(j,q);if(p){return{position:p.position,offset:p.offset,indexes:n(p.node),inside:p.inside}}}if(m===2){if(!j.item){l.start=k(true);if(!d.isCollapsed()){l.end=k()}}else{l.start={ctrl:true,indexes:n(j.item(0))}}}return l};this.moveToBookmark=function(k){var j,i=h.doc.body;function m(o){var r,q,n,p;r=h.getRoot();for(q=o.length-1;q&gt;=0;q--){p=r.children;n=o[q];if(n&lt;=p.length-1){r=p[n]}}return r}function l(r){var n=k[r?&quot;start&quot;:&quot;end&quot;],q,p,o;if(n){q=n.position&gt;0;p=i.createTextRange();p.moveToElementText(m(n.indexes));offset=n.offset;if(offset!==o){p.collapse(n.inside||q);p.moveStart(&quot;character&quot;,q?-offset:offset)}else{p.collapse(r)}j.setEndPoint(r?&quot;StartToStart&quot;:&quot;EndToStart&
 quot;,p);if(r){j.collapse(true)}}}if(k.start){if(k.start.ctrl){j=i.createControlRange();j.addElement(m(k.start.indexes));j.select()}else{j=i.createTextRange();l(true);l();j.select()}}};this.addRange=function(i){var n,l,k,p,v,q,t,s=d.dom.doc,m=s.body,r,u;function j(C){var y,B,x,A,z;x=h.create(&quot;a&quot;);y=C?k:v;B=C?p:q;A=n.duplicate();if(y==s||y==s.documentElement){y=m;B=0}if(y.nodeType==3){y.parentNode.insertBefore(x,y);A.moveToElementText(x);A.moveStart(&quot;character&quot;,B);h.remove(x);n.setEndPoint(C?&quot;StartToStart&quot;:&quot;EndToEnd&quot;,A)}else{z=y.childNodes;if(z.length){if(B&gt;=z.length){h.insertAfter(x,z[z.length-1])}else{y.insertBefore(x,z[B])}A.moveToElementText(x)}else{if(y.canHaveHTML){y.innerHTML=&quot;&lt;span&gt;\uFEFF&lt;/span&gt;&quot;;x=y.firstChild;A.moveToElementText(x);A.collapse(f)}}n.setEndPoint(C?&quot;StartToStart&quot;:&quot;EndToEnd&quot;,A);h.remove(x)}}k=i.startContainer;p=i.startOffset;v=i.endContainer;q=i.endOffset;n=m.createText
 Range();if(k==v&amp;&amp;k.nodeType==1){if(p==q&amp;&amp;!k.hasChildNodes()){if(k.canHaveHTML){t=k.previousSibling;if(t&amp;&amp;!t.hasChildNodes()&amp;&amp;h.isBlock(t)){t.innerHTML=&quot;\uFEFF&quot;}else{t=null}k.innerHTML=&quot;&lt;span&gt;\uFEFF&lt;/span&gt;&lt;span&gt;\uFEFF&lt;/span&gt;&quot;;n.moveToElementText(k.lastChild);n.select();h.doc.selection.clear();k.innerHTML=&quot;&quot;;if(t){t.innerHTML=&quot;&quot;}return}else{p=h.nodeIndex(k);k=k.parentNode}}if(p==q-1){try{u=k.childNodes[p];l=m.createControlRange();l.addElement(u);l.select();r=d.getRng();if(r.item&amp;&amp;u===r.item(0)){return}}catch(o){}}}j(true);j();n.select()};this.getRangeAt=g}tinymce.dom.TridentSelection=a})();(function(){var n=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['&quot;][^'&quot;]*['&quot;]|[^\[\]'&quot;]+)+\]|\\.|[^ &gt;+~,(\[\\]+)+|[&gt;+~])(\s*,\s*)?((?:.|\r|\n)*)/g,i=&quot;sizcache&quot;,o=0,r=Object.prototype.toString,h=false,g=true,q=/\\/g,u=/\r\n/g,x=/\W/;[0,0].sort(functi
 on(){g=false;return 0});var d=function(C,e,F,G){F=F||[];e=e||document;var I=e;if(e.nodeType!==1&amp;&amp;e.nodeType!==9){return[]}if(!C||typeof C!==&quot;string&quot;){return F}var z,K,N,y,J,M,L,E,B=true,A=d.isXML(e),D=[],H=C;do{n.exec(&quot;&quot;);z=n.exec(H);if(z){H=z[3];D.push(z[1]);if(z[2]){y=z[3];break}}}while(z);if(D.length&gt;1&amp;&amp;j.exec(C)){if(D.length===2&amp;&amp;k.relative[D[0]]){K=s(D[0]+D[1],e,G)}else{K=k.relative[D[0]]?[e]:d(D.shift(),e);while(D.length){C=D.shift();if(k.relative[C]){C+=D.shift()}K=s(C,K,G)}}}else{if(!G&amp;&amp;D.length&gt;1&amp;&amp;e.nodeType===9&amp;&amp;!A&amp;&amp;k.match.ID.test(D[0])&amp;&amp;!k.match.ID.test(D[D.length-1])){J=d.find(D.shift(),e,A);e=J.expr?d.filter(J.expr,J.set)[0]:J.set[0]}if(e){J=G?{expr:D.pop(),set:l(G)}:d.find(D.pop(),D.length===1&amp;&amp;(D[0]===&quot;~&quot;||D[0]===&quot;+&quot;)&amp;&amp;e.parentNode?e.parentNode:e,A);K=J.expr?d.filter(J.expr,J.set):J.set;if(D.length&gt;0){N=l(K)}else{B=false}while(D.len
 gth){M=D.pop();L=M;if(!k.relative[M]){M=&quot;&quot;}else{L=D.pop()}if(L==null){L=e}k.relative[M](N,L,A)}}else{N=D=[]}}if(!N){N=K}if(!N){d.error(M||C)}if(r.call(N)===&quot;[object Array]&quot;){if(!B){F.push.apply(F,N)}else{if(e&amp;&amp;e.nodeType===1){for(E=0;N[E]!=null;E++){if(N[E]&amp;&amp;(N[E]===true||N[E].nodeType===1&amp;&amp;d.contains(e,N[E]))){F.push(K[E])}}}else{for(E=0;N[E]!=null;E++){if(N[E]&amp;&amp;N[E].nodeType===1){F.push(K[E])}}}}}else{l(N,F)}if(y){d(y,I,F,G);d.uniqueSort(F)}return F};d.uniqueSort=function(y){if(p){h=g;y.sort(p);if(h){for(var e=1;e&lt;y.length;e++){if(y[e]===y[e-1]){y.splice(e--,1)}}}}return y};d.matches=function(e,y){return d(e,null,null,y)};d.matchesSelector=function(e,y){return d(y,null,null,[e]).length&gt;0};d.find=function(E,e,F){var D,z,B,A,C,y;if(!E){return[]}for(z=0,B=k.order.length;z&lt;B;z++){C=k.order[z];if((A=k.leftMatch[C].exec(E))){y=A[1];A.splice(1,1);if(y.substr(y.length-1)!==&quot;\\&quot;){A[1]=(A[1]||&quot;&quot;).replac
 e(q,&quot;&quot;);D=k.find[C](A,e,F);if(D!=null){E=E.replace(k.match[C],&quot;&quot;);break}}}}if(!D){D=typeof e.getElementsByTagName!==&quot;undefined&quot;?e.getElementsByTagName(&quot;*&quot;):[]}return{set:D,expr:E}};d.filter=function(I,H,L,B){var D,e,G,N,K,y,A,C,J,z=I,M=[],F=H,E=H&amp;&amp;H[0]&amp;&amp;d.isXML(H[0]);while(I&amp;&amp;H.length){for(G in k.filter){if((D=k.leftMatch[G].exec(I))!=null&amp;&amp;D[2]){y=k.filter[G];A=D[1];e=false;D.splice(1,1);if(A.substr(A.length-1)===&quot;\\&quot;){continue}if(F===M){M=[]}if(k.preFilter[G]){D=k.preFilter[G](D,F,L,M,B,E);if(!D){e=N=true}else{if(D===true){continue}}}if(D){for(C=0;(K=F[C])!=null;C++){if(K){N=y(K,D,C,F);J=B^N;if(L&amp;&amp;N!=null){if(J){e=true}else{F[C]=false}}else{if(J){M.push(K);e=true}}}}}if(N!==undefined){if(!L){F=M}I=I.replace(k.match[G],&quot;&quot;);if(!e){return[]}break}}}if(I===z){if(e==null){d.error(I)}else{break}}z=I}return F};d.error=function(e){throw new Error(&quot;Syntax error, unrecognized exp
 ression: &quot;+e)};var b=d.getText=function(B){var z,A,e=B.nodeType,y=&quot;&quot;;if(e){if(e===1||e===9||e===11){if(typeof B.textContent===&quot;string&quot;){return B.textContent}else{if(typeof B.innerText===&quot;string&quot;){return B.innerText.replace(u,&quot;&quot;)}else{for(B=B.firstChild;B;B=B.nextSibling){y+=b(B)}}}}else{if(e===3||e===4){return B.nodeValue}}}else{for(z=0;(A=B[z]);z++){if(A.nodeType!==8){y+=b(A)}}}return y};var k=d.selectors={order:[&quot;ID&quot;,&quot;NAME&quot;,&quot;TAG&quot;],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['&quot;]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['&quot;]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['&quot;])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))
 ?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['&quot;]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{&quot;class&quot;:&quot;className&quot;,&quot;for&quot;:&quot;htmlFor&quot;},attrHandle:{href:function(e){return e.getAttribute(&quot;href&quot;)},type:function(e){return e.getAttribute(&quot;type&quot;)}},relative:{&quot;+&quot;:function(D,y){var A=typeof y===&quot;string&quot;,C=A&amp;&amp;!x.test(y),E=A&amp;&amp;!C;if(C){y=y.toLowerCase()}for(var z=0,e=D.length,B;z&lt;e;z++){if((B=D[z])){while((B=B.previousSibling)&amp;&amp;B.nodeType!==1){}D[z]=E||B&amp;&amp;B.nodeName.toLowerCase()===y?B||false:B===y}}if(E){d.filter(y,D,true)}},&quot;&gt;&quot;:function(D,y){var C,B=typeof y===&quot;string&quot;,z=0,e=D.length;if(B&amp;&amp;!x.test(y)){y=y.toLowerCase();for(;z&lt;e;z++){C=D[z];if(C){var A=C.parentNode;D[z]=A.nodeName.toLowerCase()===y?A:false}}}else{for(;z&lt;e;z++){C=D[z];if(C){D[z]=B?C.parentNode:C.parentNode===y}}if(B){d.filter(y,D,true)}}},&
 quot;&quot;:function(A,y,C){var B,z=o++,e=t;if(typeof y===&quot;string&quot;&amp;&amp;!x.test(y)){y=y.toLowerCase();B=y;e=a}e(&quot;parentNode&quot;,y,z,A,B,C)},&quot;~&quot;:function(A,y,C){var B,z=o++,e=t;if(typeof y===&quot;string&quot;&amp;&amp;!x.test(y)){y=y.toLowerCase();B=y;e=a}e(&quot;previousSibling&quot;,y,z,A,B,C)}},find:{ID:function(y,z,A){if(typeof z.getElementById!==&quot;undefined&quot;&amp;&amp;!A){var e=z.getElementById(y[1]);return e&amp;&amp;e.parentNode?[e]:[]}},NAME:function(z,C){if(typeof C.getElementsByName!==&quot;undefined&quot;){var y=[],B=C.getElementsByName(z[1]);for(var A=0,e=B.length;A&lt;e;A++){if(B[A].getAttribute(&quot;name&quot;)===z[1]){y.push(B[A])}}return y.length===0?null:y}},TAG:function(e,y){if(typeof y.getElementsByTagName!==&quot;undefined&quot;){return y.getElementsByTagName(e[1])}}},preFilter:{CLASS:function(A,y,z,e,D,E){A=&quot; &quot;+A[1].replace(q,&quot;&quot;)+&quot; &quot;;if(E){return A}for(var B=0,C;(C=y[B])!=null;B++){if(
 C){if(D^(C.className&amp;&amp;(&quot; &quot;+C.className+&quot; &quot;).replace(/[\t\n\r]/g,&quot; &quot;).indexOf(A)&gt;=0)){if(!z){e.push(C)}}else{if(z){y[B]=false}}}}return false},ID:function(e){return e[1].replace(q,&quot;&quot;)},TAG:function(y,e){return y[1].replace(q,&quot;&quot;).toLowerCase()},CHILD:function(e){if(e[1]===&quot;nth&quot;){if(!e[2]){d.error(e[0])}e[2]=e[2].replace(/^\+|\s*/g,&quot;&quot;);var y=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(e[2]===&quot;even&quot;&amp;&amp;&quot;2n&quot;||e[2]===&quot;odd&quot;&amp;&amp;&quot;2n+1&quot;||!/\D/.test(e[2])&amp;&amp;&quot;0n+&quot;+e[2]||e[2]);e[2]=(y[1]+(y[2]||1))-0;e[3]=y[3]-0}else{if(e[2]){d.error(e[0])}}e[0]=o++;return e},ATTR:function(B,y,z,e,C,D){var A=B[1]=B[1].replace(q,&quot;&quot;);if(!D&amp;&amp;k.attrMap[A]){B[1]=k.attrMap[A]}B[4]=(B[4]||B[5]||&quot;&quot;).replace(q,&quot;&quot;);if(B[2]===&quot;~=&quot;){B[4]=&quot; &quot;+B[4]+&quot; &quot;}return B},PSEUDO:function(B,y,z,e,C){if(B[1]===&quot;not&quot;
 ){if((n.exec(B[3])||&quot;&quot;).length&gt;1||/^\w/.test(B[3])){B[3]=d(B[3],null,null,y)}else{var A=d.filter(B[3],y,z,true^C);if(!z){e.push.apply(e,A)}return false}}else{if(k.match.POS.test(B[0])||k.match.CHILD.test(B[0])){return true}}return B},POS:function(e){e.unshift(true);return e}},filters:{enabled:function(e){return e.disabled===false&amp;&amp;e.type!==&quot;hidden&quot;},disabled:function(e){return e.disabled===true},checked:function(e){return e.checked===true},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex}return e.selected===true},parent:function(e){return !!e.firstChild},empty:function(e){return !e.firstChild},has:function(z,y,e){return !!d(e[3],z).length},header:function(e){return(/h\d/i).test(e.nodeName)},text:function(z){var e=z.getAttribute(&quot;type&quot;),y=z.type;return z.nodeName.toLowerCase()===&quot;input&quot;&amp;&amp;&quot;text&quot;===y&amp;&amp;(e===y||e===null)},radio:function(e){return e.nodeName.toLowerCase()===&quot;input&quo
 t;&amp;&amp;&quot;radio&quot;===e.type},checkbox:function(e){return e.nodeName.toLowerCase()===&quot;input&quot;&amp;&amp;&quot;checkbox&quot;===e.type},file:function(e){return e.nodeName.toLowerCase()===&quot;input&quot;&amp;&amp;&quot;file&quot;===e.type},password:function(e){return e.nodeName.toLowerCase()===&quot;input&quot;&amp;&amp;&quot;password&quot;===e.type},submit:function(y){var e=y.nodeName.toLowerCase();return(e===&quot;input&quot;||e===&quot;button&quot;)&amp;&amp;&quot;submit&quot;===y.type},image:function(e){return e.nodeName.toLowerCase()===&quot;input&quot;&amp;&amp;&quot;image&quot;===e.type},reset:function(y){var e=y.nodeName.toLowerCase();return(e===&quot;input&quot;||e===&quot;button&quot;)&amp;&amp;&quot;reset&quot;===y.type},button:function(y){var e=y.nodeName.toLowerCase();return e===&quot;input&quot;&amp;&amp;&quot;button&quot;===y.type||e===&quot;button&quot;},input:function(e){return(/input|select|textarea|button/i).test(e.nodeName)},focus:functi
 on(e){return e===e.ownerDocument.activeElement}},setFilters:{first:function(y,e){return e===0},last:function(z,y,e,A){return y===A.length-1},even:function(y,e){return e%2===0},odd:function(y,e){return e%2===1},lt:function(z,y,e){return y&lt;e[3]-0},gt:function(z,y,e){return y&gt;e[3]-0},nth:function(z,y,e){return e[3]-0===y},eq:function(z,y,e){return e[3]-0===y}},filter:{PSEUDO:function(z,E,D,F){var e=E[1],y=k.filters[e];if(y){return y(z,D,E,F)}else{if(e===&quot;contains&quot;){return(z.textContent||z.innerText||b([z])||&quot;&quot;).indexOf(E[3])&gt;=0}else{if(e===&quot;not&quot;){var A=E[3];for(var C=0,B=A.length;C&lt;B;C++){if(A[C]===z){return false}}return true}else{d.error(e)}}}},CHILD:function(z,B){var A,H,D,G,e,C,F,E=B[1],y=z;switch(E){case&quot;only&quot;:case&quot;first&quot;:while((y=y.previousSibling)){if(y.nodeType===1){return false}}if(E===&quot;first&quot;){return true}y=z;case&quot;last&quot;:while((y=y.nextSibling)){if(y.nodeType===1){return false}}return tru
 e;case&quot;nth&quot;:A=B[2];H=B[3];if(A===1&amp;&amp;H===0){return true}D=B[0];G=z.parentNode;if(G&amp;&amp;(G[i]!==D||!z.nodeIndex)){C=0;for(y=G.firstChild;y;y=y.nextSibling){if(y.nodeType===1){y.nodeIndex=++C}}G[i]=D}F=z.nodeIndex-H;if(A===0){return F===0}else{return(F%A===0&amp;&amp;F/A&gt;=0)}}},ID:function(y,e){return y.nodeType===1&amp;&amp;y.getAttribute(&quot;id&quot;)===e},TAG:function(y,e){return(e===&quot;*&quot;&amp;&amp;y.nodeType===1)||!!y.nodeName&amp;&amp;y.nodeName.toLowerCase()===e},CLASS:function(y,e){return(&quot; &quot;+(y.className||y.getAttribute(&quot;class&quot;))+&quot; &quot;).indexOf(e)&gt;-1},ATTR:function(C,A){var z=A[1],e=d.attr?d.attr(C,z):k.attrHandle[z]?k.attrHandle[z](C):C[z]!=null?C[z]:C.getAttribute(z),D=e+&quot;&quot;,B=A[2],y=A[4];return e==null?B===&quot;!=&quot;:!B&amp;&amp;d.attr?e!=null:B===&quot;=&quot;?D===y:B===&quot;*=&quot;?D.indexOf(y)&gt;=0:B===&quot;~=&quot;?(&quot; &quot;+D+&quot; &quot;).indexOf(y)&gt;=0:!y?D&amp;&amp;e!=
 =false:B===&quot;!=&quot;?D!==y:B===&quot;^=&quot;?D.indexOf(y)===0:B===&quot;$=&quot;?D.substr(D.length-y.length)===y:B===&quot;|=&quot;?D===y||D.substr(0,y.length+1)===y+&quot;-&quot;:false},POS:function(B,y,z,C){var e=y[2],A=k.setFilters[e];if(A){return A(B,z,y,C)}}}};var j=k.match.POS,c=function(y,e){return&quot;\\&quot;+(e-0+1)};for(var f in k.match){k.match[f]=new RegExp(k.match[f].source+(/(?![^\[]*\])(?![^\(]*\))/.source));k.leftMatch[f]=new RegExp(/(^(?:.|\r|\n)*?)/.source+k.match[f].source.replace(/\\(\d+)/g,c))}k.match.globalPOS=j;var l=function(y,e){y=Array.prototype.slice.call(y,0);if(e){e.push.apply(e,y);return e}return y};try{Array.prototype.slice.call(document.documentElement.childNodes,0)[0].nodeType}catch(v){l=function(B,A){var z=0,y=A||[];if(r.call(B)===&quot;[object Array]&quot;){Array.prototype.push.apply(y,B)}else{if(typeof B.length===&quot;number&quot;){for(var e=B.length;z&lt;e;z++){y.push(B[z])}}else{for(;B[z];z++){y.push(B[z])}}}return y}}var p,m;if
 (document.documentElement.compareDocumentPosition){p=function(y,e){if(y===e){h=true;return 0}if(!y.compareDocumentPosition||!e.compareDocumentPosition){return y.compareDocumentPosition?-1:1}return y.compareDocumentPosition(e)&amp;4?-1:1}}else{p=function(F,E){if(F===E){h=true;return 0}else{if(F.sourceIndex&amp;&amp;E.sourceIndex){return F.sourceIndex-E.sourceIndex}}var C,y,z=[],e=[],B=F.parentNode,D=E.parentNode,G=B;if(B===D){return m(F,E)}else{if(!B){return -1}else{if(!D){return 1}}}while(G){z.unshift(G);G=G.parentNode}G=D;while(G){e.unshift(G);G=G.parentNode}C=z.length;y=e.length;for(var A=0;A&lt;C&amp;&amp;A&lt;y;A++){if(z[A]!==e[A]){return m(z[A],e[A])}}return A===C?m(F,e[A],-1):m(z[A],E,1)};m=function(y,e,z){if(y===e){return z}var A=y.nextSibling;while(A){if(A===e){return -1}A=A.nextSibling}return 1}}(function(){var y=document.createElement(&quot;div&quot;),z=&quot;script&quot;+(new Date()).getTime(),e=document.documentElement;y.innerHTML=&quot;&lt;a name='&quot;+z+&quot
 ;'/&gt;&quot;;e.insertBefore(y,e.firstChild);if(document.getElementById(z)){k.find.ID=function(B,C,D){if(typeof C.getElementById!==&quot;undefined&quot;&amp;&amp;!D){var A=C.getElementById(B[1]);return A?A.id===B[1]||typeof A.getAttributeNode!==&quot;undefined&quot;&amp;&amp;A.getAttributeNode(&quot;id&quot;).nodeValue===B[1]?[A]:undefined:[]}};k.filter.ID=function(C,A){var B=typeof C.getAttributeNode!==&quot;undefined&quot;&amp;&amp;C.getAttributeNode(&quot;id&quot;);return C.nodeType===1&amp;&amp;B&amp;&amp;B.nodeValue===A}}e.removeChild(y);e=y=null})();(function(){var e=document.createElement(&quot;div&quot;);e.appendChild(document.createComment(&quot;&quot;));if(e.getElementsByTagName(&quot;*&quot;).length&gt;0){k.find.TAG=function(y,C){var B=C.getElementsByTagName(y[1]);if(y[1]===&quot;*&quot;){var A=[];for(var z=0;B[z];z++){if(B[z].nodeType===1){A.push(B[z])}}B=A}return B}}e.innerHTML=&quot;&lt;a href='#'&gt;&lt;/a&gt;&quot;;if(e.firstChild&amp;&amp;typeof e.firstChild
 .getAttribute!==&quot;undefined&quot;&amp;&amp;e.firstChild.getAttribute(&quot;href&quot;)!==&quot;#&quot;){k.attrHandle.href=function(y){return y.getAttribute(&quot;href&quot;,2)}}e=null})();if(document.querySelectorAll){(function(){var e=d,A=document.createElement(&quot;div&quot;),z=&quot;__sizzle__&quot;;A.innerHTML=&quot;&lt;p class='TEST'&gt;&lt;/p&gt;&quot;;if(A.querySelectorAll&amp;&amp;A.querySelectorAll(&quot;.TEST&quot;).length===0){return}d=function(L,C,G,K){C=C||document;if(!K&amp;&amp;!d.isXML(C)){var J=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(L);if(J&amp;&amp;(C.nodeType===1||C.nodeType===9)){if(J[1]){return l(C.getElementsByTagName(L),G)}else{if(J[2]&amp;&amp;k.find.CLASS&amp;&amp;C.getElementsByClassName){return l(C.getElementsByClassName(J[2]),G)}}}if(C.nodeType===9){if(L===&quot;body&quot;&amp;&amp;C.body){return l([C.body],G)}else{if(J&amp;&amp;J[3]){var F=C.getElementById(J[3]);if(F&amp;&amp;F.parentNode){if(F.id===J[3]){return l([F],G)}}else{return l([]
 ,G)}}}try{return l(C.querySelectorAll(L),G)}catch(H){}}else{if(C.nodeType===1&amp;&amp;C.nodeName.toLowerCase()!==&quot;object&quot;){var D=C,E=C.getAttribute(&quot;id&quot;),B=E||z,N=C.parentNode,M=/^\s*[+~]/.test(L);if(!E){C.setAttribute(&quot;id&quot;,B)}else{B=B.replace(/'/g,&quot;\\$&amp;&quot;)}if(M&amp;&amp;N){C=C.parentNode}try{if(!M||N){return l(C.querySelectorAll(&quot;[id='&quot;+B+&quot;'] &quot;+L),G)}}catch(I){}finally{if(!E){D.removeAttribute(&quot;id&quot;)}}}}}return e(L,C,G,K)};for(var y in e){d[y]=e[y]}A=null})()}(function(){var e=document.documentElement,z=e.matchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.msMatchesSelector;if(z){var B=!z.call(document.createElement(&quot;div&quot;),&quot;div&quot;),y=false;try{z.call(document.documentElement,&quot;[test!='']:sizzle&quot;)}catch(A){y=true}d.matchesSelector=function(D,F){F=F.replace(/\=\s*([^'&quot;\]]*)\s*\]/g,&quot;='$1']&quot;);if(!d.isXML(D)){try{if(y||!k.match.PSEUDO.test(F)&amp;&amp;
 !/!=/.test(F)){var C=z.call(D,F);if(C||!B||D.document&amp;&amp;D.document.nodeType!==11){return C}}}catch(E){}}return d(F,null,null,[D]).length&gt;0}}})();(function(){var e=document.createElement(&quot;div&quot;);e.innerHTML=&quot;&lt;div class='test e'&gt;&lt;/div&gt;&lt;div class='test'&gt;&lt;/div&gt;&quot;;if(!e.getElementsByClassName||e.getElementsByClassName(&quot;e&quot;).length===0){return}e.lastChild.className=&quot;e&quot;;if(e.getElementsByClassName(&quot;e&quot;).length===1){return}k.order.splice(1,0,&quot;CLASS&quot;);k.find.CLASS=function(y,z,A){if(typeof z.getElementsByClassName!==&quot;undefined&quot;&amp;&amp;!A){return z.getElementsByClassName(y[1])}};e=null})();function a(y,D,C,G,E,F){for(var A=0,z=G.length;A&lt;z;A++){var e=G[A];if(e){var B=false;e=e[y];while(e){if(e[i]===C){B=G[e.sizset];break}if(e.nodeType===1&amp;&amp;!F){e[i]=C;e.sizset=A}if(e.nodeName.toLowerCase()===D){B=e;break}e=e[y]}G[A]=B}}}function t(y,D,C,G,E,F){for(var A=0,z=G.length;A&lt;z;A
 ++){var e=G[A];if(e){var B=false;e=e[y];while(e){if(e[i]===C){B=G[e.sizset];break}if(e.nodeType===1){if(!F){e[i]=C;e.sizset=A}if(typeof D!==&quot;string&quot;){if(e===D){B=true;break}}else{if(d.filter(D,[e]).length&gt;0){B=e;break}}}e=e[y]}G[A]=B}}}if(document.documentElement.contains){d.contains=function(y,e){return y!==e&amp;&amp;(y.contains?y.contains(e):true)}}else{if(document.documentElement.compareDocumentPosition){d.contains=function(y,e){return !!(y.compareDocumentPosition(e)&amp;16)}}else{d.contains=function(){return false}}}d.isXML=function(e){var y=(e?e.ownerDocument||e:0).documentElement;return y?y.nodeName!==&quot;HTML&quot;:false};var s=function(z,e,D){var C,E=[],B=&quot;&quot;,F=e.nodeType?[e]:e;while((C=k.match.PSEUDO.exec(z))){B+=C[0];z=z.replace(k.match.PSEUDO,&quot;&quot;)}z=k.relative[z]?z+&quot;*&quot;:z;for(var A=0,y=F.length;A&lt;y;A++){d(z,F[A],E,D)}return d.filter(B,E)};window.tinymce.dom.Sizzle=d})();(function(a){a.dom.Element=function(f,d){var b=th
 is,e,c;b.settings=d=d||{};b.id=f;b.dom=e=d.dom||a.DOM;if(!a.isIE){c=e.get(b.id)}a.each((&quot;getPos,getRect,getParent,add,setStyle,getStyle,setStyles,setAttrib,setAttribs,getAttrib,addClass,removeClass,hasClass,getOuterHTML,setOuterHTML,remove,show,hide,isHidden,setHTML,get&quot;).split(/,/),function(g){b[g]=function(){var h=[f],j;for(j=0;j&lt;arguments.length;j++){h.push(arguments[j])}h=e[g].apply(e,h);b.update(g);return h}});a.extend(b,{on:function(i,h,g){return a.dom.Event.add(b.id,i,h,g)},getXY:function(){return{x:parseInt(b.getStyle(&quot;left&quot;)),y:parseInt(b.getStyle(&quot;top&quot;))}},getSize:function(){var g=e.get(b.id);return{w:parseInt(b.getStyle(&quot;width&quot;)||g.clientWidth),h:parseInt(b.getStyle(&quot;height&quot;)||g.clientHeight)}},moveTo:function(g,h){b.setStyles({left:g,top:h})},moveBy:function(g,i){var h=b.getXY();b.moveTo(h.x+g,h.y+i)},resizeTo:function(g,i){b.setStyles({width:g,height:i})},resizeBy:function(g,j){var i=b.getSize();b.resizeTo(i.w
 +g,i.h+j)},update:function(h){var g;if(a.isIE6&amp;&amp;d.blocker){h=h||&quot;&quot;;if(h.indexOf(&quot;get&quot;)===0||h.indexOf(&quot;has&quot;)===0||h.indexOf(&quot;is&quot;)===0){return}if(h==&quot;remove&quot;){e.remove(b.blocker);return}if(!b.blocker){b.blocker=e.uniqueId();g=e.add(d.container||e.getRoot(),&quot;iframe&quot;,{id:b.blocker,style:&quot;position:absolute;&quot;,frameBorder:0,src:'javascript:&quot;&quot;'});e.setStyle(g,&quot;opacity&quot;,0)}else{g=e.get(b.blocker)}e.setStyles(g,{left:b.getStyle(&quot;left&quot;,1),top:b.getStyle(&quot;top&quot;,1),width:b.getStyle(&quot;width&quot;,1),height:b.getStyle(&quot;height&quot;,1),display:b.getStyle(&quot;display&quot;,1),zIndex:parseInt(b.getStyle(&quot;zIndex&quot;,1)||0)-1})}}})}})(tinymce);(function(d){function f(g){return g.replace(/[\n\r]+/g,&quot;&quot;)}var c=d.is,b=d.isIE,e=d.each,a=d.dom.TreeWalker;d.create(&quot;tinymce.dom.Selection&quot;,{Selection:function(k,j,i,h){var g=this;g.dom=k;g.win=j;g.ser
 ializer=i;g.editor=h;e([&quot;onBeforeSetContent&quot;,&quot;onBeforeGetContent&quot;,&quot;onSetContent&quot;,&quot;onGetContent&quot;],function(l){g[l]=new d.util.Dispatcher(g)});if(!g.win.getSelection){g.tridentSel=new d.dom.TridentSelection(g)}if(d.isIE&amp;&amp;k.boxModel){this._fixIESelection()}d.addUnload(g.destroy,g)},setCursorLocation:function(i,j){var g=this;var h=g.dom.createRng();h.setStart(i,j);h.setEnd(i,j);g.setRng(h);g.collapse(false)},getContent:function(h){var g=this,i=g.getRng(),m=g.dom.create(&quot;body&quot;),k=g.getSel(),j,l,o;h=h||{};j=l=&quot;&quot;;h.get=true;h.format=h.format||&quot;html&quot;;h.forced_root_block=&quot;&quot;;g.onBeforeGetContent.dispatch(g,h);if(h.format==&quot;text&quot;){return g.isCollapsed()?&quot;&quot;:(i.text||(k.toString?k.toString():&quot;&quot;))}if(i.cloneContents){o=i.cloneContents();if(o){m.appendChild(o)}}else{if(c(i.item)||c(i.htmlText)){m.innerHTML=&quot;&lt;br&gt;&quot;+(i.item?i.item(0).outerHTML:i.htmlText);m.rem
 oveChild(m.firstChild)}else{m.innerHTML=i.toString()}}if(/^\s/.test(m.innerHTML)){j=&quot; &quot;}if(/\s+$/.test(m.innerHTML)){l=&quot; &quot;}h.getInner=true;h.content=g.isCollapsed()?&quot;&quot;:j+g.serializer.serialize(m,h)+l;g.onGetContent.dispatch(g,h);return h.content},setContent:function(h,j){var o=this,g=o.getRng(),k,l=o.win.document,n,m;j=j||{format:&quot;html&quot;};j.set=true;h=j.content=h;if(!j.no_events){o.onBeforeSetContent.dispatch(o,j)}h=j.content;if(g.insertNode){h+='&lt;span id=&quot;__caret&quot;&gt;_&lt;/span&gt;';if(g.startContainer==l&amp;&amp;g.endContainer==l){l.body.innerHTML=h}else{g.deleteContents();if(l.body.childNodes.length===0){l.body.innerHTML=h}else{if(g.createContextualFragment){g.insertNode(g.createContextualFragment(h))}else{n=l.createDocumentFragment();m=l.createElement(&quot;div&quot;);n.appendChild(m);m.outerHTML=h;g.insertNode(n)}}}k=o.dom.get(&quot;__caret&quot;);g=l.createRange();g.setStartBefore(k);g.setEndBefore(k);o.setRng(g);o.d
 om.remove(&quot;__caret&quot;);try{o.setRng(g)}catch(i){}}else{if(g.item){l.execCommand(&quot;Delete&quot;,false,null);g=o.getRng()}if(/^\s+/.test(h)){g.pasteHTML('&lt;span id=&quot;__mce_tmp&quot;&gt;_&lt;/span&gt;'+h);o.dom.remove(&quot;__mce_tmp&quot;)}else{g.pasteHTML(h)}}if(!j.no_events){o.onSetContent.dispatch(o,j)}},getStart:function(){var i=this,h=i.getRng(),j,g,l,k;if(h.duplicate||h.item){if(h.item){return h.item(0)}l=h.duplicate();l.collapse(1);j=l.parentElement();if(j.ownerDocument!==i.dom.doc){j=i.dom.getRoot()}g=k=h.parentElement();while(k=k.parentNode){if(k==j){j=g;break}}return j}else{j=h.startContainer;if(j.nodeType==1&amp;&amp;j.hasChildNodes()){j=j.childNodes[Math.min(j.childNodes.length-1,h.startOffset)]}if(j&amp;&amp;j.nodeType==3){return j.parentNode}return j}},getEnd:function(){var h=this,g=h.getRng(),j,i;if(g.duplicate||g.item){if(g.item){return g.item(0)}g=g.duplicate();g.collapse(0);j=g.parentElement();if(j.ownerDocument!==h.dom.doc){j=h.dom.getRoot(
 )}if(j&amp;&amp;j.nodeName==&quot;BODY&quot;){return j.lastChild||j}return j}else{j=g.endContainer;i=g.endOffset;if(j.nodeType==1&amp;&amp;j.hasChildNodes()){j=j.childNodes[i&gt;0?i-1:i]}if(j&amp;&amp;j.nodeType==3){return j.parentNode}return j}},getBookmark:function(s,v){var y=this,n=y.dom,h,k,j,o,i,p,q,m=&quot;\uFEFF&quot;,x;function g(z,A){var t=0;e(n.select(z),function(C,B){if(C==A){t=B}});return t}function u(t){function z(E){var A,D,C,B=E?&quot;start&quot;:&quot;end&quot;;A=t[B+&quot;Container&quot;];D=t[B+&quot;Offset&quot;];if(A.nodeType==1&amp;&amp;A.nodeName==&quot;TR&quot;){C=A.childNodes;A=C[Math.min(E?D:D-1,C.length-1)];if(A){D=E?0:A.childNodes.length;t[&quot;set&quot;+(E?&quot;Start&quot;:&quot;End&quot;)](A,D)}}}z(true);z();return t}function l(){var z=y.getRng(true),t=n.getRoot(),A={};function B(E,J){var D=E[J?&quot;startContainer&quot;:&quot;endContainer&quot;],I=E[J?&quot;startOffset&quot;:&quot;endOffset&quot;],C=[],F,H,G=0;if(D.nodeType==3){if(v){for(F=D.pr
 eviousSibling;F&amp;&amp;F.nodeType==3;F=F.previousSibling){I+=F.nodeValue.length}}C.push(I)}else{H=D.childNodes;if(I&gt;=H.length&amp;&amp;H.length){G=1;I=Math.max(0,H.length-1)}C.push(y.dom.nodeIndex(H[I],v)+G)}for(;D&amp;&amp;D!=t;D=D.parentNode){C.push(y.dom.nodeIndex(D,v))}return C}A.start=B(z,true);if(!y.isCollapsed()){A.end=B(z)}return A}if(s==2){if(y.tridentSel){return y.tridentSel.getBookmark(s)}return l()}if(s){return{rng:y.getRng()}}h=y.getRng();j=n.uniqueId();o=tinyMCE.activeEditor.selection.isCollapsed();x=&quot;overflow:hidden;line-height:0px&quot;;if(h.duplicate||h.item){if(!h.item){k=h.duplicate();try{h.collapse();h.pasteHTML('&lt;span data-mce-type=&quot;bookmark&quot; id=&quot;'+j+'_start&quot; style=&quot;'+x+'&quot;&gt;'+m+&quot;&lt;/span&gt;&quot;);if(!o){k.collapse(false);h.moveToElementText(k.parentElement());if(h.compareEndPoints(&quot;StartToEnd&quot;,k)===0){k.move(&quot;character&quot;,-1)}k.pasteHTML('&lt;span data-mce-type=&quot;bookmark&quot; id
 =&quot;'+j+'_end&quot; style=&quot;'+x+'&quot;&gt;'+m+&quot;&lt;/span&gt;&quot;)}}catch(r){return null}}else{p=h.item(0);i=p.nodeName;return{name:i,index:g(i,p)}}}else{p=y.getNode();i=p.nodeName;if(i==&quot;IMG&quot;){return{name:i,index:g(i,p)}}k=u(h.cloneRange());if(!o){k.collapse(false);k.insertNode(n.create(&quot;span&quot;,{&quot;data-mce-type&quot;:&quot;bookmark&quot;,id:j+&quot;_end&quot;,style:x},m))}h=u(h);h.collapse(true);h.insertNode(n.create(&quot;span&quot;,{&quot;data-mce-type&quot;:&quot;bookmark&quot;,id:j+&quot;_start&quot;,style:x},m))}y.moveToBookmark({id:j,keep:1});return{id:j}},moveToBookmark:function(o){var s=this,m=s.dom,j,i,g,r,k,u,p,q;function h(A){var t=o[A?&quot;start&quot;:&quot;end&quot;],x,y,z,v;if(t){z=t[0];for(y=r,x=t.length-1;x&gt;=1;x--){v=y.childNodes;if(t[x]&gt;v.length-1){return}y=v[t[x]]}if(y.nodeType===3){z=Math.min(t[0],y.nodeValue.length)}if(y.nodeType===1){z=Math.min(t[0],y.childNodes.length)}if(A){g.setStart(y,z)}else{g.setEnd(y,z)
 }}return true}function l(B){var v=m.get(o.id+&quot;_&quot;+B),A,t,y,z,x=o.keep;if(v){A=v.parentNode;if(B==&quot;start&quot;){if(!x){t=m.nodeIndex(v)}else{A=v.firstChild;t=1}k=u=A;p=q=t}else{if(!x){t=m.nodeIndex(v)}else{A=v.firstChild;t=1}u=A;q=t}if(!x){z=v.previousSibling;y=v.nextSibling;e(d.grep(v.childNodes),function(C){if(C.nodeType==3){C.nodeValue=C.nodeValue.replace(/\uFEFF/g,&quot;&quot;)}});while(v=m.get(o.id+&quot;_&quot;+B)){m.remove(v,1)}if(z&amp;&amp;y&amp;&amp;z.nodeType==y.nodeType&amp;&amp;z.nodeType==3&amp;&amp;!d.isOpera){t=z.nodeValue.length;z.appendData(y.nodeValue);m.remove(y);if(B==&quot;start&quot;){k=u=z;p=q=t}else{u=z;q=t}}}}}function n(t){if(m.isBlock(t)&amp;&amp;!t.innerHTML&amp;&amp;!b){t.innerHTML='&lt;br data-mce-bogus=&quot;1&quot; /&gt;'}return t}if(o){if(o.start){g=m.createRng();r=m.getRoot();if(s.tridentSel){return s.tridentSel.moveToBookmark(o)}if(h(true)&amp;&amp;h()){s.setRng(g)}}else{if(o.id){l(&quot;start&quot;);l(&quot;end&quot;);if(k){g
 =m.createRng();g.setStart(n(k),p);g.setEnd(n(u),q);s.setRng(g)}}else{if(o.name){s.select(m.select(o.name)[o.index])}else{if(o.rng){s.setRng(o.rng)}}}}}},select:function(l,k){var j=this,m=j.dom,h=m.createRng(),g;function i(n,p){var o=new a(n,n);do{if(n.nodeType==3&amp;&amp;d.trim(n.nodeValue).length!==0){if(p){h.setStart(n,0)}else{h.setEnd(n,n.nodeValue.length)}return}if(n.nodeName==&quot;BR&quot;){if(p){h.setStartBefore(n)}else{h.setEndBefore(n)}return}}while(n=(p?o.next():o.prev()))}if(l){g=m.nodeIndex(l);h.setStart(l.parentNode,g);h.setEnd(l.parentNode,g+1);if(k){i(l,1);i(l)}j.setRng(h)}return l},isCollapsed:function(){var g=this,i=g.getRng(),h=g.getSel();if(!i||i.item){return false}if(i.compareEndPoints){return i.compareEndPoints(&quot;StartToEnd&quot;,i)===0}return !h||i.collapsed},collapse:function(g){var i=this,h=i.getRng(),j;if(h.item){j=h.item(0);h=i.win.document.body.createTextRange();h.moveToElementText(j)}h.collapse(!!g);i.setRng(h)},getSel:function(){var h=this,g
 =this.win;return g.getSelection?g.getSelection():g.document.selection},getRng:function(m){var h=this,j,g,l,k=h.win.document;if(m&amp;&amp;h.tridentSel){return h.tridentSel.getRangeAt(0)}try{if(j=h.getSel()){g=j.rangeCount&gt;0?j.getRangeAt(0):(j.createRange?j.createRange():k.createRange())}}catch(i){}if(d.isIE&amp;&amp;g&amp;&amp;g.setStart&amp;&amp;k.selection.createRange().item){l=k.selection.createRange().item(0);g=k.createRange();g.setStartBefore(l);g.setEndAfter(l)}if(!g){g=k.createRange?k.createRange():k.body.createTextRange()}if(g.setStart&amp;&amp;g.startContainer.nodeType===9&amp;&amp;g.collapsed){l=h.dom.getRoot();g.setStart(l,0);g.setEnd(l,0)}if(h.selectedRange&amp;&amp;h.explicitRange){if(g.compareBoundaryPoints(g.START_TO_START,h.selectedRange)===0&amp;&amp;g.compareBoundaryPoints(g.END_TO_END,h.selectedRange)===0){g=h.explicitRange}else{h.selectedRange=null;h.explicitRange=null}}return g},setRng:function(k,g){var j,i=this;if(!i.tridentSel){j=i.getSel();if(j){i.
 explicitRange=k;try{j.removeAllRanges()}catch(h){}j.addRange(k);if(g===false&amp;&amp;j.extend){j.collapse(k.endContainer,k.endOffset);j.extend(k.startContainer,k.startOffset)}i.selectedRange=j.rangeCount&gt;0?j.getRangeAt(0):null}}else{if(k.cloneRange){try{i.tridentSel.addRange(k);return}catch(h){}}try{k.select()}catch(h){}}},setNode:function(h){var g=this;g.setContent(g.dom.getOuterHTML(h));return h},getNode:function(){var i=this,h=i.getRng(),j=i.getSel(),m,l=h.startContainer,g=h.endContainer;function k(q,o){var p=q;while(q&amp;&amp;q.nodeType===3&amp;&amp;q.length===0){q=o?q.nextSibling:q.previousSibling}return q||p}if(!h){return i.dom.getRoot()}if(h.setStart){m=h.commonAncestorContainer;if(!h.collapsed){if(h.startContainer==h.endContainer){if(h.endOffset-h.startOffset&lt;2){if(h.startContainer.hasChildNodes()){m=h.startContainer.childNodes[h.startOffset]}}}if(l.nodeType===3&amp;&amp;g.nodeType===3){if(l.length===h.startOffset){l=k(l.nextSibling,true)}else{l=l.parentNode}
 if(h.endOffset===0){g=k(g.previousSibling,false)}else{g=g.parentNode}if(l&amp;&amp;l===g){return l}}}if(m&amp;&amp;m.nodeType==3){return m.parentNode}return m}return h.item?h.item(0):h.parentElement()},getSelectedBlocks:function(p,h){var o=this,k=o.dom,m,l,i,j=[];m=k.getParent(p||o.getStart(),k.isBlock);l=k.getParent(h||o.getEnd(),k.isBlock);if(m){j.push(m)}if(m&amp;&amp;l&amp;&amp;m!=l){i=m;var g=new a(m,k.getRoot());while((i=g.next())&amp;&amp;i!=l){if(k.isBlock(i)){j.push(i)}}}if(l&amp;&amp;m!=l){j.push(l)}return j},isForward:function(){var i=this.dom,g=this.getSel(),j,h;if(!g||g.anchorNode==null||g.focusNode==null){return true}j=i.createRng();j.setStart(g.anchorNode,g.anchorOffset);j.collapse(true);h=i.createRng();h.setStart(g.focusNode,g.focusOffset);h.collapse(true);return j.compareBoundaryPoints(j.START_TO_START,h)&lt;=0},normalize:function(){var h=this,g,m,l,j,i;function k(p){var o,r,n,s=h.dom,u=s.getRoot(),q,t,v;function y(z,A){var B=new a(z,s.getParent(z.parentNode
 ,s.isBlock)||u);while(z=B[A?&quot;prev&quot;:&quot;next&quot;]()){if(z.nodeName===&quot;BR&quot;){return true}}}function x(B,z){var C,A;z=z||o;C=new a(z,s.getParent(z.parentNode,s.isBlock)||u);while(q=C[B?&quot;prev&quot;:&quot;next&quot;]()){if(q.nodeType===3&amp;&amp;q.nodeValue.length&gt;0){o=q;r=B?q.nodeValue.length:0;m=true;return}if(s.isBlock(q)||t[q.nodeName.toLowerCase()]){return}A=q}if(l&amp;&amp;A){o=A;m=true;r=0}}o=g[(p?&quot;start&quot;:&quot;end&quot;)+&quot;Container&quot;];r=g[(p?&quot;start&quot;:&quot;end&quot;)+&quot;Offset&quot;];t=s.schema.getNonEmptyElements();if(o.nodeType===9){o=s.getRoot();r=0}if(o===u){if(p){q=o.childNodes[r&gt;0?r-1:0];if(q){v=q.nodeName.toLowerCase();if(t[q.nodeName]||q.nodeName==&quot;TABLE&quot;){return}}}if(o.hasChildNodes()){o=o.childNodes[Math.min(!p&amp;&amp;r&gt;0?r-1:r,o.childNodes.length-1)];r=0;if(o.hasChildNodes()&amp;&amp;!/TABLE/.test(o.nodeName)){q=o;n=new a(o,u);do{if(q.nodeType===3&amp;&amp;q.nodeValue.length&gt;0){
 r=p?0:q.nodeValue.length;o=q;m=true;break}if(t[q.nodeName.toLowerCase()]){r=s.nodeIndex(q);o=q.parentNode;if(q.nodeName==&quot;IMG&quot;&amp;&amp;!p){r++}m=true;break}}while(q=(p?n.next():n.prev()))}}}if(l){if(o.nodeType===3&amp;&amp;r===0){x(true)}if(o.nodeType===1){q=o.childNodes[r];if(q&amp;&amp;q.nodeName===&quot;BR&quot;&amp;&amp;!y(q)&amp;&amp;!y(q,true)){x(true,o.childNodes[r])}}}if(p&amp;&amp;!l&amp;&amp;o.nodeType===3&amp;&amp;r===o.nodeValue.length){x(false)}if(m){g[&quot;set&quot;+(p?&quot;Start&quot;:&quot;End&quot;)](o,r)}}if(d.isIE){return}g=h.getRng();l=g.collapsed;k(true);if(!l){k()}if(m){if(l){g.collapse(true)}h.setRng(g,h.isForward())}},selectorChanged:function(g,j){var h=this,i;if(!h.selectorChangedData){h.selectorChangedData={};i={};h.editor.onNodeChange.addToTop(function(l,k,o){var p=h.dom,m=p.getParents(o,null,p.getRoot()),n={};e(h.selectorChangedData,function(r,q){e(m,function(s){if(p.is(s,q)){if(!i[q]){e(r,function(t){t(true,{node:s,selector:q,parents
 :m})});i[q]=r}n[q]=r;return false}})});e(i,function(r,q){if(!n[q]){delete i[q];e(r,function(s){s(false,{node:o,selector:q,parents:m})})}})})}if(!h.selectorChangedData[g]){h.selectorChangedData[g]=[]}h.selectorChangedData[g].push(j);return h},scrollIntoView:function(k){var j,h,g=this,i=g.dom;h=i.getViewPort(g.editor.getWin());j=i.getPos(k).y;if(j&lt;h.y||j+25&gt;h.y+h.h){g.editor.getWin().scrollTo(0,j&lt;h.y?j:j-h.h+25)}},destroy:function(h){var g=this;g.win=null;if(!h){d.removeUnload(g.destroy)}},_fixIESelection:function(){var h=this.dom,n=h.doc,i=n.body,k,o,g;function j(p,s){var q=i.createTextRange();try{q.moveToPoint(p,s)}catch(r){q=null}return q}function m(q){var p;if(q.button){p=j(q.x,q.y);if(p){if(p.compareEndPoints(&quot;StartToStart&quot;,o)&gt;0){p.setEndPoint(&quot;StartToStart&quot;,o)}else{p.setEndPoint(&quot;EndToEnd&quot;,o)}p.select()}}else{l()}}function l(){var p=n.selection.createRange();if(o&amp;&amp;!p.item&amp;&amp;p.compareEndPoints(&quot;StartToEnd&quot;
 ,p)===0){o.select()}h.unbind(n,&quot;mouseup&quot;,l);h.unbind(n,&quot;mousemove&quot;,m);o=k=0}n.documentElement.unselectable=true;h.bind(n,[&quot;mousedown&quot;,&quot;contextmenu&quot;],function(p){if(p.target.nodeName===&quot;HTML&quot;){if(k){l()}g=n.documentElement;if(g.scrollHeight&gt;g.clientHeight){return}k=1;o=j(p.x,p.y);if(o){h.bind(n,&quot;mouseup&quot;,l);h.bind(n,&quot;mousemove&quot;,m);h.win.focus();o.select()}}})}})})(tinymce);(function(a){a.dom.Serializer=function(e,i,f){var h,b,d=a.isIE,g=a.each,c;if(!e.apply_source_formatting){e.indent=false}i=i||a.DOM;f=f||new a.html.Schema(e);e.entity_encoding=e.entity_encoding||&quot;named&quot;;e.remove_trailing_brs=&quot;remove_trailing_brs&quot; in e?e.remove_trailing_brs:true;h=new a.util.Dispatcher(self);b=new a.util.Dispatcher(self);c=new a.html.DomParser(e,f);c.addAttributeFilter(&quot;src,href,style&quot;,function(k,j){var o=k.length,l,q,n=&quot;data-mce-&quot;+j,p=e.url_converter,r=e.url_converter_scope,m;whil
 e(o--){l=k[o];q=l.attributes.map[n];if(q!==m){l.attr(j,q.length&gt;0?q:null);l.attr(n,null)}else{q=l.attributes.map[j];if(j===&quot;style&quot;){q=i.serializeStyle(i.parseStyle(q),l.name)}else{if(p){q=p.call(r,q,j,l.name)}}l.attr(j,q.length&gt;0?q:null)}}});c.addAttributeFilter(&quot;class&quot;,function(j,k){var l=j.length,m,n;while(l--){m=j[l];n=m.attr(&quot;class&quot;).replace(/(?:^|\s)mce(Item\w+|Selected)(?!\S)/g,&quot;&quot;);m.attr(&quot;class&quot;,n.length&gt;0?n:null)}});c.addAttributeFilter(&quot;data-mce-type&quot;,function(j,l,k){var m=j.length,n;while(m--){n=j[m];if(n.attributes.map[&quot;data-mce-type&quot;]===&quot;bookmark&quot;&amp;&amp;!k.cleanup){n.remove()}}});c.addAttributeFilter(&quot;data-mce-expando&quot;,function(j,l,k){var m=j.length;while(m--){j[m].attr(l,null)}});c.addNodeFilter(&quot;noscript&quot;,function(j){var k=j.length,l;while(k--){l=j[k].firstChild;if(l){l.value=a.html.Entities.decode(l.value)}}});c.addNodeFilter(&quot;script,style&quot;
 ,function(k,l){var m=k.length,n,o;function j(p){return p.replace(/(&lt;!--\[CDATA\[|\]\]--&gt;)/g,&quot;\n&quot;).replace(/^[\r\n]*|[\r\n]*$/g,&quot;&quot;).replace(/^\s*((&lt;!--)?(\s*\/\/)?\s*&lt;!\[CDATA\[|(&lt;!--\s*)?\/\*\s*&lt;!\[CDATA\[\s*\*\/|(\/\/)?\s*&lt;!--|\/\*\s*&lt;!--\s*\*\/)\s*[\r\n]*/gi,&quot;&quot;).replace(/\s*(\/\*\s*\]\]&gt;\s*\*\/(--&gt;)?|\s*\/\/\s*\]\]&gt;(--&gt;)?|\/\/\s*(--&gt;)?|\]\]&gt;|\/\*\s*--&gt;\s*\*\/|\s*--&gt;\s*)\s*$/g,&quot;&quot;)}while(m--){n=k[m];o=n.firstChild?n.firstChild.value:&quot;&quot;;if(l===&quot;script&quot;){n.attr(&quot;type&quot;,(n.attr(&quot;type&quot;)||&quot;text/javascript&quot;).replace(/^mce\-/,&quot;&quot;));if(o.length&gt;0){n.firstChild.value=&quot;// &lt;![CDATA[\n&quot;+j(o)+&quot;\n// ]]&gt;&quot;}}else{if(o.length&gt;0){n.firstChild.value=&quot;&lt;!--\n&quot;+j(o)+&quot;\n--&gt;&quot;}}}});c.addNodeFilter(&quot;#comment&quot;,function(j,k){var l=j.length,m;while(l--){m=j[l];if(m.value.indexOf(&quot;[CDATA[&q
 uot;)===0){m.name=&quot;#cdata&quot;;m.type=4;m.value=m.value.replace(/^\[CDATA\[|\]\]$/g,&quot;&quot;)}else{if(m.value.indexOf(&quot;mce:protected &quot;)===0){m.name=&quot;#text&quot;;m.type=3;m.raw=true;m.value=unescape(m.value).substr(14)}}}});c.addNodeFilter(&quot;xml:namespace,input&quot;,function(j,k){var l=j.length,m;while(l--){m=j[l];if(m.type===7){m.remove()}else{if(m.type===1){if(k===&quot;input&quot;&amp;&amp;!(&quot;type&quot; in m.attributes.map)){m.attr(&quot;type&quot;,&quot;text&quot;)}}}}});if(e.fix_list_elements){c.addNodeFilter(&quot;ul,ol&quot;,function(k,l){var m=k.length,n,j;while(m--){n=k[m];j=n.parent;if(j.name===&quot;ul&quot;||j.name===&quot;ol&quot;){if(n.prev&amp;&amp;n.prev.name===&quot;li&quot;){n.prev.append(n)}}}})}c.addAttributeFilter(&quot;data-mce-src,data-mce-href,data-mce-style&quot;,function(j,k){var l=j.length;while(l--){j[l].attr(k,null)}});return{schema:f,addNodeFilter:c.addNodeFilter,addAttributeFilter:c.addAttributeFilter,onPreProc
 ess:h,onPostProcess:b,serialize:function(o,m){var l,p,k,j,n;if(d&amp;&amp;i.select(&quot;script,style,select,map&quot;).length&gt;0){n=o.innerHTML;o=o.cloneNode(false);i.setHTML(o,n)}else{o=o.cloneNode(true)}l=o.ownerDocument.implementation;if(l.createHTMLDocument){p=l.createHTMLDocument(&quot;&quot;);g(o.nodeName==&quot;BODY&quot;?o.childNodes:[o],function(q){p.body.appendChild(p.importNode(q,true))});if(o.nodeName!=&quot;BODY&quot;){o=p.body.firstChild}else{o=p.body}k=i.doc;i.doc=p}m=m||{};m.format=m.format||&quot;html&quot;;if(!m.no_events){m.node=o;h.dispatch(self,m)}j=new a.html.Serializer(e,f);m.content=j.serialize(c.parse(a.trim(m.getInner?o.innerHTML:i.getOuterHTML(o)),m));if(!m.cleanup){m.content=m.content.replace(/\uFEFF/g,&quot;&quot;)}if(!m.no_events){b.dispatch(self,m)}if(k){i.doc=k}m.node=null;return m.content},addRules:function(j){f.addValidElements(j)},setRules:function(j){f.setValidElements(j)}}}})(tinymce);(function(a){a.dom.ScriptLoader=function(h){var c=0
 ,k=1,i=2,l={},j=[],e={},d=[],g=0,f;function b(m,v){var x=this,q=a.DOM,s,o,r,n;function p(){q.remove(n);if(s){s.onreadystatechange=s.onload=s=null}v()}function u(){if(typeof(console)!==&quot;undefined&quot;&amp;&amp;console.log){console.log(&quot;Failed to load: &quot;+m)}}n=q.uniqueId();if(a.isIE6){o=new a.util.URI(m);r=location;if(o.host==r.hostname&amp;&amp;o.port==r.port&amp;&amp;(o.protocol+&quot;:&quot;)==r.protocol&amp;&amp;o.protocol.toLowerCase()!=&quot;file&quot;){a.util.XHR.send({url:a._addVer(o.getURI()),success:function(y){var t=q.create(&quot;script&quot;,{type:&quot;text/javascript&quot;});t.text=y;document.getElementsByTagName(&quot;head&quot;)[0].appendChild(t);q.remove(t);p()},error:u});return}}s=document.createElement(&quot;script&quot;);s.id=n;s.type=&quot;text/javascript&quot;;s.src=a._addVer(m);if(!a.isIE){s.onload=p}s.onerror=u;if(!a.isOpera){s.onreadystatechange=function(){var t=s.readyState;if(t==&quot;complete&quot;||t==&quot;loaded&quot;){p()}}}(doc
 ument.getElementsByTagName(&quot;head&quot;)[0]||document.body).appendChild(s)}this.isDone=function(m){return l[m]==i};this.markDone=function(m){l[m]=i};this.add=this.load=function(m,q,n){var o,p=l[m];if(p==f){j.push(m);l[m]=c}if(q){if(!e[m]){e[m]=[]}e[m].push({func:q,scope:n||this})}};this.loadQueue=function(n,m){this.loadScripts(j,n,m)};this.loadScripts=function(m,q,p){var o;function n(r){a.each(e[r],function(s){s.func.call(s.scope)});e[r]=f}d.push({func:q,scope:p||this});o=function(){var r=a.grep(m);m.length=0;a.each(r,function(s){if(l[s]==i){n(s);return}if(l[s]!=k){l[s]=k;g++;b(s,function(){l[s]=i;g--;n(s);o()})}});if(!g){a.each(d,function(s){s.func.call(s.scope)});d.length=0}};o()}};a.ScriptLoader=new a.dom.ScriptLoader()})(tinymce);(function(a){a.dom.RangeUtils=function(c){var b=&quot;\uFEFF&quot;;this.walk=function(d,s){var i=d.startContainer,l=d.startOffset,t=d.endContainer,m=d.endOffset,j,g,o,h,r,q,e;e=c.select(&quot;td.mceSelected,th.mceSelected&quot;);if(e.length&
 gt;0){a.each(e,function(u){s([u])});return}function f(u){var v;v=u[0];if(v.nodeType===3&amp;&amp;v===i&amp;&amp;l&gt;=v.nodeValue.length){u.splice(0,1)}v=u[u.length-1];if(m===0&amp;&amp;u.length&gt;0&amp;&amp;v===t&amp;&amp;v.nodeType===3){u.splice(u.length-1,1)}return u}function p(x,v,u){var y=[];for(;x&amp;&amp;x!=u;x=x[v]){y.push(x)}return y}function n(v,u){do{if(v.parentNode==u){return v}v=v.parentNode}while(v)}function k(x,v,y){var u=y?&quot;nextSibling&quot;:&quot;previousSibling&quot;;for(h=x,r=h.parentNode;h&amp;&amp;h!=v;h=r){r=h.parentNode;q=p(h==x?h:h[u],u);if(q.length){if(!y){q.reverse()}s(f(q))}}}if(i.nodeType==1&amp;&amp;i.hasChildNodes()){i=i.childNodes[l]}if(t.nodeType==1&amp;&amp;t.hasChildNodes()){t=t.childNodes[Math.min(m-1,t.childNodes.length-1)]}if(i==t){return s(f([i]))}j=c.findCommonAncestor(i,t);for(h=i;h;h=h.parentNode){if(h===t){return k(i,j,true)}if(h===j){break}}for(h=t;h;h=h.parentNode){if(h===i){return k(t,j)}if(h===j){break}}g=n(i,j)||i;o=n(t,j
 )||t;k(i,g,true);q=p(g==i?g:g.nextSibling,&quot;nextSibling&quot;,o==t?o.nextSibling:o);if(q.length){s(f(q))}k(t,o)};this.split=function(e){var h=e.startContainer,d=e.startOffset,i=e.endContainer,g=e.endOffset;function f(j,k){return j.splitText(k)}if(h==i&amp;&amp;h.nodeType==3){if(d&gt;0&amp;&amp;d&lt;h.nodeValue.length){i=f(h,d);h=i.previousSibling;if(g&gt;d){g=g-d;h=i=f(i,g).previousSibling;g=i.nodeValue.length;d=0}else{g=0}}}else{if(h.nodeType==3&amp;&amp;d&gt;0&amp;&amp;d&lt;h.nodeValue.length){h=f(h,d);d=0}if(i.nodeType==3&amp;&amp;g&gt;0&amp;&amp;g&lt;i.nodeValue.length){i=f(i,g).previousSibling;g=i.nodeValue.length}}return{startContainer:h,startOffset:d,endContainer:i,endOffset:g}}};a.dom.RangeUtils.compareRanges=function(c,b){if(c&amp;&amp;b){if(c.item||c.duplicate){if(c.item&amp;&amp;b.item&amp;&amp;c.item(0)===b.item(0)){return true}if(c.isEqual&amp;&amp;b.isEqual&amp;&amp;b.isEqual(c)){return true}}else{return c.startContainer==b.startContainer&amp;&amp;c.startOf
 fset==b.startOffset}}return false}})(tinymce);(function(b){var a=b.dom.Event,c=b.each;b.create(&quot;tinymce.ui.KeyboardNavigation&quot;,{KeyboardNavigation:function(e,f){var q=this,n=e.root,m=e.items,o=e.enableUpDown,i=e.enableLeftRight||!e.enableUpDown,l=e.excludeFromTabOrder,k,h,p,d,g;f=f||b.DOM;k=function(r){g=r.target.id};h=function(r){f.setAttrib(r.target.id,&quot;tabindex&quot;,&quot;-1&quot;)};d=function(r){var s=f.get(g);f.setAttrib(s,&quot;tabindex&quot;,&quot;0&quot;);s.focus()};q.focus=function(){f.get(g).focus()};q.destroy=function(){c(m,function(s){var t=f.get(s.id);f.unbind(t,&quot;focus&quot;,k);f.unbind(t,&quot;blur&quot;,h)});var r=f.get(n);f.unbind(r,&quot;focus&quot;,d);f.unbind(r,&quot;keydown&quot;,p);m=f=n=q.focus=k=h=p=d=null;q.destroy=function(){}};q.moveFocus=function(v,s){var r=-1,u=q.controls,t;if(!g){return}c(m,function(y,x){if(y.id===g){r=x;return false}});r+=v;if(r&lt;0){r=m.length-1}else{if(r&gt;=m.length){r=0}}t=m[r];f.setAttrib(g,&quot;tabin
 dex&quot;,&quot;-1&quot;);f.setAttrib(t.id,&quot;tabindex&quot;,&quot;0&quot;);f.get(t.id).focus();if(e.actOnFocus){e.onAction(t.id)}if(s){a.cancel(s)}};p=function(z){var v=37,u=39,y=38,A=40,r=27,t=14,s=13,x=32;switch(z.keyCode){case v:if(i){q.moveFocus(-1)}a.cancel(z);break;case u:if(i){q.moveFocus(1)}a.cancel(z);break;case y:if(o){q.moveFocus(-1)}a.cancel(z);break;case A:if(o){q.moveFocus(1)}a.cancel(z);break;case r:if(e.onCancel){e.onCancel();a.cancel(z)}break;case t:case s:case x:if(e.onAction){e.onAction(g);a.cancel(z)}break}};c(m,function(t,r){var s,u;if(!t.id){t.id=f.uniqueId(&quot;_mce_item_&quot;)}u=f.get(t.id);if(l){f.bind(u,&quot;blur&quot;,h);s=&quot;-1&quot;}else{s=(r===0?&quot;0&quot;:&quot;-1&quot;)}u.setAttribute(&quot;tabindex&quot;,s);f.bind(u,&quot;focus&quot;,k)});if(m[0]){g=m[0].id}f.setAttrib(n,&quot;tabindex&quot;,&quot;-1&quot;);var j=f.get(n);f.bind(j,&quot;focus&quot;,d);f.bind(j,&quot;keydown&quot;,p)}})})(tinymce);(function(c){var b=c.DOM,a=c.is;c
 .create(&quot;tinymce.ui.Control&quot;,{Control:function(f,e,d){this.id=f;this.settings=e=e||{};this.rendered=false;this.onRender=new c.util.Dispatcher(this);this.classPrefix=&quot;&quot;;this.scope=e.scope||this;this.disabled=0;this.active=0;this.editor=d},setAriaProperty:function(f,e){var d=b.get(this.id+&quot;_aria&quot;)||b.get(this.id);if(d){b.setAttrib(d,&quot;aria-&quot;+f,!!e)}},focus:function(){b.get(this.id).focus()},setDisabled:function(d){if(d!=this.disabled){this.setAriaProperty(&quot;disabled&quot;,d);this.setState(&quot;Disabled&quot;,d);this.setState(&quot;Enabled&quot;,!d);this.disabled=d}},isDisabled:function(){return this.disabled},setActive:function(d){if(d!=this.active){this.setState(&quot;Active&quot;,d);this.active=d;this.setAriaProperty(&quot;pressed&quot;,d)}},isActive:function(){return this.active},setState:function(f,d){var e=b.get(this.id);f=this.classPrefix+f;if(d){b.addClass(e,f)}else{b.removeClass(e,f)}},isRendered:function(){return this.render
 ed},renderHTML:function(){},renderTo:function(d){b.setHTML(d,this.renderHTML())},postRender:function(){var e=this,d;if(a(e.disabled)){d=e.disabled;e.disabled=-1;e.setDisabled(d)}if(a(e.active)){d=e.active;e.active=-1;e.setActive(d)}},remove:function(){b.remove(this.id);this.destroy()},destroy:function(){c.dom.Event.clear(this.id)}})})(tinymce);tinymce.create(&quot;tinymce.ui.Container:tinymce.ui.Control&quot;,{Container:function(c,b,a){this.parent(c,b,a);this.controls=[];this.lookup={}},add:function(a){this.lookup[a.id]=a;this.controls.push(a);return a},get:function(a){return this.lookup[a]}});tinymce.create(&quot;tinymce.ui.Separator:tinymce.ui.Control&quot;,{Separator:function(b,a){this.parent(b,a);this.classPrefix=&quot;mceSeparator&quot;;this.setDisabled(true)},renderHTML:function(){return tinymce.DOM.createHTML(&quot;span&quot;,{&quot;class&quot;:this.classPrefix,role:&quot;separator&quot;,&quot;aria-orientation&quot;:&quot;vertical&quot;,tabindex:&quot;-1&quot;})}});(f
 unction(d){var c=d.is,b=d.DOM,e=d.each,a=d.walk;d.create(&quot;tinymce.ui.MenuItem:tinymce.ui.Control&quot;,{MenuItem:function(g,f){this.parent(g,f);this.classPrefix=&quot;mceMenuItem&quot;},setSelected:function(f){this.setState(&quot;Selected&quot;,f);this.setAriaProperty(&quot;checked&quot;,!!f);this.selected=f},isSelected:function(){return this.selected},postRender:function(){var f=this;f.parent();if(c(f.selected)){f.setSelected(f.selected)}}})})(tinymce);(function(d){var c=d.is,b=d.DOM,e=d.each,a=d.walk;d.create(&quot;tinymce.ui.Menu:tinymce.ui.MenuItem&quot;,{Menu:function(h,g){var f=this;f.parent(h,g);f.items={};f.collapsed=false;f.menuCount=0;f.onAddItem=new d.util.Dispatcher(this)},expand:function(g){var f=this;if(g){a(f,function(h){if(h.expand){h.expand()}},&quot;items&quot;,f)}f.collapsed=false},collapse:function(g){var f=this;if(g){a(f,function(h){if(h.collapse){h.collapse()}},&quot;items&quot;,f)}f.collapsed=true},isCollapsed:function(){return this.collapsed},add
 :function(f){if(!f.settings){f=new d.ui.MenuItem(f.id||b.uniqueId(),f)}this.onAddItem.dispatch(this,f);return this.items[f.id]=f},addSeparator:function(){return this.add({separator:true})},addMenu:function(f){if(!f.collapse){f=this.createMenu(f)}this.menuCount++;return this.add(f)},hasMenus:function(){return this.menuCount!==0},remove:function(f){delete this.items[f.id]},removeAll:function(){var f=this;a(f,function(g){if(g.removeAll){g.removeAll()}else{g.remove()}g.destroy()},&quot;items&quot;,f);f.items={}},createMenu:function(g){var f=new d.ui.Menu(g.id||b.uniqueId(),g);f.onAddItem.add(this.onAddItem.dispatch,this.onAddItem);return f}})})(tinymce);(function(e){var d=e.is,c=e.DOM,f=e.each,a=e.dom.Event,b=e.dom.Element;e.create(&quot;tinymce.ui.DropMenu:tinymce.ui.Menu&quot;,{DropMenu:function(h,g){g=g||{};g.container=g.container||c.doc.body;g.offset_x=g.offset_x||0;g.offset_y=g.offset_y||0;g.vp_offset_x=g.vp_offset_x||0;g.vp_offset_y=g.vp_offset_y||0;if(d(g.icons)&amp;&amp;
 !g.icons){g[&quot;class&quot;]+=&quot; mceNoIcons&quot;}this.parent(h,g);this.onShowMenu=new e.util.Dispatcher(this);this.onHideMenu=new e.util.Dispatcher(this);this.classPrefix=&quot;mceMenu&quot;},createMenu:function(j){var h=this,i=h.settings,g;j.container=j.container||i.container;j.parent=h;j.constrain=j.constrain||i.constrain;j[&quot;class&quot;]=j[&quot;class&quot;]||i[&quot;class&quot;];j.vp_offset_x=j.vp_offset_x||i.vp_offset_x;j.vp_offset_y=j.vp_offset_y||i.vp_offset_y;j.keyboard_focus=i.keyboard_focus;g=new e.ui.DropMenu(j.id||c.uniqueId(),j);g.onAddItem.add(h.onAddItem.dispatch,h.onAddItem);return g},focus:function(){var g=this;if(g.keyboardNav){g.keyboardNav.focus()}},update:function(){var i=this,j=i.settings,g=c.get(&quot;menu_&quot;+i.id+&quot;_tbl&quot;),l=c.get(&quot;menu_&quot;+i.id+&quot;_co&quot;),h,k;h=j.max_width?Math.min(g.offsetWidth,j.max_width):g.offsetWidth;k=j.max_height?Math.min(g.offsetHeight,j.max_height):g.offsetHeight;if(!c.boxModel){i.element
 .setStyles({width:h+2,height:k+2})}else{i.element.setStyles({width:h,height:k})}if(j.max_width){c.setStyle(l,&quot;width&quot;,h)}if(j.max_height){c.setStyle(l,&quot;height&quot;,k);if(g.clientHeight&lt;j.max_height){c.setStyle(l,&quot;overflow&quot;,&quot;hidden&quot;)}}},showMenu:function(p,n,r){var z=this,A=z.settings,o,g=c.getViewPort(),u,l,v,q,i=2,k,j,m=z.classPrefix;z.collapse(1);if(z.isMenuVisible){return}if(!z.rendered){o=c.add(z.settings.container,z.renderNode());f(z.items,function(h){h.postRender()});z.element=new b(&quot;menu_&quot;+z.id,{blocker:1,container:A.container})}else{o=c.get(&quot;menu_&quot;+z.id)}if(!e.isOpera){c.setStyles(o,{left:-65535,top:-65535})}c.show(o);z.update();p+=A.offset_x||0;n+=A.offset_y||0;g.w-=4;g.h-=4;if(A.constrain){u=o.clientWidth-i;l=o.clientHeight-i;v=g.x+g.w;q=g.y+g.h;if((p+A.vp_offset_x+u)&gt;v){p=r?r-u:Math.max(0,(v-A.vp_offset_x)-u)}if((n+A.vp_offset_y+l)&gt;q){n=Math.max(0,(q-A.vp_offset_y)-l)}}c.setStyles(o,{left:p,top:n});z.
 element.update();z.isMenuVisible=1;z.mouseClickFunc=a.add(o,&quot;click&quot;,function(s){var h;s=s.target;if(s&amp;&amp;(s=c.getParent(s,&quot;tr&quot;))&amp;&amp;!c.hasClass(s,m+&quot;ItemSub&quot;)){h=z.items[s.id];if(h.isDisabled()){return}k=z;while(k){if(k.hideMenu){k.hideMenu()}k=k.settings.parent}if(h.settings.onclick){h.settings.onclick(s)}return false}});if(z.hasMenus()){z.mouseOverFunc=a.add(o,&quot;mouseover&quot;,function(x){var h,t,s;x=x.target;if(x&amp;&amp;(x=c.getParent(x,&quot;tr&quot;))){h=z.items[x.id];if(z.lastMenu){z.lastMenu.collapse(1)}if(h.isDisabled()){return}if(x&amp;&amp;c.hasClass(x,m+&quot;ItemSub&quot;)){t=c.getRect(x);h.showMenu((t.x+t.w-i),t.y-i,t.x);z.lastMenu=h;c.addClass(c.get(h.id).firstChild,m+&quot;ItemActive&quot;)}}})}a.add(o,&quot;keydown&quot;,z._keyHandler,z);z.onShowMenu.dispatch(z);if(A.keyboard_focus){z._setupKeyboardNav()}},hideMenu:function(j){var g=this,i=c.get(&quot;menu_&quot;+g.id),h;if(!g.isMenuVisible){return}if(g.keyboar
 dNav){g.keyboardNav.destroy()}a.remove(i,&quot;mouseover&quot;,g.mouseOverFunc);a.remove(i,&quot;click&quot;,g.mouseClickFunc);a.remove(i,&quot;keydown&quot;,g._keyHandler);c.hide(i);g.isMenuVisible=0;if(!j){g.collapse(1)}if(g.element){g.element.hide()}if(h=c.get(g.id)){c.removeClass(h.firstChild,g.classPrefix+&quot;ItemActive&quot;)}g.onHideMenu.dispatch(g)},add:function(i){var g=this,h;i=g.parent(i);if(g.isRendered&amp;&amp;(h=c.get(&quot;menu_&quot;+g.id))){g._add(c.select(&quot;tbody&quot;,h)[0],i)}return i},collapse:function(g){this.parent(g);this.hideMenu(1)},remove:function(g){c.remove(g.id);this.destroy();return this.parent(g)},destroy:function(){var g=this,h=c.get(&quot;menu_&quot;+g.id);if(g.keyboardNav){g.keyboardNav.destroy()}a.remove(h,&quot;mouseover&quot;,g.mouseOverFunc);a.remove(c.select(&quot;a&quot;,h),&quot;focus&quot;,g.mouseOverFunc);a.remove(h,&quot;click&quot;,g.mouseClickFunc);a.remove(h,&quot;keydown&quot;,g._keyHandler);if(g.element){g.element.remo
 ve()}c.remove(h)},renderNode:function(){var i=this,j=i.settings,l,h,k,g;g=c.create(&quot;div&quot;,{role:&quot;listbox&quot;,id:&quot;menu_&quot;+i.id,&quot;class&quot;:j[&quot;class&quot;],style:&quot;position:absolute;left:0;top:0;z-index:200000;outline:0&quot;});if(i.settings.parent){c.setAttrib(g,&quot;aria-parent&quot;,&quot;menu_&quot;+i.settings.parent.id)}k=c.add(g,&quot;div&quot;,{role:&quot;presentation&quot;,id:&quot;menu_&quot;+i.id+&quot;_co&quot;,&quot;class&quot;:i.classPrefix+(j[&quot;class&quot;]?&quot; &quot;+j[&quot;class&quot;]:&quot;&quot;)});i.element=new b(&quot;menu_&quot;+i.id,{blocker:1,container:j.container});if(j.menu_line){c.add(k,&quot;span&quot;,{&quot;class&quot;:i.classPrefix+&quot;Line&quot;})}l=c.add(k,&quot;table&quot;,{role:&quot;presentation&quot;,id:&quot;menu_&quot;+i.id+&quot;_tbl&quot;,border:0,cellPadding:0,cellSpacing:0});h=c.add(l,&quot;tbody&quot;);f(i.items,function(m){i._add(h,m)});i.rendered=true;return g},_setupKeyboardNav:fu
 nction(){var i,h,g=this;i=c.get(&quot;menu_&quot;+g.id);h=c.select(&quot;a[role=option]&quot;,&quot;menu_&quot;+g.id);h.splice(0,0,i);g.keyboardNav=new e.ui.KeyboardNavigation({root:&quot;menu_&quot;+g.id,items:h,onCancel:function(){g.hideMenu()},enableUpDown:true});i.focus()},_keyHandler:function(g){var h=this,i;switch(g.keyCode){case 37:if(h.settings.parent){h.hideMenu();h.settings.parent.focus();a.cancel(g)}break;case 39:if(h.mouseOverFunc){h.mouseOverFunc(g)}break}},_add:function(j,h){var i,q=h.settings,p,l,k,m=this.classPrefix,g;if(q.separator){l=c.add(j,&quot;tr&quot;,{id:h.id,&quot;class&quot;:m+&quot;ItemSeparator&quot;});c.add(l,&quot;td&quot;,{&quot;class&quot;:m+&quot;ItemSeparator&quot;});if(i=l.previousSibling){c.addClass(i,&quot;mceLast&quot;)}return}i=l=c.add(j,&quot;tr&quot;,{id:h.id,&quot;class&quot;:m+&quot;Item &quot;+m+&quot;ItemEnabled&quot;});i=k=c.add(i,q.titleItem?&quot;th&quot;:&quot;td&quot;);i=p=c.add(i,&quot;a&quot;,{id:h.id+&quot;_aria&quot;,role
 :q.titleItem?&quot;presentation&quot;:&quot;option&quot;,href:&quot;javascript:;&quot;,onclick:&quot;return false;&quot;,onmousedown:&quot;return false;&quot;});if(q.parent){c.setAttrib(p,&quot;aria-haspopup&quot;,&quot;true&quot;);c.setAttrib(p,&quot;aria-owns&quot;,&quot;menu_&quot;+h.id)}c.addClass(k,q[&quot;class&quot;]);g=c.add(i,&quot;span&quot;,{&quot;class&quot;:&quot;mceIcon&quot;+(q.icon?&quot; mce_&quot;+q.icon:&quot;&quot;)});if(q.icon_src){c.add(g,&quot;img&quot;,{src:q.icon_src})}i=c.add(i,q.element||&quot;span&quot;,{&quot;class&quot;:&quot;mceText&quot;,title:h.settings.title},h.settings.title);if(h.settings.style){if(typeof h.settings.style==&quot;function&quot;){h.settings.style=h.settings.style()}c.setAttrib(i,&quot;style&quot;,h.settings.style)}if(j.childNodes.length==1){c.addClass(l,&quot;mceFirst&quot;)}if((i=l.previousSibling)&amp;&amp;c.hasClass(i,m+&quot;ItemSeparator&quot;)){c.addClass(l,&quot;mceFirst&quot;)}if(h.collapse){c.addClass(l,m+&quot;Item
 Sub&quot;)}if(i=l.previousSibling){c.removeClass(i,&quot;mceLast&quot;)}c.addClass(l,&quot;mceLast&quot;)}})})(tinymce);(function(b){var a=b.DOM;b.create(&quot;tinymce.ui.Button:tinymce.ui.Control&quot;,{Button:function(e,d,c){this.parent(e,d,c);this.classPrefix=&quot;mceButton&quot;},renderHTML:function(){var f=this.classPrefix,e=this.settings,d,c;c=a.encode(e.label||&quot;&quot;);d='&lt;a role=&quot;button&quot; id=&quot;'+this.id+'&quot; href=&quot;javascript:;&quot; class=&quot;'+f+&quot; &quot;+f+&quot;Enabled &quot;+e[&quot;class&quot;]+(c?&quot; &quot;+f+&quot;Labeled&quot;:&quot;&quot;)+'&quot; onmousedown=&quot;return false;&quot; onclick=&quot;return false;&quot; aria-labelledby=&quot;'+this.id+'_voice&quot; title=&quot;'+a.encode(e.title)+'&quot;&gt;';if(e.image&amp;&amp;!(this.editor&amp;&amp;this.editor.forcedHighContrastMode)){d+='&lt;span class=&quot;mceIcon '+e[&quot;class&quot;]+'&quot;&gt;&lt;img class=&quot;mceIcon&quot; src=&quot;'+e.image+'&quot; alt=&qu
 ot;'+a.encode(e.title)+'&quot; /&gt;&lt;/span&gt;'+(c?'&lt;span class=&quot;'+f+'Label&quot;&gt;'+c+&quot;&lt;/span&gt;&quot;:&quot;&quot;)}else{d+='&lt;span class=&quot;mceIcon '+e[&quot;class&quot;]+'&quot;&gt;&lt;/span&gt;'+(c?'&lt;span class=&quot;'+f+'Label&quot;&gt;'+c+&quot;&lt;/span&gt;&quot;:&quot;&quot;)}d+='&lt;span class=&quot;mceVoiceLabel mceIconOnly&quot; style=&quot;display: none;&quot; id=&quot;'+this.id+'_voice&quot;&gt;'+e.title+&quot;&lt;/span&gt;&quot;;d+=&quot;&lt;/a&gt;&quot;;return d},postRender:function(){var d=this,e=d.settings,c;if(b.isIE&amp;&amp;d.editor){b.dom.Event.add(d.id,&quot;mousedown&quot;,function(f){var g=d.editor.selection.getNode().nodeName;c=g===&quot;IMG&quot;?d.editor.selection.getBookmark():null})}b.dom.Event.add(d.id,&quot;click&quot;,function(f){if(!d.isDisabled()){if(b.isIE&amp;&amp;d.editor&amp;&amp;c!==null){d.editor.selection.moveToBookmark(c)}return e.onclick.call(e.scope,f)}});b.dom.Event.add(d.id,&quot;keyup&quot;,functio
 n(f){if(!d.isDisabled()&amp;&amp;f.keyCode==b.VK.SPACEBAR){return e.onclick.call(e.scope,f)}})}})})(tinymce);(function(e){var d=e.DOM,b=e.dom.Event,f=e.each,a=e.util.Dispatcher,c;e.create(&quot;tinymce.ui.ListBox:tinymce.ui.Control&quot;,{ListBox:function(j,i,g){var h=this;h.parent(j,i,g);h.items=[];h.onChange=new a(h);h.onPostRender=new a(h);h.onAdd=new a(h);h.onRenderMenu=new e.util.Dispatcher(this);h.classPrefix=&quot;mceListBox&quot;;h.marked={}},select:function(h){var g=this,j,i;g.marked={};if(h==c){return g.selectByIndex(-1)}if(h&amp;&amp;typeof(h)==&quot;function&quot;){i=h}else{i=function(k){return k==h}}if(h!=g.selectedValue){f(g.items,function(l,k){if(i(l.value)){j=1;g.selectByIndex(k);return false}});if(!j){g.selectByIndex(-1)}}},selectByIndex:function(g){var i=this,j,k,h;i.marked={};if(g!=i.selectedIndex){j=d.get(i.id+&quot;_text&quot;);h=d.get(i.id+&quot;_voiceDesc&quot;);k=i.items[g];if(k){i.selectedValue=k.value;i.selectedIndex=g;d.setHTML(j,d.encode(k.title))
 ;d.setHTML(h,i.settings.title+&quot; - &quot;+k.title);d.removeClass(j,&quot;mceTitle&quot;);d.setAttrib(i.id,&quot;aria-valuenow&quot;,k.title)}else{d.setHTML(j,d.encode(i.settings.title));d.setHTML(h,d.encode(i.settings.title));d.addClass(j,&quot;mceTitle&quot;);i.selectedValue=i.selectedIndex=null;d.setAttrib(i.id,&quot;aria-valuenow&quot;,i.settings.title)}j=0}},mark:function(g){this.marked[g]=true},add:function(j,g,i){var h=this;i=i||{};i=e.extend(i,{title:j,value:g});h.items.push(i);h.onAdd.dispatch(h,i)},getLength:function(){return this.items.length},renderHTML:function(){var j=&quot;&quot;,g=this,i=g.settings,k=g.classPrefix;j='&lt;span role=&quot;listbox&quot; aria-haspopup=&quot;true&quot; aria-labelledby=&quot;'+g.id+'_voiceDesc&quot; aria-describedby=&quot;'+g.id+'_voiceDesc&quot;&gt;&lt;table role=&quot;presentation&quot; tabindex=&quot;0&quot; id=&quot;'+g.id+'&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;'+k+&quot; &quot;+k+&quot;Enabl
 ed&quot;+(i[&quot;class&quot;]?(&quot; &quot;+i[&quot;class&quot;]):&quot;&quot;)+'&quot;&gt;&lt;tbody&gt;&lt;tr&gt;';j+=&quot;&lt;td&gt;&quot;+d.createHTML(&quot;span&quot;,{id:g.id+&quot;_voiceDesc&quot;,&quot;class&quot;:&quot;voiceLabel&quot;,style:&quot;display:none;&quot;},g.settings.title);j+=d.createHTML(&quot;a&quot;,{id:g.id+&quot;_text&quot;,tabindex:-1,href:&quot;javascript:;&quot;,&quot;class&quot;:&quot;mceText&quot;,onclick:&quot;return false;&quot;,onmousedown:&quot;return false;&quot;},d.encode(g.settings.title))+&quot;&lt;/td&gt;&quot;;j+=&quot;&lt;td&gt;&quot;+d.createHTML(&quot;a&quot;,{id:g.id+&quot;_open&quot;,tabindex:-1,href:&quot;javascript:;&quot;,&quot;class&quot;:&quot;mceOpen&quot;,onclick:&quot;return false;&quot;,onmousedown:&quot;return false;&quot;},'&lt;span&gt;&lt;span style=&quot;display:none;&quot; class=&quot;mceIconOnly&quot; aria-hidden=&quot;true&quot;&gt;\u25BC&lt;/span&gt;&lt;/span&gt;')+&quot;&lt;/td&gt;&quot;;j+=&quot;&lt;/tr&gt;&
 lt;/tbody&gt;&lt;/table&gt;&lt;/span&gt;&quot;;return j},showMenu:function(){var h=this,j,i=d.get(this.id),g;if(h.isDisabled()||h.items.length===0){return}if(h.menu&amp;&amp;h.menu.isMenuVisible){return h.hideMenu()}if(!h.isMenuRendered){h.renderMenu();h.isMenuRendered=true}j=d.getPos(i);g=h.menu;g.settings.offset_x=j.x;g.settings.offset_y=j.y;g.settings.keyboard_focus=!e.isOpera;f(h.items,function(k){if(g.items[k.id]){g.items[k.id].setSelected(0)}});f(h.items,function(k){if(g.items[k.id]&amp;&amp;h.marked[k.value]){g.items[k.id].setSelected(1)}if(k.value===h.selectedValue){g.items[k.id].setSelected(1)}});g.showMenu(0,i.clientHeight);b.add(d.doc,&quot;mousedown&quot;,h.hideMenu,h);d.addClass(h.id,h.classPrefix+&quot;Selected&quot;)},hideMenu:function(h){var g=this;if(g.menu&amp;&amp;g.menu.isMenuVisible){d.removeClass(g.id,g.classPrefix+&quot;Selected&quot;);if(h&amp;&amp;h.type==&quot;mousedown&quot;&amp;&amp;(h.target.id==g.id+&quot;_text&quot;||h.target.id==g.id+&quot;_op
 en&quot;)){return}if(!h||!d.getParent(h.target,&quot;.mceMenu&quot;)){d.removeClass(g.id,g.classPrefix+&quot;Selected&quot;);b.remove(d.doc,&quot;mousedown&quot;,g.hideMenu,g);g.menu.hideMenu()}}},renderMenu:function(){var h=this,g;g=h.settings.control_manager.createDropMenu(h.id+&quot;_menu&quot;,{menu_line:1,&quot;class&quot;:h.classPrefix+&quot;Menu mceNoIcons&quot;,max_width:250,max_height:150});g.onHideMenu.add(function(){h.hideMenu();h.focus()});g.add({title:h.settings.title,&quot;class&quot;:&quot;mceMenuItemTitle&quot;,onclick:function(){if(h.settings.onselect(&quot;&quot;)!==false){h.select(&quot;&quot;)}}});f(h.items,function(i){if(i.value===c){g.add({title:i.title,role:&quot;option&quot;,&quot;class&quot;:&quot;mceMenuItemTitle&quot;,onclick:function(){if(h.settings.onselect(&quot;&quot;)!==false){h.select(&quot;&quot;)}}})}else{i.id=d.uniqueId();i.role=&quot;option&quot;;i.onclick=function(){if(h.settings.onselect(i.value)!==false){h.select(i.value)}};g.add(i)}})
 ;h.onRenderMenu.dispatch(h,g);h.menu=g},postRender:function(){var g=this,h=g.classPrefix;b.add(g.id,&quot;click&quot;,g.showMenu,g);b.add(g.id,&quot;keydown&quot;,function(i){if(i.keyCode==32){g.showMenu(i);b.cancel(i)}});b.add(g.id,&quot;focus&quot;,function(){if(!g._focused){g.keyDownHandler=b.add(g.id,&quot;keydown&quot;,function(i){if(i.keyCode==40){g.showMenu();b.cancel(i)}});g.keyPressHandler=b.add(g.id,&quot;keypress&quot;,function(j){var i;if(j.keyCode==13){i=g.selectedValue;g.selectedValue=null;b.cancel(j);g.settings.onselect(i)}})}g._focused=1});b.add(g.id,&quot;blur&quot;,function(){b.remove(g.id,&quot;keydown&quot;,g.keyDownHandler);b.remove(g.id,&quot;keypress&quot;,g.keyPressHandler);g._focused=0});if(e.isIE6||!d.boxModel){b.add(g.id,&quot;mouseover&quot;,function(){if(!d.hasClass(g.id,h+&quot;Disabled&quot;)){d.addClass(g.id,h+&quot;Hover&quot;)}});b.add(g.id,&quot;mouseout&quot;,function(){if(!d.hasClass(g.id,h+&quot;Disabled&quot;)){d.removeClass(g.id,h+&quo
 t;Hover&quot;)}})}g.onPostRender.dispatch(g,d.get(g.id))},destroy:function(){this.parent();b.clear(this.id+&quot;_text&quot;);b.clear(this.id+&quot;_open&quot;)}})})(tinymce);(function(e){var d=e.DOM,b=e.dom.Event,f=e.each,a=e.util.Dispatcher,c;e.create(&quot;tinymce.ui.NativeListBox:tinymce.ui.ListBox&quot;,{NativeListBox:function(h,g){this.parent(h,g);this.classPrefix=&quot;mceNativeListBox&quot;},setDisabled:function(g){d.get(this.id).disabled=g;this.setAriaProperty(&quot;disabled&quot;,g)},isDisabled:function(){return d.get(this.id).disabled},select:function(h){var g=this,j,i;if(h==c){return g.selectByIndex(-1)}if(h&amp;&amp;typeof(h)==&quot;function&quot;){i=h}else{i=function(k){return k==h}}if(h!=g.selectedValue){f(g.items,function(l,k){if(i(l.value)){j=1;g.selectByIndex(k);return false}});if(!j){g.selectByIndex(-1)}}},selectByIndex:function(g){d.get(this.id).selectedIndex=g+1;this.selectedValue=this.items[g]?this.items[g].value:null},add:function(k,h,g){var j,i=this;g
 =g||{};g.value=h;if(i.isRendered()){d.add(d.get(this.id),&quot;option&quot;,g,k)}j={title:k,value:h,attribs:g};i.items.push(j);i.onAdd.dispatch(i,j)},getLength:function(){return this.items.length},renderHTML:function(){var i,g=this;i=d.createHTML(&quot;option&quot;,{value:&quot;&quot;},&quot;-- &quot;+g.settings.title+&quot; --&quot;);f(g.items,function(h){i+=d.createHTML(&quot;option&quot;,{value:h.value},h.title)});i=d.createHTML(&quot;select&quot;,{id:g.id,&quot;class&quot;:&quot;mceNativeListBox&quot;,&quot;aria-labelledby&quot;:g.id+&quot;_aria&quot;},i);i+=d.createHTML(&quot;span&quot;,{id:g.id+&quot;_aria&quot;,style:&quot;display: none&quot;},g.settings.title);return i},postRender:function(){var h=this,i,j=true;h.rendered=true;function g(l){var k=h.items[l.target.selectedIndex-1];if(k&amp;&amp;(k=k.value)){h.onChange.dispatch(h,k);if(h.settings.onselect){h.settings.onselect(k)}}}b.add(h.id,&quot;change&quot;,g);b.add(h.id,&quot;keydown&quot;,function(l){var k;b.remov
 e(h.id,&quot;change&quot;,i);j=false;k=b.add(h.id,&quot;blur&quot;,function(){if(j){return}j=true;b.add(h.id,&quot;change&quot;,g);b.remove(h.id,&quot;blur&quot;,k)});if(e.isWebKit&amp;&amp;(l.keyCode==37||l.keyCode==39)){return b.prevent(l)}if(l.keyCode==13||l.keyCode==32){g(l);return b.cancel(l)}});h.onPostRender.dispatch(h,d.get(h.id))}})})(tinymce);(function(c){var b=c.DOM,a=c.dom.Event,d=c.each;c.create(&quot;tinymce.ui.MenuButton:tinymce.ui.Button&quot;,{MenuButton:function(g,f,e){this.parent(g,f,e);this.onRenderMenu=new c.util.Dispatcher(this);f.menu_container=f.menu_container||b.doc.body},showMenu:function(){var g=this,j,i,h=b.get(g.id),f;if(g.isDisabled()){return}if(!g.isMenuRendered){g.renderMenu();g.isMenuRendered=true}if(g.isMenuVisible){return g.hideMenu()}j=b.getPos(g.settings.menu_container);i=b.getPos(h);f=g.menu;f.settings.offset_x=i.x;f.settings.offset_y=i.y;f.settings.vp_offset_x=i.x;f.settings.vp_offset_y=i.y;f.settings.keyboard_focus=g._focused;f.showMen
 u(0,h.firstChild.clientHeight);a.add(b.doc,&quot;mousedown&quot;,g.hideMenu,g);g.setState(&quot;Selected&quot;,1);g.isMenuVisible=1},renderMenu:function(){var f=this,e;e=f.settings.control_manager.createDropMenu(f.id+&quot;_menu&quot;,{menu_line:1,&quot;class&quot;:this.classPrefix+&quot;Menu&quot;,icons:f.settings.icons});e.onHideMenu.add(function(){f.hideMenu();f.focus()});f.onRenderMenu.dispatch(f,e);f.menu=e},hideMenu:function(g){var f=this;if(g&amp;&amp;g.type==&quot;mousedown&quot;&amp;&amp;b.getParent(g.target,function(h){return h.id===f.id||h.id===f.id+&quot;_open&quot;})){return}if(!g||!b.getParent(g.target,&quot;.mceMenu&quot;)){f.setState(&quot;Selected&quot;,0);a.remove(b.doc,&quot;mousedown&quot;,f.hideMenu,f);if(f.menu){f.menu.hideMenu()}}f.isMenuVisible=0},postRender:function(){var e=this,f=e.settings;a.add(e.id,&quot;click&quot;,function(){if(!e.isDisabled()){if(f.onclick){f.onclick(e.value)}e.showMenu()}})}})})(tinymce);(function(c){var b=c.DOM,a=c.dom.Event
 ,d=c.each;c.create(&quot;tinymce.ui.SplitButton:tinymce.ui.MenuButton&quot;,{SplitButton:function(g,f,e){this.parent(g,f,e);this.classPrefix=&quot;mceSplitButton&quot;},renderHTML:function(){var i,f=this,g=f.settings,e;i=&quot;&lt;tbody&gt;&lt;tr&gt;&quot;;if(g.image){e=b.createHTML(&quot;img &quot;,{src:g.image,role:&quot;presentation&quot;,&quot;class&quot;:&quot;mceAction &quot;+g[&quot;class&quot;]})}else{e=b.createHTML(&quot;span&quot;,{&quot;class&quot;:&quot;mceAction &quot;+g[&quot;class&quot;]},&quot;&quot;)}e+=b.createHTML(&quot;span&quot;,{&quot;class&quot;:&quot;mceVoiceLabel mceIconOnly&quot;,id:f.id+&quot;_voice&quot;,style:&quot;display:none;&quot;},g.title);i+=&quot;&lt;td &gt;&quot;+b.createHTML(&quot;a&quot;,{role:&quot;button&quot;,id:f.id+&quot;_action&quot;,tabindex:&quot;-1&quot;,href:&quot;javascript:;&quot;,&quot;class&quot;:&quot;mceAction &quot;+g[&quot;class&quot;],onclick:&quot;return false;&quot;,onmousedown:&quot;return false;&quot;,title:g.titl
 e},e)+&quot;&lt;/td&gt;&quot;;e=b.createHTML(&quot;span&quot;,{&quot;class&quot;:&quot;mceOpen &quot;+g[&quot;class&quot;]},'&lt;span style=&quot;display:none;&quot; class=&quot;mceIconOnly&quot; aria-hidden=&quot;true&quot;&gt;\u25BC&lt;/span&gt;');i+=&quot;&lt;td &gt;&quot;+b.createHTML(&quot;a&quot;,{role:&quot;button&quot;,id:f.id+&quot;_open&quot;,tabindex:&quot;-1&quot;,href:&quot;javascript:;&quot;,&quot;class&quot;:&quot;mceOpen &quot;+g[&quot;class&quot;],onclick:&quot;return false;&quot;,onmousedown:&quot;return false;&quot;,title:g.title},e)+&quot;&lt;/td&gt;&quot;;i+=&quot;&lt;/tr&gt;&lt;/tbody&gt;&quot;;i=b.createHTML(&quot;table&quot;,{role:&quot;presentation&quot;,&quot;class&quot;:&quot;mceSplitButton mceSplitButtonEnabled &quot;+g[&quot;class&quot;],cellpadding:&quot;0&quot;,cellspacing:&quot;0&quot;,title:g.title},i);return b.createHTML(&quot;div&quot;,{id:f.id,role:&quot;button&quot;,tabindex:&quot;0&quot;,&quot;aria-labelledby&quot;:f.id+&quot;_voice&quot
 ;,&quot;aria-haspopup&quot;:&quot;true&quot;},i)},postRender:function(){var e=this,g=e.settings,f;if(g.onclick){f=function(h){if(!e.isDisabled()){g.onclick(e.value);a.cancel(h)}};a.add(e.id+&quot;_action&quot;,&quot;click&quot;,f);a.add(e.id,[&quot;click&quot;,&quot;keydown&quot;],function(h){var k=32,m=14,i=13,j=38,l=40;if((h.keyCode===32||h.keyCode===13||h.keyCode===14)&amp;&amp;!h.altKey&amp;&amp;!h.ctrlKey&amp;&amp;!h.metaKey){f();a.cancel(h)}else{if(h.type===&quot;click&quot;||h.keyCode===l){e.showMenu();a.cancel(h)}}})}a.add(e.id+&quot;_open&quot;,&quot;click&quot;,function(h){e.showMenu();a.cancel(h)});a.add([e.id,e.id+&quot;_open&quot;],&quot;focus&quot;,function(){e._focused=1});a.add([e.id,e.id+&quot;_open&quot;],&quot;blur&quot;,function(){e._focused=0});if(c.isIE6||!b.boxModel){a.add(e.id,&quot;mouseover&quot;,function(){if(!b.hasClass(e.id,&quot;mceSplitButtonDisabled&quot;)){b.addClass(e.id,&quot;mceSplitButtonHover&quot;)}});a.add(e.id,&quot;mouseout&quot;,fun
 ction(){if(!b.hasClass(e.id,&quot;mceSplitButtonDisabled&quot;)){b.removeClass(e.id,&quot;mceSplitButtonHover&quot;)}})}},destroy:function(){this.parent();a.clear(this.id+&quot;_action&quot;);a.clear(this.id+&quot;_open&quot;);a.clear(this.id)}})})(tinymce);(function(d){var c=d.DOM,a=d.dom.Event,b=d.is,e=d.each;d.create(&quot;tinymce.ui.ColorSplitButton:tinymce.ui.SplitButton&quot;,{ColorSplitButton:function(i,h,f){var g=this;g.parent(i,h,f);g.settings=h=d.extend({colors:&quot;000000,993300,333300,003300,003366,000080,333399,333333,800000,FF6600,808000,008000,008080,0000FF,666699,808080,FF0000,FF9900,99CC00,339966,33CCCC,3366FF,800080,999999,FF00FF,FFCC00,FFFF00,00FF00,00FFFF,00CCFF,993366,C0C0C0,FF99CC,FFCC99,FFFF99,CCFFCC,CCFFFF,99CCFF,CC99FF,FFFFFF&quot;,grid_width:8,default_color:&quot;#888888&quot;},g.settings);g.onShowMenu=new d.util.Dispatcher(g);g.onHideMenu=new d.util.Dispatcher(g);g.value=h.default_color},showMenu:function(){var f=this,g,j,i,h;if(f.isDisabled()){re
 turn}if(!f.isMenuRendered){f.renderMenu();f.isMenuRendered=true}if(f.isMenuVisible){return f.hideMenu()}i=c.get(f.id);c.show(f.id+&quot;_menu&quot;);c.addClass(i,&quot;mceSplitButtonSelected&quot;);h=c.getPos(i);c.setStyles(f.id+&quot;_menu&quot;,{left:h.x,top:h.y+i.firstChild.clientHeight,zIndex:200000});i=0;a.add(c.doc,&quot;mousedown&quot;,f.hideMenu,f);f.onShowMenu.dispatch(f);if(f._focused){f._keyHandler=a.add(f.id+&quot;_menu&quot;,&quot;keydown&quot;,function(k){if(k.keyCode==27){f.hideMenu()}});c.select(&quot;a&quot;,f.id+&quot;_menu&quot;)[0].focus()}f.keyboardNav=new d.ui.KeyboardNavigation({root:f.id+&quot;_menu&quot;,items:c.select(&quot;a&quot;,f.id+&quot;_menu&quot;),onCancel:function(){f.hideMenu();f.focus()}});f.keyboardNav.focus();f.isMenuVisible=1},hideMenu:function(g){var f=this;if(f.isMenuVisible){if(g&amp;&amp;g.type==&quot;mousedown&quot;&amp;&amp;c.getParent(g.target,function(h){return h.id===f.id+&quot;_open&quot;})){return}if(!g||!c.getParent(g.targe
 t,&quot;.mceSplitButtonMenu&quot;)){c.removeClass(f.id,&quot;mceSplitButtonSelected&quot;);a.remove(c.doc,&quot;mousedown&quot;,f.hideMenu,f);a.remove(f.id+&quot;_menu&quot;,&quot;keydown&quot;,f._keyHandler);c.hide(f.id+&quot;_menu&quot;)}f.isMenuVisible=0;f.onHideMenu.dispatch();f.keyboardNav.destroy()}},renderMenu:function(){var p=this,h,k=0,q=p.settings,g,j,l,o,f;o=c.add(q.menu_container,&quot;div&quot;,{role:&quot;listbox&quot;,id:p.id+&quot;_menu&quot;,&quot;class&quot;:q.menu_class+&quot; &quot;+q[&quot;class&quot;],style:&quot;position:absolute;left:0;top:-1000px;&quot;});h=c.add(o,&quot;div&quot;,{&quot;class&quot;:q[&quot;class&quot;]+&quot; mceSplitButtonMenu&quot;});c.add(h,&quot;span&quot;,{&quot;class&quot;:&quot;mceMenuLine&quot;});g=c.add(h,&quot;table&quot;,{role:&quot;presentation&quot;,&quot;class&quot;:&quot;mceColorSplitMenu&quot;});j=c.add(g,&quot;tbody&quot;);k=0;e(b(q.colors,&quot;array&quot;)?q.colors:q.colors.split(&quot;,&quot;),function(m){m=m.rep
 lace(/^#/,&quot;&quot;);if(!k--){l=c.add(j,&quot;tr&quot;);k=q.grid_width-1}g=c.add(l,&quot;td&quot;);var i={href:&quot;javascript:;&quot;,style:{backgroundColor:&quot;#&quot;+m},title:p.editor.getLang(&quot;colors.&quot;+m,m),&quot;data-mce-color&quot;:&quot;#&quot;+m};if(!d.isIE){i.role=&quot;option&quot;}g=c.add(g,&quot;a&quot;,i);if(p.editor.forcedHighContrastMode){g=c.add(g,&quot;canvas&quot;,{width:16,height:16,&quot;aria-hidden&quot;:&quot;true&quot;});if(g.getContext&amp;&amp;(f=g.getContext(&quot;2d&quot;))){f.fillStyle=&quot;#&quot;+m;f.fillRect(0,0,16,16)}else{c.remove(g)}}});if(q.more_colors_func){g=c.add(j,&quot;tr&quot;);g=c.add(g,&quot;td&quot;,{colspan:q.grid_width,&quot;class&quot;:&quot;mceMoreColors&quot;});g=c.add(g,&quot;a&quot;,{role:&quot;option&quot;,id:p.id+&quot;_more&quot;,href:&quot;javascript:;&quot;,onclick:&quot;return false;&quot;,&quot;class&quot;:&quot;mceMoreColors&quot;},q.more_colors_title);a.add(g,&quot;click&quot;,function(i){q.more_col
 ors_func.call(q.more_colors_scope||this);return a.cancel(i)})}c.addClass(h,&quot;mceColorSplitMenu&quot;);a.add(p.id+&quot;_menu&quot;,&quot;mousedown&quot;,function(i){return a.cancel(i)});a.add(p.id+&quot;_menu&quot;,&quot;click&quot;,function(i){var m;i=c.getParent(i.target,&quot;a&quot;,j);if(i&amp;&amp;i.nodeName.toLowerCase()==&quot;a&quot;&amp;&amp;(m=i.getAttribute(&quot;data-mce-color&quot;))){p.setColor(m)}return false});return o},setColor:function(f){this.displayColor(f);this.hideMenu();this.settings.onselect(f)},displayColor:function(g){var f=this;c.setStyle(f.id+&quot;_preview&quot;,&quot;backgroundColor&quot;,g);f.value=g},postRender:function(){var f=this,g=f.id;f.parent();c.add(g+&quot;_action&quot;,&quot;div&quot;,{id:g+&quot;_preview&quot;,&quot;class&quot;:&quot;mceColorPreview&quot;});c.setStyle(f.id+&quot;_preview&quot;,&quot;backgroundColor&quot;,f.value)},destroy:function(){var f=this;f.parent();a.clear(f.id+&quot;_menu&quot;);a.clear(f.id+&quot;_more&q
 uot;);c.remove(f.id+&quot;_menu&quot;);if(f.keyboardNav){f.keyboardNav.destroy()}}})})(tinymce);(function(b){var d=b.DOM,c=b.each,a=b.dom.Event;b.create(&quot;tinymce.ui.ToolbarGroup:tinymce.ui.Container&quot;,{renderHTML:function(){var f=this,i=[],e=f.controls,j=b.each,g=f.settings;i.push('&lt;div id=&quot;'+f.id+'&quot; role=&quot;group&quot; aria-labelledby=&quot;'+f.id+'_voice&quot;&gt;');i.push(&quot;&lt;span role='application'&gt;&quot;);i.push('&lt;span id=&quot;'+f.id+'_voice&quot; class=&quot;mceVoiceLabel&quot; style=&quot;display:none;&quot;&gt;'+d.encode(g.name)+&quot;&lt;/span&gt;&quot;);j(e,function(h){i.push(h.renderHTML())});i.push(&quot;&lt;/span&gt;&quot;);i.push(&quot;&lt;/div&gt;&quot;);return i.join(&quot;&quot;)},focus:function(){var e=this;d.get(e.id).focus()},postRender:function(){var f=this,e=[];c(f.controls,function(g){c(g.controls,function(h){if(h.id){e.push(h)}})});f.keyNav=new b.ui.KeyboardNavigation({root:f.id,items:e,onCancel:function(){if(b.is
 WebKit){d.get(f.editor.id+&quot;_ifr&quot;).focus()}f.editor.focus()},excludeFromTabOrder:!f.settings.tab_focus_toolbar})},destroy:function(){var e=this;e.parent();e.keyNav.destroy();a.clear(e.id)}})})(tinymce);(function(a){var c=a.DOM,b=a.each;a.create(&quot;tinymce.ui.Toolbar:tinymce.ui.Container&quot;,{renderHTML:function(){var m=this,f=&quot;&quot;,j,k,n=m.settings,e,d,g,l;l=m.controls;for(e=0;e&lt;l.length;e++){k=l[e];d=l[e-1];g=l[e+1];if(e===0){j=&quot;mceToolbarStart&quot;;if(k.Button){j+=&quot; mceToolbarStartButton&quot;}else{if(k.SplitButton){j+=&quot; mceToolbarStartSplitButton&quot;}else{if(k.ListBox){j+=&quot; mceToolbarStartListBox&quot;}}}f+=c.createHTML(&quot;td&quot;,{&quot;class&quot;:j},c.createHTML(&quot;span&quot;,null,&quot;&lt;!-- IE --&gt;&quot;))}if(d&amp;&amp;k.ListBox){if(d.Button||d.SplitButton){f+=c.createHTML(&quot;td&quot;,{&quot;class&quot;:&quot;mceToolbarEnd&quot;},c.createHTML(&quot;span&quot;,null,&quot;&lt;!-- IE --&gt;&quot;))}}if(c.stdM
 ode){f+='&lt;td style=&quot;position: relative&quot;&gt;'+k.renderHTML()+&quot;&lt;/td&gt;&quot;}else{f+=&quot;&lt;td&gt;&quot;+k.renderHTML()+&quot;&lt;/td&gt;&quot;}if(g&amp;&amp;k.ListBox){if(g.Button||g.SplitButton){f+=c.createHTML(&quot;td&quot;,{&quot;class&quot;:&quot;mceToolbarStart&quot;},c.createHTML(&quot;span&quot;,null,&quot;&lt;!-- IE --&gt;&quot;))}}}j=&quot;mceToolbarEnd&quot;;if(k.Button){j+=&quot; mceToolbarEndButton&quot;}else{if(k.SplitButton){j+=&quot; mceToolbarEndSplitButton&quot;}else{if(k.ListBox){j+=&quot; mceToolbarEndListBox&quot;}}}f+=c.createHTML(&quot;td&quot;,{&quot;class&quot;:j},c.createHTML(&quot;span&quot;,null,&quot;&lt;!-- IE --&gt;&quot;));return c.createHTML(&quot;table&quot;,{id:m.id,&quot;class&quot;:&quot;mceToolbar&quot;+(n[&quot;class&quot;]?&quot; &quot;+n[&quot;class&quot;]:&quot;&quot;),cellpadding:&quot;0&quot;,cellspacing:&quot;0&quot;,align:m.settings.align||&quot;&quot;,role:&quot;presentation&quot;,tabindex:&quot;-1&quot;}
 ,&quot;&lt;tbody&gt;&lt;tr&gt;&quot;+f+&quot;&lt;/tr&gt;&lt;/tbody&gt;&quot;)}})})(tinymce);(function(b){var a=b.util.Dispatcher,c=b.each;b.create(&quot;tinymce.AddOnManager&quot;,{AddOnManager:function(){var d=this;d.items=[];d.urls={};d.lookup={};d.onAdd=new a(d)},get:function(d){if(this.lookup[d]){return this.lookup[d].instance}else{return undefined}},dependencies:function(e){var d;if(this.lookup[e]){d=this.lookup[e].dependencies}return d||[]},requireLangPack:function(e){var d=b.settings;if(d&amp;&amp;d.language&amp;&amp;d.language_load!==false){b.ScriptLoader.add(this.urls[e]+&quot;/langs/&quot;+d.language+&quot;.js&quot;)}},add:function(f,e,d){this.items.push(e);this.lookup[f]={instance:e,dependencies:d};this.onAdd.dispatch(this,f,e);return e},createUrl:function(d,e){if(typeof e===&quot;object&quot;){return e}else{return{prefix:d.prefix,resource:e,suffix:d.suffix}}},addComponents:function(f,d){var e=this.urls[f];b.each(d,function(g){b.ScriptLoader.add(e+&quot;/&quot;+g)
 })},load:function(j,f,d,h){var g=this,e=f;function i(){var k=g.dependencies(j);b.each(k,function(m){var l=g.createUrl(f,m);g.load(l.resource,l,undefined,undefined)});if(d){if(h){d.call(h)}else{d.call(b.ScriptLoader)}}}if(g.urls[j]){return}if(typeof f===&quot;object&quot;){e=f.prefix+f.resource+f.suffix}if(e.indexOf(&quot;/&quot;)!==0&amp;&amp;e.indexOf(&quot;://&quot;)==-1){e=b.baseURL+&quot;/&quot;+e}g.urls[j]=e.substring(0,e.lastIndexOf(&quot;/&quot;));if(g.lookup[j]){i()}else{b.ScriptLoader.add(e,i,h)}}});b.PluginManager=new b.AddOnManager();b.ThemeManager=new b.AddOnManager()}(tinymce));(function(j){var g=j.each,d=j.extend,k=j.DOM,i=j.dom.Event,f=j.ThemeManager,b=j.PluginManager,e=j.explode,h=j.util.Dispatcher,a,c=0;j.documentBaseURL=window.location.href.replace(/[\?#].*$/,&quot;&quot;).replace(/[\/\\][^\/]+$/,&quot;&quot;);if(!/[\/\\]$/.test(j.documentBaseURL)){j.documentBaseURL+=&quot;/&quot;}j.baseURL=new j.util.URI(j.documentBaseURL).toAbsolute(j.baseURL);j.baseURI=n
 ew j.util.URI(j.baseURL);j.onBeforeUnload=new h(j);i.add(window,&quot;beforeunload&quot;,function(l){j.onBeforeUnload.dispatch(j,l)});j.onAddEditor=new h(j);j.onRemoveEditor=new h(j);j.EditorManager=d(j,{editors:[],i18n:{},activeEditor:null,init:function(x){var v=this,o,n=j.ScriptLoader,u,l=[],r;function q(t){var s=t.id;if(!s){s=t.name;if(s&amp;&amp;!k.get(s)){s=t.name}else{s=k.uniqueId()}t.setAttribute(&quot;id&quot;,s)}return s}function m(z,A,t){var y=z[A];if(!y){return}if(j.is(y,&quot;string&quot;)){t=y.replace(/\.\w+$/,&quot;&quot;);t=t?j.resolve(t):0;y=j.resolve(y)}return y.apply(t||this,Array.prototype.slice.call(arguments,2))}function p(t,s){return s.constructor===RegExp?s.test(t.className):k.hasClass(t,s)}v.settings=x;i.bind(window,&quot;ready&quot;,function(){var s,t;m(x,&quot;onpageload&quot;);switch(x.mode){case&quot;exact&quot;:s=x.elements||&quot;&quot;;if(s.length&gt;0){g(e(s),function(y){if(k.get(y)){r=new j.Editor(y,x);l.push(r);r.render(1)}else{g(document.fo
 rms,function(z){g(z.elements,function(A){if(A.name===y){y=&quot;mce_editor_&quot;+c++;k.setAttrib(A,&quot;id&quot;,y);r=new j.Editor(y,x);l.push(r);r.render(1)}})})}})}break;case&quot;textareas&quot;:case&quot;specific_textareas&quot;:g(k.select(&quot;textarea&quot;),function(y){if(x.editor_deselector&amp;&amp;p(y,x.editor_deselector)){return}if(!x.editor_selector||p(y,x.editor_selector)){r=new j.Editor(q(y),x);l.push(r);r.render(1)}});break;default:if(x.types){g(x.types,function(y){g(k.select(y.selector),function(A){var z=new j.Editor(q(A),j.extend({},x,y));l.push(z);z.render(1)})})}else{if(x.selector){g(k.select(x.selector),function(z){var y=new j.Editor(q(z),x);l.push(y);y.render(1)})}}}if(x.oninit){s=t=0;g(l,function(y){t++;if(!y.initialized){y.onInit.add(function(){s++;if(s==t){m(x,&quot;oninit&quot;)}})}else{s++}if(s==t){m(x,&quot;oninit&quot;)}})}})},get:function(l){if(l===a){return this.editors}if(!this.editors.hasOwnProperty(l)){return a}return this.editors[l]},getI
 nstanceById:function(l){return this.get(l)},add:function(m){var l=this,n=l.editors;n[m.id]=m;n.push(m);l._setActive(m);l.onAddEditor.dispatch(l,m);return m},remove:function(n){var m=this,l,o=m.editors;if(!o[n.id]){return null}delete o[n.id];for(l=0;l&lt;o.length;l++){if(o[l]==n){o.splice(l,1);break}}if(m.activeEditor==n){m._setActive(o[0])}n.destroy();m.onRemoveEditor.dispatch(m,n);return n},execCommand:function(r,p,o){var q=this,n=q.get(o),l;function m(){n.destroy();l.detachEvent(&quot;onunload&quot;,m);l=l.tinyMCE=l.tinymce=null}switch(r){case&quot;mceFocus&quot;:n.focus();return true;case&quot;mceAddEditor&quot;:case&quot;mceAddControl&quot;:if(!q.get(o)){new j.Editor(o,q.settings).render()}return true;case&quot;mceAddFrameControl&quot;:l=o.window;l.tinyMCE=tinyMCE;l.tinymce=j;j.DOM.doc=l.document;j.DOM.win=l;n=new j.Editor(o.element_id,o);n.render();if(j.isIE){l.attachEvent(&quot;onunload&quot;,m)}o.page_window=null;return true;case&quot;mceRemoveEditor&quot;:case&quot;m
 ceRemoveControl&quot;:if(n){n.remove()}return true;case&quot;mceToggleEditor&quot;:if(!n){q.execCommand(&quot;mceAddControl&quot;,0,o);return true}if(n.isHidden()){n.show()}else{n.hide()}return true}if(q.activeEditor){return q.activeEditor.execCommand(r,p,o)}return false},execInstanceCommand:function(p,o,n,m){var l=this.get(p);if(l){return l.execCommand(o,n,m)}return false},triggerSave:function(){g(this.editors,function(l){l.save()})},addI18n:function(n,q){var l,m=this.i18n;if(!j.is(n,&quot;string&quot;)){g(n,function(r,p){g(r,function(t,s){g(t,function(v,u){if(s===&quot;common&quot;){m[p+&quot;.&quot;+u]=v}else{m[p+&quot;.&quot;+s+&quot;.&quot;+u]=v}})})})}else{g(q,function(r,p){m[n+&quot;.&quot;+p]=r})}},_setActive:function(l){this.selectedInstance=this.activeEditor=l}})})(tinymce);(function(k){var l=k.DOM,j=k.dom.Event,f=k.extend,i=k.each,a=k.isGecko,b=k.isIE,e=k.isWebKit,d=k.is,h=k.ThemeManager,c=k.PluginManager,g=k.explode;k.create(&quot;tinymce.Editor&quot;,{Editor:fun
 ction(p,o){var m=this,n=true;m.settings=o=f({id:p,language:&quot;en&quot;,theme:&quot;advanced&quot;,skin:&quot;default&quot;,delta_width:0,delta_height:0,popup_css:&quot;&quot;,plugins:&quot;&quot;,document_base_url:k.documentBaseURL,add_form_submit_trigger:n,submit_patch:n,add_unload_trigger:n,convert_urls:n,relative_urls:n,remove_script_host:n,table_inline_editing:false,object_resizing:n,accessibility_focus:n,doctype:k.isIE6?'&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;':&quot;&lt;!DOCTYPE&gt;&quot;,visual:n,font_size_style_values:&quot;xx-small,x-small,small,medium,large,x-large,xx-large&quot;,font_size_legacy_values:&quot;xx-small,small,medium,large,x-large,xx-large,300%&quot;,apply_source_formatting:n,directionality:&quot;ltr&quot;,forced_root_block:&quot;p&quot;,hidden_input:n,padd_empty_editor:n,render_ui:n,indentation:&quot;30px&quot;,fix_table_elements:n,inline_styles:n,convert_fonts_to_spans:n,indent:&quot;simple&quot;,indent_bef
 ore:&quot;p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,ul,li,area,table,thead,tfoot,tbody,tr,section,article,hgroup,aside,figure,option,optgroup,datalist&quot;,indent_after:&quot;p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,ul,li,area,table,thead,tfoot,tbody,tr,section,article,hgroup,aside,figure,option,optgroup,datalist&quot;,validate:n,entity_encoding:&quot;named&quot;,url_converter:m.convertURL,url_converter_scope:m,ie7_compat:n},o);m.id=m.editorId=p;m.isNotDirty=false;m.plugins={};m.documentBaseURI=new k.util.URI(o.document_base_url||k.documentBaseURL,{base_uri:tinyMCE.baseURI});m.baseURI=k.baseURI;m.contentCSS=[];m.contentStyles=[];m.setupEvents();m.execCommands={};m.queryStateCommands={};m.queryValueCommands={};m.execCallback(&quot;setup&quot;,m)},render:function(o){var p=this,q=p.settings,r=p.id,m=k.ScriptLoader;if(!j.domLoaded){j.add(window,&quot;ready&quot;,function(){p.render()});return}tinyMCE.settings=q;if(!p.getElement()){return}i
 f(k.isIDevice&amp;&amp;!k.isIOS5){return}if(!/TEXTAREA|INPUT/i.test(p.getElement().nodeName)&amp;&amp;q.hidden_input&amp;&amp;l.getParent(r,&quot;form&quot;)){l.insertAfter(l.create(&quot;input&quot;,{type:&quot;hidden&quot;,name:r}),r)}if(!q.content_editable){p.orgVisibility=p.getElement().style.visibility;p.getElement().style.visibility=&quot;hidden&quot;}if(k.WindowManager){p.windowManager=new k.WindowManager(p)}if(q.encoding==&quot;xml&quot;){p.onGetContent.add(function(s,t){if(t.save){t.content=l.encode(t.content)}})}if(q.add_form_submit_trigger){p.onSubmit.addToTop(function(){if(p.initialized){p.save();p.isNotDirty=1}})}if(q.add_unload_trigger){p._beforeUnload=tinyMCE.onBeforeUnload.add(function(){if(p.initialized&amp;&amp;!p.destroyed&amp;&amp;!p.isHidden()){p.save({format:&quot;raw&quot;,no_events:true})}})}k.addUnload(p.destroy,p);if(q.submit_patch){p.onBeforeRenderUI.add(function(){var s=p.getElement().form;if(!s){return}if(s._mceOldSubmit){return}if(!s.submit.node
 Type&amp;&amp;!s.submit.length){p.formElement=s;s._mceOldSubmit=s.submit;s.submit=function(){k.triggerSave();p.isNotDirty=1;return p.formElement._mceOldSubmit(p.formElement)}}s=null})}function n(){if(q.language&amp;&amp;q.language_load!==false){m.add(k.baseURL+&quot;/langs/&quot;+q.language+&quot;.js&quot;)}if(q.theme&amp;&amp;typeof q.theme!=&quot;function&quot;&amp;&amp;q.theme.charAt(0)!=&quot;-&quot;&amp;&amp;!h.urls[q.theme]){h.load(q.theme,&quot;themes/&quot;+q.theme+&quot;/editor_template&quot;+k.suffix+&quot;.js&quot;)}i(g(q.plugins),function(t){if(t&amp;&amp;!c.urls[t]){if(t.charAt(0)==&quot;-&quot;){t=t.substr(1,t.length);var s=c.dependencies(t);i(s,function(v){var u={prefix:&quot;plugins/&quot;,resource:v,suffix:&quot;/editor_plugin&quot;+k.suffix+&quot;.js&quot;};v=c.createUrl(u,v);c.load(v.resource,v)})}else{if(t==&quot;safari&quot;){return}c.load(t,{prefix:&quot;plugins/&quot;,resource:t,suffix:&quot;/editor_plugin&quot;+k.suffix+&quot;.js&quot;})}}});m.loadQue
 ue(function(){if(!p.removed){p.init()}})}n()},init:function(){var q,G=this,H=G.settings,D,y,z,C=G.getElement(),p,m,E,v,B,F,x,r=[];k.add(G);H.aria_label=H.aria_label||l.getAttrib(C,&quot;aria-label&quot;,G.getLang(&quot;aria.rich_text_area&quot;));if(H.theme){if(typeof H.theme!=&quot;function&quot;){H.theme=H.theme.replace(/-/,&quot;&quot;);p=h.get(H.theme);G.theme=new p();if(G.theme.init){G.theme.init(G,h.urls[H.theme]||k.documentBaseURL.replace(/\/$/,&quot;&quot;))}}else{G.theme=H.theme}}function A(s){var t=c.get(s),o=c.urls[s]||k.documentBaseURL.replace(/\/$/,&quot;&quot;),n;if(t&amp;&amp;k.inArray(r,s)===-1){i(c.dependencies(s),function(u){A(u)});n=new t(G,o);G.plugins[s]=n;if(n.init){n.init(G,o);r.push(s)}}}i(g(H.plugins.replace(/\-/g,&quot;&quot;)),A);if(H.popup_css!==false){if(H.popup_css){H.popup_css=G.documentBaseURI.toAbsolute(H.popup_css)}else{H.popup_css=G.baseURI.toAbsolute(&quot;themes/&quot;+H.theme+&quot;/skins/&quot;+H.skin+&quot;/dialog.css&quot;)}}if(H.popu
 p_css_add){H.popup_css+=&quot;,&quot;+G.documentBaseURI.toAbsolute(H.popup_css_add)}G.controlManager=new k.ControlManager(G);G.onBeforeRenderUI.dispatch(G,G.controlManager);if(H.render_ui&amp;&amp;G.theme){G.orgDisplay=C.style.display;if(typeof H.theme!=&quot;function&quot;){D=H.width||C.style.width||C.offsetWidth;y=H.height||C.style.height||C.offsetHeight;z=H.min_height||100;F=/^[0-9\.]+(|px)$/i;if(F.test(&quot;&quot;+D)){D=Math.max(parseInt(D,10)+(p.deltaWidth||0),100)}if(F.test(&quot;&quot;+y)){y=Math.max(parseInt(y,10)+(p.deltaHeight||0),z)}p=G.theme.renderUI({targetNode:C,width:D,height:y,deltaWidth:H.delta_width,deltaHeight:H.delta_height});l.setStyles(p.sizeContainer||p.editorContainer,{width:D,height:y});y=(p.iframeHeight||y)+(typeof(y)==&quot;number&quot;?(p.deltaHeight||0):&quot;&quot;);if(y&lt;z){y=z}}else{p=H.theme(G,C);if(p.editorContainer.nodeType){p.editorContainer=p.editorContainer.id=p.editorContainer.id||G.id+&quot;_parent&quot;}if(p.iframeContainer.nodeTyp
 e){p.iframeContainer=p.iframeContainer.id=p.iframeContainer.id||G.id+&quot;_iframecontainer&quot;}y=p.iframeHeight||C.offsetHeight;if(b){G.onInit.add(function(n){n.dom.bind(n.getBody(),&quot;beforedeactivate keydown&quot;,function(){n.lastIERng=n.selection.getRng()})})}}G.editorContainer=p.editorContainer}if(H.content_css){i(g(H.content_css),function(n){G.contentCSS.push(G.documentBaseURI.toAbsolute(n))})}if(H.content_style){G.contentStyles.push(H.content_style)}if(H.content_editable){C=q=p=null;return G.initContentBody()}if(document.domain&amp;&amp;location.hostname!=document.domain){k.relaxedDomain=document.domain}G.iframeHTML=H.doctype+'&lt;html&gt;&lt;head xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;';if(H.document_base_url!=k.documentBaseURL){G.iframeHTML+='&lt;base href=&quot;'+G.documentBaseURI.getURI()+'&quot; /&gt;'}if(k.isIE8){if(H.ie7_compat){G.iframeHTML+='&lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=7&quot; /&gt;'}else{G.iframeHTML+='&l
 t;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=edge&quot; /&gt;'}}G.iframeHTML+='&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=UTF-8&quot; /&gt;';for(x=0;x&lt;G.contentCSS.length;x++){G.iframeHTML+='&lt;link type=&quot;text/css&quot; rel=&quot;stylesheet&quot; href=&quot;'+G.contentCSS[x]+'&quot; /&gt;'}G.contentCSS=[];v=H.body_id||&quot;tinymce&quot;;if(v.indexOf(&quot;=&quot;)!=-1){v=G.getParam(&quot;body_id&quot;,&quot;&quot;,&quot;hash&quot;);v=v[G.id]||v}B=H.body_class||&quot;&quot;;if(B.indexOf(&quot;=&quot;)!=-1){B=G.getParam(&quot;body_class&quot;,&quot;&quot;,&quot;hash&quot;);B=B[G.id]||&quot;&quot;}G.iframeHTML+='&lt;/head&gt;&lt;body id=&quot;'+v+'&quot; class=&quot;mceContentBody '+B+'&quot; onload=&quot;window.parent.tinyMCE.get(\''+G.id+&quot;').onLoad.dispatch();\&quot;&gt;&lt;br&gt;&lt;/body&gt;&lt;/html&gt;&quot;;if(k.relaxedDomain&amp;&amp;(b||(k.isOpera&amp;&amp;parseFloat(opera.version())&lt;11))){E='javasc
 ript:(function(){document.open();document.domain=&quot;'+document.domain+'&quot;;var ed = window.parent.tinyMCE.get(&quot;'+G.id+'&quot;);document.write(ed.iframeHTML);document.close();ed.initContentBody();})()'}q=l.add(p.iframeContainer,&quot;iframe&quot;,{id:G.id+&quot;_ifr&quot;,src:E||'javascript:&quot;&quot;',frameBorder:&quot;0&quot;,allowTransparency:&quot;true&quot;,title:H.aria_label,style:{width:&quot;100%&quot;,height:y,display:&quot;block&quot;}});G.contentAreaContainer=p.iframeContainer;if(p.editorContainer){l.get(p.editorContainer).style.display=G.orgDisplay}C.style.visibility=G.orgVisibility;l.get(G.id).style.display=&quot;none&quot;;l.setAttrib(G.id,&quot;aria-hidden&quot;,true);if(!k.relaxedDomain||!E){G.initContentBody()}C=q=p=null},initContentBody:function(){var n=this,p=n.settings,q=l.get(n.id),r=n.getDoc(),o,m,s;if((!b||!k.relaxedDomain)&amp;&amp;!p.content_editable){r.open();r.write(n.iframeHTML);r.close();if(k.relaxedDomain){r.domain=k.relaxedDomain}}i
 f(p.content_editable){l.addClass(q,&quot;mceContentBody&quot;);n.contentDocument=r=p.content_document||document;n.contentWindow=p.content_window||window;n.bodyElement=q;p.content_document=p.content_window=null}m=n.getBody();m.disabled=true;if(!p.readonly){m.contentEditable=n.getParam(&quot;content_editable_state&quot;,true)}m.disabled=false;n.schema=new k.html.Schema(p);n.dom=new k.dom.DOMUtils(r,{keep_values:true,url_converter:n.convertURL,url_converter_scope:n,hex_colors:p.force_hex_style_colors,class_filter:p.class_filter,update_styles:true,root_element:p.content_editable?n.id:null,schema:n.schema});n.parser=new k.html.DomParser(p,n.schema);n.parser.addAttributeFilter(&quot;src,href,style&quot;,function(t,u){var v=t.length,y,A=n.dom,z,x;while(v--){y=t[v];z=y.attr(u);x=&quot;data-mce-&quot;+u;if(!y.attributes.map[x]){if(u===&quot;style&quot;){y.attr(x,A.serializeStyle(A.parseStyle(z),y.name))}else{y.attr(x,n.convertURL(z,u,y.name))}}}});n.parser.addNodeFilter(&quot;script&
 quot;,function(t,u){var v=t.length,x;while(v--){x=t[v];x.attr(&quot;type&quot;,&quot;mce-&quot;+(x.attr(&quot;type&quot;)||&quot;text/javascript&quot;))}});n.parser.addNodeFilter(&quot;#cdata&quot;,function(t,u){var v=t.length,x;while(v--){x=t[v];x.type=8;x.name=&quot;#comment&quot;;x.value=&quot;[CDATA[&quot;+x.value+&quot;]]&quot;}});n.parser.addNodeFilter(&quot;p,h1,h2,h3,h4,h5,h6,div&quot;,function(u,v){var x=u.length,y,t=n.schema.getNonEmptyElements();while(x--){y=u[x];if(y.isEmpty(t)){y.empty().append(new k.html.Node(&quot;br&quot;,1)).shortEnded=true}}});n.serializer=new k.dom.Serializer(p,n.dom,n.schema);n.selection=new k.dom.Selection(n.dom,n.getWin(),n.serializer,n);n.formatter=new k.Formatter(n);n.undoManager=new k.UndoManager(n);n.forceBlocks=new k.ForceBlocks(n);n.enterKey=new k.EnterKey(n);n.editorCommands=new k.EditorCommands(n);n.onExecCommand.add(function(t,u){if(!/^(FontName|FontSize)$/.test(u)){n.nodeChanged()}});n.serializer.onPreProcess.add(function(t,u)
 {return n.onPreProcess.dispatch(n,u,t)});n.serializer.onPostProcess.add(function(t,u){return n.onPostProcess.dispatch(n,u,t)});n.onPreInit.dispatch(n);if(!p.browser_spellcheck&amp;&amp;!p.gecko_spellcheck){r.body.spellcheck=false}if(!p.readonly){n.bindNativeEvents()}n.controlManager.onPostRender.dispatch(n,n.controlManager);n.onPostRender.dispatch(n);n.quirks=k.util.Quirks(n);if(p.directionality){m.dir=p.directionality}if(p.nowrap){m.style.whiteSpace=&quot;nowrap&quot;}if(p.protect){n.onBeforeSetContent.add(function(t,u){i(p.protect,function(v){u.content=u.content.replace(v,function(x){return&quot;&lt;!--mce:protected &quot;+escape(x)+&quot;--&gt;&quot;})})})}n.onSetContent.add(function(){n.addVisual(n.getBody())});if(p.padd_empty_editor){n.onPostProcess.add(function(t,u){u.content=u.content.replace(/^(&lt;p[^&gt;]*&gt;(&amp;nbsp;|&amp;#160;|\s|\u00a0|)&lt;\/p&gt;[\r\n]*|&lt;br \/&gt;[\r\n]*)$/,&quot;&quot;)})}n.load({initial:true,format:&quot;html&quot;});n.startContent=n.g
 etContent({format:&quot;raw&quot;});n.initialized=true;n.onInit.dispatch(n);n.execCallback(&quot;setupcontent_callback&quot;,n.id,m,r);n.execCallback(&quot;init_instance_callback&quot;,n);n.focus(true);n.nodeChanged({initial:true});if(n.contentStyles.length&gt;0){s=&quot;&quot;;i(n.contentStyles,function(t){s+=t+&quot;\r\n&quot;});n.dom.addStyle(s)}i(n.contentCSS,function(t){n.dom.loadCSS(t)});if(p.auto_focus){setTimeout(function(){var t=k.get(p.auto_focus);t.selection.select(t.getBody(),1);t.selection.collapse(1);t.getBody().focus();t.getWin().focus()},100)}q=r=m=null},focus:function(p){var o,u=this,t=u.selection,q=u.settings.content_editable,n,r,s=u.getDoc(),m;if(!p){if(u.lastIERng){t.setRng(u.lastIERng)}n=t.getRng();if(n.item){r=n.item(0)}u._refreshContentEditable();if(!q){u.getWin().focus()}if(k.isGecko||q){m=u.getBody();if(m.setActive){m.setActive()}else{m.focus()}if(q){t.normalize()}}if(r&amp;&amp;r.ownerDocument==s){n=s.body.createControlRange();n.addElement(r);n.sele
 ct()}}if(k.activeEditor!=u){if((o=k.activeEditor)!=null){o.onDeactivate.dispatch(o,u)}u.onActivate.dispatch(u,o)}k._setActive(u)},execCallback:function(q){var m=this,p=m.settings[q],o;if(!p){return}if(m.callbackLookup&amp;&amp;(o=m.callbackLookup[q])){p=o.func;o=o.scope}if(d(p,&quot;string&quot;)){o=p.replace(/\.\w+$/,&quot;&quot;);o=o?k.resolve(o):0;p=k.resolve(p);m.callbackLookup=m.callbackLookup||{};m.callbackLookup[q]={func:p,scope:o}}return p.apply(o||m,Array.prototype.slice.call(arguments,1))},translate:function(m){var o=this.settings.language||&quot;en&quot;,n=k.i18n;if(!m){return&quot;&quot;}return n[o+&quot;.&quot;+m]||m.replace(/\{\#([^\}]+)\}/g,function(q,p){return n[o+&quot;.&quot;+p]||&quot;{#&quot;+p+&quot;}&quot;})},getLang:function(o,m){return k.i18n[(this.settings.language||&quot;en&quot;)+&quot;.&quot;+o]||(d(m)?m:&quot;{#&quot;+o+&quot;}&quot;)},getParam:function(t,q,m){var r=k.trim,p=d(this.settings[t])?this.settings[t]:q,s;if(m===&quot;hash&quot;){s={};i
 f(d(p,&quot;string&quot;)){i(p.indexOf(&quot;=&quot;)&gt;0?p.split(/[;,](?![^=;,]*(?:[;,]|$))/):p.split(&quot;,&quot;),function(n){n=n.split(&quot;=&quot;);if(n.length&gt;1){s[r(n[0])]=r(n[1])}else{s[r(n[0])]=r(n)}})}else{s=p}return s}return p},nodeChanged:function(q){var m=this,n=m.selection,p;if(m.initialized){q=q||{};p=n.getStart()||m.getBody();p=b&amp;&amp;p.ownerDocument!=m.getDoc()?m.getBody():p;q.parents=[];m.dom.getParent(p,function(o){if(o.nodeName==&quot;BODY&quot;){return true}q.parents.push(o)});m.onNodeChange.dispatch(m,q?q.controlManager||m.controlManager:m.controlManager,p,n.isCollapsed(),q)}},addButton:function(n,o){var m=this;m.buttons=m.buttons||{};m.buttons[n]=o},addCommand:function(m,o,n){this.execCommands[m]={func:o,scope:n||this}},addQueryStateHandler:function(m,o,n){this.queryStateCommands[m]={func:o,scope:n||this}},addQueryValueHandler:function(m,o,n){this.queryValueCommands[m]={func:o,scope:n||this}},addShortcut:function(o,q,m,p){var n=this,r;if(n.se
 ttings.custom_shortcuts===false){return false}n.shortcuts=n.shortcuts||{};if(d(m,&quot;string&quot;)){r=m;m=function(){n.execCommand(r,false,null)}}if(d(m,&quot;object&quot;)){r=m;m=function(){n.execCommand(r[0],r[1],r[2])}}i(g(o),function(s){var t={func:m,scope:p||this,desc:n.translate(q),alt:false,ctrl:false,shift:false};i(g(s,&quot;+&quot;),function(u){switch(u){case&quot;alt&quot;:case&quot;ctrl&quot;:case&quot;shift&quot;:t[u]=true;break;default:t.charCode=u.charCodeAt(0);t.keyCode=u.toUpperCase().charCodeAt(0)}});n.shortcuts[(t.ctrl?&quot;ctrl&quot;:&quot;&quot;)+&quot;,&quot;+(t.alt?&quot;alt&quot;:&quot;&quot;)+&quot;,&quot;+(t.shift?&quot;shift&quot;:&quot;&quot;)+&quot;,&quot;+t.keyCode]=t});return true},execCommand:function(u,r,x,m){var p=this,q=0,v,n;if(!/^(mceAddUndoLevel|mceEndUndoLevel|mceBeginUndoLevel|mceRepaint|SelectAll)$/.test(u)&amp;&amp;(!m||!m.skip_focus)){p.focus()}m=f({},m);p.onBeforeExecCommand.dispatch(p,u,r,x,m);if(m.terminate){return false}if(p.e
 xecCallback(&quot;execcommand_callback&quot;,p.id,p.selection.getNode(),u,r,x)){p.onExecCommand.dispatch(p,u,r,x,m);return true}if(v=p.execCommands[u]){n=v.func.call(v.scope,r,x);if(n!==true){p.onExecCommand.dispatch(p,u,r,x,m);return n}}i(p.plugins,function(o){if(o.execCommand&amp;&amp;o.execCommand(u,r,x)){p.onExecCommand.dispatch(p,u,r,x,m);q=1;return false}});if(q){return true}if(p.theme&amp;&amp;p.theme.execCommand&amp;&amp;p.theme.execCommand(u,r,x)){p.onExecCommand.dispatch(p,u,r,x,m);return true}if(p.editorCommands.execCommand(u,r,x)){p.onExecCommand.dispatch(p,u,r,x,m);return true}p.getDoc().execCommand(u,r,x);p.onExecCommand.dispatch(p,u,r,x,m)},queryCommandState:function(q){var n=this,r,p;if(n._isHidden()){return}if(r=n.queryStateCommands[q]){p=r.func.call(r.scope);if(p!==true){return p}}r=n.editorCommands.queryCommandState(q);if(r!==-1){return r}try{return this.getDoc().queryCommandState(q)}catch(m){}},queryCommandValue:function(r){var n=this,q,p;if(n._isHidden()
 ){return}if(q=n.queryValueCommands[r]){p=q.func.call(q.scope);if(p!==true){return p}}q=n.editorCommands.queryCommandValue(r);if(d(q)){return q}try{return this.getDoc().queryCommandValue(r)}catch(m){}},show:function(){var m=this;l.show(m.getContainer());l.hide(m.id);m.load()},hide:function(){var m=this,n=m.getDoc();if(b&amp;&amp;n){n.execCommand(&quot;SelectAll&quot;)}m.save();l.hide(m.getContainer());l.setStyle(m.id,&quot;display&quot;,m.orgDisplay)},isHidden:function(){return !l.isHidden(this.id)},setProgressState:function(m,n,p){this.onSetProgressState.dispatch(this,m,n,p);return m},load:function(q){var m=this,p=m.getElement(),n;if(p){q=q||{};q.load=true;n=m.setContent(d(p.value)?p.value:p.innerHTML,q);q.element=p;if(!q.no_events){m.onLoadContent.dispatch(m,q)}q.element=p=null;return n}},save:function(r){var m=this,q=m.getElement(),n,p;if(!q||!m.initialized){return}r=r||{};r.save=true;r.element=q;n=r.content=m.getContent(r);if(!r.no_events){m.onSaveContent.dispatch(m,r)}n=
 r.content;if(!/TEXTAREA|INPUT/i.test(q.nodeName)){q.innerHTML=n;if(p=l.getParent(m.id,&quot;form&quot;)){i(p.elements,function(o){if(o.name==m.id){o.value=n;return false}})}}else{q.value=n}r.element=q=null;return n},setContent:function(r,p){var o=this,n,m=o.getBody(),q;p=p||{};p.format=p.format||&quot;html&quot;;p.set=true;p.content=r;if(!p.no_events){o.onBeforeSetContent.dispatch(o,p)}r=p.content;if(!k.isIE&amp;&amp;(r.length===0||/^\s+$/.test(r))){q=o.settings.forced_root_block;if(q){r=&quot;&lt;&quot;+q+'&gt;&lt;br data-mce-bogus=&quot;1&quot;&gt;&lt;/'+q+&quot;&gt;&quot;}else{r='&lt;br data-mce-bogus=&quot;1&quot;&gt;'}m.innerHTML=r;o.selection.select(m,true);o.selection.collapse(true);return}if(p.format!==&quot;raw&quot;){r=new k.html.Serializer({},o.schema).serialize(o.parser.parse(r))}p.content=k.trim(r);o.dom.setHTML(m,p.content);if(!p.no_events){o.onSetContent.dispatch(o,p)}if(!o.settings.content_editable||document.activeElement===o.getBody()){o.selection.normalize(
 )}return p.content},getContent:function(o){var n=this,p,m=n.getBody();o=o||{};o.format=o.format||&quot;html&quot;;o.get=true;o.getInner=true;if(!o.no_events){n.onBeforeGetContent.dispatch(n,o)}if(o.format==&quot;raw&quot;){p=m.innerHTML}else{if(o.format==&quot;text&quot;){p=m.innerText||m.textContent}else{p=n.serializer.serialize(m,o)}}if(o.format!=&quot;text&quot;){o.content=k.trim(p)}else{o.content=p}if(!o.no_events){n.onGetContent.dispatch(n,o)}return o.content},isDirty:function(){var m=this;return k.trim(m.startContent)!=k.trim(m.getContent({format:&quot;raw&quot;,no_events:1}))&amp;&amp;!m.isNotDirty},getContainer:function(){var m=this;if(!m.container){m.container=l.get(m.editorContainer||m.id+&quot;_parent&quot;)}return m.container},getContentAreaContainer:function(){return this.contentAreaContainer},getElement:function(){return l.get(this.settings.content_element||this.id)},getWin:function(){var m=this,n;if(!m.contentWindow){n=l.get(m.id+&quot;_ifr&quot;);if(n){m.cont
 entWindow=n.contentWindow}}return m.contentWindow},getDoc:function(){var m=this,n;if(!m.contentDocument){n=m.getWin();if(n){m.contentDocument=n.document}}return m.contentDocument},getBody:function(){return this.bodyElement||this.getDoc().body},convertURL:function(o,n,q){var m=this,p=m.settings;if(p.urlconverter_callback){return m.execCallback(&quot;urlconverter_callback&quot;,o,q,true,n)}if(!p.convert_urls||(q&amp;&amp;q.nodeName==&quot;LINK&quot;)||o.indexOf(&quot;file:&quot;)===0){return o}if(p.relative_urls){return m.documentBaseURI.toRelative(o)}o=m.documentBaseURI.toAbsolute(o,p.remove_script_host);return o},addVisual:function(q){var n=this,o=n.settings,p=n.dom,m;q=q||n.getBody();if(!d(n.hasVisual)){n.hasVisual=o.visual}i(p.select(&quot;table,a&quot;,q),function(s){var r;switch(s.nodeName){case&quot;TABLE&quot;:m=o.visual_table_class||&quot;mceItemTable&quot;;r=p.getAttrib(s,&quot;border&quot;);if(!r||r==&quot;0&quot;){if(n.hasVisual){p.addClass(s,m)}else{p.removeClass(
 s,m)}}return;case&quot;A&quot;:if(!p.getAttrib(s,&quot;href&quot;,false)){r=p.getAttrib(s,&quot;name&quot;)||s.id;m=&quot;mceItemAnchor&quot;;if(r){if(n.hasVisual){p.addClass(s,m)}else{p.removeClass(s,m)}}}return}});n.onVisualAid.dispatch(n,q,n.hasVisual)},remove:function(){var m=this,o=m.getContainer(),n=m.getDoc();if(!m.removed){m.removed=1;if(b&amp;&amp;n){n.execCommand(&quot;SelectAll&quot;)}m.save();l.setStyle(m.id,&quot;display&quot;,m.orgDisplay);if(!m.settings.content_editable){j.unbind(m.getWin());j.unbind(m.getDoc())}j.unbind(m.getBody());j.clear(o);m.execCallback(&quot;remove_instance_callback&quot;,m);m.onRemove.dispatch(m);m.onExecCommand.listeners=[];k.remove(m);l.remove(o)}},destroy:function(n){var m=this;if(m.destroyed){return}if(a){j.unbind(m.getDoc());j.unbind(m.getWin());j.unbind(m.getBody())}if(!n){k.removeUnload(m.destroy);tinyMCE.onBeforeUnload.remove(m._beforeUnload);if(m.theme&amp;&amp;m.theme.destroy){m.theme.destroy()}m.controlManager.destroy();m.se
 lection.destroy();m.dom.destroy()}if(m.formElement){m.formElement.submit=m.formElement._mceOldSubmit;m.formElement._mceOldSubmit=null}m.contentAreaContainer=m.formElement=m.container=m.settings.content_element=m.bodyElement=m.contentDocument=m.contentWindow=null;if(m.selection){m.selection=m.selection.win=m.selection.dom=m.selection.dom.doc=null}m.destroyed=1},_refreshContentEditable:function(){var n=this,m,o;if(n._isHidden()){m=n.getBody();o=m.parentNode;o.removeChild(m);o.appendChild(m);m.focus()}},_isHidden:function(){var m;if(!a){return 0}m=this.selection.getSel();return(!m||!m.rangeCount||m.rangeCount===0)}})})(tinymce);(function(a){var b=a.each;a.Editor.prototype.setupEvents=function(){var c=this,d=c.settings;b([&quot;onPreInit&quot;,&quot;onBeforeRenderUI&quot;,&quot;onPostRender&quot;,&quot;onLoad&quot;,&quot;onInit&quot;,&quot;onRemove&quot;,&quot;onActivate&quot;,&quot;onDeactivate&quot;,&quot;onClick&quot;,&quot;onEvent&quot;,&quot;onMouseUp&quot;,&quot;onMouseDow
 n&quot;,&quot;onDblClick&quot;,&quot;onKeyDown&quot;,&quot;onKeyUp&quot;,&quot;onKeyPress&quot;,&quot;onContextMenu&quot;,&quot;onSubmit&quot;,&quot;onReset&quot;,&quot;onPaste&quot;,&quot;onPreProcess&quot;,&quot;onPostProcess&quot;,&quot;onBeforeSetContent&quot;,&quot;onBeforeGetContent&quot;,&quot;onSetContent&quot;,&quot;onGetContent&quot;,&quot;onLoadContent&quot;,&quot;onSaveContent&quot;,&quot;onNodeChange&quot;,&quot;onChange&quot;,&quot;onBeforeExecCommand&quot;,&quot;onExecCommand&quot;,&quot;onUndo&quot;,&quot;onRedo&quot;,&quot;onVisualAid&quot;,&quot;onSetProgressState&quot;,&quot;onSetAttrib&quot;],function(e){c[e]=new a.util.Dispatcher(c)});if(d.cleanup_callback){c.onBeforeSetContent.add(function(e,f){f.content=e.execCallback(&quot;cleanup_callback&quot;,&quot;insert_to_editor&quot;,f.content,f)});c.onPreProcess.add(function(e,f){if(f.set){e.execCallback(&quot;cleanup_callback&quot;,&quot;insert_to_editor_dom&quot;,f.node,f)}if(f.get){e.execCallback(&quot;clea
 nup_callback&quot;,&quot;get_from_editor_dom&quot;,f.node,f)}});c.onPostProcess.add(function(e,f){if(f.set){f.content=e.execCallback(&quot;cleanup_callback&quot;,&quot;insert_to_editor&quot;,f.content,f)}if(f.get){f.content=e.execCallback(&quot;cleanup_callback&quot;,&quot;get_from_editor&quot;,f.content,f)}})}if(d.save_callback){c.onGetContent.add(function(e,f){if(f.save){f.content=e.execCallback(&quot;save_callback&quot;,e.id,f.content,e.getBody())}})}if(d.handle_event_callback){c.onEvent.add(function(f,g,h){if(c.execCallback(&quot;handle_event_callback&quot;,g,f,h)===false){g.preventDefault();g.stopPropagation()}})}if(d.handle_node_change_callback){c.onNodeChange.add(function(f,e,g){f.execCallback(&quot;handle_node_change_callback&quot;,f.id,g,-1,-1,true,f.selection.isCollapsed())})}if(d.save_callback){c.onSaveContent.add(function(e,g){var f=e.execCallback(&quot;save_callback&quot;,e.id,g.content,e.getBody());if(f){g.content=f}})}if(d.onchange_callback){c.onChange.add(fun
 ction(f,e){f.execCallback(&quot;onchange_callback&quot;,f,e)})}};a.Editor.prototype.bindNativeEvents=function(){var l=this,f,d=l.settings,e=l.dom,h;h={mouseup:&quot;onMouseUp&quot;,mousedown:&quot;onMouseDown&quot;,click:&quot;onClick&quot;,keyup:&quot;onKeyUp&quot;,keydown:&quot;onKeyDown&quot;,keypress:&quot;onKeyPress&quot;,submit:&quot;onSubmit&quot;,reset:&quot;onReset&quot;,contextmenu:&quot;onContextMenu&quot;,dblclick:&quot;onDblClick&quot;,paste:&quot;onPaste&quot;};function c(i,m){var n=i.type;if(l.removed){return}if(l.onEvent.dispatch(l,i,m)!==false){l[h[i.fakeType||i.type]].dispatch(l,i,m)}}function j(i){l.focus(true)}function k(i,m){if(m.keyCode!=65||!a.VK.metaKeyPressed(m)){l.selection.normalize()}l.nodeChanged()}b(h,function(m,n){var i=d.content_editable?l.getBody():l.getDoc();switch(n){case&quot;contextmenu&quot;:e.bind(i,n,c);break;case&quot;paste&quot;:e.bind(l.getBody(),n,c);break;case&quot;submit&quot;:case&quot;reset&quot;:e.bind(l.getElement().form||a.D
 OM.getParent(l.id,&quot;form&quot;),n,c);break;default:e.bind(i,n,c)}});e.bind(d.content_editable?l.getBody():(a.isGecko?l.getDoc():l.getWin()),&quot;focus&quot;,function(i){l.focus(true)});if(d.content_editable&amp;&amp;a.isOpera){e.bind(l.getBody(),&quot;click&quot;,j);e.bind(l.getBody(),&quot;keydown&quot;,j)}l.onMouseUp.add(k);l.onKeyUp.add(function(i,n){var m=n.keyCode;if((m&gt;=33&amp;&amp;m&lt;=36)||(m&gt;=37&amp;&amp;m&lt;=40)||m==13||m==45||m==46||m==8||(a.isMac&amp;&amp;(m==91||m==93))||n.ctrlKey){k(i,n)}});l.onReset.add(function(){l.setContent(l.startContent,{format:&quot;raw&quot;})});function g(m,i){if(m.altKey||m.ctrlKey||m.metaKey){b(l.shortcuts,function(n){var o=a.isMac?m.metaKey:m.ctrlKey;if(n.ctrl!=o||n.alt!=m.altKey||n.shift!=m.shiftKey){return}if(m.keyCode==n.keyCode||(m.charCode&amp;&amp;m.charCode==n.charCode)){m.preventDefault();if(i){n.func.call(n.scope)}return true}})}}l.onKeyUp.add(function(i,m){g(m)});l.onKeyPress.add(function(i,m){g(m)});l.onKeyDo
 wn.add(function(i,m){g(m,true)});if(a.isOpera){l.onClick.add(function(i,m){m.preventDefault()})}}})(tinymce);(function(d){var e=d.each,b,a=true,c=false;d.EditorCommands=function(n){var m=n.dom,p=n.selection,j={state:{},exec:{},value:{}},k=n.settings,q=n.formatter,o;function r(z,y,x){var v;z=z.toLowerCase();if(v=j.exec[z]){v(z,y,x);return a}return c}function l(x){var v;x=x.toLowerCase();if(v=j.state[x]){return v(x)}return -1}function h(x){var v;x=x.toLowerCase();if(v=j.value[x]){return v(x)}return c}function u(v,x){x=x||&quot;exec&quot;;e(v,function(z,y){e(y.toLowerCase().split(&quot;,&quot;),function(A){j[x][A]=z})})}d.extend(this,{execCommand:r,queryCommandState:l,queryCommandValue:h,addCommands:u});function f(y,x,v){if(x===b){x=c}if(v===b){v=null}return n.getDoc().execCommand(y,x,v)}function t(v){return q.match(v)}function s(v,x){q.toggle(v,x?{value:x}:b)}function i(v){o=p.getBookmark(v)}function g(){p.moveToBookmark(o)}u({&quot;mceResetDesignMode,mceBeginUndoLevel&quot;:f
 unction(){},&quot;mceEndUndoLevel,mceAddUndoLevel&quot;:function(){n.undoManager.add()},&quot;Cut,Copy,Paste&quot;:function(z){var y=n.getDoc(),v;try{f(z)}catch(x){v=a}if(v||!y.queryCommandSupported(z)){if(d.isGecko){n.windowManager.confirm(n.getLang(&quot;clipboard_msg&quot;),function(A){if(A){open(&quot;http://www.mozilla.org/editor/midasdemo/securityprefs.html&quot;,&quot;_blank&quot;)}})}else{n.windowManager.alert(n.getLang(&quot;clipboard_no_support&quot;))}}},unlink:function(v){if(p.isCollapsed()){p.select(p.getNode())}f(v);p.collapse(c)},&quot;JustifyLeft,JustifyCenter,JustifyRight,JustifyFull&quot;:function(v){var x=v.substring(7);e(&quot;left,center,right,full&quot;.split(&quot;,&quot;),function(y){if(x!=y){q.remove(&quot;align&quot;+y)}});s(&quot;align&quot;+x);r(&quot;mceRepaint&quot;)},&quot;InsertUnorderedList,InsertOrderedList&quot;:function(y){var v,x;f(y);v=m.getParent(p.getNode(),&quot;ol,ul&quot;);if(v){x=v.parentNode;if(/^(H[1-6]|P|ADDRESS|PRE)$/.test(x.no
 deName)){i();m.split(x,v);g()}}},&quot;Bold,Italic,Underline,Strikethrough,Superscript,Subscript&quot;:function(v){s(v)},&quot;ForeColor,HiliteColor,FontName&quot;:function(y,x,v){s(y,v)},FontSize:function(z,y,x){var v,A;if(x&gt;=1&amp;&amp;x&lt;=7){A=d.explode(k.font_size_style_values);v=d.explode(k.font_size_classes);if(v){x=v[x-1]||x}else{x=A[x-1]||x}}s(z,x)},RemoveFormat:function(v){q.remove(v)},mceBlockQuote:function(v){s(&quot;blockquote&quot;)},FormatBlock:function(y,x,v){return s(v||&quot;p&quot;)},mceCleanup:function(){var v=p.getBookmark();n.setContent(n.getContent({cleanup:a}),{cleanup:a});p.moveToBookmark(v)},mceRemoveNode:function(z,y,x){var v=x||p.getNode();if(v!=n.getBody()){i();n.dom.remove(v,a);g()}},mceSelectNodeDepth:function(z,y,x){var v=0;m.getParent(p.getNode(),function(A){if(A.nodeType==1&amp;&amp;v++==x){p.select(A);return c}},n.getBody())},mceSelectNode:function(y,x,v){p.select(v)},mceInsertContent:function(B,I,K){var y,J,E,z,F,G,D,C,L,x,A,M,v,H;y=n.
 parser;J=new d.html.Serializer({},n.schema);v='&lt;span id=&quot;mce_marker&quot; data-mce-type=&quot;bookmark&quot;&gt;\uFEFF&lt;/span&gt;';G={content:K,format:&quot;html&quot;};p.onBeforeSetContent.dispatch(p,G);K=G.content;if(K.indexOf(&quot;{$caret}&quot;)==-1){K+=&quot;{$caret}&quot;}K=K.replace(/\{\$caret\}/,v);if(!p.isCollapsed()){n.getDoc().execCommand(&quot;Delete&quot;,false,null)}E=p.getNode();G={context:E.nodeName.toLowerCase()};F=y.parse(K,G);A=F.lastChild;if(A.attr(&quot;id&quot;)==&quot;mce_marker&quot;){D=A;for(A=A.prev;A;A=A.walk(true)){if(A.type==3||!m.isBlock(A.name)){A.parent.insert(D,A,A.name===&quot;br&quot;);break}}}if(!G.invalid){K=J.serialize(F);A=E.firstChild;M=E.lastChild;if(!A||(A===M&amp;&amp;A.nodeName===&quot;BR&quot;)){m.setHTML(E,K)}else{p.setContent(K)}}else{p.setContent(v);E=p.getNode();z=n.getBody();if(E.nodeType==9){E=A=z}else{A=E}while(A!==z){E=A;A=A.parentNode}K=E==z?z.innerHTML:m.getOuterHTML(E);K=J.serialize(y.parse(K.replace(/&lt;spa
 n (id=&quot;mce_marker&quot;|id=mce_marker).+?&lt;\/span&gt;/i,function(){return J.serialize(F)})));if(E==z){m.setHTML(z,K)}else{m.setOuterHTML(E,K)}}D=m.get(&quot;mce_marker&quot;);C=m.getRect(D);L=m.getViewPort(n.getWin());if((C.y+C.h&gt;L.y+L.h||C.y&lt;L.y)||(C.x&gt;L.x+L.w||C.x&lt;L.x)){H=d.isIE?n.getDoc().documentElement:n.getBody();H.scrollLeft=C.x;H.scrollTop=C.y-L.h+25}x=m.createRng();A=D.previousSibling;if(A&amp;&amp;A.nodeType==3){x.setStart(A,A.nodeValue.length)}else{x.setStartBefore(D);x.setEndBefore(D)}m.remove(D);p.setRng(x);p.onSetContent.dispatch(p,G);n.addVisual()},mceInsertRawHTML:function(y,x,v){p.setContent(&quot;tiny_mce_marker&quot;);n.setContent(n.getContent().replace(/tiny_mce_marker/g,function(){return v}))},mceToggleFormat:function(y,x,v){s(v)},mceSetContent:function(y,x,v){n.setContent(v)},&quot;Indent,Outdent&quot;:function(z){var x,v,y;x=k.indentation;v=/[a-z%]+$/i.exec(x);x=parseInt(x);if(!l(&quot;InsertUnorderedList&quot;)&amp;&amp;!l(&quot;Ins
 ertOrderedList&quot;)){if(!k.forced_root_block&amp;&amp;!m.getParent(p.getNode(),m.isBlock)){q.apply(&quot;div&quot;)}e(p.getSelectedBlocks(),function(A){if(z==&quot;outdent&quot;){y=Math.max(0,parseInt(A.style.paddingLeft||0)-x);m.setStyle(A,&quot;paddingLeft&quot;,y?y+v:&quot;&quot;)}else{m.setStyle(A,&quot;paddingLeft&quot;,(parseInt(A.style.paddingLeft||0)+x)+v)}})}else{f(z)}},mceRepaint:function(){var x;if(d.isGecko){try{i(a);if(p.getSel()){p.getSel().selectAllChildren(n.getBody())}p.collapse(a);g()}catch(v){}}},mceToggleFormat:function(y,x,v){q.toggle(v)},InsertHorizontalRule:function(){n.execCommand(&quot;mceInsertContent&quot;,false,&quot;&lt;hr /&gt;&quot;)},mceToggleVisualAid:function(){n.hasVisual=!n.hasVisual;n.addVisual()},mceReplaceContent:function(y,x,v){n.execCommand(&quot;mceInsertContent&quot;,false,v.replace(/\{\$selection\}/g,p.getContent({format:&quot;text&quot;})))},mceInsertLink:function(z,y,x){var v;if(typeof(x)==&quot;string&quot;){x={href:x}}v=m.get
 Parent(p.getNode(),&quot;a&quot;);x.href=x.href.replace(&quot; &quot;,&quot;%20&quot;);if(!v||!x.href){q.remove(&quot;link&quot;)}if(x.href){q.apply(&quot;link&quot;,x,v)}},selectAll:function(){var x=m.getRoot(),v=m.createRng();if(p.getRng().setStart){v.setStart(x,0);v.setEnd(x,x.childNodes.length);p.setRng(v)}else{f(&quot;SelectAll&quot;)}}});u({&quot;JustifyLeft,JustifyCenter,JustifyRight,JustifyFull&quot;:function(z){var x=&quot;align&quot;+z.substring(7);var v=p.isCollapsed()?[m.getParent(p.getNode(),m.isBlock)]:p.getSelectedBlocks();var y=d.map(v,function(A){return !!q.matchNode(A,x)});return d.inArray(y,a)!==-1},&quot;Bold,Italic,Underline,Strikethrough,Superscript,Subscript&quot;:function(v){return t(v)},mceBlockQuote:function(){return t(&quot;blockquote&quot;)},Outdent:function(){var v;if(k.inline_styles){if((v=m.getParent(p.getStart(),m.isBlock))&amp;&amp;parseInt(v.style.paddingLeft)&gt;0){return a}if((v=m.getParent(p.getEnd(),m.isBlock))&amp;&amp;parseInt(v.style.
 paddingLeft)&gt;0){return a}}return l(&quot;InsertUnorderedList&quot;)||l(&quot;InsertOrderedList&quot;)||(!k.inline_styles&amp;&amp;!!m.getParent(p.getNode(),&quot;BLOCKQUOTE&quot;))},&quot;InsertUnorderedList,InsertOrderedList&quot;:function(x){var v=m.getParent(p.getNode(),&quot;ul,ol&quot;);return v&amp;&amp;(x===&quot;insertunorderedlist&quot;&amp;&amp;v.tagName===&quot;UL&quot;||x===&quot;insertorderedlist&quot;&amp;&amp;v.tagName===&quot;OL&quot;)}},&quot;state&quot;);u({&quot;FontSize,FontName&quot;:function(y){var x=0,v;if(v=m.getParent(p.getNode(),&quot;span&quot;)){if(y==&quot;fontsize&quot;){x=v.style.fontSize}else{x=v.style.fontFamily.replace(/, /g,&quot;,&quot;).replace(/[\'\&quot;]/g,&quot;&quot;).toLowerCase()}}return x}},&quot;value&quot;);u({Undo:function(){n.undoManager.undo()},Redo:function(){n.undoManager.redo()}})}})(tinymce);(function(b){var a=b.util.Dispatcher;b.UndoManager=function(h){var l,i=0,e=[],g,k,j,f;function c(){return b.trim(h.getContent({fo
 rmat:&quot;raw&quot;,no_events:1}).replace(/&lt;span[^&gt;]+data-mce-bogus[^&gt;]+&gt;[\u200B\uFEFF]+&lt;\/span&gt;/g,&quot;&quot;))}function d(){l.typing=false;l.add()}onBeforeAdd=new a(l);k=new a(l);j=new a(l);f=new a(l);k.add(function(m,n){if(m.hasUndo()){return h.onChange.dispatch(h,n,m)}});j.add(function(m,n){return h.onUndo.dispatch(h,n,m)});f.add(function(m,n){return h.onRedo.dispatch(h,n,m)});h.onInit.add(function(){l.add()});h.onBeforeExecCommand.add(function(m,p,o,q,n){if(p!=&quot;Undo&quot;&amp;&amp;p!=&quot;Redo&quot;&amp;&amp;p!=&quot;mceRepaint&quot;&amp;&amp;(!n||!n.skip_undo)){l.beforeChange()}});h.onExecCommand.add(function(m,p,o,q,n){if(p!=&quot;Undo&quot;&amp;&amp;p!=&quot;Redo&quot;&amp;&amp;p!=&quot;mceRepaint&quot;&amp;&amp;(!n||!n.skip_undo)){l.add()}});h.onSaveContent.add(d);h.dom.bind(h.dom.getRoot(),&quot;dragend&quot;,d);h.dom.bind(h.getBody(),&quot;focusout&quot;,function(m){if(!h.removed&amp;&amp;l.typing){d()}});h.onKeyUp.add(function(m,o){var n
 =o.keyCode;if((n&gt;=33&amp;&amp;n&lt;=36)||(n&gt;=37&amp;&amp;n&lt;=40)||n==45||n==13||o.ctrlKey){d()}});h.onKeyDown.add(function(m,o){var n=o.keyCode;if((n&gt;=33&amp;&amp;n&lt;=36)||(n&gt;=37&amp;&amp;n&lt;=40)||n==45){if(l.typing){d()}return}if((n&lt;16||n&gt;20)&amp;&amp;n!=224&amp;&amp;n!=91&amp;&amp;!l.typing){l.beforeChange();l.typing=true;l.add()}});h.onMouseDown.add(function(m,n){if(l.typing){d()}});h.addShortcut(&quot;ctrl+z&quot;,&quot;undo_desc&quot;,&quot;Undo&quot;);h.addShortcut(&quot;ctrl+y&quot;,&quot;redo_desc&quot;,&quot;Redo&quot;);l={data:e,typing:false,onBeforeAdd:onBeforeAdd,onAdd:k,onUndo:j,onRedo:f,beforeChange:function(){g=h.selection.getBookmark(2,true)},add:function(p){var m,n=h.settings,o;p=p||{};p.content=c();l.onBeforeAdd.dispatch(l,p);o=e[i];if(o&amp;&amp;o.content==p.content){return null}if(e[i]){e[i].beforeBookmark=g}if(n.custom_undo_redo_levels){if(e.length&gt;n.custom_undo_redo_levels){for(m=0;m&lt;e.length-1;m++){e[m]=e[m+1]}e.length--;i
 =e.length}}p.bookmark=h.selection.getBookmark(2,true);if(i&lt;e.length-1){e.length=i+1}e.push(p);i=e.length-1;l.onAdd.dispatch(l,p);h.isNotDirty=0;return p},undo:function(){var n,m;if(l.typing){l.add();l.typing=false}if(i&gt;0){n=e[--i];h.setContent(n.content,{format:&quot;raw&quot;});h.selection.moveToBookmark(n.beforeBookmark);l.onUndo.dispatch(l,n)}return n},redo:function(){var m;if(i&lt;e.length-1){m=e[++i];h.setContent(m.content,{format:&quot;raw&quot;});h.selection.moveToBookmark(m.bookmark);l.onRedo.dispatch(l,m)}return m},clear:function(){e=[];i=0;l.typing=false},hasUndo:function(){return i&gt;0||this.typing},hasRedo:function(){return i&lt;e.length-1&amp;&amp;!this.typing}};return l}})(tinymce);tinymce.ForceBlocks=function(c){var b=c.settings,e=c.dom,a=c.selection,d=c.schema.getBlockElements();function f(){var j=a.getStart(),h=c.getBody(),g,k,o,s,q,i,l,m=-16777215,p,r;if(!j||j.nodeType!==1||!b.forced_root_block){return}while(j&amp;&amp;j!=h){if(d[j.nodeName]){return}
 j=j.parentNode}g=a.getRng();if(g.setStart){k=g.startContainer;o=g.startOffset;s=g.endContainer;q=g.endOffset}else{if(g.item){j=g.item(0);g=c.getDoc().body.createTextRange();g.moveToElementText(j)}r=g.parentElement().ownerDocument===c.getDoc();tmpRng=g.duplicate();tmpRng.collapse(true);o=tmpRng.move(&quot;character&quot;,m)*-1;if(!tmpRng.collapsed){tmpRng=g.duplicate();tmpRng.collapse(false);q=(tmpRng.move(&quot;character&quot;,m)*-1)-o}}j=h.firstChild;while(j){if(j.nodeType===3||(j.nodeType==1&amp;&amp;!d[j.nodeName])){if(j.nodeType===3&amp;&amp;j.nodeValue.length==0){l=j;j=j.nextSibling;e.remove(l);continue}if(!i){i=e.create(b.forced_root_block);j.parentNode.insertBefore(i,j);p=true}l=j;j=j.nextSibling;i.appendChild(l)}else{i=null;j=j.nextSibling}}if(p){if(g.setStart){g.setStart(k,o);g.setEnd(s,q);a.setRng(g)}else{if(r){try{g=c.getDoc().body.createTextRange();g.moveToElementText(h);g.collapse(true);g.moveStart(&quot;character&quot;,o);if(q&gt;0){g.moveEnd(&quot;character&qu
 ot;,q)}g.select()}catch(n){}}}c.nodeChanged()}}if(b.forced_root_block){c.onKeyUp.add(f);c.onNodeChange.add(f)}};(function(c){var b=c.DOM,a=c.dom.Event,d=c.each,e=c.extend;c.create(&quot;tinymce.ControlManager&quot;,{ControlManager:function(f,j){var h=this,g;j=j||{};h.editor=f;h.controls={};h.onAdd=new c.util.Dispatcher(h);h.onPostRender=new c.util.Dispatcher(h);h.prefix=j.prefix||f.id+&quot;_&quot;;h._cls={};h.onPostRender.add(function(){d(h.controls,function(i){i.postRender()})})},get:function(f){return this.controls[this.prefix+f]||this.controls[f]},setActive:function(h,f){var g=null;if(g=this.get(h)){g.setActive(f)}return g},setDisabled:function(h,f){var g=null;if(g=this.get(h)){g.setDisabled(f)}return g},add:function(g){var f=this;if(g){f.controls[g.id]=g;f.onAdd.dispatch(g,f)}return g},createControl:function(j){var o,k,g,h=this,m=h.editor,n,f;if(!h.controlFactories){h.controlFactories=[];d(m.plugins,function(i){if(i.createControl){h.controlFactories.push(i)}})}n=h.contr
 olFactories;for(k=0,g=n.length;k&lt;g;k++){o=n[k].createControl(j,h);if(o){return h.add(o)}}if(j===&quot;|&quot;||j===&quot;separator&quot;){return h.createSeparator()}if(m.buttons&amp;&amp;(o=m.buttons[j])){return h.createButton(j,o)}return h.add(o)},createDropMenu:function(f,n,h){var m=this,i=m.editor,j,g,k,l;n=e({&quot;class&quot;:&quot;mceDropDown&quot;,constrain:i.settings.constrain_menus},n);n[&quot;class&quot;]=n[&quot;class&quot;]+&quot; &quot;+i.getParam(&quot;skin&quot;)+&quot;Skin&quot;;if(k=i.getParam(&quot;skin_variant&quot;)){n[&quot;class&quot;]+=&quot; &quot;+i.getParam(&quot;skin&quot;)+&quot;Skin&quot;+k.substring(0,1).toUpperCase()+k.substring(1)}n[&quot;class&quot;]+=i.settings.directionality==&quot;rtl&quot;?&quot; mceRtl&quot;:&quot;&quot;;f=m.prefix+f;l=h||m._cls.dropmenu||c.ui.DropMenu;j=m.controls[f]=new l(f,n);j.onAddItem.add(function(r,q){var p=q.settings;p.title=i.getLang(p.title,p.title);if(!p.onclick){p.onclick=function(o){if(p.cmd){i.execComman
 d(p.cmd,p.ui||false,p.value)}}}});i.onRemove.add(function(){j.destroy()});if(c.isIE){j.onShowMenu.add(function(){i.focus();g=i.selection.getBookmark(1)});j.onHideMenu.add(function(){if(g){i.selection.moveToBookmark(g);g=0}})}return m.add(j)},createListBox:function(f,n,h){var l=this,j=l.editor,i,k,m;if(l.get(f)){return null}n.title=j.translate(n.title);n.scope=n.scope||j;if(!n.onselect){n.onselect=function(o){j.execCommand(n.cmd,n.ui||false,o||n.value)}}n=e({title:n.title,&quot;class&quot;:&quot;mce_&quot;+f,scope:n.scope,control_manager:l},n);f=l.prefix+f;function g(o){return o.settings.use_accessible_selects&amp;&amp;!c.isGecko}if(j.settings.use_native_selects||g(j)){k=new c.ui.NativeListBox(f,n)}else{m=h||l._cls.listbox||c.ui.ListBox;k=new m(f,n,j)}l.controls[f]=k;if(c.isWebKit){k.onPostRender.add(function(p,o){a.add(o,&quot;mousedown&quot;,function(){j.bookmark=j.selection.getBookmark(1)});a.add(o,&quot;focus&quot;,function(){j.selection.moveToBookmark(j.bookmark);j.bookm
 ark=null})})}if(k.hideMenu){j.onMouseDown.add(k.hideMenu,k)}return l.add(k)},createButton:function(m,i,l){var h=this,g=h.editor,j,k,f;if(h.get(m)){return null}i.title=g.translate(i.title);i.label=g.translate(i.label);i.scope=i.scope||g;if(!i.onclick&amp;&amp;!i.menu_button){i.onclick=function(){g.execCommand(i.cmd,i.ui||false,i.value)}}i=e({title:i.title,&quot;class&quot;:&quot;mce_&quot;+m,unavailable_prefix:g.getLang(&quot;unavailable&quot;,&quot;&quot;),scope:i.scope,control_manager:h},i);m=h.prefix+m;if(i.menu_button){f=l||h._cls.menubutton||c.ui.MenuButton;k=new f(m,i,g);g.onMouseDown.add(k.hideMenu,k)}else{f=h._cls.button||c.ui.Button;k=new f(m,i,g)}return h.add(k)},createMenuButton:function(h,f,g){f=f||{};f.menu_button=1;return this.createButton(h,f,g)},createSplitButton:function(m,i,l){var h=this,g=h.editor,j,k,f;if(h.get(m)){return null}i.title=g.translate(i.title);i.scope=i.scope||g;if(!i.onclick){i.onclick=function(n){g.execCommand(i.cmd,i.ui||false,n||i.value)}}i
 f(!i.onselect){i.onselect=function(n){g.execCommand(i.cmd,i.ui||false,n||i.value)}}i=e({title:i.title,&quot;class&quot;:&quot;mce_&quot;+m,scope:i.scope,control_manager:h},i);m=h.prefix+m;f=l||h._cls.splitbutton||c.ui.SplitButton;k=h.add(new f(m,i,g));g.onMouseDown.add(k.hideMenu,k);return k},createColorSplitButton:function(f,n,h){var l=this,j=l.editor,i,k,m,g;if(l.get(f)){return null}n.title=j.translate(n.title);n.scope=n.scope||j;if(!n.onclick){n.onclick=function(o){if(c.isIE){g=j.selection.getBookmark(1)}j.execCommand(n.cmd,n.ui||false,o||n.value)}}if(!n.onselect){n.onselect=function(o){j.execCommand(n.cmd,n.ui||false,o||n.value)}}n=e({title:n.title,&quot;class&quot;:&quot;mce_&quot;+f,menu_class:j.getParam(&quot;skin&quot;)+&quot;Skin&quot;,scope:n.scope,more_colors_title:j.getLang(&quot;more_colors&quot;)},n);f=l.prefix+f;m=h||l._cls.colorsplitbutton||c.ui.ColorSplitButton;k=new m(f,n,j);j.onMouseDown.add(k.hideMenu,k);j.onRemove.add(function(){k.destroy()});if(c.isIE){
 k.onShowMenu.add(function(){j.focus();g=j.selection.getBookmark(1)});k.onHideMenu.add(function(){if(g){j.selection.moveToBookmark(g);g=0}})}return l.add(k)},createToolbar:function(k,h,j){var i,g=this,f;k=g.prefix+k;f=j||g._cls.toolbar||c.ui.Toolbar;i=new f(k,h,g.editor);if(g.get(k)){return null}return g.add(i)},createToolbarGroup:function(k,h,j){var i,g=this,f;k=g.prefix+k;f=j||this._cls.toolbarGroup||c.ui.ToolbarGroup;i=new f(k,h,g.editor);if(g.get(k)){return null}return g.add(i)},createSeparator:function(g){var f=g||this._cls.separator||c.ui.Separator;return new f()},setControlType:function(g,f){return this._cls[g.toLowerCase()]=f},destroy:function(){d(this.controls,function(f){f.destroy()});this.controls=null}})})(tinymce);(function(d){var a=d.util.Dispatcher,e=d.each,c=d.isIE,b=d.isOpera;d.create(&quot;tinymce.WindowManager&quot;,{WindowManager:function(f){var g=this;g.editor=f;g.onOpen=new a(g);g.onClose=new a(g);g.params={};g.features={}},open:function(z,h){var v=this,
 k=&quot;&quot;,n,m,i=v.editor.settings.dialog_type==&quot;modal&quot;,q,o,j,g=d.DOM.getViewPort(),r;z=z||{};h=h||{};o=b?g.w:screen.width;j=b?g.h:screen.height;z.name=z.name||&quot;mc_&quot;+new Date().getTime();z.width=parseInt(z.width||320);z.height=parseInt(z.height||240);z.resizable=true;z.left=z.left||parseInt(o/2)-(z.width/2);z.top=z.top||parseInt(j/2)-(z.height/2);h.inline=false;h.mce_width=z.width;h.mce_height=z.height;h.mce_auto_focus=z.auto_focus;if(i){if(c){z.center=true;z.help=false;z.dialogWidth=z.width+&quot;px&quot;;z.dialogHeight=z.height+&quot;px&quot;;z.scroll=z.scrollbars||false}}e(z,function(p,f){if(d.is(p,&quot;boolean&quot;)){p=p?&quot;yes&quot;:&quot;no&quot;}if(!/^(name|url)$/.test(f)){if(c&amp;&amp;i){k+=(k?&quot;;&quot;:&quot;&quot;)+f+&quot;:&quot;+p}else{k+=(k?&quot;,&quot;:&quot;&quot;)+f+&quot;=&quot;+p}}});v.features=z;v.params=h;v.onOpen.dispatch(v,z,h);r=z.url||z.file;r=d._addVer(r);try{if(c&amp;&amp;i){q=1;window.showModalDialog(r,window,k)}e
 lse{q=window.open(r,z.name,k)}}catch(l){}if(!q){alert(v.editor.getLang(&quot;popup_blocked&quot;))}},close:function(f){f.close();this.onClose.dispatch(this)},createInstance:function(i,h,g,m,l,k){var j=d.resolve(i);return new j(h,g,m,l,k)},confirm:function(h,f,i,g){g=g||window;f.call(i||this,g.confirm(this._decode(this.editor.getLang(h,h))))},alert:function(h,f,j,g){var i=this;g=g||window;g.alert(i._decode(i.editor.getLang(h,h)));if(f){f.call(j||i)}},resizeBy:function(f,g,h){h.resizeBy(f,g)},_decode:function(f){return d.DOM.decode(f).replace(/\\n/g,&quot;\n&quot;)}})}(tinymce));(function(a){a.Formatter=function(aa){var Q={},T=a.each,c=aa.dom,r=aa.selection,t=a.dom.TreeWalker,N=new a.dom.RangeUtils(c),d=aa.schema.isValidChild,A=a.isArray,H=c.isBlock,m=aa.settings.forced_root_block,s=c.nodeIndex,G=&quot;\uFEFF&quot;,e=/^(src|href|style)$/,X=false,C=true,P,D,x=c.getContentEditable;function I(ab){return !!aa.schema.getTextBlocks()[ab.toLowerCase()]}function n(ac,ab){return c.getP
 arents(ac,ab,c.getRoot())}function b(ab){return ab.nodeType===1&amp;&amp;ab.id===&quot;_mce_caret&quot;}function j(){l({alignleft:[{selector:&quot;figure,p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li&quot;,styles:{textAlign:&quot;left&quot;},defaultBlock:&quot;div&quot;},{selector:&quot;img,table&quot;,collapsed:false,styles:{&quot;float&quot;:&quot;left&quot;}}],aligncenter:[{selector:&quot;figure,p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li&quot;,styles:{textAlign:&quot;center&quot;},defaultBlock:&quot;div&quot;},{selector:&quot;img&quot;,collapsed:false,styles:{display:&quot;block&quot;,marginLeft:&quot;auto&quot;,marginRight:&quot;auto&quot;}},{selector:&quot;table&quot;,collapsed:false,styles:{marginLeft:&quot;auto&quot;,marginRight:&quot;auto&quot;}}],alignright:[{selector:&quot;figure,p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li&quot;,styles:{textAlign:&quot;right&quot;},defaultBlock:&quot;div&quot;},{selector:&quot;img,table&quot;,collapsed:false,styles:{&quot;float&quot;:&quot;right&q
 uot;}}],alignfull:[{selector:&quot;figure,p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li&quot;,styles:{textAlign:&quot;justify&quot;},defaultBlock:&quot;div&quot;}],bold:[{inline:&quot;strong&quot;,remove:&quot;all&quot;},{inline:&quot;span&quot;,styles:{fontWeight:&quot;bold&quot;}},{inline:&quot;b&quot;,remove:&quot;all&quot;}],italic:[{inline:&quot;em&quot;,remove:&quot;all&quot;},{inline:&quot;span&quot;,styles:{fontStyle:&quot;italic&quot;}},{inline:&quot;i&quot;,remove:&quot;all&quot;}],underline:[{inline:&quot;span&quot;,styles:{textDecoration:&quot;underline&quot;},exact:true},{inline:&quot;u&quot;,remove:&quot;all&quot;}],strikethrough:[{inline:&quot;span&quot;,styles:{textDecoration:&quot;line-through&quot;},exact:true},{inline:&quot;strike&quot;,remove:&quot;all&quot;}],forecolor:{inline:&quot;span&quot;,styles:{color:&quot;%value&quot;},wrap_links:false},hilitecolor:{inline:&quot;span&quot;,styles:{backgroundColor:&quot;%value&quot;},wrap_links:false},fontname:{inline:&q
 uot;span&quot;,styles:{fontFamily:&quot;%value&quot;}},fontsize:{inline:&quot;span&quot;,styles:{fontSize:&quot;%value&quot;}},fontsize_class:{inline:&quot;span&quot;,attributes:{&quot;class&quot;:&quot;%value&quot;}},blockquote:{block:&quot;blockquote&quot;,wrapper:1,remove:&quot;all&quot;},subscript:{inline:&quot;sub&quot;},superscript:{inline:&quot;sup&quot;},link:{inline:&quot;a&quot;,selector:&quot;a&quot;,remove:&quot;all&quot;,split:true,deep:true,onmatch:function(ab){return true},onformat:function(ad,ab,ac){T(ac,function(af,ae){c.setAttrib(ad,ae,af)})}},removeformat:[{selector:&quot;b,strong,em,i,font,u,strike&quot;,remove:&quot;all&quot;,split:true,expand:false,block_expand:true,deep:true},{selector:&quot;span&quot;,attributes:[&quot;style&quot;,&quot;class&quot;],remove:&quot;empty&quot;,split:true,expand:false,deep:true},{selector:&quot;*&quot;,attributes:[&quot;style&quot;,&quot;class&quot;],split:false,expand:false,deep:true}]});T(&quot;p h1 h2 h3 h4 h5 h6 div a
 ddress pre div code dt dd samp&quot;.split(/\s/),function(ab){l(ab,{block:ab,remove:&quot;all&quot;})});l(aa.settings.formats)}function W(){aa.addShortcut(&quot;ctrl+b&quot;,&quot;bold_desc&quot;,&quot;Bold&quot;);aa.addShortcut(&quot;ctrl+i&quot;,&quot;italic_desc&quot;,&quot;Italic&quot;);aa.addShortcut(&quot;ctrl+u&quot;,&quot;underline_desc&quot;,&quot;Underline&quot;);for(var ab=1;ab&lt;=6;ab++){aa.addShortcut(&quot;ctrl+&quot;+ab,&quot;&quot;,[&quot;FormatBlock&quot;,false,&quot;h&quot;+ab])}aa.addShortcut(&quot;ctrl+7&quot;,&quot;&quot;,[&quot;FormatBlock&quot;,false,&quot;p&quot;]);aa.addShortcut(&quot;ctrl+8&quot;,&quot;&quot;,[&quot;FormatBlock&quot;,false,&quot;div&quot;]);aa.addShortcut(&quot;ctrl+9&quot;,&quot;&quot;,[&quot;FormatBlock&quot;,false,&quot;address&quot;])}function V(ab){return ab?Q[ab]:Q}function l(ab,ac){if(ab){if(typeof(ab)!==&quot;string&quot;){T(ab,function(ae,ad){l(ad,ae)})}else{ac=ac.length?ac:[ac];T(ac,function(ad){if(ad.deep===D){ad.deep=!a
 d.selector}if(ad.split===D){ad.split=!ad.selector||ad.inline}if(ad.remove===D&amp;&amp;ad.selector&amp;&amp;!ad.inline){ad.remove=&quot;none&quot;}if(ad.selector&amp;&amp;ad.inline){ad.mixed=true;ad.block_expand=true}if(typeof(ad.classes)===&quot;string&quot;){ad.classes=ad.classes.split(/\s+/)}});Q[ab]=ac}}}var i=function(ac){var ab;aa.dom.getParent(ac,function(ad){ab=aa.dom.getStyle(ad,&quot;text-decoration&quot;);return ab&amp;&amp;ab!==&quot;none&quot;});return ab};var L=function(ab){var ac;if(ab.nodeType===1&amp;&amp;ab.parentNode&amp;&amp;ab.parentNode.nodeType===1){ac=i(ab.parentNode);if(aa.dom.getStyle(ab,&quot;color&quot;)&amp;&amp;ac){aa.dom.setStyle(ab,&quot;text-decoration&quot;,ac)}else{if(aa.dom.getStyle(ab,&quot;textdecoration&quot;)===ac){aa.dom.setStyle(ab,&quot;text-decoration&quot;,null)}}}};function Y(ae,al,ag){var ah=V(ae),am=ah[0],ak,ac,aj,ai=r.isCollapsed();function ab(aq,ap){ap=ap||am;if(aq){if(ap.onformat){ap.onformat(aq,ap,al,ag)}T(ap.styles,functio
 n(at,ar){c.setStyle(aq,ar,q(at,al))});T(ap.attributes,function(at,ar){c.setAttrib(aq,ar,q(at,al))});T(ap.classes,function(ar){ar=q(ar,al);if(!c.hasClass(aq,ar)){c.addClass(aq,ar)}})}}function af(){function ar(ay,aw){var ax=new t(aw);for(ag=ax.current();ag;ag=ax.prev()){if(ag.childNodes.length&gt;1||ag==ay||ag.tagName==&quot;BR&quot;){return ag}}}var aq=aa.selection.getRng();var av=aq.startContainer;var ap=aq.endContainer;if(av!=ap&amp;&amp;aq.endOffset===0){var au=ar(av,ap);var at=au.nodeType==3?au.length:au.childNodes.length;aq.setEnd(au,at)}return aq}function ad(at,ay,aw,av,aq){var ap=[],ar=-1,ax,aA=-1,au=-1,az;T(at.childNodes,function(aC,aB){if(aC.nodeName===&quot;UL&quot;||aC.nodeName===&quot;OL&quot;){ar=aB;ax=aC;return false}});T(at.childNodes,function(aC,aB){if(aC.nodeName===&quot;SPAN&quot;&amp;&amp;c.getAttrib(aC,&quot;data-mce-type&quot;)==&quot;bookmark&quot;){if(aC.id==ay.id+&quot;_start&quot;){aA=aB}else{if(aC.id==ay.id+&quot;_end&quot;){au=aB}}}});if(ar&lt;=0||
 (aA&lt;ar&amp;&amp;au&gt;ar)){T(a.grep(at.childNodes),aq);return 0}else{az=c.clone(aw,X);T(a.grep(at.childNodes),function(aC,aB){if((aA&lt;ar&amp;&amp;aB&lt;ar)||(aA&gt;ar&amp;&amp;aB&gt;ar)){ap.push(aC);aC.parentNode.removeChild(aC)}});if(aA&lt;ar){at.insertBefore(az,ax)}else{if(aA&gt;ar){at.insertBefore(az,ax.nextSibling)}}av.push(az);T(ap,function(aB){az.appendChild(aB)});return az}}function an(aq,at,aw){var ap=[],av,ar,au=true;av=am.inline||am.block;ar=c.create(av);ab(ar);N.walk(aq,function(ax){var ay;function az(aA){var aF,aD,aB,aC,aE;aE=au;aF=aA.nodeName.toLowerCase();aD=aA.parentNode.nodeName.toLowerCase();if(aA.nodeType===1&amp;&amp;x(aA)){aE=au;au=x(aA)===&quot;true&quot;;aC=true}if(g(aF,&quot;br&quot;)){ay=0;if(am.block){c.remove(aA)}return}if(am.wrapper&amp;&amp;y(aA,ae,al)){ay=0;return}if(au&amp;&amp;!aC&amp;&amp;am.block&amp;&amp;!am.wrapper&amp;&amp;I(aF)){aA=c.rename(aA,av);ab(aA);ap.push(aA);ay=0;return}if(am.selector){T(ah,function(aG){if(&quot;collapsed&quo
 t; in aG&amp;&amp;aG.collapsed!==ai){return}if(c.is(aA,aG.selector)&amp;&amp;!b(aA)){ab(aA,aG);aB=true}});if(!am.inline||aB){ay=0;return}}if(au&amp;&amp;!aC&amp;&amp;d(av,aF)&amp;&amp;d(aD,av)&amp;&amp;!(!aw&amp;&amp;aA.nodeType===3&amp;&amp;aA.nodeValue.length===1&amp;&amp;aA.nodeValue.charCodeAt(0)===65279)&amp;&amp;!b(aA)&amp;&amp;(!am.inline||!H(aA))){if(!ay){ay=c.clone(ar,X);aA.parentNode.insertBefore(ay,aA);ap.push(ay)}ay.appendChild(aA)}else{if(aF==&quot;li&quot;&amp;&amp;at){ay=ad(aA,at,ar,ap,az)}else{ay=0;T(a.grep(aA.childNodes),az);if(aC){au=aE}ay=0}}}T(ax,az)});if(am.wrap_links===false){T(ap,function(ax){function ay(aC){var aB,aA,az;if(aC.nodeName===&quot;A&quot;){aA=c.clone(ar,X);ap.push(aA);az=a.grep(aC.childNodes);for(aB=0;aB&lt;az.length;aB++){aA.appendChild(az[aB])}aC.appendChild(aA)}T(a.grep(aC.childNodes),ay)}ay(ax)})}T(ap,function(az){var ax;function aA(aC){var aB=0;T(aC.childNodes,function(aD){if(!f(aD)&amp;&amp;!K(aD)){aB++}});return aB}function ay(aB){v
 ar aD,aC;T(aB.childNodes,function(aE){if(aE.nodeType==1&amp;&amp;!K(aE)&amp;&amp;!b(aE)){aD=aE;return X}});if(aD&amp;&amp;h(aD,am)){aC=c.clone(aD,X);ab(aC);c.replace(aC,aB,C);c.remove(aD,1)}return aC||aB}ax=aA(az);if((ap.length&gt;1||!H(az))&amp;&amp;ax===0){c.remove(az,1);return}if(am.inline||am.wrapper){if(!am.exact&amp;&amp;ax===1){az=ay(az)}T(ah,function(aB){T(c.select(aB.inline,az),function(aD){var aC;if(aB.wrap_links===false){aC=aD.parentNode;do{if(aC.nodeName===&quot;A&quot;){return}}while(aC=aC.parentNode)}Z(aB,al,aD,aB.exact?aD:null)})});if(y(az.parentNode,ae,al)){c.remove(az,1);az=0;return C}if(am.merge_with_parents){c.getParent(az.parentNode,function(aB){if(y(aB,ae,al)){c.remove(az,1);az=0;return C}})}if(az&amp;&amp;am.merge_siblings!==false){az=u(E(az),az);az=u(az,E(az,C))}}})}if(am){if(ag){if(ag.nodeType){ac=c.createRng();ac.setStartBefore(ag);ac.setEndAfter(ag);an(p(ac,ah),null,true)}else{an(ag,null,true)}}else{if(!ai||!am.inline||c.select(&quot;td.mceSelected,
 th.mceSelected&quot;).length){var ao=aa.selection.getNode();if(!m&amp;&amp;ah[0].defaultBlock&amp;&amp;!c.getParent(ao,c.isBlock)){Y(ah[0].defaultBlock)}aa.selection.setRng(af());ak=r.getBookmark();an(p(r.getRng(C),ah),ak);if(am.styles&amp;&amp;(am.styles.color||am.styles.textDecoration)){a.walk(ao,L,&quot;childNodes&quot;);L(ao)}r.moveToBookmark(ak);R(r.getRng(C));aa.nodeChanged()}else{U(&quot;apply&quot;,ae,al)}}}}function B(ad,am,af){var ag=V(ad),ao=ag[0],ak,aj,ac,al=true;function ae(av){var au,at,ar,aq,ax,aw;if(av.nodeType===3){return}if(av.nodeType===1&amp;&amp;x(av)){ax=al;al=x(av)===&quot;true&quot;;aw=true}au=a.grep(av.childNodes);if(al&amp;&amp;!aw){for(at=0,ar=ag.length;at&lt;ar;at++){if(Z(ag[at],am,av,av)){break}}}if(ao.deep){if(au.length){for(at=0,ar=au.length;at&lt;ar;at++){ae(au[at])}if(aw){al=ax}}}}function ah(aq){var ar;T(n(aq.parentNode).reverse(),function(at){var au;if(!ar&amp;&amp;at.id!=&quot;_start&quot;&amp;&amp;at.id!=&quot;_end&quot;){au=y(at,ad,am);i
 f(au&amp;&amp;au.split!==false){ar=at}}});return ar}function ab(au,aq,aw,az){var aA,ay,ax,at,av,ar;if(au){ar=au.parentNode;for(aA=aq.parentNode;aA&amp;&amp;aA!=ar;aA=aA.parentNode){ay=c.clone(aA,X);for(av=0;av&lt;ag.length;av++){if(Z(ag[av],am,ay,ay)){ay=0;break}}if(ay){if(ax){ay.appendChild(ax)}if(!at){at=ay}ax=ay}}if(az&amp;&amp;(!ao.mixed||!H(au))){aq=c.split(au,aq)}if(ax){aw.parentNode.insertBefore(ax,aw);at.appendChild(aw)}}return aq}function an(aq){return ab(ah(aq),aq,aq,true)}function ai(at){var ar=c.get(at?&quot;_start&quot;:&quot;_end&quot;),aq=ar[at?&quot;firstChild&quot;:&quot;lastChild&quot;];if(K(aq)){aq=aq[at?&quot;firstChild&quot;:&quot;lastChild&quot;]}c.remove(ar,true);return aq}function ap(aq){var at,au,ar;aq=p(aq,ag,C);if(ao.split){at=M(aq,C);au=M(aq);if(at!=au){if(/^(TR|TD)$/.test(at.nodeName)&amp;&amp;at.firstChild){at=(at.nodeName==&quot;TD&quot;?at.firstChild:at.firstChild.firstChild)||at}at=S(at,&quot;span&quot;,{id:&quot;_start&quot;,&quot;data-mce-t
 ype&quot;:&quot;bookmark&quot;});au=S(au,&quot;span&quot;,{id:&quot;_end&quot;,&quot;data-mce-type&quot;:&quot;bookmark&quot;});an(at);an(au);at=ai(C);au=ai()}else{at=au=an(at)}aq.startContainer=at.parentNode;aq.startOffset=s(at);aq.endContainer=au.parentNode;aq.endOffset=s(au)+1}N.walk(aq,function(av){T(av,function(aw){ae(aw);if(aw.nodeType===1&amp;&amp;aa.dom.getStyle(aw,&quot;text-decoration&quot;)===&quot;underline&quot;&amp;&amp;aw.parentNode&amp;&amp;i(aw.parentNode)===&quot;underline&quot;){Z({deep:false,exact:true,inline:&quot;span&quot;,styles:{textDecoration:&quot;underline&quot;}},null,aw)}})})}if(af){if(af.nodeType){ac=c.createRng();ac.setStartBefore(af);ac.setEndAfter(af);ap(ac)}else{ap(af)}return}if(!r.isCollapsed()||!ao.inline||c.select(&quot;td.mceSelected,th.mceSelected&quot;).length){ak=r.getBookmark();ap(r.getRng(C));r.moveToBookmark(ak);if(ao.inline&amp;&amp;k(ad,am,r.getStart())){R(r.getRng(true))}aa.nodeChanged()}else{U(&quot;remove&quot;,ad,am)}}functi
 on F(ac,ae,ad){var ab=V(ac);if(k(ac,ae,ad)&amp;&amp;(!(&quot;toggle&quot; in ab[0])||ab[0].toggle)){B(ac,ae,ad)}else{Y(ac,ae,ad)}}function y(ac,ab,ah,af){var ad=V(ab),ai,ag,ae;function aj(an,ap,aq){var am,ao,ak=ap[aq],al;if(ap.onmatch){return ap.onmatch(an,ap,aq)}if(ak){if(ak.length===D){for(am in ak){if(ak.hasOwnProperty(am)){if(aq===&quot;attributes&quot;){ao=c.getAttrib(an,am)}else{ao=O(an,am)}if(af&amp;&amp;!ao&amp;&amp;!ap.exact){return}if((!af||ap.exact)&amp;&amp;!g(ao,q(ak[am],ah))){return}}}}else{for(al=0;al&lt;ak.length;al++){if(aq===&quot;attributes&quot;?c.getAttrib(an,ak[al]):O(an,ak[al])){return ap}}}}return ap}if(ad&amp;&amp;ac){for(ag=0;ag&lt;ad.length;ag++){ai=ad[ag];if(h(ac,ai)&amp;&amp;aj(ac,ai,&quot;attributes&quot;)&amp;&amp;aj(ac,ai,&quot;styles&quot;)){if(ae=ai.classes){for(ag=0;ag&lt;ae.length;ag++){if(!c.hasClass(ac,ae[ag])){return}}}return ai}}}}function k(ad,af,ae){var ac;function ab(ag){ag=c.getParent(ag,function(ah){return !!y(ah,ad,af,true)});ret
 urn y(ag,ad,af)}if(ae){return ab(ae)}ae=r.getNode();if(ab(ae)){return C}ac=r.getStart();if(ac!=ae){if(ab(ac)){return C}}return X}function v(ai,ah){var af,ag=[],ae={},ad,ac,ab;af=r.getStart();c.getParent(af,function(al){var ak,aj;for(ak=0;ak&lt;ai.length;ak++){aj=ai[ak];if(!ae[aj]&amp;&amp;y(al,aj,ah)){ae[aj]=true;ag.push(aj)}}},c.getRoot());return ag}function z(af){var ah=V(af),ae,ad,ag,ac,ab;if(ah){ae=r.getStart();ad=n(ae);for(ac=ah.length-1;ac&gt;=0;ac--){ab=ah[ac].selector;if(!ab){return C}for(ag=ad.length-1;ag&gt;=0;ag--){if(c.is(ad[ag],ab)){return C}}}}return X}function J(ab,ae,ac){var ad;if(!P){P={};ad={};aa.onNodeChange.addToTop(function(ag,af,ai){var ah=n(ai),aj={};T(P,function(ak,al){T(ah,function(am){if(y(am,al,{},ak.similar)){if(!ad[al]){T(ak,function(an){an(true,{node:am,format:al,parents:ah})});ad[al]=ak}aj[al]=ak;return false}})});T(ad,function(ak,al){if(!aj[al]){delete ad[al];T(ak,function(am){am(false,{node:ai,format:al,parents:ah})})}})})}T(ab.split(&quot;,&
 quot;),function(af){if(!P[af]){P[af]=[];P[af].similar=ac}P[af].push(ae)});return this}a.extend(this,{get:V,register:l,apply:Y,remove:B,toggle:F,match:k,matchAll:v,matchNode:y,canApply:z,formatChanged:J});j();W();function h(ab,ac){if(g(ab,ac.inline)){return C}if(g(ab,ac.block)){return C}if(ac.selector){return c.is(ab,ac.selector)}}function g(ac,ab){ac=ac||&quot;&quot;;ab=ab||&quot;&quot;;ac=&quot;&quot;+(ac.nodeName||ac);ab=&quot;&quot;+(ab.nodeName||ab);return ac.toLowerCase()==ab.toLowerCase()}function O(ac,ab){var ad=c.getStyle(ac,ab);if(ab==&quot;color&quot;||ab==&quot;backgroundColor&quot;){ad=c.toHex(ad)}if(ab==&quot;fontWeight&quot;&amp;&amp;ad==700){ad=&quot;bold&quot;}return&quot;&quot;+ad}function q(ab,ac){if(typeof(ab)!=&quot;string&quot;){ab=ab(ac)}else{if(ac){ab=ab.replace(/%(\w+)/g,function(ae,ad){return ac[ad]||ae})}}return ab}function f(ab){return ab&amp;&amp;ab.nodeType===3&amp;&amp;/^([\t \r\n]+|)$/.test(ab.nodeValue)}function S(ad,ac,ab){var ae=c.create(ac,
 ab);ad.parentNode.insertBefore(ae,ad);ae.appendChild(ad);return ae}function p(ab,am,ae){var ap,an,ah,al,ad=ab.startContainer,ai=ab.startOffset,ar=ab.endContainer,ak=ab.endOffset;function ao(aA){var au,ax,az,aw,av,at;au=ax=aA?ad:ar;av=aA?&quot;previousSibling&quot;:&quot;nextSibling&quot;;at=c.getRoot();function ay(aB){return aB.nodeName==&quot;BR&quot;&amp;&amp;aB.getAttribute(&quot;data-mce-bogus&quot;)&amp;&amp;!aB.nextSibling}if(au.nodeType==3&amp;&amp;!f(au)){if(aA?ai&gt;0:ak&lt;au.nodeValue.length){return au}}for(;;){if(!am[0].block_expand&amp;&amp;H(ax)){return ax}for(aw=ax[av];aw;aw=aw[av]){if(!K(aw)&amp;&amp;!f(aw)&amp;&amp;!ay(aw)){return ax}}if(ax.parentNode==at){au=ax;break}ax=ax.parentNode}return au}function ag(at,au){if(au===D){au=at.nodeType===3?at.length:at.childNodes.length}while(at&amp;&amp;at.hasChildNodes()){at=at.childNodes[au];if(at){au=at.nodeType===3?at.length:at.childNodes.length}}return{node:at,offset:au}}if(ad.nodeType==1&amp;&amp;ad.hasChildNodes()
 ){an=ad.childNodes.length-1;ad=ad.childNodes[ai&gt;an?an:ai];if(ad.nodeType==3){ai=0}}if(ar.nodeType==1&amp;&amp;ar.hasChildNodes()){an=ar.childNodes.length-1;ar=ar.childNodes[ak&gt;an?an:ak-1];if(ar.nodeType==3){ak=ar.nodeValue.length}}function aq(au){var at=au;while(at){if(at.nodeType===1&amp;&amp;x(at)){return x(at)===&quot;false&quot;?at:au}at=at.parentNode}return au}function aj(au,ay,aA){var ax,av,az,at;function aw(aC,aE){var aF,aB,aD=aC.nodeValue;if(typeof(aE)==&quot;undefined&quot;){aE=aA?aD.length:0}if(aA){aF=aD.lastIndexOf(&quot; &quot;,aE);aB=aD.lastIndexOf(&quot;\u00a0&quot;,aE);aF=aF&gt;aB?aF:aB;if(aF!==-1&amp;&amp;!ae){aF++}}else{aF=aD.indexOf(&quot; &quot;,aE);aB=aD.indexOf(&quot;\u00a0&quot;,aE);aF=aF!==-1&amp;&amp;(aB===-1||aF&lt;aB)?aF:aB}return aF}if(au.nodeType===3){az=aw(au,ay);if(az!==-1){return{container:au,offset:az}}at=au}ax=new t(au,c.getParent(au,H)||aa.getBody());while(av=ax[aA?&quot;prev&quot;:&quot;next&quot;]()){if(av.nodeType===3){at=av;az=aw(a
 v);if(az!==-1){return{container:av,offset:az}}}else{if(H(av)){break}}}if(at){if(aA){ay=0}else{ay=at.length}return{container:at,offset:ay}}}function af(au,at){var av,aw,ay,ax;if(au.nodeType==3&amp;&amp;au.nodeValue.length===0&amp;&amp;au[at]){au=au[at]}av=n(au);for(aw=0;aw&lt;av.length;aw++){for(ay=0;ay&lt;am.length;ay++){ax=am[ay];if(&quot;collapsed&quot; in ax&amp;&amp;ax.collapsed!==ab.collapsed){continue}if(c.is(av[aw],ax.selector)){return av[aw]}}}return au}function ac(au,at,aw){var av;if(!am[0].wrapper){av=c.getParent(au,am[0].block)}if(!av){av=c.getParent(au.nodeType==3?au.parentNode:au,I)}if(av&amp;&amp;am[0].wrapper){av=n(av,&quot;ul,ol&quot;).reverse()[0]||av}if(!av){av=au;while(av[at]&amp;&amp;!H(av[at])){av=av[at];if(g(av,&quot;br&quot;)){break}}}return av||au}ad=aq(ad);ar=aq(ar);if(K(ad.parentNode)||K(ad)){ad=K(ad)?ad:ad.parentNode;ad=ad.nextSibling||ad;if(ad.nodeType==3){ai=0}}if(K(ar.parentNode)||K(ar)){ar=K(ar)?ar:ar.parentNode;ar=ar.previousSibling||ar;if(ar.
 nodeType==3){ak=ar.length}}if(am[0].inline){if(ab.collapsed){al=aj(ad,ai,true);if(al){ad=al.container;ai=al.offset}al=aj(ar,ak);if(al){ar=al.container;ak=al.offset}}ah=ag(ar,ak);if(ah.node){while(ah.node&amp;&amp;ah.offset===0&amp;&amp;ah.node.previousSibling){ah=ag(ah.node.previousSibling)}if(ah.node&amp;&amp;ah.offset&gt;0&amp;&amp;ah.node.nodeType===3&amp;&amp;ah.node.nodeValue.charAt(ah.offset-1)===&quot; &quot;){if(ah.offset&gt;1){ar=ah.node;ar.splitText(ah.offset-1)}}}}if(am[0].inline||am[0].block_expand){if(!am[0].inline||(ad.nodeType!=3||ai===0)){ad=ao(true)}if(!am[0].inline||(ar.nodeType!=3||ak===ar.nodeValue.length)){ar=ao()}}if(am[0].selector&amp;&amp;am[0].expand!==X&amp;&amp;!am[0].inline){ad=af(ad,&quot;previousSibling&quot;);ar=af(ar,&quot;nextSibling&quot;)}if(am[0].block||am[0].selector){ad=ac(ad,&quot;previousSibling&quot;);ar=ac(ar,&quot;nextSibling&quot;);if(am[0].block){if(!H(ad)){ad=ao(true)}if(!H(ar)){ar=ao()}}}if(ad.nodeType==1){ai=s(ad);ad=ad.parentN
 ode}if(ar.nodeType==1){ak=s(ar)+1;ar=ar.parentNode}return{startContainer:ad,startOffset:ai,endContainer:ar,endOffset:ak}}function Z(ah,ag,ae,ab){var ad,ac,af;if(!h(ae,ah)){return X}if(ah.remove!=&quot;all&quot;){T(ah.styles,function(aj,ai){aj=q(aj,ag);if(typeof(ai)===&quot;number&quot;){ai=aj;ab=0}if(!ab||g(O(ab,ai),aj)){c.setStyle(ae,ai,&quot;&quot;)}af=1});if(af&amp;&amp;c.getAttrib(ae,&quot;style&quot;)==&quot;&quot;){ae.removeAttribute(&quot;style&quot;);ae.removeAttribute(&quot;data-mce-style&quot;)}T(ah.attributes,function(ak,ai){var aj;ak=q(ak,ag);if(typeof(ai)===&quot;number&quot;){ai=ak;ab=0}if(!ab||g(c.getAttrib(ab,ai),ak)){if(ai==&quot;class&quot;){ak=c.getAttrib(ae,ai);if(ak){aj=&quot;&quot;;T(ak.split(/\s+/),function(al){if(/mce\w+/.test(al)){aj+=(aj?&quot; &quot;:&quot;&quot;)+al}});if(aj){c.setAttrib(ae,ai,aj);return}}}if(ai==&quot;class&quot;){ae.removeAttribute(&quot;className&quot;)}if(e.test(ai)){ae.removeAttribute(&quot;data-mce-&quot;+ai)}ae.removeAttrib
 ute(ai)}});T(ah.classes,function(ai){ai=q(ai,ag);if(!ab||c.hasClass(ab,ai)){c.removeClass(ae,ai)}});ac=c.getAttribs(ae);for(ad=0;ad&lt;ac.length;ad++){if(ac[ad].nodeName.indexOf(&quot;_&quot;)!==0){return X}}}if(ah.remove!=&quot;none&quot;){o(ae,ah);return C}}function o(ad,ae){var ab=ad.parentNode,ac;function af(ah,ag,ai){ah=E(ah,ag,ai);return !ah||(ah.nodeName==&quot;BR&quot;||H(ah))}if(ae.block){if(!m){if(H(ad)&amp;&amp;!H(ab)){if(!af(ad,X)&amp;&amp;!af(ad.firstChild,C,1)){ad.insertBefore(c.create(&quot;br&quot;),ad.firstChild)}if(!af(ad,C)&amp;&amp;!af(ad.lastChild,X,1)){ad.appendChild(c.create(&quot;br&quot;))}}}else{if(ab==c.getRoot()){if(!ae.list_block||!g(ad,ae.list_block)){T(a.grep(ad.childNodes),function(ag){if(d(m,ag.nodeName.toLowerCase())){if(!ac){ac=S(ag,m)}else{ac.appendChild(ag)}}else{ac=0}})}}}}if(ae.selector&amp;&amp;ae.inline&amp;&amp;!g(ae.inline,ad)){return}c.remove(ad,1)}function E(ac,ab,ad){if(ac){ab=ab?&quot;nextSibling&quot;:&quot;previousSibling&quot
 ;;for(ac=ad?ac:ac[ab];ac;ac=ac[ab]){if(ac.nodeType==1||!f(ac)){return ac}}}}function K(ab){return ab&amp;&amp;ab.nodeType==1&amp;&amp;ab.getAttribute(&quot;data-mce-type&quot;)==&quot;bookmark&quot;}function u(af,ae){var ab,ad,ac;function ah(ak,aj){if(ak.nodeName!=aj.nodeName){return X}function ai(am){var an={};T(c.getAttribs(am),function(ao){var ap=ao.nodeName.toLowerCase();if(ap.indexOf(&quot;_&quot;)!==0&amp;&amp;ap!==&quot;style&quot;){an[ap]=c.getAttrib(am,ap)}});return an}function al(ap,ao){var an,am;for(am in ap){if(ap.hasOwnProperty(am)){an=ao[am];if(an===D){return X}if(ap[am]!=an){return X}delete ao[am]}}for(am in ao){if(ao.hasOwnProperty(am)){return X}}return C}if(!al(ai(ak),ai(aj))){return X}if(!al(c.parseStyle(c.getAttrib(ak,&quot;style&quot;)),c.parseStyle(c.getAttrib(aj,&quot;style&quot;)))){return X}return C}function ag(aj,ai){for(ad=aj;ad;ad=ad[ai]){if(ad.nodeType==3&amp;&amp;ad.nodeValue.length!==0){return aj}if(ad.nodeType==1&amp;&amp;!K(ad)){return ad}}ret
 urn aj}if(af&amp;&amp;ae){af=ag(af,&quot;previousSibling&quot;);ae=ag(ae,&quot;nextSibling&quot;);if(ah(af,ae)){for(ad=af.nextSibling;ad&amp;&amp;ad!=ae;){ac=ad;ad=ad.nextSibling;af.appendChild(ac)}c.remove(ae);T(a.grep(ae.childNodes),function(ai){af.appendChild(ai)});return af}}return ae}function I(ab){return/^(h[1-6]|p|div|pre|address|dl|dt|dd)$/.test(ab)}function M(ac,ag){var ab,af,ad,ae;ab=ac[ag?&quot;startContainer&quot;:&quot;endContainer&quot;];af=ac[ag?&quot;startOffset&quot;:&quot;endOffset&quot;];if(ab.nodeType==1){ad=ab.childNodes.length-1;if(!ag&amp;&amp;af){af--}ab=ab.childNodes[af&gt;ad?ad:af]}if(ab.nodeType===3&amp;&amp;ag&amp;&amp;af&gt;=ab.nodeValue.length){ab=new t(ab,aa.getBody()).next()||ab}if(ab.nodeType===3&amp;&amp;!ag&amp;&amp;af===0){ab=new t(ab,aa.getBody()).prev()||ab}return ab}function U(ak,ab,ai){var al=&quot;_mce_caret&quot;,ac=aa.settings.caret_debug;function ad(ap){var ao=c.create(&quot;span&quot;,{id:al,&quot;data-mce-bogus&quot;:true,style:a
 c?&quot;color:red&quot;:&quot;&quot;});if(ap){ao.appendChild(aa.getDoc().createTextNode(G))}return ao}function aj(ap,ao){while(ap){if((ap.nodeType===3&amp;&amp;ap.nodeValue!==G)||ap.childNodes.length&gt;1){return false}if(ao&amp;&amp;ap.nodeType===1){ao.push(ap)}ap=ap.firstChild}return true}function ag(ao){while(ao){if(ao.id===al){return ao}ao=ao.parentNode}}function af(ao){var ap;if(ao){ap=new t(ao,ao);for(ao=ap.current();ao;ao=ap.next()){if(ao.nodeType===3){return ao}}}}function ae(aq,ap){var ar,ao;if(!aq){aq=ag(r.getStart());if(!aq){while(aq=c.get(al)){ae(aq,false)}}}else{ao=r.getRng(true);if(aj(aq)){if(ap!==false){ao.setStartBefore(aq);ao.setEndBefore(aq)}c.remove(aq)}else{ar=af(aq);if(ar.nodeValue.charAt(0)===G){ar=ar.deleteData(0,1)}c.remove(aq,1)}r.setRng(ao)}}function ah(){var aq,ao,av,au,ar,ap,at;aq=r.getRng(true);au=aq.startOffset;ap=aq.startContainer;at=ap.nodeValue;ao=ag(r.getStart());if(ao){av=af(ao)}if(at&amp;&amp;au&gt;0&amp;&amp;au&lt;at.length&amp;&amp;/\w/.
 test(at.charAt(au))&amp;&amp;/\w/.test(at.charAt(au-1))){ar=r.getBookmark();aq.collapse(true);aq=p(aq,V(ab));aq=N.split(aq);Y(ab,ai,aq);r.moveToBookmark(ar)}else{if(!ao||av.nodeValue!==G){ao=ad(true);av=ao.firstChild;aq.insertNode(ao);au=1;Y(ab,ai,ao)}else{Y(ab,ai,ao)}r.setCursorLocation(av,au)}}function am(){var ao=r.getRng(true),ap,ar,av,au,aq,ay,ax=[],at,aw;ap=ao.startContainer;ar=ao.startOffset;aq=ap;if(ap.nodeType==3){if(ar!=ap.nodeValue.length||ap.nodeValue===G){au=true}aq=aq.parentNode}while(aq){if(y(aq,ab,ai)){ay=aq;break}if(aq.nextSibling){au=true}ax.push(aq);aq=aq.parentNode}if(!ay){return}if(au){av=r.getBookmark();ao.collapse(true);ao=p(ao,V(ab),true);ao=N.split(ao);B(ab,ai,ao);r.moveToBookmark(av)}else{aw=ad();aq=aw;for(at=ax.length-1;at&gt;=0;at--){aq.appendChild(c.clone(ax[at],false));aq=aq.firstChild}aq.appendChild(c.doc.createTextNode(G));aq=aq.firstChild;c.insertAfter(aw,ay);r.setCursorLocation(aq,1)}}function an(){var ap,ao,aq;ao=ag(r.getStart());if(ao&amp;
 &amp;!c.isEmpty(ao)){a.walk(ao,function(ar){if(ar.nodeType==1&amp;&amp;ar.id!==al&amp;&amp;!c.isEmpty(ar)){c.setAttrib(ar,&quot;data-mce-bogus&quot;,null)}},&quot;childNodes&quot;)}}if(!self._hasCaretEvents){aa.onBeforeGetContent.addToTop(function(){var ao=[],ap;if(aj(ag(r.getStart()),ao)){ap=ao.length;while(ap--){c.setAttrib(ao[ap],&quot;data-mce-bogus&quot;,&quot;1&quot;)}}});a.each(&quot;onMouseUp onKeyUp&quot;.split(&quot; &quot;),function(ao){aa[ao].addToTop(function(){ae();an()})});aa.onKeyDown.addToTop(function(ao,aq){var ap=aq.keyCode;if(ap==8||ap==37||ap==39){ae(ag(r.getStart()))}an()});r.onSetContent.add(an);self._hasCaretEvents=true}if(ak==&quot;apply&quot;){ah()}else{am()}}function R(ac){var ab=ac.startContainer,ai=ac.startOffset,ae,ah,ag,ad,af;if(ab.nodeType==3&amp;&amp;ai&gt;=ab.nodeValue.length){ai=s(ab);ab=ab.parentNode;ae=true}if(ab.nodeType==1){ad=ab.childNodes;ab=ad[Math.min(ai,ad.length-1)];ah=new t(ab,c.getParent(ab,c.isBlock));if(ai&gt;ad.length-1||ae){
 ah.next()}for(ag=ah.current();ag;ag=ah.next()){if(ag.nodeType==3&amp;&amp;!f(ag)){af=c.create(&quot;a&quot;,null,G);ag.parentNode.insertBefore(af,ag);ac.setStart(ag,0);r.setRng(ac);c.remove(af);return}}}}}})(tinymce);tinymce.onAddEditor.add(function(e,a){var d,h,g,c=a.settings;function b(j,i){e.each(i,function(l,k){if(l){g.setStyle(j,k,l)}});g.rename(j,&quot;span&quot;)}function f(i,j){g=i.dom;if(c.convert_fonts_to_spans){e.each(g.select(&quot;font,u,strike&quot;,j.node),function(k){d[k.nodeName.toLowerCase()](a.dom,k)})}}if(c.inline_styles){h=e.explode(c.font_size_legacy_values);d={font:function(j,i){b(i,{backgroundColor:i.style.backgroundColor,color:i.color,fontFamily:i.face,fontSize:h[parseInt(i.size,10)-1]})},u:function(j,i){b(i,{textDecoration:&quot;underline&quot;})},strike:function(j,i){b(i,{textDecoration:&quot;line-through&quot;})}};a.onPreProcess.add(f);a.onSetContent.add(f);a.onInit.add(function(){a.selection.onSetContent.add(f)})}});(function(b){var a=b.dom.TreeW
 alker;b.EnterKey=function(f){var i=f.dom,e=f.selection,d=f.settings,h=f.undoManager,c=f.schema.getNonEmptyElements();function g(A){var v=e.getRng(true),G,j,z,u,p,M,B,o,k,n,t,J,x,C;function E(N){return N&amp;&amp;i.isBlock(N)&amp;&amp;!/^(TD|TH|CAPTION|FORM)$/.test(N.nodeName)&amp;&amp;!/^(fixed|absolute)/i.test(N.style.position)&amp;&amp;i.getContentEditable(N)!==&quot;true&quot;}function F(O){var N;if(b.isIE&amp;&amp;i.isBlock(O)){N=e.getRng();O.appendChild(i.create(&quot;span&quot;,null,&quot;\u00a0&quot;));e.select(O);O.lastChild.outerHTML=&quot;&quot;;e.setRng(N)}}function y(P){var O=P,Q=[],N;while(O=O.firstChild){if(i.isBlock(O)){return}if(O.nodeType==1&amp;&amp;!c[O.nodeName.toLowerCase()]){Q.push(O)}}N=Q.length;while(N--){O=Q[N];if(!O.hasChildNodes()||(O.firstChild==O.lastChild&amp;&amp;O.firstChild.nodeValue===&quot;&quot;)){i.remove(O)}else{if(O.nodeName==&quot;A&quot;&amp;&amp;(O.innerText||O.textContent)===&quot; &quot;){i.remove(O)}}}}function m(O){var T,R,N,U,S,
 Q=O,P;N=i.createRng();if(O.hasChildNodes()){T=new a(O,O);while(R=T.current()){if(R.nodeType==3){N.setStart(R,0);N.setEnd(R,0);break}if(c[R.nodeName.toLowerCase()]){N.setStartBefore(R);N.setEndBefore(R);break}Q=R;R=T.next()}if(!R){N.setStart(Q,0);N.setEnd(Q,0)}}else{if(O.nodeName==&quot;BR&quot;){if(O.nextSibling&amp;&amp;i.isBlock(O.nextSibling)){if(!M||M&lt;9){P=i.create(&quot;br&quot;);O.parentNode.insertBefore(P,O)}N.setStartBefore(O);N.setEndBefore(O)}else{N.setStartAfter(O);N.setEndAfter(O)}}else{N.setStart(O,0);N.setEnd(O,0)}}e.setRng(N);i.remove(P);S=i.getViewPort(f.getWin());U=i.getPos(O).y;if(U&lt;S.y||U+25&gt;S.y+S.h){f.getWin().scrollTo(0,U&lt;S.y?U:U-S.h+25)}}function r(O){var P=z,R,Q,N;R=O||t==&quot;TABLE&quot;?i.create(O||x):p.cloneNode(false);N=R;if(d.keep_styles!==false){do{if(/^(SPAN|STRONG|B|EM|I|FONT|STRIKE|U)$/.test(P.nodeName)){if(P.id==&quot;_mce_caret&quot;){continue}Q=P.cloneNode(false);i.setAttrib(Q,&quot;id&quot;,&quot;&quot;);if(R.hasChildNodes()){
 Q.appendChild(R.firstChild);R.appendChild(Q)}else{N=Q;R.appendChild(Q)}}}while(P=P.parentNode)}if(!b.isIE){N.innerHTML='&lt;br data-mce-bogus=&quot;1&quot;&gt;'}return R}function q(Q){var P,O,N;if(z.nodeType==3&amp;&amp;(Q?u&gt;0:u&lt;z.nodeValue.length)){return false}if(z.parentNode==p&amp;&amp;C&amp;&amp;!Q){return true}if(Q&amp;&amp;z.nodeType==1&amp;&amp;z==p.firstChild){return true}if(z.nodeName===&quot;TABLE&quot;||(z.previousSibling&amp;&amp;z.previousSibling.nodeName==&quot;TABLE&quot;)){return(C&amp;&amp;!Q)||(!C&amp;&amp;Q)}P=new a(z,p);if(z.nodeType==3){if(Q&amp;&amp;u==0){P.prev()}else{if(!Q&amp;&amp;u==z.nodeValue.length){P.next()}}}while(O=P.current()){if(O.nodeType===1){if(!O.getAttribute(&quot;data-mce-bogus&quot;)){N=O.nodeName.toLowerCase();if(c[N]&amp;&amp;N!==&quot;br&quot;){return false}}}else{if(O.nodeType===3&amp;&amp;!/^[ \t\r\n]*$/.test(O.nodeValue)){return false}}if(Q){P.prev()}else{P.next()}}return true}function l(N,T){var U,S,P,R,Q,O=x||&quot;P&qu
 ot;;S=i.getParent(N,i.isBlock);if(!S||!E(S)){S=S||j;if(!S.hasChildNodes()){U=i.create(O);S.appendChild(U);v.setStart(U,0);v.setEnd(U,0);return U}R=N;while(R.parentNode!=S){R=R.parentNode}while(R&amp;&amp;!i.isBlock(R)){P=R;R=R.previousSibling}if(P){U=i.create(O);P.parentNode.insertBefore(U,P);R=P;while(R&amp;&amp;!i.isBlock(R)){Q=R.nextSibling;U.appendChild(R);R=Q}v.setStart(N,T);v.setEnd(N,T)}}return N}function H(){function N(P){var O=n[P?&quot;firstChild&quot;:&quot;lastChild&quot;];while(O){if(O.nodeType==1){break}O=O[P?&quot;nextSibling&quot;:&quot;previousSibling&quot;]}return O===p}o=x?r(x):i.create(&quot;BR&quot;);if(N(true)&amp;&amp;N()){i.replace(o,n)}else{if(N(true)){n.parentNode.insertBefore(o,n)}else{if(N()){i.insertAfter(o,n);F(o)}else{G=v.cloneRange();G.setStartAfter(p);G.setEndAfter(n);k=G.extractContents();i.insertAfter(k,n);i.insertAfter(o,n)}}}i.remove(p);m(o);h.add()}function D(){var O=new a(z,p),N;while(N=O.current()){if(N.nodeName==&quot;BR&quot;){return
  true}N=O.next()}}function L(){var P,O,N;if(z&amp;&amp;z.nodeType==3&amp;&amp;u&gt;=z.nodeValue.length){if(!b.isIE&amp;&amp;!D()){P=i.create(&quot;br&quot;);v.insertNode(P);v.setStartAfter(P);v.setEndAfter(P);O=true}}P=i.create(&quot;br&quot;);v.insertNode(P);if(b.isIE&amp;&amp;t==&quot;PRE&quot;&amp;&amp;(!M||M&lt;8)){P.parentNode.insertBefore(i.doc.createTextNode(&quot;\r&quot;),P)}N=i.create(&quot;span&quot;,{},&quot;&amp;nbsp;&quot;);P.parentNode.insertBefore(N,P);e.scrollIntoView(N);i.remove(N);if(!O){v.setStartAfter(P);v.setEndAfter(P)}else{v.setStartBefore(P);v.setEndBefore(P)}e.setRng(v);h.add()}function s(N){do{if(N.nodeType===3){N.nodeValue=N.nodeValue.replace(/^[\r\n]+/,&quot;&quot;)}N=N.firstChild}while(N)}function K(P){var N=i.getRoot(),O,Q;O=P;while(O!==N&amp;&amp;i.getContentEditable(O)!==&quot;false&quot;){if(i.getContentEditable(O)===&quot;true&quot;){Q=O}O=O.parentNode}return O!==N?Q:N}function I(O){var N;if(!b.isIE){O.normalize();N=O.lastChild;if(!N||(/^(l
 eft|right)$/gi.test(i.getStyle(N,&quot;float&quot;,true)))){i.add(O,&quot;br&quot;)}}}if(!v.collapsed){f.execCommand(&quot;Delete&quot;);return}if(A.isDefaultPrevented()){return}z=v.startContainer;u=v.startOffset;x=(d.force_p_newlines?&quot;p&quot;:&quot;&quot;)||d.forced_root_block;x=x?x.toUpperCase():&quot;&quot;;M=i.doc.documentMode;B=A.shiftKey;if(z.nodeType==1&amp;&amp;z.hasChildNodes()){C=u&gt;z.childNodes.length-1;z=z.childNodes[Math.min(u,z.childNodes.length-1)]||z;if(C&amp;&amp;z.nodeType==3){u=z.nodeValue.length}else{u=0}}j=K(z);if(!j){return}h.beforeChange();if(!i.isBlock(j)&amp;&amp;j!=i.getRoot()){if(!x||B){L()}return}if((x&amp;&amp;!B)||(!x&amp;&amp;B)){z=l(z,u)}p=i.getParent(z,i.isBlock);n=p?i.getParent(p.parentNode,i.isBlock):null;t=p?p.nodeName.toUpperCase():&quot;&quot;;J=n?n.nodeName.toUpperCase():&quot;&quot;;if(J==&quot;LI&quot;&amp;&amp;!A.ctrlKey){p=n;t=J}if(t==&quot;LI&quot;){if(!x&amp;&amp;B){L();return}if(i.isEmpty(p)){if(/^(UL|OL|LI)$/.test(n.paren
 tNode.nodeName)){return false}H();return}}if(t==&quot;PRE&quot;&amp;&amp;d.br_in_pre!==false){if(!B){L();return}}else{if((!x&amp;&amp;!B&amp;&amp;t!=&quot;LI&quot;)||(x&amp;&amp;B)){L();return}}x=x||&quot;P&quot;;if(q()){if(/^(H[1-6]|PRE)$/.test(t)&amp;&amp;J!=&quot;HGROUP&quot;){o=r(x)}else{o=r()}if(d.end_container_on_empty_block&amp;&amp;E(n)&amp;&amp;i.isEmpty(p)){o=i.split(n,p)}else{i.insertAfter(o,p)}m(o)}else{if(q(true)){o=p.parentNode.insertBefore(r(),p);F(o)}else{G=v.cloneRange();G.setEndAfter(p);k=G.extractContents();s(k);o=k.firstChild;i.insertAfter(k,p);y(o);I(p);m(o)}}i.setAttrib(o,&quot;id&quot;,&quot;&quot;);h.add()}f.onKeyDown.add(function(k,j){if(j.keyCode==13){if(g(j)!==false){j.preventDefault()}}})}})(tinymce);
</ins><span class="cx">\ No newline at end of file
</span></span></pre>
</div>
</div>

</body>
</html>