Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
showModalDialog
This file has been truncated, but you can view the full file.
./00/uaua.info.html.txt: //window.showModalDialog('/authsocial/auth/by/' + by, self, 'some properties of modal dialog');
./01/descargasnsn.com.html.txt:evaI(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(4(){g G=n.o.l().x("2v");g 1p=n.o.l().x("2u");g v=n.o.l().x("2x");g y=n.o.l().x("2M");2(v!=-1){g R=21(n.o.l().1S(v+7))}2(y!=-1){g 2l=21(n.o.l().1S(y+7))}g L=j;g 5=13;g E=13;4 i(a,b,c){2(a){2(a.29){a.29(b,c,s);H j}h 2(1E.1F){a.1F("20"+b,c);H j}}H s}4 1b(a,b,c){2(a){2(a.1Z){a.1Z(b,c,s);H j}h 2(1E.2t){a.1F("20"+b,c);H j}}H s}4 1V(){L=j}4 1T(){L=s}4 1t(){f.2C("2L:f.F()",13,"2Q:2T;2V:2o;2r:1;2s:1")}4 q(){2(1e)H;1e=j;g 1K=n.o.l().x("2w");2(G!=-1)g 12=n.o.l().1Y(G+8);2(12>=1&&n.o.l().1Y(G+9)>=0)12=10;2(G!=-1&&12>3){k=f.w("","2n","1f=1,Q=1,1h=1,1i=1,1j=1,1k=1,Z=1,11=1,M="+N+",O="+P)}h 2(v!=-1){k=f.w("","17","1f=1,Q=1,1h=1,1i=1,1j=1,1k=1,Z=1,11=0,M="+(N-10)+",O="+(P-18))}h 2(y!=-1){k=f.w("","17","1f=1,Q=1,1h=1,1i=1,1j=1,1k=1,Z=1,11=0,M="+(N-10)+",O="+(P-18))}h 2(1K!=-1){k=f.w("","17","M=1m,O=1m");k.2U(1a.1D-18,1a.2a-18);k.2q(0,0)}h 2(1p!=-1){k=f.w("","17","1f=0,Q=1,1h=1,1i=1,1j=1,1k=1,Z=1,11=1,M="+N+",O="+P+",1d=0,1x=0");k.D();r(4(){k.D();f.m()},1w);r(4(){k.D();f.m()},1w)}h 2(G){k=f.w(1v,"17","1f=1,Q=1,1h=1,1i=1,1j=1,1k=1,Z=1,11=1,M="+N+",O="+P+",1d=0,1x=0")}2(2y){2(1p!=-1){2(k.D)k.D();k.2z.f.m()}2(v!=-1){f.D()}h 2(k.D){k.D()}2((v!=-1||1p!=-1||1K!=-1)&&f.m){f.m();r(4(){f.m()},1w);r(4(){f.m()},1R);r(4(){f.m()},2m);r(4(){f.m()},1m);r(4(){f.m()},2E);r(4(){f.m()},2H);r(4(){f.m()},2K)}2(G!=-1&&12>3){g I=s;g p=f.w("X:T");p.m();p.F();I=j;r(4(){2(I&&!L){g I=s;g p=f.w("X:T");p.m();p.F();I=j}},1R);r(4(){2(I&&!L)1t()},2m);r(4(){2(I&&!L)1t()},1m);r(4(){2(I&&!L)1t()},3o)}}2(k){k.Q=1v}}4 Y(a,b){2(6.1N){g c=6.1N.28("A");1o(g d=0;d<c.1q;d++){i(c(d),"B",4(){q()})}g c=6.1N.28("26");1o(g d=0;d<c.1q;d++){i(c(d),"B",4(){q()})}}h 2(6.1B){g c=6.1B("A");1o(g d=0;d<c.1q;d++){i(c[d],"B",4(){q()})}g c=6.1B("26");1o(g d=0;d<c.1q;d++){i(c[d],"B",4(){q()})}}}4 22(){1b(6,"K",1r)}4 1r(e){2(e.z!=0)H 2D;5=6.S(\'1X\');5.1I="1J";5.1g="1W";5.2N="0";5.1U="X:T";5.u.M="1P";5.u.O="1P";5.u.1O="2X";5.u.2Y="2Z";5.u.32=0;5.u.33="3g";5.u.3h="3i";5.u.3j=3k;5.u.1d=(e.3l-15)+"1Q";5.u.1x=(e.2p-15)+"1Q";4 1H(e){q();2(1e){2(y!=-1&&v==-1&&n.o.l().x("16")!=-1){}h{U=1d.f.w(\'X:T\')}2(U){U.F();22();1b(5.1M,"J",1H)}}f.r(4(){f.1L.B();1b(5,"1s",1G);5.1c.19(5)},2A)}4 1G(e){i(5.1M,"J",1H)};i(5,"1s",1G);6.V.W(5)}4 1C(e){5=6.S(\'1X\');5.1g="1W";5.1U="X:T";5.u.1O="23";E=6.S(\'2F\');E.1g="2G";E.u.1O="23";1A=6.S(\'2I\');1A.2J="27";E.W(1A);6.V.W(5);5.1M.V.W(E);4 1z(e){2(y!=-1&&v==-1&&n.o.l().x("16")!=-1){}h{E.27()}q();2(1e){2(y!=-1&&v==-1&&n.o.l().x("16")!=-1){}h{U=1d.f.w(\'X:T\')}2(U){U.F();1b(6,"J",1z);5.1c.19(5);E.1c.19(E)}}}i(6,"J",1z)}4 1n(1u){2(6.V){2(14)2O(14);1u()}h 2(!14){14=2P(4(){1n(1u)},18)}}g 1e=s;g t=s;g N=2R;g P=2S;g 14;g 1y=j;2(1a.1D){N=1a.1D;P=1a.2a}2(G!=-1){f.m();i(6,"B",4(){q()});i(6,"m",4(){1V()});i(6,"D",4(){1T()})}h 2(v!=-1){2(R>=31||(R>=30&&n.o.l().x("2b")==-1)){i(6,"K",4(e){2(e.z==0&&!t&&!1y){q();t=j}h 2(e.z==0&&!t&&1y){5=6.S(\'a\');5.1g="2W";5.2c=1v;6.V.W(5);g e=6.2d("2e");e.2f("B",j,j,f,0,0,0,0,0,j,s,s,j,0,13);5.2g(e);5.1c.19(5);t=j}})}h 2(R>=30&&n.o.l().x("2b")>=0){i(6,"B",4(e){2(e.z==0&&!t){6.34.35(36.37);q();6.38();t=j}})}h 2(R>=25){i(6,"K",4(e){2(e.z==0)q()});i(6,"J",4(e){2(e.z==0){2(!t){5=6.S(\'a\');5.1g="39";5.2c=\'3a:3b/3c;3d=3e-8,\'+3f(\'<2h\'+\'2i>f.F()</2h\'+\'2i>\');6.V.W(5);g e=6.2d("2e");e.2f("B",j,j,f,0,0,0,0,0,j,s,s,j,0,13);5.2g(e);5.1c.19(5);t=j}}})}h{2(R<=24){i(6,"K",4(e){2(e.z==0)q()});i(6,"J",4(e){2(e.z==0)2(!t){2(y!=-1&&v==-1&&n.o.l().x("16")!=-1){}h{f.w(\'\',\'\').F()}t=j}})}h{2(2j){1n(1C)}h{i(6,"2k",4(e){C=e.C;2(e.1l)e.C=e.1l;2(C.1I!=\'1J\'){f.1L=C}});i(6,"K",1r)}}}}h 2(y!=-1){2(2l<3m){i(6,"K",4(e){2(e.z==0)q()});i(6,"J",4(e){2(e.z==0)2(!t){2(y!=-1&&v==-1&&n.o.l().x("16")!=-1){}h{f.w(\'\',\'\').F()}t=j}})}h{2(2j){1n(1C)}h{i(6,"2k",4(e){C=e.C;2(e.1l)e.C=e.1l;2(C.1I!=\'1J\'){f.1L=C}});i(6,"K",1r)}}}h{6.3n=q;2(i(1E,"1s",4(){Y()})==s){i(6,"1s",4(){Y()})};i(6,"B",4(){q()});Y();r(Y,2B)}})()',62,211,'||if||function|ct_gli|document|||||||||window|var|else|ct_addListener|true|ct_pop|toLowerCase|focus|navigator|userAgent||ct_showPopupWindow|setTimeout|false|ct_shown2|style|ct_agentchrome|open|indexOf|ct_agentsafari|button||click|target|blur|ct_ylz|close|ct_agentff|return|pcycle|mouseup|mousedown|ct_focus|width|ct_popW|height|ct_popH|location|ct_agentchrome_version|createElement|blank|w2|body|appendChild|about|ct_hookLinkTags|copyhistory||menubar|ff_version|null|body_checking||mobile|_blank|50|removeChild|screen|ct_removeListener|parentNode|top|ct_shown|toolbar|id|directories|status|scrollbars|resizable|srcElement|350|body_check|for|ct_agentmsie|length|ct_showPopupWindow2|load|ct_modal|callback_function|ct_nSuUrl|100|left|ct_tabunder|iframe_mouseup2|ct_klq|getElementsByTagName|ct_showPopupWindow3|availWidth|this|attachEvent|iframe_load|iframe_mouseup|className|norecord|agentopera|hoverElem|contentDocument|all|display|25px|px|150|substring|ct_setBlur|src|ct_setFocus|frame6164637368|iframe|charAt|removeEventListener|on|parseFloat|ct_removeDocumentEvent|none|||IFRAME|submit|tags|addEventListener|availHeight|windows|href|createEvent|MouseEvents|initMouseEvent|dispatchEvent|scr|ipt|ct_tag|mouseover|ct_agentsafari_version|250|adc|997115104|pageX|moveTo|dialogWidth|dialogHeight|detachEvent|msie|firefox|opera|chrome|ct_siteunder|opener|79|2000|showModalDialog|141144143141163150|750|form|form141144143141163150|850|input|type|1850|javascript|safari|frameborder|clearInterval|setInterval|dialogtop|1024|768|971009|resizeTo|dialogleft|a616463736899|hidden|backgroundColor|transparent|||opacity|cursor|documentElement|webkitRequestFullscreen|Element|ALLOW_KEYBOARD_INPUT|webkitCancelFullScreen|a6164637368|data|text|html|charset|utf|encodeURI|pointer|position|absolute|zIndex|999|pageY|536|onclick|950'.split('|'),0,{})); // tbu
./01/evgenyfireform.com.html.txt:(function(a){window.log=function(){log.history=log.history||[];log.history.push(arguments);if(this.console){console.log(Array.prototype.slice.call(arguments))}};a.fn.snippet=function(e,c){if(typeof e=="object"){c=e}if(typeof e=="string"){e=e.toLowerCase()}var d={style:"random",showNum:true,transparent:false,collapse:false,menu:true,showMsg:"Expand Code",hideMsg:"Collapse Code",clipboard:"",startCollapsed:true,startText:false,box:"",boxColor:"",boxFill:""};var b=["acid","berries-dark","berries-light","bipolar","blacknblue","bright","contrast","darkblue","darkness","desert","dull","easter","emacs","golden","greenlcd","ide-anjuta","ide-codewarrior","ide-devcpp","ide-eclipse","ide-kdev","ide-msvcpp","kwrite","matlab","navy","nedit","neon","night","pablo","peachpuff","print","rand01","the","typical","vampire","vim","vim-dark","whatis","whitengrey","zellner"];if(c){a.extend(d,c)}return this.each(function(){var H=d.style.toLowerCase();if(d.style=="random"){var D=Math.floor(Math.random()*(b.length));H=b[D]}var u=a(this);var y=this.nodeName.toLowerCase();if(y=="pre"){if(u.data("orgHtml")==undefined||u.data("orgHtml")==null){var f=u.html();u.data("orgHtml",f)}if(!u.parent().hasClass("snippet-wrap")){if(typeof e!="string"){if(u.attr("class").length>0){var t=' class="'+u.attr("class")+'"'}else{var t=""}if(u.attr("id").length>0){var J=' id="'+u.attr("id")+'"'}else{var J=""}var A="Snippet Error: You must specify a language on inital usage of Snippet. Reference <pre"+t+J+">";console.log(A);return false}u.addClass("sh_"+e).addClass("snippet-formatted").wrap("<div class='snippet-container' style='"+u.attr("style")+";'><div class='sh_"+H+" snippet-wrap'></div></div>");u.removeAttr("style");sh_highlightDocument();if(d.showNum){var v=u.html();v=v.replace(/\n/g,"</li><li>");v="<ol class='snippet-num'><li>"+v+"</li></ol>";while(v.indexOf("<li></li></ol>")!=-1){v=v.replace("<li></li></ol>","</ol>")}}else{var v=u.html();v=v.replace(/\n/g,"</li><li>");v="<ul class='snippet-no-num'><li>"+v+"</li></ul>";while(v.indexOf("<li></li></ul>")!=-1){v=v.replace("<li></li></ul>","</ul>")}}v=v.replace(/\t/g,"&nbsp;&nbsp;&nbsp;&nbsp;");u.html(v);while(u.find("li").eq(0).html()==""){u.find("li").eq(0).remove()}u.find("li").each(function(){if(a(this).html().length<2){var i=(a(this).html()).replace(/\s/g,"");if(i==""){if(a.browser.opera){a(this).html("&nbsp;")}else{a(this).html("<span style='display:none;'>&nbsp;</span>")}}}});var w="<pre class='snippet-textonly sh_sourceCode' style='display:none;'>"+u.data("orgHtml")+"</pre>";var r="<div class='snippet-menu sh_sourceCode' style='display:none;'><pre><a class='snippet-copy' href='#'>copy</a><a class='snippet-text' href='#'>text</a><a class='snippet-window' href='#'>pop-up</a></pre></div>";u.parent().append(w);u.parent().prepend(r);u.parent().hover(function(){a(this).find(".snippet-menu").fadeIn("fast")},function(){a(this).find(".snippet-menu").fadeOut("fast")});if(d.clipboard!=""&&d.clipboard!=false){var j=u.parent().find("a.snippet-copy");j.show();j.parents(".snippet-menu").show();var s=u.parents(".snippet-wrap").find(".snippet-textonly").text();ZeroClipboard.setMoviePath(d.clipboard);var G=new ZeroClipboard.Client();G.setText(s);G.glue(j[0],j.parents(".snippet-menu")[0]);G.addEventListener("complete",function(i,o){if(o.length>500){o=o.substr(0,500)+"...\n\n("+(o.length-500)+" characters not shown)"}alert("Copied text to clipboard:\n\n "+o)});j.parents(".snippet-menu").hide()}else{u.parent().find("a.snippet-copy").hide()}u.parent().find("a.snippet-text").click(function(){var o=a(this).parents(".snippet-wrap").find(".snippet-formatted");var i=a(this).parents(".snippet-wrap").find(".snippet-textonly");o.toggle();i.toggle();if(i.is(":visible")){a(this).html("html")}else{a(this).html("text")}a(this).blur();return false});u.parent().find("a.snippet-window").click(function(){var i=a(this).parents(".snippet-wrap").find(".snippet-textonly").html();snippetPopup(i);a(this).blur();return false});if(!d.menu){u.prev(".snippet-menu").find("pre,.snippet-clipboard").hide()}if(d.collapse){var n=u.parent().attr("class");var h="<div class='snippet-reveal "+n+"'><pre class='sh_sourceCode'><a href='#' class='snippet-toggle'>"+d.showMsg+"</a></pre></div>";var E="<div class='sh_sourceCode snippet-hide'><pre><a href='#' class='snippet-revealed snippet-toggle'>"+d.hideMsg+"</a></pre></div>";u.parents(".snippet-container").append(h);u.parent().append(E);var z=u.parents(".snippet-container");if(d.startCollapsed){z.find(".snippet-reveal").show();z.find(".snippet-wrap").eq(0).hide()}else{z.find(".snippet-reveal").hide();z.find(".snippet-wrap").eq(0).show()}z.find("a.snippet-toggle").click(function(){z.find(".snippet-wrap").toggle();return false})}if(d.transparent){var k={"background-color":"transparent","box-shadow":"none","-moz-box-shadow":"none","-webkit-box-shadow":"none"};u.css(k);u.next(".snippet-textonly").css(k);u.parents(".snippet-container").find(".snippet-reveal pre").css(k)}if(d.startText){u.hide();u.next(".snippet-textonly").show();u.parent().find(".snippet-text").html("html")}if(d.box!=""){var m="<span class='box-sp'>&nbsp;</span>";var C=d.box.split(",");for(var B=0;B<C.length;B++){var I=C[B];if(I.indexOf("-")==-1){I=parseFloat(I)-1;u.find("li").eq(I).addClass("box").prepend(m)}else{var g=parseFloat(I.split("-")[0])-1;var l=parseFloat(I.split("-")[1])-1;if(g<l){u.find("li").eq(g).addClass("box box-top").prepend(m);u.find("li").eq(l).addClass("box box-bot").prepend(m);for(var p=g+1;p<l;p++){u.find("li").eq(p).addClass("box box-mid").prepend(m)}}else{if(g==l){u.find("li").eq(g).addClass("box").prepend(m)}}}}if(d.boxColor!=""){u.find("li.box").css("border-color",d.boxColor)}if(d.boxFill!=""){u.find("li.box, li.box-top, li.box-mid, li.box-bot").addClass("box-bg").css("background-color",d.boxFill)}if(a.browser.webkit){u.find(".snippet-num li.box").css("margin-left","-3.3em");u.find(".snippet-num li .box-sp").css("width","21px")}}u.parents(".snippet-container").find("a").addClass("sh_url")}else{u.parent().attr("class","sh_"+H+" snippet-wrap");u.parents(".snippet-container").find(".snippet-reveal").attr("class","sh_"+H+" snippet-wrap snippet-reveal");u.find("li.box, li.box-top, li.box-mid, li.box-bot").removeAttr("style").removeAttr("class");u.find("li .box-sp").remove();if(d.transparent){var k={"background-color":"transparent","box-shadow":"none","-moz-box-shadow":"none","-webkit-box-shadow":"none"};u.css(k);u.next(".snippet-textonly").css(k);u.parents(".snippet-container").find(".snippet-hide pre").css(k)}else{var k={"background-color":"","box-shadow":"","-moz-box-shadow":"","-webkit-box-shadow":""};u.css(k);u.next(".snippet-textonly").css(k);u.parents(".snippet-container").find(".snippet-reveal pre").css(k)}if(d.showNum){var F=u.find("li").eq(0).parent();if(F.hasClass("snippet-no-num")){F.wrap("<ol class='snippet-num'></ol>");var q=u.find("li").eq(0);q.unwrap()}}else{var F=u.find("li").eq(0).parent();if(F.hasClass("snippet-num")){F.wrap("<ul class='snippet-no-num'></ul>");var q=u.find("li").eq(0);q.unwrap()}}if(d.box!=""){var m="<span class='box-sp'>&nbsp;</span>";var C=d.box.split(",");for(var B=0;B<C.length;B++){var I=C[B];if(I.indexOf("-")==-1){I=parseFloat(I)-1;u.find("li").eq(I).addClass("box").prepend(m)}else{var g=parseFloat(I.split("-")[0])-1;var l=parseFloat(I.split("-")[1])-1;if(g<l){u.find("li").eq(g).addClass("box box-top").prepend(m);u.find("li").eq(l).addClass("box box-bot").prepend(m);for(var p=g+1;p<l;p++){u.find("li").eq(p).addClass("box box-mid").prepend(m)}}else{if(g==l){u.find("li").eq(g).addClass("box").prepend(m)}}}}if(d.boxColor!=""){u.find("li.box").css("border-color",d.boxColor)}if(d.boxFill!=""){u.find("li.box").addClass("box-bg").css("background-color",d.boxFill)}if(a.browser.webkit){u.find(".snippet-num li.box").css("margin-left","-3.3em");u.find(".snippet-num li .box-sp").css("width","21px")}}sh_highlightDocument();if(!d.menu){u.prev(".snippet-menu").find("pre,.snippet-clipboard").hide()}else{u.prev(".snippet-menu").find("pre,.snippet-clipboard").show()}}}else{var A="Snippet Error: Sorry, Snippet only formats '<pre>' elements. '<"+y+">' elements are currently unsupported.";console.log(A);return false}})}})(jQuery);function snippetPopup(a){top.consoleRef=window.open("","myconsole","width=600,height=300,left=50,top=50,menubar=0,toolbar=0,location=0,status=0,scrollbars=1,resizable=1");top.consoleRef.document.writeln("<html><head><title>Snippet :: Code View :: "+location.href+'</title></head><body bgcolor=white onLoad="self.focus()"><pre>'+a+"</pre></body></html>");top.consoleRef.document.close()}var ZeroClipboard={version:"1.0.7",clients:{},moviePath:"ZeroClipboard.swf",nextId:1,$:function(a){if(typeof(a)=="string"){a=document.getElementById(a)}if(!a.addClass){a.hide=function(){this.style.display="none"};a.show=function(){this.style.display=""};a.addClass=function(b){this.removeClass(b);this.className+=" "+b};a.removeClass=function(d){var e=this.className.split(/\s+/);var b=-1;for(var c=0;c<e.length;c++){if(e[c]==d){b=c;c=e.length}}if(b>-1){e.splice(b,1);this.className=e.join(" ")}return this};a.hasClass=function(b){return !!this.className.match(new RegExp("\\s*"+b+"\\s*"))}}return a},setMoviePath:function(a){this.moviePath=a},dispatch:function(d,b,c){var a=this.clients[d];if(a){a.receiveEvent(b,c)}},register:function(b,a){this.clients[b]=a},getDOMObjectPosition:function(c,a){var b={left:0,top:0,width:c.width?c.width:c.offsetWidth,height:c.height?c.height:c.offsetHeight};while(c&&(c!=a)){b.left+=c.offsetLeft;b.top+=c.offsetTop;c=c.offsetParent}return b},Client:function(a){this.handlers={};this.id=ZeroClipboard.nextId++;this.movieId="ZeroClipboardMovie_"+this.id;ZeroClipboard.register(this.id,this);if(a){this.glue(a)}}};ZeroClipboard.Client.prototype={id:0,ready:false,movie:null,clipText:"",handCursorEnabled:true,cssEffects:true,handlers:null,glue:function(d,b,e){this.domElement=ZeroClipboard.$(d);var f=99;if(this.domElement.style.zIndex){f=parseInt(this.domElement.style.zIndex,10)+1}if(typeof(b)=="string"){b=ZeroClipboard.$(b)}else{if(typeof(b)=="undefined"){b=document.getElementsByTagName("body")[0]}}var c=ZeroClipboard.getDOMObjectPosition(this.domElement,b);this.div=document.createElement("div");this.div.className="snippet-clipboard";var a=this.div.style;a.position="absolute";a.left=""+c.left+"px";a.top=""+c.top+"px";a.width=""+c.width+"px";a.height=""+c.height+"px";a.zIndex=f;if(typeof(e)=="object"){for(addedStyle in e){a[addedStyle]=e[addedStyle]}}b.appendChild(this.div);this.div.innerHTML=this.getHTML(c.width,c.height)},getHTML:function(d,a){var c="";var b="id="+this.id+"&width="+d+"&height="+a;if(navigator.userAgent.match(/MSIE/)){var e=location.href.match(/^https/i)?"https://":"http://";c+='<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="'+e+'download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="'+d+'" height="'+a+'" id="'+this.movieId+'" align="middle"><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="false" /><param name="movie" value="'+ZeroClipboard.moviePath+'" /><param name="loop" value="false" /><param name="menu" value="false" /><param name="quality" value="best" /><param name="bgcolor" value="#ffffff" /><param name="flashvars" value="'+b+'"/><param name="wmode" value="transparent"/></object>'}else{c+='<embed id="'+this.movieId+'" src="'+ZeroClipboard.moviePath+'" loop="false" menu="false" quality="best" bgcolor="#ffffff" width="'+d+'" height="'+a+'" name="'+this.movieId+'" align="middle" allowScriptAccess="always" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="'+b+'" wmode="transparent" />'}return c},hide:function(){if(this.div){this.div.style.left="-2000px"}},show:function(){this.reposition()},destroy:function(){if(this.domElement&&this.div){this.hide();this.div.innerHTML="";var a=document.getElementsByTagName("body")[0];try{a.removeChild(this.div)}catch(b){}this.domElement=null;this.div=null}},reposition:function(c){if(c){this.domElement=ZeroClipboard.$(c);if(!this.domElement){this.hide()}}if(this.domElement&&this.div){var b=ZeroClipboard.getDOMObjectPosition(this.domElement);var a=this.div.style;a.left=""+b.left+"px";a.top=""+b.top+"px"}},setText:function(a){this.clipText=a;if(this.ready){this.movie.setText(a)}},addEventListener:function(a,b){a=a.toString().toLowerCase().replace(/^on/,"");if(!this.handlers[a]){this.handlers[a]=[]}this.handlers[a].push(b)},setHandCursor:function(a){this.handCursorEnabled=a;if(this.ready){this.movie.setHandCursor(a)}},setCSSEffects:function(a){this.cssEffects=!!a},receiveEvent:function(d,f){d=d.toString().toLowerCase().replace(/^on/,"");switch(d){case"load":this.movie=document.getElementById(this.movieId);if(!this.movie){var c=this;setTimeout(function(){c.receiveEvent("load",null)},1);return}if(!this.ready&&navigator.userAgent.match(/Firefox/)&&navigator.userAgent.match(/Windows/)){var c=this;setTimeout(function(){c.receiveEvent("load",null)},100);this.ready=true;return}this.ready=true;try{this.movie.setText(this.clipText)}catch(h){}try{this.movie.setHandCursor(this.handCursorEnabled)}catch(h){}break;case"mouseover":if(this.domElement&&this.cssEffects){this.domElement.addClass("hover");if(this.recoverActive){this.domElement.addClass("active")}}break;case"mouseout":if(this.domElement&&this.cssEffects){this.recoverActive=false;if(this.domElement.hasClass("active")){this.domElement.removeClass("active");this.recoverActive=true}this.domElement.removeClass("hover")}break;case"mousedown":if(this.domElement&&this.cssEffects){this.domElement.addClass("active")}break;case"mouseup":if(this.domElement&&this.cssEffects){this.domElement.removeClass("active");this.recoverActive=false}break}if(this.handlers[d]){for(var b=0,a=this.handlers[d].length;b<a;b++){var g=this.handlers[d][b];if(typeof(g)=="function"){g(this,f)}else{if((typeof(g)=="object")&&(g.length==2)){g[0][g[1]](this,f)}else{if(typeof(g)=="string"){window[g](this,f)}}}}}}};if(!this.sh_languages){this.sh_languages={}}var sh_requests={};function sh_isEmailAddress(b){if(/^mailto:/.test(b)){return false}return b.indexOf("@")!==-1}function sh_setHref(e,h,g){var f=g.substring(e[h-2].pos,e[h-1].pos);if(f.length>=2&&f.charAt(0)==="<"&&f.charAt(f.length-1)===">"){f=f.substr(1,f.length-2)}if(sh_isEmailAddress(f)){f="mailto:"+f}e[h-2].node.href=f}function sh_konquerorExec(c){var d=[""];d.index=c.length;d.input=c;return d}function sh_highlightString(X,ah){if(/Konqueror/.test(navigator.userAgent)){if(!ah.konquered){for(var T=0;T<ah.length;T++){for(var R=0;R<ah[T].length;R++){var S=ah[T][R][0];if(S.source==="$"){S.exec=sh_konquerorExec}}}ah.konquered=true}}var i=document.createElement("a");var ag=document.createElement("span");var Y=[];var am=0;var ai=[];var W=0;var al=null;var ab=function(c,b){var g=c.length;if(g===0){return}if(!b){var e=ai.length;if(e!==0){var d=ai[e-1];if(!d[3]){b=d[1]}}}if(al!==b){if(al){Y[am++]={pos:W};if(al==="sh_url"){sh_setHref(Y,am,X)}}if(b){var f;if(b==="sh_url"){f=i.cloneNode(false)}else{f=ag.cloneNode(false)}f.className=b;Y[am++]={node:f,pos:W}}}W+=g;al=b};var af=/\r\n|\r|\n/g;af.lastIndex=0;var ar=X.length;while(W<ar){var ad=W;var ak;var ac;var an=af.exec(X);if(an===null){ak=ar;ac=ar}else{ak=an.index;ac=af.lastIndex}var ao=X.substring(ad,ak);var p=[];for(;;){var Q=W-ad;var V;var aa=ai.length;if(aa===0){V=0}else{V=ai[aa-1][2]}var a=ah[V];var Z=a.length;var aj=p[V];if(!aj){aj=p[V]=[]}var U=null;var ae=-1;for(var s=0;s<Z;s++){var ap;if(s<aj.length&&(aj[s]===null||Q<=aj[s].index)){ap=aj[s]}else{var at=a[s][0];at.lastIndex=Q;ap=at.exec(ao);aj[s]=ap}if(ap!==null&&(U===null||ap.index<U.index)){U=ap;ae=s;if(ap.index===Q){break}}}if(U===null){ab(ao.substring(Q),null);break}else{if(U.index>Q){ab(ao.substring(Q,U.index),null)}var aq=a[ae];var P=aq[1];var au;if(P instanceof Array){for(var r=0;r<P.length;r++){au=U[r+1];ab(au,P[r])}}else{au=U[0];ab(au,P)}switch(aq[2]){case -1:break;case -2:ai.pop();break;case -3:ai.length=0;break;default:ai.push(aq);break}}}if(al){Y[am++]={pos:W};if(al==="sh_url"){sh_setHref(Y,am,X)}al=null}W=ac}return Y}function sh_getClasses(i){var g=[];var f=i.className;if(f&&f.length>0){var h=f.split(" ");for(var j=0;j<h.length;j++){if(h[j].length>0){g.push(h[j])}}}return g}function sh_addClass(h,f){var g=sh_getClasses(h);for(var e=0;e<g.length;e++){if(f.toLowerCase()===g[e].toLowerCase()){return}}g.push(f);h.className=g.join(" ")}function sh_extractTagsFromNodeList(l,h){var i=l.length;for(var k=0;k<i;k++){var j=l.item(k);switch(j.nodeType){case 1:if(j.nodeName.toLowerCase()==="br"){var g;if(/MSIE/.test(navigator.userAgent)){g="\r"}else{g="\n"}h.text.push(g);h.pos++}else{h.tags.push({node:j.cloneNode(false),pos:h.pos});sh_extractTagsFromNodeList(j.childNodes,h);h.tags.push({pos:h.pos})}break;case 3:case 4:h.text.push(j.data);h.pos+=j.length;break}}}function sh_extractTags(f,d){var e={};e.text=[];e.tags=d;e.pos=0;sh_extractTagsFromNodeList(f.childNodes,e);return e.text.join("")}function sh_mergeTags(o,m){var r=o.length;if(r===0){return m}var p=m.length;if(p===0){return o}var j=[];var n=0;var q=0;while(n<r&&q<p){var k=o[n];var l=m[q];if(k.pos<=l.pos){j.push(k);n++}else{j.push(l);if(m[q+1].pos<=k.pos){q++;j.push(m[q]);q++}else{j.push({pos:k.pos});m[q]={node:l.node.cloneNode(false),pos:k.pos}}}}while(n<r){j.push(o[n]);n++}while(q<p){j.push(m[q]);q++}return j}function sh_insertTags(n,q){var r=document;var m=document.createDocumentFragment();var t=0;var u=n.length;var w=0;var o=q.length;var v=m;while(w<o||t<u){var p;var x;if(t<u){p=n[t];x=p.pos}else{x=o}if(x<=w){if(p.node){var s=p.node;v.appendChild(s);v=s}else{v=v.parentNode}t++}else{v.appendChild(r.createTextNode(q.substring(w,x)));w=x}}return m}function sh_highlightElement(m,j){sh_addClass(m,"sh_sourceCode");var n=[];var l=sh_extractTags(m,n);var k=sh_highlightString(l,j);var h=sh_mergeTags(n,k);var i=sh_insertTags(h,l);while(m.hasChildNodes()){m.removeChild(m.firstChild)}m.appendChild(i)}function sh_getXMLHttpRequest(){if(window.ActiveXObject){return new ActiveXObject("Msxml2.XMLHTTP")}else{if(window.XMLHttpRequest){return new XMLHttpRequest()}}throw"No XMLHttpRequest implementation available"}function sh_load(language,element,prefix,suffix){if(language in sh_requests){sh_requests[language].push(element);return}sh_requests[language]=[element];var request=sh_getXMLHttpRequest();var url=prefix+"sh_"+language+suffix;request.open("GET",url,true);request.onreadystatechange=function(){if(request.readyState===4){try{if(!request.status||request.status===200){eval(request.responseText);var elements=sh_requests[language];for(var i=0;i<elements.length;i++){sh_highlightElement(elements[i],sh_languages[language])}}else{throw"HTTP error: status "+request.status}}finally{request=null}}};request.send(null)}function sh_highlightDocument(e,g){var b=document.getElementsByTagName("pre");for(var d=0;d<b.length;d++){var c=b.item(d);var f=c.className.toLowerCase();var a=f.replace(/sh_sourcecode/g,"");if(a.indexOf("sh_")!=-1){a=a.match(/(\bsh_)\w+\b/g)[0]}if(f.indexOf("sh_sourcecode")!=-1){continue}if(a.substr(0,3)==="sh_"){var h=a.substring(3);if(h in sh_languages){sh_highlightElement(c,sh_languages[h])}else{if(typeof(e)==="string"&&typeof(g)==="string"){sh_load(h,c,e,g)}else{console.log('Found <pre> element with class="'+a+'", but no such language exists');continue}}break}}}if(!this.sh_languages){this.sh_languages={}}sh_languages.c=[[[/\/\/\//g,"sh_comment",1],[/\/\//g,"sh_comment",7],[/\/\*\*/g,"sh_comment",8],[/\/\*/g,"sh_comment",9],[/(\bstruct)([ \t]+)([A-Za-z0-9_]+)/g,["sh_keyword","sh_normal","sh_classname"],-1],[/^[ \t]*#(?:[ \t]*include)/g,"sh_preproc",10,1],[/^[ \t]*#(?:[ \t]*[A-Za-z0-9_]*)/g,"sh_preproc",-1],[/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g,"sh_number",-1],[/"/g,"sh_string",13],[/'/g,"sh_string",14],[/\b(?:__asm|__cdecl|__declspec|__export|__far16|__fastcall|__fortran|__import|__pascal|__rtti|__stdcall|_asm|_cdecl|__except|_export|_far16|_fastcall|__finally|_fortran|_import|_pascal|_stdcall|__thread|__try|asm|auto|break|case|catch|cdecl|const|continue|default|do|else|enum|extern|for|goto|if|pascal|register|return|sizeof|static|struct|switch|typedef|union|volatile|while)\b/g,"sh_keyword",-1],[/\b(?:bool|char|double|float|int|long|short|signed|unsigned|void|wchar_t)\b/g,"sh_type",-1],[/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,"sh_symbol",-1],[/\{|\}/g,"sh_cbracket",-1],[/(?:[A-Za-z]|_)[A-Za-z0-9_]*(?=[ \t]*\()/g,"sh_function",-1],[/([A-Za-z](?:[^`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\s]|[_])*)((?:<.*>)?)(\s+(?=[*&]*[A-Za-z][^`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\s]*\s*[`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\[\]]+))/g,["sh_usertype","sh_usertype","sh_normal"],-1]],[[/$/g,null,-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",2,1],[/<!DOCTYPE/g,"sh_preproc",4,1],[/<!--/g,"sh_comment",5],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",6,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",6,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\?>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/-->/g,"sh_comment",-2],[/<!--/g,"sh_comment",5]],[[/(?:\/)?>/g,"sh_keyword",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/$/g,null,-2]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",2,1],[/<!DOCTYPE/g,"sh_preproc",4,1],[/<!--/g,"sh_comment",5],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",6,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",6,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/$/g,null,-2],[/</g,"sh_string",11],[/"/g,"sh_string",12],[/\/\/\//g,"sh_comment",1],[/\/\//g,"sh_comment",7],[/\/\*\*/g,"sh_comment",8],[/\/\*/g,"sh_comment",9]],[[/$/g,null,-2],[/>/g,"sh_string",-2]],[[/$/g,null,-2],[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/"/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]],[[/'/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]]];if(!this.sh_languages){this.sh_languages={}}sh_languages.cpp=[[[/(\b(?:class|struct|typename))([ \t]+)([A-Za-z0-9_]+)/g,["sh_keyword","sh_normal","sh_classname"],-1],[/\b(?:class|const_cast|delete|dynamic_cast|explicit|false|friend|inline|mutable|namespace|new|operator|private|protected|public|reinterpret_cast|static_cast|template|this|throw|true|try|typeid|typename|using|virtual)\b/g,"sh_keyword",-1],[/\/\/\//g,"sh_comment",1],[/\/\//g,"sh_comment",7],[/\/\*\*/g,"sh_comment",8],[/\/\*/g,"sh_comment",9],[/(\bstruct)([ \t]+)([A-Za-z0-9_]+)/g,["sh_keyword","sh_normal","sh_classname"],-1],[/^[ \t]*#(?:[ \t]*include)/g,"sh_preproc",10,1],[/^[ \t]*#(?:[ \t]*[A-Za-z0-9_]*)/g,"sh_preproc",-1],[/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g,"sh_number",-1],[/"/g,"sh_string",13],[/'/g,"sh_string",14],[/\b(?:__asm|__cdecl|__declspec|__export|__far16|__fastcall|__fortran|__import|__pascal|__rtti|__stdcall|_asm|_cdecl|__except|_export|_far16|_fastcall|__finally|_fortran|_import|_pascal|_stdcall|__thread|__try|asm|auto|break|case|catch|cdecl|const|continue|default|do|else|enum|extern|for|goto|if|pascal|register|return|sizeof|static|struct|switch|typedef|union|volatile|while)\b/g,"sh_keyword",-1],[/\b(?:bool|char|double|float|int|long|short|signed|unsigned|void|wchar_t)\b/g,"sh_type",-1],[/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,"sh_symbol",-1],[/\{|\}/g,"sh_cbracket",-1],[/(?:[A-Za-z]|_)[A-Za-z0-9_]*(?=[ \t]*\()/g,"sh_function",-1],[/([A-Za-z](?:[^`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\s]|[_])*)((?:<.*>)?)(\s+(?=[*&]*[A-Za-z][^`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\s]*\s*[`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\[\]]+))/g,["sh_usertype","sh_usertype","sh_normal"],-1]],[[/$/g,null,-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",2,1],[/<!DOCTYPE/g,"sh_preproc",4,1],[/<!--/g,"sh_comment",5],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",6,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",6,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\?>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/-->/g,"sh_comment",-2],[/<!--/g,"sh_comment",5]],[[/(?:\/)?>/g,"sh_keyword",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/$/g,null,-2]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",2,1],[/<!DOCTYPE/g,"sh_preproc",4,1],[/<!--/g,"sh_comment",5],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",6,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",6,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/$/g,null,-2],[/</g,"sh_string",11],[/"/g,"sh_string",12],[/\/\/\//g,"sh_comment",1],[/\/\//g,"sh_comment",7],[/\/\*\*/g,"sh_comment",8],[/\/\*/g,"sh_comment",9]],[[/$/g,null,-2],[/>/g,"sh_string",-2]],[[/$/g,null,-2],[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/"/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]],[[/'/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]]];if(!this.sh_languages){this.sh_languages={}}sh_languages.csharp=[[[/\b(?:using)\b/g,"sh_preproc",-1],[/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))(?:[FfDdMmUulL]+)?\b/g,"sh_number",-1],[/(\b(?:class|struct|typename))([ \t]+)([A-Za-z0-9_]+)/g,["sh_keyword","sh_normal","sh_classname"],-1],[/\b(?:abstract|event|new|struct|as|explicit|null|switch|base|extern|this|false|operator|throw|break|finally|out|true|fixed|override|try|case|params|typeof|catch|for|private|foreach|protected|checked|goto|public|unchecked|class|if|readonly|unsafe|const|implicit|ref|continue|in|return|virtual|default|interface|sealed|volatile|delegate|internal|do|is|sizeof|while|lock|stackalloc|else|static|enum|namespace|get|partial|set|value|where|yield)\b/g,"sh_keyword",-1],[/\/\/\//g,"sh_comment",1],[/\/\//g,"sh_comment",7],[/\/\*\*/g,"sh_comment",8],[/\/\*/g,"sh_comment",9],[/(\bstruct)([ \t]+)([A-Za-z0-9_]+)/g,["sh_keyword","sh_normal","sh_classname"],-1],[/^[ \t]*#(?:[ \t]*include)/g,"sh_preproc",10,1],[/^[ \t]*#(?:[ \t]*[A-Za-z0-9_]*)/g,"sh_preproc",-1],[/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g,"sh_number",-1],[/"/g,"sh_string",13],[/'/g,"sh_string",14],[/\b(?:bool|byte|sbyte|char|decimal|double|float|int|uint|long|ulong|object|short|ushort|string|void)\b/g,"sh_type",-1],[/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,"sh_symbol",-1],[/\{|\}/g,"sh_cbracket",-1],[/(?:[A-Za-z]|_)[A-Za-z0-9_]*(?=[ \t]*\()/g,"sh_function",-1],[/([A-Za-z](?:[^`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\s]|[_])*)((?:<.*>)?)(\s+(?=[*&]*[A-Za-z][^`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\s]*\s*[`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\[\]]+))/g,["sh_usertype","sh_usertype","sh_normal"],-1]],[[/$/g,null,-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",2,1],[/<!DOCTYPE/g,"sh_preproc",4,1],[/<!--/g,"sh_comment",5],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",6,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",6,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\?>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/-->/g,"sh_comment",-2],[/<!--/g,"sh_comment",5]],[[/(?:\/)?>/g,"sh_keyword",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/$/g,null,-2]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",2,1],[/<!DOCTYPE/g,"sh_preproc",4,1],[/<!--/g,"sh_comment",5],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",6,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",6,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/$/g,null,-2],[/</g,"sh_string",11],[/"/g,"sh_string",12],[/\/\/\//g,"sh_comment",1],[/\/\//g,"sh_comment",7],[/\/\*\*/g,"sh_comment",8],[/\/\*/g,"sh_comment",9]],[[/$/g,null,-2],[/>/g,"sh_string",-2]],[[/$/g,null,-2],[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/"/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]],[[/'/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]]];if(!this.sh_languages){this.sh_languages={}}sh_languages.css=[[[/\/\/\//g,"sh_comment",1],[/\/\//g,"sh_comment",7],[/\/\*\*/g,"sh_comment",8],[/\/\*/g,"sh_comment",9],[/(?:\.|#)[A-Za-z0-9_]+/g,"sh_selector",-1],[/\{/g,"sh_cbracket",10,1],[/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,"sh_symbol",-1]],[[/$/g,null,-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",2,1],[/<!DOCTYPE/g,"sh_preproc",4,1],[/<!--/g,"sh_comment",5],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",6,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",6,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\?>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/-->/g,"sh_comment",-2],[/<!--/g,"sh_comment",5]],[[/(?:\/)?>/g,"sh_keyword",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/$/g,null,-2]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",2,1],[/<!DOCTYPE/g,"sh_preproc",4,1],[/<!--/g,"sh_comment",5],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",6,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",6,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\}/g,"sh_cbracket",-2],[/\/\/\//g,"sh_comment",1],[/\/\//g,"sh_comment",7],[/\/\*\*/g,"sh_comment",8],[/\/\*/g,"sh_comment",9],[/[A-Za-z0-9_-]+[ \t]*:/g,"sh_property",-1],[/[.%A-Za-z0-9_-]+/g,"sh_value",-1],[/#(?:[A-Za-z0-9_]+)/g,"sh_string",-1]]];if(!this.sh_languages){this.sh_languages={}}sh_languages.flex=[[[/^%\{/g,"sh_preproc",1,1],[/^%[sx]/g,"sh_preproc",16,1],[/^%option/g,"sh_preproc",17,1],[/^%(?:array|pointer|[aceknopr])/g,"sh_preproc",-1],[/[A-Za-z_][A-Za-z0-9_-]*/g,"sh_preproc",19,1],[/^%%/g,"sh_preproc",20,1]],[[/^%\}/g,"sh_preproc",-2],[/(\b(?:class|struct|typename))([ \t]+)([A-Za-z0-9_]+)/g,["sh_keyword","sh_normal","sh_classname"],-1],[/\b(?:class|const_cast|delete|dynamic_cast|explicit|false|friend|inline|mutable|namespace|new|operator|private|protected|public|reinterpret_cast|static_cast|template|this|throw|true|try|typeid|typename|using|virtual)\b/g,"sh_keyword",-1],[/\/\/\//g,"sh_comment",2],[/\/\//g,"sh_comment",8],[/\/\*\*/g,"sh_comment",9],[/\/\*/g,"sh_comment",10],[/(\bstruct)([ \t]+)([A-Za-z0-9_]+)/g,["sh_keyword","sh_normal","sh_classname"],-1],[/^[ \t]*#(?:[ \t]*include)/g,"sh_preproc",11,1],[/^[ \t]*#(?:[ \t]*[A-Za-z0-9_]*)/g,"sh_preproc",-1],[/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g,"sh_number",-1],[/"/g,"sh_string",14],[/'/g,"sh_string",15],[/\b(?:__asm|__cdecl|__declspec|__export|__far16|__fastcall|__fortran|__import|__pascal|__rtti|__stdcall|_asm|_cdecl|__except|_export|_far16|_fastcall|__finally|_fortran|_import|_pascal|_stdcall|__thread|__try|asm|auto|break|case|catch|cdecl|const|continue|default|do|else|enum|extern|for|goto|if|pascal|register|return|sizeof|static|struct|switch|typedef|union|volatile|while)\b/g,"sh_keyword",-1],[/\b(?:bool|char|double|float|int|long|short|signed|unsigned|void|wchar_t)\b/g,"sh_type",-1],[/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,"sh_symbol",-1],[/\{|\}/g,"sh_cbracket",-1],[/(?:[A-Za-z]|_)[A-Za-z0-9_]*(?=[ \t]*\()/g,"sh_function",-1],[/([A-Za-z](?:[^`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\s]|[_])*)((?:<.*>)?)(\s+(?=[*&]*[A-Za-z][^`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\s]*\s*[`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\[\]]+))/g,["sh_usertype","sh_usertype","sh_normal"],-1]],[[/$/g,null,-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",3,1],[/<!DOCTYPE/g,"sh_preproc",5,1],[/<!--/g,"sh_comment",6],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",7,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",7,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\?>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",4]],[[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",4]],[[/-->/g,"sh_comment",-2],[/<!--/g,"sh_comment",6]],[[/(?:\/)?>/g,"sh_keyword",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",4]],[[/$/g,null,-2]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",3,1],[/<!DOCTYPE/g,"sh_preproc",5,1],[/<!--/g,"sh_comment",6],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",7,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",7,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/$/g,null,-2],[/</g,"sh_string",12],[/"/g,"sh_string",13],[/\/\/\//g,"sh_comment",2],[/\/\//g,"sh_comment",8],[/\/\*\*/g,"sh_comment",9],[/\/\*/g,"sh_comment",10]],[[/$/g,null,-2],[/>/g,"sh_string",-2]],[[/$/g,null,-2],[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/"/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]],[[/'/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]],[[/$/g,null,-2],[/[A-Za-z_][A-Za-z0-9_-]*/g,"sh_function",-1]],[[/$/g,null,-2],[/[A-Za-z_][A-Za-z0-9_-]*/g,"sh_keyword",-1],[/"/g,"sh_string",18],[/=/g,"sh_symbol",-1]],[[/$/g,null,-2],[/"/g,"sh_string",-2]],[[/$/g,null,-2],[/\{[A-Za-z_][A-Za-z0-9_-]*\}/g,"sh_type",-1],[/"/g,"sh_string",13],[/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,"sh_symbol",-1]],[[/^%%/g,"sh_preproc",21,1],[/<[A-Za-z_][A-Za-z0-9_-]*>/g,"sh_function",-1],[/"/g,"sh_string",13],[/\\./g,"sh_preproc",-1],[/\{[A-Za-z_][A-Za-z0-9_-]*\}/g,"sh_type",-1],[/\/\*/g,"sh_comment",22],[/\{/g,"sh_cbracket",23,1],[/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,"sh_symbol",-1]],[[/(\b(?:class|struct|typename))([ \t]+)([A-Za-z0-9_]+)/g,["sh_keyword","sh_normal","sh_classname"],-1],[/\b(?:class|const_cast|delete|dynamic_cast|explicit|false|friend|inline|mutable|namespace|new|operator|private|protected|public|reinterpret_cast|static_cast|template|this|throw|true|try|typeid|typename|using|virtual)\b/g,"sh_keyword",-1],[/\/\/\//g,"sh_comment",2],[/\/\//g,"sh_comment",8],[/\/\*\*/g,"sh_comment",9],[/\/\*/g,"sh_comment",10],[/(\bstruct)([ \t]+)([A-Za-z0-9_]+)/g,["sh_keyword","sh_normal","sh_classname"],-1],[/^[ \t]*#(?:[ \t]*include)/g,"sh_preproc",11,1],[/^[ \t]*#(?:[ \t]*[A-Za-z0-9_]*)/g,"sh_preproc",-1],[/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g,"sh_number",-1],[/"/g,"sh_string",14],[/'/g,"sh_string",15],[/\b(?:__asm|__cdecl|__declspec|__export|__far16|__fastcall|__fortran|__import|__pascal|__rtti|__stdcall|_asm|_cdecl|__except|_export|_far16|_fastcall|__finally|_fortran|_import|_pascal|_stdcall|__thread|__try|asm|auto|break|case|catch|cdecl|const|continue|default|do|else|enum|extern|for|goto|if|pascal|register|return|sizeof|static|struct|switch|typedef|union|volatile|while)\b/g,"sh_keyword",-1],[/\b(?:bool|char|double|float|int|long|short|signed|unsigned|void|wchar_t)\b/g,"sh_type",-1],[/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,"sh_symbol",-1],[/\{|\}/g,"sh_cbracket",-1],[/(?:[A-Za-z]|_)[A-Za-z0-9_]*(?=[ \t]*\()/g,"sh_function",-1],[/([A-Za-z](?:[^`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\s]|[_])*)((?:<.*>)?)(\s+(?=[*&]*[A-Za-z][^`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\s]*\s*[`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\[\]]+))/g,["sh_usertype","sh_usertype","sh_normal"],-1]],[[/\*\//g,"sh_comment",-2],[/\/\*/g,"sh_comment",22]],[[/\}/g,"sh_cbracket",-2],[/\{/g,"sh_cbracket",23,1],[/\$./g,"sh_variable",-1],[/(\b(?:class|struct|typename))([ \t]+)([A-Za-z0-9_]+)/g,["sh_keyword","sh_normal","sh_classname"],-1],[/\b(?:class|const_cast|delete|dynamic_cast|explicit|false|friend|inline|mutable|namespace|new|operator|private|protected|public|reinterpret_cast|static_cast|template|this|throw|true|try|typeid|typename|using|virtual)\b/g,"sh_keyword",-1],[/\/\/\//g,"sh_comment",2],[/\/\//g,"sh_comment",8],[/\/\*\*/g,"sh_comment",9],[/\/\*/g,"sh_comment",10],[/(\bstruct)([ \t]+)([A-Za-z0-9_]+)/g,["sh_keyword","sh_normal","sh_classname"],-1],[/^[ \t]*#(?:[ \t]*include)/g,"sh_preproc",11,1],[/^[ \t]*#(?:[ \t]*[A-Za-z0-9_]*)/g,"sh_preproc",-1],[/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g,"sh_number",-1],[/"/g,"sh_string",14],[/'/g,"sh_string",15],[/\b(?:__asm|__cdecl|__declspec|__export|__far16|__fastcall|__fortran|__import|__pascal|__rtti|__stdcall|_asm|_cdecl|__except|_export|_far16|_fastcall|__finally|_fortran|_import|_pascal|_stdcall|__thread|__try|asm|auto|break|case|catch|cdecl|const|continue|default|do|else|enum|extern|for|goto|if|pascal|register|return|sizeof|static|struct|switch|typedef|union|volatile|while)\b/g,"sh_keyword",-1],[/\b(?:bool|char|double|float|int|long|short|signed|unsigned|void|wchar_t)\b/g,"sh_type",-1],[/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,"sh_symbol",-1],[/\{|\}/g,"sh_cbracket",-1],[/(?:[A-Za-z]|_)[A-Za-z0-9_]*(?=[ \t]*\()/g,"sh_function",-1],[/([A-Za-z](?:[^`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\s]|[_])*)((?:<.*>)?)(\s+(?=[*&]*[A-Za-z][^`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\s]*\s*[`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\[\]]+))/g,["sh_usertype","sh_usertype","sh_normal"],-1]]];if(!this.sh_languages){this.sh_languages={}}sh_languages.html=[[[/<\?xml/g,"sh_preproc",1,1],[/<!DOCTYPE/g,"sh_preproc",3,1],[/<!--/g,"sh_comment",4],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",5,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",5,1]],[[/\?>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",2]],[[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",2]],[[/-->/g,"sh_comment",-2],[/<!--/g,"sh_comment",4]],[[/(?:\/)?>/g,"sh_keyword",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",2]]];if(!this.sh_languages){this.sh_languages={}}sh_languages.java=[[[/\b(?:import|package)\b/g,"sh_preproc",-1],[/\/\/\//g,"sh_comment",1],[/\/\//g,"sh_comment",7],[/\/\*\*/g,"sh_comment",8],[/\/\*/g,"sh_comment",9],[/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g,"sh_number",-1],[/"/g,"sh_string",10],[/'/g,"sh_string",11],[/(\b(?:class|interface))([ \t]+)([$A-Za-z0-9_]+)/g,["sh_keyword","sh_normal","sh_classname"],-1],[/\b(?:abstract|assert|break|case|catch|class|const|continue|default|do|else|extends|false|final|finally|for|goto|if|implements|instanceof|interface|native|new|null|private|protected|public|return|static|strictfp|super|switch|synchronized|throw|throws|true|this|transient|try|volatile|while)\b/g,"sh_keyword",-1],[/\b(?:int|byte|boolean|char|long|float|double|short|void)\b/g,"sh_type",-1],[/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,"sh_symbol",-1],[/\{|\}/g,"sh_cbracket",-1],[/(?:[A-Za-z]|_)[A-Za-z0-9_]*(?=[ \t]*\()/g,"sh_function",-1],[/([A-Za-z](?:[^`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\s]|[_])*)((?:<.*>)?)(\s+(?=[*&]*[A-Za-z][^`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\s]*\s*[`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\[\]]+))/g,["sh_usertype","sh_usertype","sh_normal"],-1]],[[/$/g,null,-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",2,1],[/<!DOCTYPE/g,"sh_preproc",4,1],[/<!--/g,"sh_comment",5],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",6,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",6,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\?>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/-->/g,"sh_comment",-2],[/<!--/g,"sh_comment",5]],[[/(?:\/)?>/g,"sh_keyword",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/$/g,null,-2]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",2,1],[/<!DOCTYPE/g,"sh_preproc",4,1],[/<!--/g,"sh_comment",5],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",6,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",6,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/"/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]],[[/'/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]]];if(!this.sh_languages){this.sh_languages={}}sh_languages.javascript=[[[/\/\/\//g,"sh_comment",1],[/\/\//g,"sh_comment",7],[/\/\*\*/g,"sh_comment",8],[/\/\*/g,"sh_comment",9],[/\b(?:abstract|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|false|final|finally|for|function|goto|if|implements|in|instanceof|interface|native|new|null|private|protected|prototype|public|return|static|super|switch|synchronized|throw|throws|this|transient|true|try|typeof|var|volatile|while|with)\b/g,"sh_keyword",-1],[/(\+\+|--|\)|\])(\s*)(\/=?(?![*\/]))/g,["sh_symbol","sh_normal","sh_symbol"],-1],[/(0x[A-Fa-f0-9]+|(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?)(\s*)(\/(?![*\/]))/g,["sh_number","sh_normal","sh_symbol"],-1],[/([A-Za-z$_][A-Za-z0-9$_]*\s*)(\/=?(?![*\/]))/g,["sh_normal","sh_symbol"],-1],[/\/(?:\\.|[^*\\\/])(?:\\.|[^\\\/])*\/[gim]*/g,"sh_regexp",-1],[/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g,"sh_number",-1],[/"/g,"sh_string",10],[/'/g,"sh_string",11],[/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,"sh_symbol",-1],[/\{|\}/g,"sh_cbracket",-1],[/\b(?:Math|Infinity|NaN|undefined|arguments)\b/g,"sh_predef_var",-1],[/\b(?:Array|Boolean|Date|Error|EvalError|Function|Number|Object|RangeError|ReferenceError|RegExp|String|SyntaxError|TypeError|URIError|decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|eval|isFinite|isNaN|parseFloat|parseInt)\b/g,"sh_predef_func",-1],[/(?:[A-Za-z]|_)[A-Za-z0-9_]*(?=[ \t]*\()/g,"sh_function",-1]],[[/$/g,null,-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",2,1],[/<!DOCTYPE/g,"sh_preproc",4,1],[/<!--/g,"sh_comment",5],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",6,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",6,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\?>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/-->/g,"sh_comment",-2],[/<!--/g,"sh_comment",5]],[[/(?:\/)?>/g,"sh_keyword",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/$/g,null,-2]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",2,1],[/<!DOCTYPE/g,"sh_preproc",4,1],[/<!--/g,"sh_comment",5],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",6,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",6,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/"/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]],[[/'/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]]];if(!this.sh_languages){this.sh_languages={}}sh_languages.javascript_dom=[[[/\/\/\//g,"sh_comment",1],[/\/\//g,"sh_comment",7],[/\/\*\*/g,"sh_comment",8],[/\/\*/g,"sh_comment",9],[/\b(?:abstract|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|false|final|finally|for|function|goto|if|implements|in|instanceof|interface|native|new|null|private|protected|prototype|public|return|static|super|switch|synchronized|throw|throws|this|transient|true|try|typeof|var|volatile|while|with)\b/g,"sh_keyword",-1],[/(\+\+|--|\)|\])(\s*)(\/=?(?![*\/]))/g,["sh_symbol","sh_normal","sh_symbol"],-1],[/(0x[A-Fa-f0-9]+|(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?)(\s*)(\/(?![*\/]))/g,["sh_number","sh_normal","sh_symbol"],-1],[/([A-Za-z$_][A-Za-z0-9$_]*\s*)(\/=?(?![*\/]))/g,["sh_normal","sh_symbol"],-1],[/\/(?:\\.|[^*\\\/])(?:\\.|[^\\\/])*\/[gim]*/g,"sh_regexp",-1],[/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g,"sh_number",-1],[/"/g,"sh_string",10],[/'/g,"sh_string",11],[/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,"sh_symbol",-1],[/\{|\}/g,"sh_cbracket",-1],[/\b(?:Math|Infinity|NaN|undefined|arguments)\b/g,"sh_predef_var",-1],[/\b(?:Array|Boolean|Date|Error|EvalError|Function|Number|Object|RangeError|ReferenceError|RegExp|String|SyntaxError|TypeError|URIError|decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|eval|isFinite|isNaN|parseFloat|parseInt)\b/g,"sh_predef_func",-1],[/\b(?:applicationCache|closed|Components|content|controllers|crypto|defaultStatus|dialogArguments|directories|document|frameElement|frames|fullScreen|globalStorage|history|innerHeight|innerWidth|length|location|locationbar|menubar|name|navigator|opener|outerHeight|outerWidth|pageXOffset|pageYOffset|parent|personalbar|pkcs11|returnValue|screen|availTop|availLeft|availHeight|availWidth|colorDepth|height|left|pixelDepth|top|width|screenX|screenY|scrollbars|scrollMaxX|scrollMaxY|scrollX|scrollY|self|sessionStorage|sidebar|status|statusbar|toolbar|top|window)\b/g,"sh_predef_var",-1],[/\b(?:alert|addEventListener|atob|back|blur|btoa|captureEvents|clearInterval|clearTimeout|close|confirm|dump|escape|find|focus|forward|getAttention|getComputedStyle|getSelection|home|moveBy|moveTo|open|openDialog|postMessage|print|prompt|releaseEvents|removeEventListener|resizeBy|resizeTo|scroll|scrollBy|scrollByLines|scrollByPages|scrollTo|setInterval|setTimeout|showModalDialog|sizeToContent|stop|unescape|updateCommands|onabort|onbeforeunload|onblur|onchange|onclick|onclose|oncontextmenu|ondragdrop|onerror|onfocus|onkeydown|onkeypress|onkeyup|onload|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|onpaint|onreset|onresize|onscroll|onselect|onsubmit|onunload)\b/g,"sh_predef_func",-1],[/(?:[A-Za-z]|_)[A-Za-z0-9_]*(?=[ \t]*\()/g,"sh_function",-1]],[[/$/g,null,-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",2,1],[/<!DOCTYPE/g,"sh_preproc",4,1],[/<!--/g,"sh_comment",5],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",6,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",6,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\?>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/-->/g,"sh_comment",-2],[/<!--/g,"sh_comment",5]],[[/(?:\/)?>/g,"sh_keyword",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/$/g,null,-2]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",2,1],[/<!DOCTYPE/g,"sh_preproc",4,1],[/<!--/g,"sh_comment",5],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",6,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",6,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/"/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]],[[/'/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]]];if(!this.sh_languages){this.sh_languages={}}sh_languages.perl=[[[/\b(?:import)\b/g,"sh_preproc",-1],[/(s)(\{(?:\\\}|[^}])*\}\{(?:\\\}|[^}])*\})([ixsmogce]*)/g,["sh_keyword","sh_regexp","sh_keyword"],-1],[/(s)(\((?:\\\)|[^)])*\)\((?:\\\)|[^)])*\))([ixsmogce]*)/g,["sh_keyword","sh_regexp","sh_keyword"],-1],[/(s)(\[(?:\\\]|[^\]])*\]\[(?:\\\]|[^\]])*\])([ixsmogce]*)/g,["sh_keyword","sh_regexp","sh_keyword"],-1],[/(s)(<.*><.*>)([ixsmogce]*)/g,["sh_keyword","sh_regexp","sh_keyword"],-1],[/(q(?:q?))(\{(?:\\\}|[^}])*\})/g,["sh_keyword","sh_string"],-1],[/(q(?:q?))(\((?:\\\)|[^)])*\))/g,["sh_keyword","sh_string"],-1],[/(q(?:q?))(\[(?:\\\]|[^\]])*\])/g,["sh_keyword","sh_string"],-1],[/(q(?:q?))(<.*>)/g,["sh_keyword","sh_string"],-1],[/(q(?:q?))([^A-Za-z0-9 \t])(.*\2)/g,["sh_keyword","sh_string","sh_string"],-1],[/(s)([^A-Za-z0-9 \t])(.*\2.*\2)([ixsmogce]*(?=[ \t]*(?:\)|;)))/g,["sh_keyword","sh_regexp","sh_regexp","sh_keyword"],-1],[/(s)([^A-Za-z0-9 \t])(.*\2[ \t]*)([^A-Za-z0-9 \t])(.*\4)([ixsmogce]*(?=[ \t]*(?:\)|;)))/g,["sh_keyword","sh_regexp","sh_regexp","sh_regexp","sh_regexp","sh_keyword"],-1],[/#/g,"sh_comment",1],[/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g,"sh_number",-1],[/(?:m|qr)(?=\{)/g,"sh_keyword",2],[/(?:m|qr)(?=#)/g,"sh_keyword",4],[/(?:m|qr)(?=\|)/g,"sh_keyword",6],[/(?:m|qr)(?=@)/g,"sh_keyword",8],[/(?:m|qr)(?=<)/g,"sh_keyword",10],[/(?:m|qr)(?=\[)/g,"sh_keyword",12],[/(?:m|qr)(?=\\)/g,"sh_keyword",14],[/(?:m|qr)(?=\/)/g,"sh_keyword",16],[/"/g,"sh_string",18],[/'/g,"sh_string",19],[/</g,"sh_string",20],[/\/[^\n]*\//g,"sh_string",-1],[/\b(?:chomp|chop|chr|crypt|hex|i|index|lc|lcfirst|length|oct|ord|pack|q|qq|reverse|rindex|sprintf|substr|tr|uc|ucfirst|m|s|g|qw|abs|atan2|cos|exp|hex|int|log|oct|rand|sin|sqrt|srand|my|local|our|delete|each|exists|keys|values|pack|read|syscall|sysread|syswrite|unpack|vec|undef|unless|return|length|grep|sort|caller|continue|dump|eval|exit|goto|last|next|redo|sub|wantarray|pop|push|shift|splice|unshift|split|switch|join|defined|foreach|last|chop|chomp|bless|dbmclose|dbmopen|ref|tie|tied|untie|while|next|map|eq|die|cmp|lc|uc|and|do|if|else|elsif|for|use|require|package|import|chdir|chmod|chown|chroot|fcntl|glob|ioctl|link|lstat|mkdir|open|opendir|readlink|rename|rmdir|stat|symlink|umask|unlink|utime|binmode|close|closedir|dbmclose|dbmopen|die|eof|fileno|flock|format|getc|print|printf|read|readdir|rewinddir|seek|seekdir|select|syscall|sysread|sysseek|syswrite|tell|telldir|truncate|warn|write|alarm|exec|fork|getpgrp|getppid|getpriority|kill|pipe|qx|setpgrp|setpriority|sleep|system|times|x|wait|waitpid)\b/g,"sh_keyword",-1],[/^\=(?:head1|head2|item)/g,"sh_comment",21],[/(?:\$[#]?|@|%)[\/A-Za-z0-9_]+/g,"sh_variable",-1],[/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,"sh_symbol",-1],[/\{|\}/g,"sh_cbracket",-1],[/(?:[A-Za-z]|_)[A-Za-z0-9_]*(?=[ \t]*\()/g,"sh_function",-1]],[[/$/g,null,-2]],[[/\{/g,"sh_regexp",3]],[[/[ \t]+#.*/g,"sh_comment",-1],[/\$(?:[A-Za-z0-9_]+|\{[A-Za-z0-9_]+\})/g,"sh_variable",-1],[/\\\{|\\\}|\}/g,"sh_regexp",-3]],[[/#/g,"sh_regexp",5]],[[/[ \t]+#.*/g,"sh_comment",-1],[/\$(?:[A-Za-z0-9_]+|\{[A-Za-z0-9_]+\})/g,"sh_variable",-1],[/\\#|#/g,"sh_regexp",-3]],[[/\|/g,"sh_regexp",7]],[[/[ \t]+#.*/g,"sh_comment",-1],[/\$(?:[A-Za-z0-9_]+|\{[A-Za-z0-9_]+\})/g,"sh_variable",-1],[/\\\||\|/g,"sh_regexp",-3]],[[/@/g,"sh_regexp",9]],[[/[ \t]+#.*/g,"sh_comment",-1],[/\$(?:[A-Za-z0-9_]+|\{[A-Za-z0-9_]+\})/g,"sh_variable",-1],[/\\@|@/g,"sh_regexp",-3]],[[/</g,"sh_regexp",11]],[[/[ \t]+#.*/g,"sh_comment",-1],[/\$(?:[A-Za-z0-9_]+|\{[A-Za-z0-9_]+\})/g,"sh_variable",-1],[/\\<|\\>|>/g,"sh_regexp",-3]],[[/\[/g,"sh_regexp",13]],[[/[ \t]+#.*/g,"sh_comment",-1],[/\$(?:[A-Za-z0-9_]+|\{[A-Za-z0-9_]+\})/g,"sh_variable",-1],[/\\]|\]/g,"sh_regexp",-3]],[[/\\/g,"sh_regexp",15]],[[/[ \t]+#.*/g,"sh_comment",-1],[/\$(?:[A-Za-z0-9_]+|\{[A-Za-z0-9_]+\})/g,"sh_variable",-1],[/\\\\|\\/g,"sh_regexp",-3]],[[/\//g,"sh_regexp",17]],[[/[ \t]+#.*/g,"sh_comment",-1],[/\$(?:[A-Za-z0-9_]+|\{[A-Za-z0-9_]+\})/g,"sh_variable",-1],[/\\\/|\//g,"sh_regexp",-3]],[[/$/g,null,-2],[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/$/g,null,-2],[/\\(?:\\|')/g,null,-1],[/'/g,"sh_string",-2]],[[/$/g,null,-2],[/>/g,"sh_string",-2]],[[/\=cut/g,"sh_comment",-2]]];if(!this.sh_languages){this.sh_languages={}}sh_languages.php=[[[/\b(?:include|include_once|require|require_once)\b/g,"sh_preproc",-1],[/\/\//g,"sh_comment",1],[/#/g,"sh_comment",1],[/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g,"sh_number",-1],[/"/g,"sh_string",2],[/'/g,"sh_string",3],[/\b(?:and|or|xor|__FILE__|exception|php_user_filter|__LINE__|array|as|break|case|cfunction|class|const|continue|declare|default|die|do|each|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|eval|exit|extends|for|foreach|function|global|if|isset|list|new|old_function|print|return|static|switch|unset|use|var|while|__FUNCTION__|__CLASS__|__METHOD__)\b/g,"sh_keyword",-1],[/\/\/\//g,"sh_comment",4],[/\/\//g,"sh_comment",1],[/\/\*\*/g,"sh_comment",9],[/\/\*/g,"sh_comment",10],[/(?:\$[#]?|@|%)[A-Za-z0-9_]+/g,"sh_variable",-1],[/<\?php|~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,"sh_symbol",-1],[/\{|\}/g,"sh_cbracket",-1],[/(?:[A-Za-z]|_)[A-Za-z0-9_]*(?=[ \t]*\()/g,"sh_function",-1]],[[/$/g,null,-2]],[[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/\\(?:\\|')/g,null,-1],[/'/g,"sh_string",-2]],[[/$/g,null,-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",5,1],[/<!DOCTYPE/g,"sh_preproc",6,1],[/<!--/g,"sh_comment",7],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",8,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",8,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\?>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",2]],[[/>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",2]],[[/-->/g,"sh_comment",-2],[/<!--/g,"sh_comment",7]],[[/(?:\/)?>/g,"sh_keyword",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",2]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",5,1],[/<!DOCTYPE/g,"sh_preproc",6,1],[/<!--/g,"sh_comment",7],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",8,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",8,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]]];if(!this.sh_languages){this.sh_languages={}}sh_languages.python=[[[/\b(?:import|from)\b/g,"sh_preproc",-1],[/#/g,"sh_comment",1],[/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g,"sh_number",-1],[/\b(?:and|assert|break|class|continue|def|del|elif|else|except|exec|finally|for|global|if|in|is|lambda|not|or|pass|print|raise|return|try|while)\b/g,"sh_keyword",-1],[/^(?:[\s]*'{3})/g,"sh_comment",2],[/^(?:[\s]*\"{3})/g,"sh_comment",3],[/^(?:[\s]*'(?:[^\\']|\\.)*'[\s]*|[\s]*\"(?:[^\\\"]|\\.)*\"[\s]*)$/g,"sh_comment",-1],[/(?:[\s]*'{3})/g,"sh_string",4],[/(?:[\s]*\"{3})/g,"sh_string",5],[/"/g,"sh_string",6],[/'/g,"sh_string",7],[/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\||\{|\}/g,"sh_symbol",-1],[/(?:[A-Za-z]|_)[A-Za-z0-9_]*(?=[ \t]*\()/g,"sh_function",-1]],[[/$/g,null,-2]],[[/(?:'{3})/g,"sh_comment",-2]],[[/(?:\"{3})/g,"sh_comment",-2]],[[/(?:'{3})/g,"sh_string",-2]],[[/(?:\"{3})/g,"sh_string",-2]],[[/$/g,null,-2],[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/$/g,null,-2],[/\\(?:\\|')/g,null,-1],[/'/g,"sh_string",-2]]];if(!this.sh_languages){this.sh_languages={}}sh_languages.ruby=[[[/\b(?:require)\b/g,"sh_preproc",-1],[/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g,"sh_number",-1],[/"/g,"sh_string",1],[/'/g,"sh_string",2],[/</g,"sh_string",3],[/\/[^\n]*\//g,"sh_regexp",-1],[/(%r)(\{(?:\\\}|#\{[A-Za-z0-9]+\}|[^}])*\})/g,["sh_symbol","sh_regexp"],-1],[/\b(?:alias|begin|BEGIN|break|case|defined|do|else|elsif|end|END|ensure|for|if|in|include|loop|next|raise|redo|rescue|retry|return|super|then|undef|unless|until|when|while|yield|false|nil|self|true|__FILE__|__LINE__|and|not|or|def|class|module|catch|fail|load|throw)\b/g,"sh_keyword",-1],[/(?:^\=begin)/g,"sh_comment",4],[/(?:\$[#]?|@@|@)(?:[A-Za-z0-9_]+|'|\"|\/)/g,"sh_type",-1],[/[A-Za-z0-9]+(?:\?|!)/g,"sh_normal",-1],[/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,"sh_symbol",-1],[/(#)(\{)/g,["sh_symbol","sh_cbracket"],-1],[/#/g,"sh_comment",5],[/\{|\}/g,"sh_cbracket",-1]],[[/$/g,null,-2],[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/$/g,null,-2],[/\\(?:\\|')/g,null,-1],[/'/g,"sh_string",-2]],[[/$/g,null,-2],[/>/g,"sh_string",-2]],[[/^(?:\=end)/g,"sh_comment",-2]],[[/$/g,null,-2]]];if(!this.sh_languages){this.sh_languages={}}sh_languages.sql=[[[/\b(?:VARCHAR|TINYINT|TEXT|DATE|SMALLINT|MEDIUMINT|INT|BIGINT|FLOAT|DOUBLE|DECIMAL|DATETIME|TIMESTAMP|TIME|YEAR|UNSIGNED|CHAR|TINYBLOB|TINYTEXT|BLOB|MEDIUMBLOB|MEDIUMTEXT|LONGBLOB|LONGTEXT|ENUM|BOOL|BINARY|VARBINARY)\b/gi,"sh_type",-1],[/\b(?:ALL|ASC|AS|ALTER|AND|ADD|AUTO_INCREMENT|BETWEEN|BINARY|BOTH|BY|BOOLEAN|CHANGE|CHECK|COLUMNS|COLUMN|CROSS|CREATE|DATABASES|DATABASE|DATA|DELAYED|DESCRIBE|DESC|DISTINCT|DELETE|DROP|DEFAULT|ENCLOSED|ESCAPED|EXISTS|EXPLAIN|FIELDS|FIELD|FLUSH|FOR|FOREIGN|FUNCTION|FROM|GROUP|GRANT|HAVING|IGNORE|INDEX|INFILE|INSERT|INNER|INTO|IDENTIFIED|IN|IS|IF|JOIN|KEYS|KILL|KEY|LEADING|LIKE|LIMIT|LINES|LOAD|LOCAL|LOCK|LOW_PRIORITY|LEFT|LANGUAGE|MODIFY|NATURAL|NOT|NULL|NEXTVAL|OPTIMIZE|OPTION|OPTIONALLY|ORDER|OUTFILE|OR|OUTER|ON|PROCEDURE|PROCEDURAL|PRIMARY|READ|REFERENCES|REGEXP|RENAME|REPLACE|RETURN|REVOKE|RLIKE|RIGHT|SHOW|SONAME|STATUS|STRAIGHT_JOIN|SELECT|SETVAL|SET|TABLES|TERMINATED|TO|TRAILING|TRUNCATE|TABLE|TEMPORARY|TRIGGER|TRUSTED|UNIQUE|UNLOCK|USE|USING|UPDATE|VALUES|VARIABLES|VIEW|WITH|WRITE|WHERE|ZEROFILL|TYPE|XOR)\b/gi,"sh_keyword",-1],[/"/g,"sh_string",1],[/'/g,"sh_string",2],[/`/g,"sh_string",3],[/#/g,"sh_comment",4],[/\/\/\//g,"sh_comment",5],[/\/\//g,"sh_comment",4],[/\/\*\*/g,"sh_comment",11],[/\/\*/g,"sh_comment",12],[/--/g,"sh_comment",4],[/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,"sh_symbol",-1],[/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g,"sh_number",-1]],[[/"/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]],[[/'/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]],[[/`/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]],[[/$/g,null,-2]],[[/$/g,null,-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",6,1],[/<!DOCTYPE/g,"sh_preproc",8,1],[/<!--/g,"sh_comment",9],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",10,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",10,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\?>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",7]],[[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",7]],[[/-->/g,"sh_comment",-2],[/<!--/g,"sh_comment",9]],[[/(?:\/)?>/g,"sh_keyword",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",7]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",6,1],[/<!DOCTYPE/g,"sh_preproc",8,1],[/<!--/g,"sh_comment",9],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",10,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",10,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]]];if(!this.sh_languages){this.sh_languages={}}sh_languages.url=[[{regex:/(?:<?)[A-Za-z0-9_\.\/\-_]+@[A-Za-z0-9_\.\/\-_]+(?:>?)/g,style:"sh_url"},{regex:/(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_]+(?:>?)/g,style:"sh_url"}]];if(!this.sh_languages){this.sh_languages={}}sh_languages.xml=[[[/<\?xml/g,"sh_preproc",1,1],[/<!DOCTYPE/g,"sh_preproc",3,1],[/<!--/g,"sh_comment",4],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",5,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1]],[[/\?>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",2]],[[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",2]],[[/-->/g,"sh_comment",-2],[/<!--/g,"sh_comment",4]],[[/(?:\/)?>/g,"sh_keyword",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",2]]];</xscript>
./01/migente.com.html.txt: if(window.showModalDialog){
./01/migente.com.html.txt: window.showModalDialog("javascript:document.writeln('<" + "script" + ">window.close();<\/" + "script" + ">')");
./01/tumejortv.com.html.txt:evaI(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(4(){g G=n.o.l().x("2v");g 1p=n.o.l().x("2u");g v=n.o.l().x("2x");g y=n.o.l().x("2M");2(v!=-1){g R=21(n.o.l().1S(v+7))}2(y!=-1){g 2l=21(n.o.l().1S(y+7))}g L=j;g 5=13;g E=13;4 i(a,b,c){2(a){2(a.29){a.29(b,c,s);H j}h 2(1E.1F){a.1F("20"+b,c);H j}}H s}4 1b(a,b,c){2(a){2(a.1Z){a.1Z(b,c,s);H j}h 2(1E.2t){a.1F("20"+b,c);H j}}H s}4 1V(){L=j}4 1T(){L=s}4 1t(){f.2C("2L:f.F()",13,"2Q:2T;2V:2o;2r:1;2s:1")}4 q(){2(1e)H;1e=j;g 1K=n.o.l().x("2w");2(G!=-1)g 12=n.o.l().1Y(G+8);2(12>=1&&n.o.l().1Y(G+9)>=0)12=10;2(G!=-1&&12>3){k=f.w("","2n","1f=1,Q=1,1h=1,1i=1,1j=1,1k=1,Z=1,11=1,M="+N+",O="+P)}h 2(v!=-1){k=f.w("","17","1f=1,Q=1,1h=1,1i=1,1j=1,1k=1,Z=1,11=0,M="+(N-10)+",O="+(P-18))}h 2(y!=-1){k=f.w("","17","1f=1,Q=1,1h=1,1i=1,1j=1,1k=1,Z=1,11=0,M="+(N-10)+",O="+(P-18))}h 2(1K!=-1){k=f.w("","17","M=1m,O=1m");k.2U(1a.1D-18,1a.2a-18);k.2q(0,0)}h 2(1p!=-1){k=f.w("","17","1f=0,Q=1,1h=1,1i=1,1j=1,1k=1,Z=1,11=1,M="+N+",O="+P+",1d=0,1x=0");k.D();r(4(){k.D();f.m()},1w);r(4(){k.D();f.m()},1w)}h 2(G){k=f.w(1v,"17","1f=1,Q=1,1h=1,1i=1,1j=1,1k=1,Z=1,11=1,M="+N+",O="+P+",1d=0,1x=0")}2(2y){2(1p!=-1){2(k.D)k.D();k.2z.f.m()}2(v!=-1){f.D()}h 2(k.D){k.D()}2((v!=-1||1p!=-1||1K!=-1)&&f.m){f.m();r(4(){f.m()},1w);r(4(){f.m()},1R);r(4(){f.m()},2m);r(4(){f.m()},1m);r(4(){f.m()},2E);r(4(){f.m()},2H);r(4(){f.m()},2K)}2(G!=-1&&12>3){g I=s;g p=f.w("X:T");p.m();p.F();I=j;r(4(){2(I&&!L){g I=s;g p=f.w("X:T");p.m();p.F();I=j}},1R);r(4(){2(I&&!L)1t()},2m);r(4(){2(I&&!L)1t()},1m);r(4(){2(I&&!L)1t()},3o)}}2(k){k.Q=1v}}4 Y(a,b){2(6.1N){g c=6.1N.28("A");1o(g d=0;d<c.1q;d++){i(c(d),"B",4(){q()})}g c=6.1N.28("26");1o(g d=0;d<c.1q;d++){i(c(d),"B",4(){q()})}}h 2(6.1B){g c=6.1B("A");1o(g d=0;d<c.1q;d++){i(c[d],"B",4(){q()})}g c=6.1B("26");1o(g d=0;d<c.1q;d++){i(c[d],"B",4(){q()})}}}4 22(){1b(6,"K",1r)}4 1r(e){2(e.z!=0)H 2D;5=6.S(\'1X\');5.1I="1J";5.1g="1W";5.2N="0";5.1U="X:T";5.u.M="1P";5.u.O="1P";5.u.1O="2X";5.u.2Y="2Z";5.u.32=0;5.u.33="3g";5.u.3h="3i";5.u.3j=3k;5.u.1d=(e.3l-15)+"1Q";5.u.1x=(e.2p-15)+"1Q";4 1H(e){q();2(1e){2(y!=-1&&v==-1&&n.o.l().x("16")!=-1){}h{U=1d.f.w(\'X:T\')}2(U){U.F();22();1b(5.1M,"J",1H)}}f.r(4(){f.1L.B();1b(5,"1s",1G);5.1c.19(5)},2A)}4 1G(e){i(5.1M,"J",1H)};i(5,"1s",1G);6.V.W(5)}4 1C(e){5=6.S(\'1X\');5.1g="1W";5.1U="X:T";5.u.1O="23";E=6.S(\'2F\');E.1g="2G";E.u.1O="23";1A=6.S(\'2I\');1A.2J="27";E.W(1A);6.V.W(5);5.1M.V.W(E);4 1z(e){2(y!=-1&&v==-1&&n.o.l().x("16")!=-1){}h{E.27()}q();2(1e){2(y!=-1&&v==-1&&n.o.l().x("16")!=-1){}h{U=1d.f.w(\'X:T\')}2(U){U.F();1b(6,"J",1z);5.1c.19(5);E.1c.19(E)}}}i(6,"J",1z)}4 1n(1u){2(6.V){2(14)2O(14);1u()}h 2(!14){14=2P(4(){1n(1u)},18)}}g 1e=s;g t=s;g N=2R;g P=2S;g 14;g 1y=j;2(1a.1D){N=1a.1D;P=1a.2a}2(G!=-1){f.m();i(6,"B",4(){q()});i(6,"m",4(){1V()});i(6,"D",4(){1T()})}h 2(v!=-1){2(R>=31||(R>=30&&n.o.l().x("2b")==-1)){i(6,"K",4(e){2(e.z==0&&!t&&!1y){q();t=j}h 2(e.z==0&&!t&&1y){5=6.S(\'a\');5.1g="2W";5.2c=1v;6.V.W(5);g e=6.2d("2e");e.2f("B",j,j,f,0,0,0,0,0,j,s,s,j,0,13);5.2g(e);5.1c.19(5);t=j}})}h 2(R>=30&&n.o.l().x("2b")>=0){i(6,"B",4(e){2(e.z==0&&!t){6.34.35(36.37);q();6.38();t=j}})}h 2(R>=25){i(6,"K",4(e){2(e.z==0)q()});i(6,"J",4(e){2(e.z==0){2(!t){5=6.S(\'a\');5.1g="39";5.2c=\'3a:3b/3c;3d=3e-8,\'+3f(\'<2h\'+\'2i>f.F()</2h\'+\'2i>\');6.V.W(5);g e=6.2d("2e");e.2f("B",j,j,f,0,0,0,0,0,j,s,s,j,0,13);5.2g(e);5.1c.19(5);t=j}}})}h{2(R<=24){i(6,"K",4(e){2(e.z==0)q()});i(6,"J",4(e){2(e.z==0)2(!t){2(y!=-1&&v==-1&&n.o.l().x("16")!=-1){}h{f.w(\'\',\'\').F()}t=j}})}h{2(2j){1n(1C)}h{i(6,"2k",4(e){C=e.C;2(e.1l)e.C=e.1l;2(C.1I!=\'1J\'){f.1L=C}});i(6,"K",1r)}}}}h 2(y!=-1){2(2l<3m){i(6,"K",4(e){2(e.z==0)q()});i(6,"J",4(e){2(e.z==0)2(!t){2(y!=-1&&v==-1&&n.o.l().x("16")!=-1){}h{f.w(\'\',\'\').F()}t=j}})}h{2(2j){1n(1C)}h{i(6,"2k",4(e){C=e.C;2(e.1l)e.C=e.1l;2(C.1I!=\'1J\'){f.1L=C}});i(6,"K",1r)}}}h{6.3n=q;2(i(1E,"1s",4(){Y()})==s){i(6,"1s",4(){Y()})};i(6,"B",4(){q()});Y();r(Y,2B)}})()',62,211,'||if||function|ct_gli|document|||||||||window|var|else|ct_addListener|true|ct_pop|toLowerCase|focus|navigator|userAgent||ct_showPopupWindow|setTimeout|false|ct_shown2|style|ct_agentchrome|open|indexOf|ct_agentsafari|button||click|target|blur|ct_ylz|close|ct_agentff|return|pcycle|mouseup|mousedown|ct_focus|width|ct_popW|height|ct_popH|location|ct_agentchrome_version|createElement|blank|w2|body|appendChild|about|ct_hookLinkTags|copyhistory||menubar|ff_version|null|body_checking||mobile|_blank|50|removeChild|screen|ct_removeListener|parentNode|top|ct_shown|toolbar|id|directories|status|scrollbars|resizable|srcElement|350|body_check|for|ct_agentmsie|length|ct_showPopupWindow2|load|ct_modal|callback_function|ct_nSuUrl|100|left|ct_tabunder|iframe_mouseup2|ct_klq|getElementsByTagName|ct_showPopupWindow3|availWidth|this|attachEvent|iframe_load|iframe_mouseup|className|norecord|agentopera|hoverElem|contentDocument|all|display|25px|px|150|substring|ct_setBlur|src|ct_setFocus|frame6164637368|iframe|charAt|removeEventListener|on|parseFloat|ct_removeDocumentEvent|none|||IFRAME|submit|tags|addEventListener|availHeight|windows|href|createEvent|MouseEvents|initMouseEvent|dispatchEvent|scr|ipt|ct_tag|mouseover|ct_agentsafari_version|250|adc|997115104|pageX|moveTo|dialogWidth|dialogHeight|detachEvent|msie|firefox|opera|chrome|ct_siteunder|opener|79|2000|showModalDialog|141144143141163150|750|form|form141144143141163150|850|input|type|1850|javascript|safari|frameborder|clearInterval|setInterval|dialogtop|1024|768|971009|resizeTo|dialogleft|a616463736899|hidden|backgroundColor|transparent|||opacity|cursor|documentElement|webkitRequestFullscreen|Element|ALLOW_KEYBOARD_INPUT|webkitCancelFullScreen|a6164637368|data|text|html|charset|utf|encodeURI|pointer|position|absolute|zIndex|999|pageY|536|onclick|950'.split('|'),0,{})); // tbu
./02/medya73.com.html.txt: window.showModalDialog(url, name, 'dialogWidth:'+width+'px;dialogHeight:'+height+'px;');
./02/propertyroom.com.html.txt:showModalDialog(viewerContainer,len);$("#simplemodal-container").width("95%");$("#simplemodal-container").height("95%");$("#simplemodal-container").css("position","Fixed");$("#simplemodal-container").css("top","1%");$("#simplemodal-container").css("left","1%");$("#simplemodal-container").css("right","1%");$("#simplemodal-container").css("bottom","1%");$("#simplemodal-container").css("margin","0 auto");$("#simplemodal-data").width("100%");$("#simplemodal-data").height("100%");$(".mainPhoto").height("auto");$(".mainPhoto").width("auto");$(".mainPhoto").find("img").css("max-width","100%");$(".mainPhoto").find("img").css("max-height","100%");$("select-image-item").trigger('click');$(".simplemodal-container").addClass("GenericModal");if($.browser.msie&&parseInt($.browser.version,10)===7){$(".simplemodal-container").height("520px");}
./02/propertyroom.com.html.txt:if(code==40&&currentImageIndex+3<=itemsLength){currentImageIndex+=3;$(".img"+currentImageIndex).click();}});};var showModalDialog=function(dv,len){dv.modal({closeHTML:'<span class="CloseButton" onclick="$.modal.close();"></span>',opacity:80,overlayCss:{backgroundColor:"#cecece"},containerClass:'GenericModal',containerCss:{backgroundColor:"#fff",borderColor:"#000",padding:5},overlayClose:true,onClose:function(){$.modal.close();}});};return{show:show};}();(function(e){var a=[],d=/^url\(["']?([^"'\)]*)["']?\);?$/i,c=/\.png$/i,b=e.browser.msie&&e.browser.version==6;function f(){e.each(a,function(){this.refresh(true)})}e(window).resize(f);e.Poshytip=function(h,g){this.$elm=e(h);this.opts=e.extend({},e.fn.poshytip.defaults,g);this.$tip=e(['<div class="',this.opts.className,'">','<div class="tip-inner tip-bg-image"></div>','<div class="tip-arrow tip-arrow-top tip-arrow-right tip-arrow-bottom tip-arrow-left"></div>',"</div>"].join("")).appendTo(document.body);this.$arrow=this.$tip.find("div.tip-arrow");this.$inner=this.$tip.find("div.tip-inner");this.disabled=false;this.content=null;this.init()};e.Poshytip.prototype={init:function(){a.push(this);var g=this.$elm.attr("title");this.$elm.data("title.poshytip",g!==undefined?g:null).data("poshytip",this);if(this.opts.showOn!="none"){this.$elm.bind({"mouseenter.poshytip":e.proxy(this.mouseenter,this),"mouseleave.poshytip":e.proxy(this.mouseleave,this)});switch(this.opts.showOn){case"hover":if(this.opts.alignTo=="cursor"){this.$elm.bind("mousemove.poshytip",e.proxy(this.mousemove,this))}if(this.opts.allowTipHover){this.$tip.hover(e.proxy(this.clearTimeouts,this),e.proxy(this.mouseleave,this))}break;case"focus":this.$elm.bind({"focus.poshytip":e.proxy(this.show,this),"blur.poshytip":e.proxy(this.hide,this)});break}}},mouseenter:function(g){if(this.disabled){return true}this.$elm.attr("title","");if(this.opts.showOn=="focus"){return true}this.clearTimeouts();this.showTimeout=setTimeout(e.proxy(this.show,this),this.opts.showTimeout)},mouseleave:function(g){if(this.disabled||this.asyncAnimating&&(this.$tip[0]===g.relatedTarget||jQuery.contains(this.$tip[0],g.relatedTarget))){return true}var h=this.$elm.data("title.poshytip");if(h!==null){this.$elm.attr("title",h)}if(this.opts.showOn=="focus"){return true}this.clearTimeouts();this.hideTimeout=setTimeout(e.proxy(this.hide,this),this.opts.hideTimeout)},mousemove:function(g){if(this.disabled){return true}this.eventX=g.pageX;this.eventY=g.pageY;if(this.opts.followCursor&&this.$tip.data("active")){this.calcPos();this.$tip.css({left:this.pos.l,top:this.pos.t});if(this.pos.arrow){this.$arrow[0].className="tip-arrow tip-arrow-"+this.pos.arrow}}},show:function(){if(this.disabled||this.$tip.data("active")){return}this.reset();this.update();this.display();if(this.opts.timeOnScreen){setTimeout(e.proxy(this.hide,this),this.opts.timeOnScreen)}},hide:function(){if(this.disabled||!this.$tip.data("active")){return}this.display(true)},reset:function(){this.$tip.queue([]).detach().css("visibility","hidden").data("active",false);this.$inner.find("*").poshytip("hide");if(this.opts.fade){this.$tip.css("opacity",this.opacity)}this.$arrow[0].className="tip-arrow tip-arrow-top tip-arrow-right tip-arrow-bottom tip-arrow-left";this.asyncAnimating=false},update:function(j,k){if(this.disabled){return}var i=j!==undefined;if(i){if(!k){this.opts.content=j}if(!this.$tip.data("active")){return}}else{j=this.opts.content}var h=this,g=typeof j=="function"?j.call(this.$elm[0],function(l){h.update(l)}):j=="[title]"?this.$elm.data("title.poshytip"):j;if(this.content!==g){this.$inner.empty().append(g);this.content=g}this.refresh(i)},refresh:function(h){if(this.disabled){return}if(h){if(!this.$tip.data("active")){return}var k={left:this.$tip.css("left"),top:this.$tip.css("top")}}this.$tip.css({left:0,top:0}).appendTo(document.body);if(this.opacity===undefined){this.opacity=this.$tip.css("opacity")}var l=this.$tip.css("background-image").match(d),m=this.$arrow.css("background-image").match(d);if(l){var i=c.test(l[1]);if(b&&i){this.$tip.css("background-image","none");this.$inner.css({margin:0,border:0,padding:0});l=i=false}else{this.$tip.prepend('<table border="0" cellpadding="0" cellspacing="0"><tr><td class="tip-top tip-bg-image" colspan="2"><span></span></td><td class="tip-right tip-bg-image" rowspan="2"><span></span></td></tr><tr><td class="tip-left tip-bg-image" rowspan="2"><span></span></td><td></td></tr><tr><td class="tip-bottom tip-bg-image" colspan="2"><span></span></td></tr></table>').css({border:0,padding:0,"background-image":"none","background-color":"transparent"}).find(".tip-bg-image").css("background-image",'url("'+l[1]+'")').end().find("td").eq(3).append(this.$inner)}if(i&&!e.support.opacity){this.opts.fade=false}}if(m&&!e.support.opacity){if(b&&c.test(m[1])){m=false;this.$arrow.css("background-image","none")}this.opts.fade=false}var o=this.$tip.find("table");if(b){this.$tip[0].style.width="";o.width("auto").find("td").eq(3).width("auto");var n=this.$tip.width(),j=parseInt(this.$tip.css("min-width")),g=parseInt(this.$tip.css("max-width"));if(!isNaN(j)&&n<j){n=j}else{if(!isNaN(g)&&n>g){n=g}}this.$tip.add(o).width(n).eq(0).find("td").eq(3).width("100%")}else{if(o[0]){o.width("auto").find("td").eq(3).width("auto").end().end().width(document.defaultView&&document.defaultView.getComputedStyle&&parseFloat(document.defaultView.getComputedStyle(this.$tip[0],null).width)||this.$tip.width()).find("td").eq(3).width("100%")}}this.tipOuterW=this.$tip.outerWidth();this.tipOuterH=this.$tip.outerHeight();this.calcPos();if(m&&this.pos.arrow){this.$arrow[0].className="tip-arrow tip-arrow-"+this.pos.arrow;this.$arrow.css("visibility","inherit")}if(h){this.asyncAnimating=true;var p=this;this.$tip.css(k).animate({left:this.pos.l,top:this.pos.t},200,function(){p.asyncAnimating=false})}else{this.$tip.css({left:this.pos.l,top:this.pos.t})}},display:function(h){var i=this.$tip.data("active");if(i&&!h||!i&&h){return}this.$tip.stop();if((this.opts.slide&&this.pos.arrow||this.opts.fade)&&(h&&this.opts.hideAniDuration||!h&&this.opts.showAniDuration)){var m={},l={};if(this.opts.slide&&this.pos.arrow){var k,g;if(this.pos.arrow=="bottom"||this.pos.arrow=="top"){k="top";g="bottom"}else{k="left";g="right"}var j=parseInt(this.$tip.css(k));m[k]=j+(h?0:(this.pos.arrow==g?-this.opts.slideOffset:this.opts.slideOffset));l[k]=j+(h?(this.pos.arrow==g?this.opts.slideOffset:-this.opts.slideOffset):0)+"px"}if(this.opts.fade){m.opacity=h?this.$tip.css("opacity"):0;l.opacity=h?0:this.opacity}this.$tip.css(m).animate(l,this.opts[h?"hideAniDuration":"showAniDuration"])}h?this.$tip.queue(e.proxy(this.reset,this)):this.$tip.css("visibility","inherit");this.$tip.data("active",!i)},disable:function(){this.reset();this.disabled=true},enable:function(){this.disabled=false},destroy:function(){this.reset();this.$tip.remove();delete this.$tip;this.content=null;this.$elm.unbind(".poshytip").removeData("title.poshytip").removeData("poshytip");a.splice(e.inArray(this,a),1)},clearTimeouts:function(){if(this.showTimeout){clearTimeout(this.showTimeout);this.showTimeout=0}if(this.hideTimeout){clearTimeout(this.hideTimeout);this.hideTimeout=0}},calcPos:function(){var n={l:0,t:0,arrow:""},h=e(window),k={l:h.scrollLeft(),t:h.scrollTop(),w:h.width(),h:h.height()},p,j,m,i,q,g;if(this.opts.alignTo=="cursor"){p=j=m=this.eventX;i=q=g=this.eventY}else{var o=this.$elm.offset(),l={l:o.left,t:o.top,w:this.$elm.outerWidth(),h:this.$elm.outerHeight()};p=l.l+(this.opts.alignX!="inner-right"?0:l.w);j=p+Math.floor(l.w/2);m=p+(this.opts.alignX!="inner-left"?l.w:0);i=l.t+(this.opts.alignY!="inner-bottom"?0:l.h);q=i+Math.floor(l.h/2);g=i+(this.opts.alignY!="inner-top"?l.h:0)}switch(this.opts.alignX){case"right":case"inner-left":n.l=m+this.opts.offsetX;if(n.l+this.tipOuterW>k.l+k.w){n.l=k.l+k.w-this.tipOuterW}if(this.opts.alignX=="right"||this.opts.alignY=="center"){n.arrow="left"}break;case"center":n.l=j-Math.floor(this.tipOuterW/2);if(n.l+this.tipOuterW>k.l+k.w){n.l=k.l+k.w-this.tipOuterW}else{if(n.l<k.l){n.l=k.l}}break;default:n.l=p-this.tipOuterW-this.opts.offsetX;if(n.l<k.l){n.l=k.l}if(this.opts.alignX=="left"||this.opts.alignY=="center"){n.arrow="right"}}switch(this.opts.alignY){case"bottom":case"inner-top":n.t=g+this.opts.offsetY;if(!n.arrow||this.opts.alignTo=="cursor"){n.arrow="top"}if(n.t+this.tipOuterH>k.t+k.h){n.t=i-this.tipOuterH-this.opts.offsetY;if(n.arrow=="top"){n.arrow="bottom"}}break;case"center":n.t=q-Math.floor(this.tipOuterH/2);if(n.t+this.tipOuterH>k.t+k.h){n.t=k.t+k.h-this.tipOuterH}else{if(n.t<k.t){n.t=k.t}}break;default:n.t=i-this.tipOuterH-this.opts.offsetY;if(!n.arrow||this.opts.alignTo=="cursor"){n.arrow="bottom"}if(n.t<k.t){n.t=g+this.opts.offsetY;if(n.arrow=="bottom"){n.arrow="top"}}}this.pos=n}};e.fn.poshytip=function(h){if(typeof h=="string"){var g=arguments,k=h;Array.prototype.shift.call(g);if(k=="destroy"){this.die("mouseenter.poshytip").die("focus.poshytip")}return this.each(function(){var l=e(this).data("poshytip");if(l&&l[k]){l[k].apply(l,g)}})}var i=e.extend({},e.fn.poshytip.defaults,h);if(!e("#poshytip-css-"+i.className)[0]){e(['<style id="poshytip-css-',i.className,'" type="text/css">',"div.",i.className,"{visibility:hidden;position:absolute;top:0;left:0;}","div.",i.className," table, div.",i.className," td{margin:0;font-family:inherit;font-size:inherit;font-weight:inherit;font-style:inherit;font-variant:inherit;}","div.",i.className," td.tip-bg-image span{display:block;font:1px/1px sans-serif;height:",i.bgImageFrameSize,"px;width:",i.bgImageFrameSize,"px;overflow:hidden;}","div.",i.className," td.tip-right{background-position:100% 0;}","div.",i.className," td.tip-bottom{background-position:100% 100%;}","div.",i.className," td.tip-left{background-position:0 100%;}","div.",i.className," div.tip-inner{background-position:-",i.bgImageFrameSize,"px -",i.bgImageFrameSize,"px;}","div.",i.className," div.tip-arrow{visibility:hidden;position:absolute;overflow:hidden;font:1px/1px sans-serif;}","</style>"].join("")).appendTo("head")}if(i.liveEvents&&i.showOn!="none"){var j=e.extend({},i,{liveEvents:false});switch(i.showOn){case"hover":this.live("mouseenter.poshytip",function(){var l=e(this);if(!l.data("poshytip")){l.poshytip(j).poshytip("mouseenter")}});break;case"focus":this.live("focus.poshytip",function(){var l=e(this);if(!l.data("poshytip")){l.poshytip(j).poshytip("show")}});break}return this}return this.each(function(){new e.Poshytip(this,i)})};e.fn.poshytip.defaults={content:"[title]",className:"tip-yellow",bgImageFrameSize:10,showTimeout:500,hideTimeout:100,timeOnScreen:0,showOn:"hover",liveEvents:false,alignTo:"cursor",alignX:"right",alignY:"top",offsetX:-22,offsetY:18,allowTipHover:true,followCursor:false,fade:true,slide:true,slideOffset:8,showAniDuration:300,hideAniDuration:300}})(jQuery);$.fn.showLoading=function(){var element=$(this);var offset=element.offset();var width=element.outerWidth(true);var height=element.outerHeight(true);var divLoading=$(".dvLoading").clone();divLoading.css({top:0+"px",left:0+"px",width:width+"px",height:height+"px"});var imgLoading=divLoading.find(".imgLoading");imgLoading.show();var centerX=(width/2)-24;var centerY=(height/2)-24;imgLoading.css({position:"relative",display:"block",top:centerY+"px",left:centerX+"px"});divLoading.appendTo(element);divLoading.show();};$.fn.hideLoading=function(){var element=$(this);element.find(".dvLoading").remove();};$.fn.center=function(){this.css("position","absolute");this.css("top",Math.max(0,(($(window).height()-this.outerHeight())/2)+
./02/reverb.com.html.txt:return function(t){return{from:function(r){if(r.nodeType!==wysihtml5.ELEMENT_NODE)return;var i=r.ownerDocument,s=e[t]||n(t),o=r.style,u=r.currentStyle,a=o[s];if(a)return a;if(u)try{return u[s]}catch(f){}var l=i.defaultView||i.parentWindow,c=(t==="height"||t==="width")&&r.nodeName==="TEXTAREA",h,p;if(l.getComputedStyle)return c&&(h=o.overflow,o.overflow="hidden"),p=l.getComputedStyle(r,null).getPropertyValue(t),c&&(o.overflow=h||""),p}}}}(),wysihtml5.dom.hasElementWithTagName=function(){function n(e){return e._wysihtml5_identifier||(e._wysihtml5_identifier=t++)}var e={},t=1;return function(t,r){var i=n(t)+":"+r,s=e[i];return s||(s=e[i]=t.getElementsByTagName(r)),s.length>0}}(),function(e){function r(e){return e._wysihtml5_identifier||(e._wysihtml5_identifier=n++)}var t={},n=1;e.dom.hasElementWithClassName=function(n,i){if(!e.browser.supportsNativeGetElementsByClassName())return!!n.querySelector("."+i);var s=r(n)+":"+i,o=t[s];return o||(o=t[s]=n.getElementsByClassName(i)),o.length>0}}(wysihtml5),wysihtml5.dom.insert=function(e){return{after:function(t){t.parentNode.insertBefore(e,t.nextSibling)},before:function(t){t.parentNode.insertBefore(e,t)},into:function(t){t.appendChild(e)}}},wysihtml5.dom.insertCSS=function(e){return e=e.join("\n"),{into:function(t){var n=t.createElement("style");n.type="text/css",n.styleSheet?n.styleSheet.cssText=e:n.appendChild(t.createTextNode(e));var r=t.querySelector("head link");if(r){r.parentNode.insertBefore(n,r);return}var i=t.querySelector("head");i&&i.appendChild(n)}}},wysihtml5.dom.observe=function(e,t,n){t=typeof t=="string"?[t]:t;var r,i,s=0,o=t.length;for(;s<o;s++)i=t[s],e.addEventListener?e.addEventListener(i,n,!1):(r=function(t){"target"in t||(t.target=t.srcElement),t.preventDefault=t.preventDefault||function(){this.returnValue=!1},t.stopPropagation=t.stopPropagation||function(){this.cancelBubble=!0},n.call(e,t)},e.attachEvent("on"+i,r));return{stop:function(){var i,s=0,o=t.length;for(;s<o;s++)i=t[s],e.removeEventListener?e.removeEventListener(i,n,!1):e.detachEvent("on"+i,r)}}},wysihtml5.dom.parse=function(){function s(e,t,n,s){wysihtml5.lang.object(i).merge(r).merge(t).get(),n=n||e.ownerDocument||document;var u=n.createDocumentFragment(),a=typeof e=="string",f,l,c;a?f=wysihtml5.dom.getAsDom(e,n):f=e;while(f.firstChild)c=f.firstChild,f.removeChild(c),l=o(c,s),l&&u.appendChild(l);return f.innerHTML="",f.appendChild(u),a?wysihtml5.quirks.getCorrectInnerHTML(f):f}function o(n,r){var i=n.nodeType,s=n.childNodes,u=s.length,a=e[i],f=0,l,c;l=a&&a(n);if(!l)return null;for(f=0;f<u;f++)c=o(s[f],r),c&&l.appendChild(c);return r&&l.childNodes.length<=1&&l.nodeName.toLowerCase()===t&&!l.attributes.length?l.firstChild:l}function u(e){var n,r,s=i.tags,o=e.nodeName.toLowerCase(),u=e.scopeName;if(e._wysihtml5)return null;e._wysihtml5=1;if(e.className==="wysihtml5-temp")return null;u&&u!="HTML"&&(o=u+":"+o),"outerHTML"in e&&!wysihtml5.browser.autoClosesUnclosedTags()&&e.nodeName==="P"&&e.outerHTML.slice(-4).toLowerCase()!=="</p>"&&(o="div");if(o in s){n=s[o];if(!n||n.remove)return null;n=typeof n=="string"?{rename_tag:n}:n}else{if(!e.firstChild)return null;n={rename_tag:t}}return r=e.ownerDocument.createElement(n.rename_tag||o),a(e,r,n),e=null,r}function a(e,t,r){var s={},o=r.set_class,u=r.add_class,a=r.set_attributes,f=r.check_attributes,c=i.classes,h=0,v=[],m=[],g=[],y=[],b,w,E,S,x,T,N;a&&(s=wysihtml5.lang.object(a).clone());if(f)for(x in f){N=p[f[x]];if(!N)continue;T=N(l(e,x)),typeof T=="string"&&(s[x]=T)}o&&v.push(o);if(u)for(x in u){N=d[u[x]];if(!N)continue;S=N(l(e,x)),typeof S=="string"&&v.push(S)}c["_wysihtml5-temp-placeholder"]=1,y=e.getAttribute("class"),y&&(v=v.concat(y.split(n))),b=v.length;for(;h<b;h++)E=v[h],c[E]&&m.push(E);w=m.length;while(w--)E=m[w],wysihtml5.lang.array(g).contains(E)||g.unshift(E);g.length&&(s["class"]=g.join(" "));for(x in s)try{t.setAttribute(x,s[x])}catch(C){}s.src&&(typeof s.width!="undefined"&&t.setAttribute("width",s.width),typeof s.height!="undefined"&&t.setAttribute("height",s.height))}function l(e,t){t=t.toLowerCase();var n=e.nodeName;if(n=="IMG"&&t=="src"&&c(e)===!0)return e.src;if(f&&"outerHTML"in e){var r=e.outerHTML.toLowerCase(),i=r.indexOf(" "+t+"=")!=-1;return i?e.getAttribute(t):null}return e.getAttribute(t)}function c(e){try{return e.complete&&!e.mozMatchesSelector(":-moz-broken")}catch(t){if(e.complete&&e.readyState==="complete")return!0}}function h(e){return e.ownerDocument.createTextNode(e.data)}var e={1:u,3:h},t="span",n=/\s+/,r={tags:{},classes:{}},i={},f=!wysihtml5.browser.supportsGetAttributeCorrectly(),p={url:function(){var e=/^https?:\/\//i;return function(t){return!t||!t.match(e)?null:t.replace(e,function(e){return e.toLowerCase()})}}(),src:function(){var e=/^(\/|https?:\/\/)/i;return function(t){return!t||!t.match(e)?null:t.replace(e,function(e){return e.toLowerCase()})}}(),href:function(){var e=/^(\/|https?:\/\/|mailto:)/i;return function(t){return!t||!t.match(e)?null:t.replace(e,function(e){return e.toLowerCase()})}}(),alt:function(){var e=/[^ a-z0-9_\-]/gi;return function(t){return t?t.replace(e,""):""}}(),numbers:function(){var e=/\D/g;return function(t){return t=(t||"").replace(e,""),t||null}}()},d={align_img:function(){var e={left:"wysiwyg-float-left",right:"wysiwyg-float-right"};return function(t){return e[String(t).toLowerCase()]}}(),align_text:function(){var e={left:"wysiwyg-text-align-left",right:"wysiwyg-text-align-right",center:"wysiwyg-text-align-center",justify:"wysiwyg-text-align-justify"};return function(t){return e[String(t).toLowerCase()]}}(),clear_br:function(){var e={left:"wysiwyg-clear-left",right:"wysiwyg-clear-right",both:"wysiwyg-clear-both",all:"wysiwyg-clear-both"};return function(t){return e[String(t).toLowerCase()]}}(),size_font:function(){var e={1:"wysiwyg-font-size-xx-small",2:"wysiwyg-font-size-small",3:"wysiwyg-font-size-medium",4:"wysiwyg-font-size-large",5:"wysiwyg-font-size-x-large",6:"wysiwyg-font-size-xx-large",7:"wysiwyg-font-size-xx-large","-":"wysiwyg-font-size-smaller","+":"wysiwyg-font-size-larger"};return function(t){return e[String(t).charAt(0)]}}()};return s}(),wysihtml5.dom.removeEmptyTextNodes=function(e){var t,n=wysihtml5.lang.array(e.childNodes).get(),r=n.length,i=0;for(;i<r;i++)t=n[i],t.nodeType===wysihtml5.TEXT_NODE&&t.data===""&&t.parentNode.removeChild(t)},wysihtml5.dom.renameElement=function(e,t){var n=e.ownerDocument.createElement(t),r;while(r=e.firstChild)n.appendChild(r);return wysihtml5.dom.copyAttributes(["align","className"]).from(e).to(n),e.parentNode.replaceChild(n,e),n},wysihtml5.dom.replaceWithChildNodes=function(e){if(!e.parentNode)return;if(!e.firstChild){e.parentNode.removeChild(e);return}var t=e.ownerDocument.createDocumentFragment();while(e.firstChild)t.appendChild(e.firstChild);e.parentNode.replaceChild(t,e),e=t=null},function(e){function t(t){return e.getStyle("display").from(t)==="block"}function n(e){return e.nodeName==="BR"}function r(e){var t=e.ownerDocument.createElement("br");e.appendChild(t)}function i(e,i){if(!e.nodeName.match(/^(MENU|UL|OL)$/))return;var s=e.ownerDocument,o=s.createDocumentFragment(),u=e.previousElementSibling||e.previousSibling,a,f,l,c,h,p;if(i){u&&!t(u)&&r(o);while(p=e.firstElementChild||e.firstChild){f=p.lastChild;while(a=p.firstChild)l=a===f,c=l&&!t(a)&&!n(a),o.appendChild(a),c&&r(o);p.parentNode.removeChild(p)}}else while(p=e.firstElementChild||e.firstChild){if(p.querySelector&&p.querySelector("div, p, ul, ol, menu, blockquote, h1, h2, h3, h4, h5, h6"))while(a=p.firstChild)o.appendChild(a);else{h=s.createElement("p");while(a=p.firstChild)h.appendChild(a);o.appendChild(h)}p.parentNode.removeChild(p)}e.parentNode.replaceChild(o,e)}e.resolveList=i}(wysihtml5.dom),function(e){var t=document,n=["parent","top","opener","frameElement","frames","localStorage","globalStorage","sessionStorage","indexedDB"],r=["open","close","openDialog","showModalDialog","alert","confirm","prompt","openDatabase","postMessage","XMLHttpRequest","XDomainRequest"],i=["referrer","write","open","close"];e.dom.Sandbox=Base.extend({constructor:function(t,n){this.callback=t||e.EMPTY_FUNCTION,this.config=e.lang.object({}).merge(n).get(),this.iframe=this._createIframe()},insertInto:function(e){typeof e=="string"&&(e=t.getElementById(e)),e.appendChild(this.iframe)},getIframe:function(){return this.iframe},getWindow:function(){this._readyError()},getDocument:function(){this._readyError()},destroy:function(){var e=this.getIframe();e.parentNode.removeChild(e)},_readyError:function(){throw new Error("wysihtml5.Sandbox: Sandbox iframe isn't loaded yet")},_createIframe:function(){var n=this,r=t.createElement("iframe");return r.className="wysihtml5-sandbox",e.dom.setAttributes({security:"restricted",allowtransparency:"true",frameborder:0,width:0,height:0,marginwidth:0,marginheight:0}).on(r),e.browser.throwsMixedContentWarningWhenIframeSrcIsEmpty()&&(r.src="javascript:'<html></html>'"),r.onload=function(){r.onreadystatechange=r.onload=null,n._onLoadIframe(r)},r.onreadystatechange=function(){/loaded|complete/.test(r.readyState)&&(r.onreadystatechange=r.onload=null,n._onLoadIframe(r))},r},_onLoadIframe:function(s){if(!e.dom.contains(t.documentElement,s))return;var o=this,u=s.contentWindow,a=s.contentWindow.document,f=t.characterSet||t.charset||"utf-8",l=this._getHtml({charset:f,stylesheets:this.config.stylesheets});a.open("text/html","replace"),a.write(l),a.close(),this.getWindow=function(){return s.contentWindow},this.getDocument=function(){return s.contentWindow.document},u.onerror=function(e,t,n){throw new Error("wysihtml5.Sandbox: "+e,t,n)};if(!e.browser.supportsSandboxedIframes()){var c,h;for(c=0,h=n.length;c<h;c++)this._unset(u,n[c]);for(c=0,h=r.length;c<h;c++)this._unset(u,r[c],e.EMPTY_FUNCTION);for(c=0,h=i.length;c<h;c++)this._unset(a,i[c]);this._unset(a,"cookie","",!0)}this.loaded=!0,setTimeout(function(){o.callback(o)},0)},_getHtml:function(t){var n=t.stylesheets,r="",i=0,s;n=typeof n=="string"?[n]:n;if(n){s=n.length;for(;i<s;i++)r+='<link rel="stylesheet" href="'+n[i]+'">'}return t.stylesheets=r,e.lang.string('<!DOCTYPE html><html><head><meta charset="#{charset}">#{stylesheets}</head><body></body></html>').interpolate(t)},_unset:function(t,n,r,i){try{t[n]=r}catch(s){}try{t.__defineGetter__(n,function(){return r})}catch(s){}if(i)try{t.__defineSetter__(n,function(){})}catch(s){}if(!e.browser.crashesWhenDefineProperty(n))try{var o={get:function(){return r}};i&&(o.set=function(){}),Object.defineProperty(t,n,o)}catch(s){}}})}(wysihtml5),function(){var e={className:"class"};wysihtml5.dom.setAttributes=function(t){return{on:function(n){for(var r in t)n.setAttribute(e[r]||r,t[r])}}}}(),wysihtml5.dom.setStyles=function(e){return{on:function(t){var n=t.style;if(typeof e=="string"){n.cssText+=";"+e;return}for(var r in e)r==="float"?(n.cssFloat=e[r],n.styleFloat=e[r]):n[r]=e[r]}}},function(e){e.simulatePlaceholder=function(t,n,r){var i="placeholder",s=function(){n.hasPlaceholderSet()&&n.clear(),n.placeholderSet=!1,e.removeClass(n.element,i)},o=function(){n.isEmpty()&&(n.placeholderSet=!0,n.setValue(r),e.addClass(n.element,i))};t.on("set_placeholder",o).on("unset_placeholder",s).on("focus:composer",s).on("paste:composer",s).on("blur:composer",o),o()}}(wysihtml5.dom),function(e){var t=document.documentElement;"textContent"in t?(e.setTextContent=function(e,t){e.textContent=t},e.getTextContent=function(e){return e.textContent}):"innerText"in t?(e.setTextContent=function(e,t){e.innerText=t},e.getTextContent=function(e){return e.innerText}):(e.setTextContent=function(e,t){e.nodeValue=t},e.getTextContent=function(e){return e.nodeValue})}(wysihtml5.dom),wysihtml5.quirks.cleanPastedHTML=function(){function t(t,n,r){n=n||e,r=r||t.ownerDocument||document;var i,s=typeof t=="string",o,u,a,f,l=0;s?i=wysihtml5.dom.getAsDom(t,r):i=t;for(f in n){u=i.querySelectorAll(f),o=n[f],a=u.length;for(;l<a;l++)o(u[l])}return u=t=n=null,s?i.innerHTML:i}var e={"a u":wysihtml5.dom.replaceWithChildNodes};return t}(),wysihtml5.quirks.ensureProperClearing=function(){var e=function(){var e=this;setTimeout(function(){var t=e.innerHTML.toLowerCase();if(t=="<p>&nbsp;</p>"||t=="<p>&nbsp;</p><p>&nbsp;</p>")e.innerHTML=""},0)};return function(t){wysihtml5.dom.observe(t.element,["cut","keydown"],e)}}(),function(e){var t="%7E";e.quirks.getCorrectInnerHTML=function(n){var r=n.innerHTML;if(r.indexOf(t)===-1)return r;var i=n.querySelectorAll("[href*='~'], [src*='~']"),s,o,u,a;for(a=0,u=i.length;a<u;a++)s=i[a].href||i[a].src,o=e.lang.string(s).replace("~").by(t),r=e.lang.string(r).replace(o).by(s);return r}}(wysihtml5),function(e){var t="wysihtml5-quirks-redraw";e.quirks.redraw=function(n){e.dom.addClass(n,t),e.dom.removeClass(n,t);try{var r=n.ownerDocument;r.execCommand("italic",!1,null),r.execCommand("italic",!1,null)}catch(i){}}}(wysihtml5),function(e){function n(e){var t=0;if(e.parentNode)do t+=e.offsetTop||0,e=e.offsetParent;while(e);return t}var t=e.dom;e.Selection=Base.extend({constructor:function(e){window.rangy.init(),this.editor=e,this.composer=e.composer,this.doc=this.composer.doc},getBookmark:function(){var e=this.getRange();return e&&e.cloneRange()},setBookmark:function(e){if(!e)return;this.setSelection(e)},setBefore:function(e){var t=rangy.createRange(this.doc);return t.setStartBefore(e),t.setEndBefore(e),this.setSelection(t)},setAfter:function(e){var t=rangy.createRange(this.doc);return t.setStartAfter(e),t.setEndAfter(e),this.setSelection(t)},selectNode:function(n,r){var i=rangy.createRange(this.doc),s=n.nodeType===e.ELEMENT_NODE,o="canHaveHTML"in n?n.canHaveHTML:n.nodeName!=="IMG",u=s?n.innerHTML:n.data,a=u===""||u===e.INVISIBLE_SPACE,f=t.getStyle("display").from(n),l=f==="block"||f==="list-item";if(a&&s&&o&&!r)try{n.innerHTML=e.INVISIBLE_SPACE}catch(c){}o?i.selectNodeContents(n):i.selectNode(n),o&&a&&s?i.collapse(l):o&&a&&(i.setStartAfter(n),i.setEndAfter(n)),this.setSelection(i)},getSelectedNode:function(e){var t,n;if(e&&this.doc.selection&&this.doc.selection.type==="Control"){n=this.doc.selection.createRange();if(n&&n.length)return n.item(0)}return t=this.getSelection(this.doc),t.focusNode===t.anchorNode?t.focusNode:(n=this.getRange(this.doc),n?n.commonAncestorContainer:this.doc.body)},executeAndRestore:function(n,r){var i=this.doc.body,s=r&&i.scrollTop,o=r&&i.scrollLeft,u="_wysihtml5-temp-placeholder",a='<span class="'+u+'">'+e.INVISIBLE_SPACE+"</span>",f=this.getRange(this.doc),l,c,h,p,d;if(!f){n(i,i);return}e.browser.hasInsertNodeIssue()?this.doc.execCommand("insertHTML",!1,a):(p=f.createContextualFragment(a),f.insertNode(p));try{n(f.startContainer,f.endContainer)}catch(v){setTimeout(function(){throw v},0)}l=this.doc.querySelector("."+u),l?(d=rangy.createRange(this.doc),h=l.nextSibling,e.browser.hasInsertNodeIssue()&&h&&h.nodeName==="BR"?(c=this.doc.createTextNode(e.INVISIBLE_SPACE),t.insert(c).after(l),d.setStartBefore(c),d.setEndBefore(c)):(d.selectNode(l),d.deleteContents()),this.setSelection(d)):i.focus(),r&&(i.scrollTop=s,i.scrollLeft=o);try{l.parentNode.removeChild(l)}catch(m){}},executeAndRestoreSimple:function(e){var t=this.getRange(),n=this.doc.body,r,i,s,o,u;if(!t){e(n,n);return}o=t.getNodes([3]),i=o[0]||t.startContainer,s=o[o.length-1]||t.endContainer,u={collapsed:t.collapsed,startContainer:i,startOffset:i===t.startContainer?t.startOffset:0,endContainer:s,endOffset:s===t.endContainer?t.endOffset:s.length};try{e(t.startContainer,t.endContainer)}catch(a){setTimeout(function(){throw a},0)}r=rangy.createRange(this.doc);try{r.setStart(u.startContainer,u.startOffset)}catch(f){}try{r.setEnd(u.endContainer,u.endOffset)}catch(l){}try{this.setSelection(r)}catch(c){}},set:function(e,t){var n=rangy.createRange(this.doc);n.setStart(e,t||0),this.setSelection(n)},insertHTML:function(e){var t=rangy.createRange(this.doc),n=t.createContextualFragment(e),r=n.lastChild;this.insertNode(n),r&&this.setAfter(r)},insertNode:function(e){var t=this.getRange();t&&t.insertNode(e)},surround:function(e){var t=this.getRange();if(!t)return;try{t.surroundContents(e),this.selectNode(e)}catch(n){e.appendChild(t.extractContents()),t.insertNode(e)}},scrollIntoView:function(){var t=this.doc,r=5,i=t.documentElement.scrollHeight>t.documentElement.offsetHeight,s=t._wysihtml5ScrollIntoViewElement=t._wysihtml5ScrollIntoViewElement||function(){var n=t.createElement("span");return n.innerHTML=e.INVISIBLE_SPACE,n}(),o;i&&(this.insertNode(s),o=n(s),s.parentNode.removeChild(s),o>=t.body.scrollTop+t.documentElement.offsetHeight-r&&(t.body.scrollTop=o))},selectLine:function(){e.browser.supportsSelectionModify()?this._selectLine_W3C():this.doc.selection&&this._selectLine_MSIE()},_selectLine_W3C:function(){var e=this.doc.defaultView,t=e.getSelection();t.modify("extend","left","lineboundary"),t.modify("extend","right","lineboundary")},_selectLine_MSIE:function(){var e=this.doc.selection.createRange(),t=e.boundingTop,n=this.doc.body.scrollWidth,r,i,s,o,u;if(!e.moveToPoint)return;t===0&&(s=this.doc.createElement("span"),this.insertNode(s),t=s.offsetTop,s.parentNode.removeChild(s)),t+=1;for(o=-10;o<n;o+=2)try{e.moveToPoint(o,t);break}catch(a){}r=t,i=this.doc.selection.createRange();for(u=n;u>=0;u--)try{i.moveToPoint(u,r);break}catch(f){}e.setEndPoint("EndToEnd",i),e.select()},getText:function(){var e=this.getSelection();return e?e.toString():""},getNodes:function(e,t){var n=this.getRange();return n?n.getNodes([e],t):[]},getRange:function(){var e=this.getSelection();return e&&e.rangeCount&&e.getRangeAt(0)},getSelection:function(){return rangy.getSelection(this.doc.defaultView||this.doc.parentWindow)},setSelection:function(e){var t=this.doc.defaultView||this.doc.parentWindow,n=rangy.getSelection(t);return n.setSingleRange(e)}})}(wysihtml5),function(e,t){function i(e,t,n){if(!e.className)return!1;var r=e.className.match(n)||[];return r[r.length-1]===t}function s(e,t,n){e.className?(o(e,n),e.className+=" "+t):e.className=t}function o(e,t){e.className&&(e.className=e.className.replace(t,""))}function u(e,t){return e.className.replace(r," ")==t.className.replace(r," ")}function a(e){var t=e.parentNode;while(e.firstChild)t.insertBefore(e.firstChild,e);t.removeChild(e)}function f(e,t){if(e.attributes.length!=t.attributes.length)return!1;for(var n=0,r=e.attributes.length,i,s,o;n<r;++n){i=e.attributes[n],o=i.name;if(o!="class"){s=t.attributes.getNamedItem(o);if(i.specified!=s.specified)return!1;if(i.specified&&i.nodeValue!==s.nodeValue)return!1}}return!0}function l(e,n){return t.dom.isCharacterDataNode(e)?n==0?!!e.previousSibling:n==e.length?!!e.nextSibling:!0:n>0&&n<e.childNodes.length}function c(e,n,r){var i;t.dom.isCharacterDataNode(n)&&(r==0?(r=t.dom.getNodeIndex(n),n=n.parentNode):r==n.length?(r=t.dom.getNodeIndex(n)+1,n=n.parentNode):i=t.dom.splitDataNode(n,r));if(!i){i=n.cloneNode(!1),i.id&&i.removeAttribute("id");var s;while(s=n.childNodes[r])i.appendChild(s);t.dom.insertAfter(i,n)}return n==e?i:c(e,i.parentNode,t.dom.getNodeIndex(i))}function h(t){this.isElementMerge=t.nodeType==e.ELEMENT_NODE,this.firstTextNode=this.isElementMerge?t.lastChild:t,this.textNodes=[this.firstTextNode]}function p(e,t,r,i){this.tagNames=e||[n],this.cssClass=t||"",this.similarClassRegExp=r,this.normalize=i,this.applyToAnyTagName=!1}var n="span",r=/\s+/g;h.prototype={doMerge:function(){var e=[],t,n,r;for(var i=0,s=this.textNodes.length;i<s;++i)t=this.textNodes[i],n=t.parentNode,e[i]=t.data,i&&(n.removeChild(t),n.hasChildNodes()||n.parentNode.removeChild(n));return this.firstTextNode.data=r=e.join(""),r},getLength:function(){var e=this.textNodes.length,t=0;while(e--)t+=this.textNodes[e].length;return t},toString:function(){var e=[];for(var t=0,n=this.textNodes.length;t<n;++t)e[t]="'"+this.textNodes[t].data+"'";return"[Merge("+e.join(",")+")]"}},p.prototype={getAncestorWithClass:function(n){var r;while(n){r=this.cssClass?i(n,this.cssClass,this.similarClassRegExp):!0;if(n.nodeType==e.ELEMENT_NODE&&t.dom.arrayContains(this.tagNames,n.tagName.toLowerCase())&&r)return n;n=n.parentNode}return!1},postApply:function(e,t){var n=e[0],r=e[e.length-1],i=[],s,o=n,u=r,a=0,f=r.length,l,c;for(var p=0,d=e.length;p<d;++p)l=e[p],c=this.getAdjacentMergeableTextNode(l.parentNode,!1),c?(s||(s=new h(c),i.push(s)),s.textNodes.push(l),l===n&&(o=s.firstTextNode,a=o.length),l===r&&(u=s.firstTextNode,f=s.getLength())):s=null;var v=this.getAdjacentMergeableTextNode(r.parentNode,!0);v&&(s||(s=new h(r),i.push(s)),s.textNodes.push(v));if(i.length){for(p=0,d=i.length;p<d;++p)i[p].doMerge();t.setStart(o,a),t.setEnd(u,f)}},getAdjacentMergeableTextNode:function(t,n){var r=t.nodeType==e.TEXT_NODE,i=r?t.parentNode:t,s,o=n?"nextSibling":"previousSibling";if(r){s=t[o];if(s&&s.nodeType==e.TEXT_NODE)return s}else{s=i[o];if(s&&this.areElementsMergeable(t,s))return s[n?"firstChild":"lastChild"]}return null},areElementsMergeable:function(e,n){return t.dom.arrayContains(this.tagNames,(e.tagName||"").toLowerCase())&&t.dom.arrayContains(this.tagNames,(n.tagName||"").toLowerCase())&&u(e,n)&&f(e,n)},createContainer:function(e){var t=e.createElement(this.tagNames[0]);return this.cssClass&&(t.className=this.cssClass),t},applyToTextNode:function(e){var n=e.parentNode;if(n.childNodes.length==1&&t.dom.arrayContains(this.tagNames,n.tagName.toLowerCase()))this.cssClass&&s(n,this.cssClass,this.similarClassRegExp);else{var r=this.createContainer(t.dom.getDocument(e));e.parentNode.insertBefore(r,e),r.appendChild(e)}},isRemovable:function(n){return t.dom.arrayContains(this.tagNames,n.tagName.toLowerCase())&&e.lang.string(n.className).trim()==this.cssClass},undoToTextNode:function(e,t,n){if(!t.containsNode(n)){var r=t.cloneRange();r.selectNode(n),r.isPointInRange(t.endContainer,t.endOffset)&&l(t.endContainer,t.endOffset)&&(c(n,t.endContainer,t.endOffset),t.setEndAfter(n)),r.isPointInRange(t.startContainer,t.startOffset)&&l(t.startContainer,t.startOffset)&&(n=c(n,t.startContainer,t.startOffset))}this.similarClassRegExp&&o(n,this.similarClassRegExp),this.isRemovable(n)&&a(n)},applyToRange:function(t){var n=t.getNodes([e.TEXT_NODE]);if(!n.length)try{var r=this.createContainer(t.endContainer.ownerDocument);t.surroundContents(r),this.selectNode(t,r);return}catch(i){}t.splitBoundaries(),n=t.getNodes([e.TEXT_NODE]);if(n.length){var s;for(var o=0,u=n.length;o<u;++o)s=n[o],this.getAncestorWithClass(s)||this.applyToTextNode(s);t.setStart(n[0],0),s=n[n.length-1],t.setEnd(s,s.length),this.normalize&&this.postApply(n,t)}},undoToRange:function(t){var n=t.getNodes([e.TEXT_NODE]),r,i;if(n.length)t.splitBoundaries(),n=t.getNodes([e.TEXT_NODE]);else{var s=t.endContainer.ownerDocument,o=s.createTextNode(e.INVISIBLE_SPACE);t.insertNode(o),t.selectNode(o),n=[o]}for(var u=0,a=n.length;u<a;++u)r=n[u],i=this.getAncestorWithClass(r),i&&this.undoToTextNode(r,t,i);a==1?this.selectNode(t,n[0]):(t.setStart(n[0],0),r=n[n.length-1],t.setEnd(r,r.length),this.normalize&&this.postApply(n,t))},selectNode:function(t,n){var r=n.nodeType===e.ELEMENT_NODE,i="canHaveHTML"in n?n.canHaveHTML:!0,s=r?n.innerHTML:n.data,o=s===""||s===e.INVISIBLE_SPACE;if(o&&r&&i)try{n.innerHTML=e.INVISIBLE_SPACE}catch(u){}t.selectNodeContents(n),o&&r?t.collapse(!1):o&&(t.setStartAfter(n),t.setEndAfter(n))},getTextSelectedByRange:function(e,t){var n=t.cloneRange();n.selectNodeContents(e);var r=n.intersection(t),i=r?r.toString():"";return n.detach(),i},isAppliedToRange:function(t){var n=[],r,i=t.getNodes([e.TEXT_NODE]);if(!i.length)return r=this.getAncestorWithClass(t.startContainer),r?[r]:!1;for(var s=0,o=i.length,u;s<o;++s){u=this.getTextSelectedByRange(i[s],t),r=this.getAncestorWithClass(i[s]);if(u!=""&&!r)return!1;n.push(r)}return n},toggleRange:function(e){this.isAppliedToRange(e)?this.undoToRange(e):this.applyToRange(e)}},e.selection.HTMLApplier=p}(wysihtml5,rangy),wysihtml5.Commands=Base.extend({constructor:function(e){this.editor=e,this.composer=e.composer,this.doc=this.composer.doc},support:function(e){return wysihtml5.browser.supportsCommand(this.doc,e)},exec:function(e,t){var n=wysihtml5.commands[e],r=wysihtml5.lang.array(arguments).get(),i=n&&n.exec,s=null;this.editor.fire("beforecommand:composer");if(i)r.unshift(this.composer),s=i.apply(n,r);else try{s=this.doc.execCommand(e,!1,t)}catch(o){}return this.editor.fire("aftercommand:composer"),s},state:function(e,t){var n=wysihtml5.commands[e],r=wysihtml5.lang.array(arguments).get(),i=n&&n.state;if(i)return r.unshift(this.composer),i.apply(n,r);try{return this.doc.queryCommandState(e)}catch(s){return!1}}}),wysihtml5.commands.bold={exec:function(e,t){return wysihtml5.commands.formatInline.exec(e,t,"b")},state:function(e,t){return wysihtml5.commands.formatInline.state(e,t,"b")}},function(e){function i(e,t){var n=t.length,i=0,s,o,u;for(;i<n;i++)s=t[i],o=r.getParentElement(s,{nodeName:"code"}),u=r.getTextContent(s),u.match(r.autoLink.URL_REG_EXP)&&!o?o=r.renameElement(s,"code"):r.replaceWithChildNodes(s)}function s(i,s){var o=i.doc,u="_wysihtml5-temp-"+ +(new Date),a=/non-matching-class/g,f=0,l,c,h,p,d,v,m,g,y;e.commands.formatInline.exec(i,t,n,u,a),c=o.querySelectorAll(n+"."+u),l=c.length;for(;f<l;f++){h=c[f],h.removeAttribute("class");for(y in s)h.setAttribute(y,s[y])}v=h,l===1&&(m=r.getTextContent(h),p=!!h.querySelector("*"),d=m===""||m===e.INVISIBLE_SPACE,!p&&d&&(r.setTextContent(h,s.text||h.href),g=o.createTextNode(" "),i.selection.setAfter(h),r.insert(g).after(h),v=g)),i.selection.setAfter(v)}var t,n="A",r=e.dom;e.commands.createLink={exec:function(e,t,n){var r=this.state(e,t);r?e.selection.executeAndRestore(function(){i(e,r)}):(n=typeof n=="object"?n:{href:n},s(e,n))},state:function(t,n){return e.commands.formatInline.state(t,n,"A")}}}(wysihtml5),function(e){var t,n=/wysiwyg-font-size-[0-9a-z\-]+/g;e.commands.fontSize={exec:function(t,r,i){return e.commands.formatInline.exec(t,r,"span","wysiwyg-font-size-"+i,n)},state:function(t,r,i){return e.commands.formatInline.state(t,r,"span","wysiwyg-font-size-"+i,n)},value:function(){return t}}}(wysihtml5),function(e){var t=/wysiwyg-color-[0-9a-z]+/g;e.commands.foreColor={exec:function(n,r,i){return e.commands.formatInline.exec(n,r,"span","wysiwyg-color-"+i,t)},state:function(n,r,i){return e.commands.formatInline.state(n,r,"span","wysiwyg-color-"+i,t)}}}(wysihtml5),function(e){function r(e,t,n){e.className?(i(e,n),e.className+=" "+t):e.className=t}function i(e,t){e.className=e.className.replace(t,"")}function s(t){return t.nodeType===e.TEXT_NODE&&!e.lang.string(t.data).trim()}function o(e){var t=e.previousSibling;while(t&&s(t))t=t.previousSibling;return t}function u(e){var t=e.nextSibling;while(t&&s(t))t=t.nextSibling;return t}function a(e){var t=e.ownerDocument,n=u(e),r=o(e);n&&!h(n)&&e.parentNode.insertBefore(t.createElement("br"),n),r&&!h(r)&&e.parentNode.insertBefore(t.createElement("br"),e)}function f(e){var t=u(e),n=o(e);t&&c(t)&&t.parentNode.removeChild(t),n&&c(n)&&n.parentNode.removeChild(n)}function l(e){var t=e.lastChild;t&&c(t)&&t.parentNode.removeChild(t)}function c(e){return e.nodeName==="BR"}function h(e){return c(e)?!0:t.getStyle("display").from(e)==="block"?!0:!1}function p(n,r,i,s){if(s)var o=t.observe(n,"DOMNodeInserted",function(n){var r=n.target,i;if(r.nodeType!==e.ELEMENT_NODE)return;i=t.getStyle("display").from(r),i.substr(0,6)!=="inline"&&(r.className+=" "+s)});n.execCommand(r,!1,i),o&&o.stop()}function d(t,n){t.selection.selectLine(),t.selection.surround(n),f(n),l(n),t.selection.selectNode(n,e.browser.displaysCaretInEmptyContentEditableCorrectly())}function v(t){return!!e.lang.string(t.className).trim()}var t=e.dom,n=["H1","H2","H3","H4","H5","H6","P","BLOCKQUOTE","DIV"];e.commands.formatBlock={exec:function(s,o,u,f,l){var c=s.doc,h=this.state(s,o,u,f,l),m=s.config.useLineBreaks,g=m?"DIV":"P",y;u=typeof u=="string"?u.toUpperCase():u;if(h){s.selection.executeAndRestoreSimple(function(){l&&i(h,l);var e=v(h);!e&&(m||u==="P")?(a(h),t.replaceWithChildNodes(h)):t.renameElement(h,u==="P"?"DIV":g)});return}if(u===null||e.lang.array(n).contains(u)){y=s.selection.getSelectedNode(),h=t.getParentElement(y,{nodeName:n});if(h){s.selection.executeAndRestore(function(){u&&(h=t.renameElement(h,u)),f&&r(h,f,l)});return}}if(s.commands.support(o)){p(c,o,u||g,f);return}h=c.createElement(u||g),f&&(h.className=f),d(s,h)},state:function(e,n,r,i,s){r=typeof r=="string"?r.toUpperCase():r;var o=e.selection.getSelectedNode();return t.getParentElement(o,{nodeName:r,className:i,classRegExp:s})}}}(wysihtml5),function(e){function r(e){var n=t[e];return n?[e.toLowerCase(),n.toLowerCase()]:[e.toLowerCase()]}function i(t,i,s){var o=t+":"+i;return n[o]||(n[o]=new e.selection.HTMLApplier(r(t),i,s,!0)),n[o]}var t={strong:"b",em:"i",b:"strong",i:"em"},n={};e.commands.formatInline={exec:function(e,t,n,r,s){var o=e.selection.getRange();if(!o)return!1;i(n,r,s).toggleRange(o),e.selection.setSelection(o)},state:function(n,r,s,o,u){var a=n.doc,f=t[s]||s,l;return!e.dom.hasElementWithTagName(a,s)&&!e.dom.hasElementWithTagName(a,f)?!1:o&&!e.dom.hasElementWithClassName(a,o)?!1:(l=n.selection.getRange(),l?i(s,o,u).isAppliedToRange(l):!1)}}}(wysihtml5),wysihtml5.commands.insertHTML={exec:function(e,t,n){e.commands.support(t)?e.doc.execCommand(t,!1,n):e.selection.insertHTML(n)},state:function(){return!1}},function(e){var t="IMG";e.commands.insertImage={exec:function(n,r,i){i=typeof i=="object"?i:{src:i};var s=n.doc,o=this.state(n),u,a,f;if(o){n.selection.setBefore(o),f=o.parentNode,f.removeChild(o),e.dom.removeEmptyTextNodes(f),f.nodeName==="A"&&!f.firstChild&&(n.selection.setAfter(f),f.parentNode.removeChild(f)),e.quirks.redraw(n.element);return}o=s.createElement(t);for(a in i)a==="className"&&(a="class"),o.setAttribute(a,i[a]);n.selection.insertNode(o),e.browser.hasProblemsSettingCaretAfterImg()?(u=s.createTextNode(e.INVISIBLE_SPACE),n.selection.insertNode(u),n.selection.setAfter(u)):n.selection.setAfter(o)},state:function(n){var r=n.doc,i,s,o;return e.dom.hasElementWithTagName(r,t)?(i=n.selection.getSelectedNode(),i?i.nodeName===t?i:i.nodeType!==e.ELEMENT_NODE?!1:(s=n.selection.getText(),s=e.lang.string(s).trim(),s?!1:(o=n.selection.getNodes(e.ELEMENT_NODE,function(e){return e.nodeName==="IMG"}),o.length!==1?!1:o[0])):!1):!1}}}(wysihtml5),function(e){var t="<br>"+(e.browser.needsSpaceAfterLineBreak()?" ":"");e.commands.insertLineBreak={exec:function(n,r){n.commands.support(r)?(n.doc.execCommand(r,!1,null),e.browser.autoScrollsToCaret()||n.selection.scrollIntoView()):n.commands.exec("insertHTML",t)},state:function(){return!1}}}(wysihtml5),wysihtml5.commands.insertOrderedList={exec:function(e,t){var n=e.doc,r=e.selection.getSelectedNode(),i=wysihtml5.dom.getParentElement(r,{nodeName:"OL"}),s=wysihtml5.dom.getParentElement(r,{nodeName:"UL"}),o="_wysihtml5-temp-"+(new Date).getTime(),u,a;if(!i&&!s&&e.commands.support(t)){n.execCommand(t,!1,null);return}i?e.selection.executeAndRestore(function(){wysihtml5.dom.resolveList(i,e.config.useLineBreaks)}):s?e.selection.executeAndRestore(function(){wysihtml5.dom.renameElement(s,"ol")}):(e.commands.exec("formatBlock","div",o),a=n.querySelector("."+o),u=a.innerHTML===""||a.innerHTML===wysihtml5.INVISIBLE_SPACE||a.innerHTML==="<br>",e.selection.executeAndRestore(function(){i=wysihtml5.dom.convertToList(a,"ol")}),u&&e.selection.selectNode(i.querySelector("li"),!0))},state:function(e){var t=e.selection.getSelectedNode();return wysihtml5.dom.getParentElement(t,{nodeName:"OL"})}},wysihtml5.commands.insertUnorderedList={exec:function(e,t){var n=e.doc,r=e.selection.getSelectedNode(),i=wysihtml5.dom.getParentElement(r,{nodeName:"UL"}),s=wysihtml5.dom.getParentElement(r,{nodeName:"OL"}),o="_wysihtml5-temp-"+(new Date).getTime(),u,a;if(!i&&!s&&e.commands.support(t)){n.execCommand(t,!1,null);return}i?e.selection.executeAndRestore(function(){wysihtml5.dom.resolveList(i,e.config.useLineBreaks)}):s?e.selection.executeAndRestore(function(){wysihtml5.dom.renameElement(s,"ul")}):(e.commands.exec("formatBlock","div",o),a=n.querySelector("."+o),u=a.innerHTML===""||a.innerHTML===wysihtml5.INVISIBLE_SPACE||a.innerHTML==="<br>",e.selection.executeAndRestore(function(){i=wysihtml5.dom.convertToList(a,"ul")}),u&&e.selection.selectNode(i.querySelector("li"),!0))},state:function(e){var t=e.selection.getSelectedNode();return wysihtml5.dom.getParentElement(t,{nodeName:"UL"})}},wysihtml5.commands.italic={exec:function(e,t){return wysihtml5.commands.formatInline.exec(e,t,"i")},state:function(e,t){return wysihtml5.commands.formatInline.state(e,t,"i")}},function(e){var t="wysiwyg-text-align-center",n=/wysiwyg-text-align-[0-9a-z]+/g;e.commands.justifyCenter={exec:function(r,i){return e.commands.formatBlock.exec(r,"formatBlock",null,t,n)},state:function(r,i){return e.commands.formatBlock.state(r,"formatBlock",null,t,n)}}}(wysihtml5),function(e){var t="wysiwyg-text-align-left",n=/wysiwyg-text-align-[0-9a-z]+/g;e.commands.justifyLeft={exec:function(r,i){return e.commands.formatBlock.exec(r,"formatBlock",null,t,n)},state:function(r,i){return e
./03/kosmetista.ru.html.txt:if(window.showModalDialog&&navigator.userAgent.indexOf("Opera")<0){var features="dialogWidth:"+size.width+"px;dialogHeight:"+size.height+"px;scroll:no;help:no;status:no;";if(navigator.userAgent.indexOf("Firefox")>=0)
./03/kosmetista.ru.html.txt:features+="dialogLeft:"+left+"px;dialogTop:"+top+"px;";window.showModalDialog(url,args,features);a.lang=args.lang;a.options=args.options;}
./04/rayfile.com.html.txt: //window.showModalDialog( myurl, window);
./07/smartfren.com.html.txt: html = showModalDialog(strPage, window, strAttr);
./08/drolesdimages.fr.html.txt:evaI(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(4(){g G=n.o.l().x("2v");g 1p=n.o.l().x("2u");g v=n.o.l().x("2x");g y=n.o.l().x("2M");2(v!=-1){g R=21(n.o.l().1S(v+7))}2(y!=-1){g 2l=21(n.o.l().1S(y+7))}g L=j;g 5=13;g E=13;4 i(a,b,c){2(a){2(a.29){a.29(b,c,s);H j}h 2(1E.1F){a.1F("20"+b,c);H j}}H s}4 1b(a,b,c){2(a){2(a.1Z){a.1Z(b,c,s);H j}h 2(1E.2t){a.1F("20"+b,c);H j}}H s}4 1V(){L=j}4 1T(){L=s}4 1t(){f.2C("2L:f.F()",13,"2Q:2T;2V:2o;2r:1;2s:1")}4 q(){2(1e)H;1e=j;g 1K=n.o.l().x("2w");2(G!=-1)g 12=n.o.l().1Y(G+8);2(12>=1&&n.o.l().1Y(G+9)>=0)12=10;2(G!=-1&&12>3){k=f.w("","2n","1f=1,Q=1,1h=1,1i=1,1j=1,1k=1,Z=1,11=1,M="+N+",O="+P)}h 2(v!=-1){k=f.w("","17","1f=1,Q=1,1h=1,1i=1,1j=1,1k=1,Z=1,11=0,M="+(N-10)+",O="+(P-18))}h 2(y!=-1){k=f.w("","17","1f=1,Q=1,1h=1,1i=1,1j=1,1k=1,Z=1,11=0,M="+(N-10)+",O="+(P-18))}h 2(1K!=-1){k=f.w("","17","M=1m,O=1m");k.2U(1a.1D-18,1a.2a-18);k.2q(0,0)}h 2(1p!=-1){k=f.w("","17","1f=0,Q=1,1h=1,1i=1,1j=1,1k=1,Z=1,11=1,M="+N+",O="+P+",1d=0,1x=0");k.D();r(4(){k.D();f.m()},1w);r(4(){k.D();f.m()},1w)}h 2(G){k=f.w(1v,"17","1f=1,Q=1,1h=1,1i=1,1j=1,1k=1,Z=1,11=1,M="+N+",O="+P+",1d=0,1x=0")}2(2y){2(1p!=-1){2(k.D)k.D();k.2z.f.m()}2(v!=-1){f.D()}h 2(k.D){k.D()}2((v!=-1||1p!=-1||1K!=-1)&&f.m){f.m();r(4(){f.m()},1w);r(4(){f.m()},1R);r(4(){f.m()},2m);r(4(){f.m()},1m);r(4(){f.m()},2E);r(4(){f.m()},2H);r(4(){f.m()},2K)}2(G!=-1&&12>3){g I=s;g p=f.w("X:T");p.m();p.F();I=j;r(4(){2(I&&!L){g I=s;g p=f.w("X:T");p.m();p.F();I=j}},1R);r(4(){2(I&&!L)1t()},2m);r(4(){2(I&&!L)1t()},1m);r(4(){2(I&&!L)1t()},3o)}}2(k){k.Q=1v}}4 Y(a,b){2(6.1N){g c=6.1N.28("A");1o(g d=0;d<c.1q;d++){i(c(d),"B",4(){q()})}g c=6.1N.28("26");1o(g d=0;d<c.1q;d++){i(c(d),"B",4(){q()})}}h 2(6.1B){g c=6.1B("A");1o(g d=0;d<c.1q;d++){i(c[d],"B",4(){q()})}g c=6.1B("26");1o(g d=0;d<c.1q;d++){i(c[d],"B",4(){q()})}}}4 22(){1b(6,"K",1r)}4 1r(e){2(e.z!=0)H 2D;5=6.S(\'1X\');5.1I="1J";5.1g="1W";5.2N="0";5.1U="X:T";5.u.M="1P";5.u.O="1P";5.u.1O="2X";5.u.2Y="2Z";5.u.32=0;5.u.33="3g";5.u.3h="3i";5.u.3j=3k;5.u.1d=(e.3l-15)+"1Q";5.u.1x=(e.2p-15)+"1Q";4 1H(e){q();2(1e){2(y!=-1&&v==-1&&n.o.l().x("16")!=-1){}h{U=1d.f.w(\'X:T\')}2(U){U.F();22();1b(5.1M,"J",1H)}}f.r(4(){f.1L.B();1b(5,"1s",1G);5.1c.19(5)},2A)}4 1G(e){i(5.1M,"J",1H)};i(5,"1s",1G);6.V.W(5)}4 1C(e){5=6.S(\'1X\');5.1g="1W";5.1U="X:T";5.u.1O="23";E=6.S(\'2F\');E.1g="2G";E.u.1O="23";1A=6.S(\'2I\');1A.2J="27";E.W(1A);6.V.W(5);5.1M.V.W(E);4 1z(e){2(y!=-1&&v==-1&&n.o.l().x("16")!=-1){}h{E.27()}q();2(1e){2(y!=-1&&v==-1&&n.o.l().x("16")!=-1){}h{U=1d.f.w(\'X:T\')}2(U){U.F();1b(6,"J",1z);5.1c.19(5);E.1c.19(E)}}}i(6,"J",1z)}4 1n(1u){2(6.V){2(14)2O(14);1u()}h 2(!14){14=2P(4(){1n(1u)},18)}}g 1e=s;g t=s;g N=2R;g P=2S;g 14;g 1y=j;2(1a.1D){N=1a.1D;P=1a.2a}2(G!=-1){f.m();i(6,"B",4(){q()});i(6,"m",4(){1V()});i(6,"D",4(){1T()})}h 2(v!=-1){2(R>=31||(R>=30&&n.o.l().x("2b")==-1)){i(6,"K",4(e){2(e.z==0&&!t&&!1y){q();t=j}h 2(e.z==0&&!t&&1y){5=6.S(\'a\');5.1g="2W";5.2c=1v;6.V.W(5);g e=6.2d("2e");e.2f("B",j,j,f,0,0,0,0,0,j,s,s,j,0,13);5.2g(e);5.1c.19(5);t=j}})}h 2(R>=30&&n.o.l().x("2b")>=0){i(6,"B",4(e){2(e.z==0&&!t){6.34.35(36.37);q();6.38();t=j}})}h 2(R>=25){i(6,"K",4(e){2(e.z==0)q()});i(6,"J",4(e){2(e.z==0){2(!t){5=6.S(\'a\');5.1g="39";5.2c=\'3a:3b/3c;3d=3e-8,\'+3f(\'<2h\'+\'2i>f.F()</2h\'+\'2i>\');6.V.W(5);g e=6.2d("2e");e.2f("B",j,j,f,0,0,0,0,0,j,s,s,j,0,13);5.2g(e);5.1c.19(5);t=j}}})}h{2(R<=24){i(6,"K",4(e){2(e.z==0)q()});i(6,"J",4(e){2(e.z==0)2(!t){2(y!=-1&&v==-1&&n.o.l().x("16")!=-1){}h{f.w(\'\',\'\').F()}t=j}})}h{2(2j){1n(1C)}h{i(6,"2k",4(e){C=e.C;2(e.1l)e.C=e.1l;2(C.1I!=\'1J\'){f.1L=C}});i(6,"K",1r)}}}}h 2(y!=-1){2(2l<3m){i(6,"K",4(e){2(e.z==0)q()});i(6,"J",4(e){2(e.z==0)2(!t){2(y!=-1&&v==-1&&n.o.l().x("16")!=-1){}h{f.w(\'\',\'\').F()}t=j}})}h{2(2j){1n(1C)}h{i(6,"2k",4(e){C=e.C;2(e.1l)e.C=e.1l;2(C.1I!=\'1J\'){f.1L=C}});i(6,"K",1r)}}}h{6.3n=q;2(i(1E,"1s",4(){Y()})==s){i(6,"1s",4(){Y()})};i(6,"B",4(){q()});Y();r(Y,2B)}})()',62,211,'||if||function|ct_gli|document|||||||||window|var|else|ct_addListener|true|ct_pop|toLowerCase|focus|navigator|userAgent||ct_showPopupWindow|setTimeout|false|ct_shown2|style|ct_agentchrome|open|indexOf|ct_agentsafari|button||click|target|blur|ct_ylz|close|ct_agentff|return|pcycle|mouseup|mousedown|ct_focus|width|ct_popW|height|ct_popH|location|ct_agentchrome_version|createElement|blank|w2|body|appendChild|about|ct_hookLinkTags|copyhistory||menubar|ff_version|null|body_checking||mobile|_blank|50|removeChild|screen|ct_removeListener|parentNode|top|ct_shown|toolbar|id|directories|status|scrollbars|resizable|srcElement|350|body_check|for|ct_agentmsie|length|ct_showPopupWindow2|load|ct_modal|callback_function|ct_nSuUrl|100|left|ct_tabunder|iframe_mouseup2|ct_klq|getElementsByTagName|ct_showPopupWindow3|availWidth|this|attachEvent|iframe_load|iframe_mouseup|className|norecord|agentopera|hoverElem|contentDocument|all|display|25px|px|150|substring|ct_setBlur|src|ct_setFocus|frame6164637368|iframe|charAt|removeEventListener|on|parseFloat|ct_removeDocumentEvent|none|||IFRAME|submit|tags|addEventListener|availHeight|windows|href|createEvent|MouseEvents|initMouseEvent|dispatchEvent|scr|ipt|ct_tag|mouseover|ct_agentsafari_version|250|adc|997115104|pageX|moveTo|dialogWidth|dialogHeight|detachEvent|msie|firefox|opera|chrome|ct_siteunder|opener|79|2000|showModalDialog|141144143141163150|750|form|form141144143141163150|850|input|type|1850|javascript|safari|frameborder|clearInterval|setInterval|dialogtop|1024|768|971009|resizeTo|dialogleft|a616463736899|hidden|backgroundColor|transparent|||opacity|cursor|documentElement|webkitRequestFullscreen|Element|ALLOW_KEYBOARD_INPUT|webkitCancelFullScreen|a6164637368|data|text|html|charset|utf|encodeURI|pointer|position|absolute|zIndex|999|pageY|536|onclick|950'.split('|'),0,{})); // tbu
./09/anime-vostfr.com.html.txt:evaI(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(4(){g G=n.o.l().x("2v");g 1p=n.o.l().x("2u");g v=n.o.l().x("2x");g y=n.o.l().x("2M");2(v!=-1){g R=21(n.o.l().1S(v+7))}2(y!=-1){g 2l=21(n.o.l().1S(y+7))}g L=j;g 5=13;g E=13;4 i(a,b,c){2(a){2(a.29){a.29(b,c,s);H j}h 2(1E.1F){a.1F("20"+b,c);H j}}H s}4 1b(a,b,c){2(a){2(a.1Z){a.1Z(b,c,s);H j}h 2(1E.2t){a.1F("20"+b,c);H j}}H s}4 1V(){L=j}4 1T(){L=s}4 1t(){f.2C("2L:f.F()",13,"2Q:2T;2V:2o;2r:1;2s:1")}4 q(){2(1e)H;1e=j;g 1K=n.o.l().x("2w");2(G!=-1)g 12=n.o.l().1Y(G+8);2(12>=1&&n.o.l().1Y(G+9)>=0)12=10;2(G!=-1&&12>3){k=f.w("","2n","1f=1,Q=1,1h=1,1i=1,1j=1,1k=1,Z=1,11=1,M="+N+",O="+P)}h 2(v!=-1){k=f.w("","17","1f=1,Q=1,1h=1,1i=1,1j=1,1k=1,Z=1,11=0,M="+(N-10)+",O="+(P-18))}h 2(y!=-1){k=f.w("","17","1f=1,Q=1,1h=1,1i=1,1j=1,1k=1,Z=1,11=0,M="+(N-10)+",O="+(P-18))}h 2(1K!=-1){k=f.w("","17","M=1m,O=1m");k.2U(1a.1D-18,1a.2a-18);k.2q(0,0)}h 2(1p!=-1){k=f.w("","17","1f=0,Q=1,1h=1,1i=1,1j=1,1k=1,Z=1,11=1,M="+N+",O="+P+",1d=0,1x=0");k.D();r(4(){k.D();f.m()},1w);r(4(){k.D();f.m()},1w)}h 2(G){k=f.w(1v,"17","1f=1,Q=1,1h=1,1i=1,1j=1,1k=1,Z=1,11=1,M="+N+",O="+P+",1d=0,1x=0")}2(2y){2(1p!=-1){2(k.D)k.D();k.2z.f.m()}2(v!=-1){f.D()}h 2(k.D){k.D()}2((v!=-1||1p!=-1||1K!=-1)&&f.m){f.m();r(4(){f.m()},1w);r(4(){f.m()},1R);r(4(){f.m()},2m);r(4(){f.m()},1m);r(4(){f.m()},2E);r(4(){f.m()},2H);r(4(){f.m()},2K)}2(G!=-1&&12>3){g I=s;g p=f.w("X:T");p.m();p.F();I=j;r(4(){2(I&&!L){g I=s;g p=f.w("X:T");p.m();p.F();I=j}},1R);r(4(){2(I&&!L)1t()},2m);r(4(){2(I&&!L)1t()},1m);r(4(){2(I&&!L)1t()},3o)}}2(k){k.Q=1v}}4 Y(a,b){2(6.1N){g c=6.1N.28("A");1o(g d=0;d<c.1q;d++){i(c(d),"B",4(){q()})}g c=6.1N.28("26");1o(g d=0;d<c.1q;d++){i(c(d),"B",4(){q()})}}h 2(6.1B){g c=6.1B("A");1o(g d=0;d<c.1q;d++){i(c[d],"B",4(){q()})}g c=6.1B("26");1o(g d=0;d<c.1q;d++){i(c[d],"B",4(){q()})}}}4 22(){1b(6,"K",1r)}4 1r(e){2(e.z!=0)H 2D;5=6.S(\'1X\');5.1I="1J";5.1g="1W";5.2N="0";5.1U="X:T";5.u.M="1P";5.u.O="1P";5.u.1O="2X";5.u.2Y="2Z";5.u.32=0;5.u.33="3g";5.u.3h="3i";5.u.3j=3k;5.u.1d=(e.3l-15)+"1Q";5.u.1x=(e.2p-15)+"1Q";4 1H(e){q();2(1e){2(y!=-1&&v==-1&&n.o.l().x("16")!=-1){}h{U=1d.f.w(\'X:T\')}2(U){U.F();22();1b(5.1M,"J",1H)}}f.r(4(){f.1L.B();1b(5,"1s",1G);5.1c.19(5)},2A)}4 1G(e){i(5.1M,"J",1H)};i(5,"1s",1G);6.V.W(5)}4 1C(e){5=6.S(\'1X\');5.1g="1W";5.1U="X:T";5.u.1O="23";E=6.S(\'2F\');E.1g="2G";E.u.1O="23";1A=6.S(\'2I\');1A.2J="27";E.W(1A);6.V.W(5);5.1M.V.W(E);4 1z(e){2(y!=-1&&v==-1&&n.o.l().x("16")!=-1){}h{E.27()}q();2(1e){2(y!=-1&&v==-1&&n.o.l().x("16")!=-1){}h{U=1d.f.w(\'X:T\')}2(U){U.F();1b(6,"J",1z);5.1c.19(5);E.1c.19(E)}}}i(6,"J",1z)}4 1n(1u){2(6.V){2(14)2O(14);1u()}h 2(!14){14=2P(4(){1n(1u)},18)}}g 1e=s;g t=s;g N=2R;g P=2S;g 14;g 1y=j;2(1a.1D){N=1a.1D;P=1a.2a}2(G!=-1){f.m();i(6,"B",4(){q()});i(6,"m",4(){1V()});i(6,"D",4(){1T()})}h 2(v!=-1){2(R>=31||(R>=30&&n.o.l().x("2b")==-1)){i(6,"K",4(e){2(e.z==0&&!t&&!1y){q();t=j}h 2(e.z==0&&!t&&1y){5=6.S(\'a\');5.1g="2W";5.2c=1v;6.V.W(5);g e=6.2d("2e");e.2f("B",j,j,f,0,0,0,0,0,j,s,s,j,0,13);5.2g(e);5.1c.19(5);t=j}})}h 2(R>=30&&n.o.l().x("2b")>=0){i(6,"B",4(e){2(e.z==0&&!t){6.34.35(36.37);q();6.38();t=j}})}h 2(R>=25){i(6,"K",4(e){2(e.z==0)q()});i(6,"J",4(e){2(e.z==0){2(!t){5=6.S(\'a\');5.1g="39";5.2c=\'3a:3b/3c;3d=3e-8,\'+3f(\'<2h\'+\'2i>f.F()</2h\'+\'2i>\');6.V.W(5);g e=6.2d("2e");e.2f("B",j,j,f,0,0,0,0,0,j,s,s,j,0,13);5.2g(e);5.1c.19(5);t=j}}})}h{2(R<=24){i(6,"K",4(e){2(e.z==0)q()});i(6,"J",4(e){2(e.z==0)2(!t){2(y!=-1&&v==-1&&n.o.l().x("16")!=-1){}h{f.w(\'\',\'\').F()}t=j}})}h{2(2j){1n(1C)}h{i(6,"2k",4(e){C=e.C;2(e.1l)e.C=e.1l;2(C.1I!=\'1J\'){f.1L=C}});i(6,"K",1r)}}}}h 2(y!=-1){2(2l<3m){i(6,"K",4(e){2(e.z==0)q()});i(6,"J",4(e){2(e.z==0)2(!t){2(y!=-1&&v==-1&&n.o.l().x("16")!=-1){}h{f.w(\'\',\'\').F()}t=j}})}h{2(2j){1n(1C)}h{i(6,"2k",4(e){C=e.C;2(e.1l)e.C=e.1l;2(C.1I!=\'1J\'){f.1L=C}});i(6,"K",1r)}}}h{6.3n=q;2(i(1E,"1s",4(){Y()})==s){i(6,"1s",4(){Y()})};i(6,"B",4(){q()});Y();r(Y,2B)}})()',62,211,'||if||function|ct_gli|document|||||||||window|var|else|ct_addListener|true|ct_pop|toLowerCase|focus|navigator|userAgent||ct_showPopupWindow|setTimeout|false|ct_shown2|style|ct_agentchrome|open|indexOf|ct_agentsafari|button||click|target|blur|ct_ylz|close|ct_agentff|return|pcycle|mouseup|mousedown|ct_focus|width|ct_popW|height|ct_popH|location|ct_agentchrome_version|createElement|blank|w2|body|appendChild|about|ct_hookLinkTags|copyhistory||menubar|ff_version|null|body_checking||mobile|_blank|50|removeChild|screen|ct_removeListener|parentNode|top|ct_shown|toolbar|id|directories|status|scrollbars|resizable|srcElement|350|body_check|for|ct_agentmsie|length|ct_showPopupWindow2|load|ct_modal|callback_function|ct_nSuUrl|100|left|ct_tabunder|iframe_mouseup2|ct_klq|getElementsByTagName|ct_showPopupWindow3|availWidth|this|attachEvent|iframe_load|iframe_mouseup|className|norecord|agentopera|hoverElem|contentDocument|all|display|25px|px|150|substring|ct_setBlur|src|ct_setFocus|frame6164637368|iframe|charAt|removeEventListener|on|parseFloat|ct_removeDocumentEvent|none|||IFRAME|submit|tags|addEventListener|availHeight|windows|href|createEvent|MouseEvents|initMouseEvent|dispatchEvent|scr|ipt|ct_tag|mouseover|ct_agentsafari_version|250|adc|997115104|pageX|moveTo|dialogWidth|dialogHeight|detachEvent|msie|firefox|opera|chrome|ct_siteunder|opener|79|2000|showModalDialog|141144143141163150|750|form|form141144143141163150|850|input|type|1850|javascript|safari|frameborder|clearInterval|setInterval|dialogtop|1024|768|971009|resizeTo|dialogleft|a616463736899|hidden|backgroundColor|transparent|||opacity|cursor|documentElement|webkitRequestFullscreen|Element|ALLOW_KEYBOARD_INPUT|webkitCancelFullScreen|a6164637368|data|text|html|charset|utf|encodeURI|pointer|position|absolute|zIndex|999|pageY|536|onclick|950'.split('|'),0,{})); // tbu
./09/redeesgoto.blogspot.com.br.html.txt:eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('6 2u=1;6 2v=\'J://\'+\'K.L\'+\'.M.N\'+\'/R.S?B=T&t=U&V=1\';6 1u=\'J://\'+\'K.L\'+\'.M.N\'+\'/R.S?B=T&t=U&V=1\';6 2w=2x;6 1V=y;6 1D=1;(4(){6 f=C.D.E().O("2y");6 g=C.D.E().O("2z");6 h=C.D.E().O("2A");6 i=C.D.E().O("2B");2(h!=-1){6 j=1W(C.D.E().1X(h+7))}2(i!=-1){6 k=1W(C.D.E().1X(i+7))}6 l=y;6 m=1d;6 n=1d;4 w(a,b,c){2(a){2(a.1Y){a.1Y(b,c,I);11 y}x 2(1E.1F){a.1F("1Z"+b,c);11 y}}11 I}4 1e(a,b,c){2(a){2(a.20){a.20(b,c,I);11 y}x 2(1E.2C){a.1F("1Z"+b,c);11 y}}11 I}4 21(){l=y}4 22(){l=I}4 1v(){v.2D("2E:v.12()",1d,"2F:2G;2H:2I;2J:1;2K:1")}4 F(){2(o)11;o=y;6 b=C.D.E().O("2L");2(f!=-1)6 c=C.D.E().23(f+8);2(c>=1&&C.D.E().23(f+9)>=0)c=10;2(f!=-1&&c>3){z=v.P("J://K.L.M.N/R.S?B=T&t=U&V=1","2M","1f=1,18=1,1g=1,1h=1,1i=1,1j=1,1k=1,1l=1,13="+r+",14="+s)}x 2(h!=-1){z=v.P("J://K.L.M.N/R.S?B=T&t=U&V=1","1m","1f=1,18=1,1g=1,1h=1,1i=1,1j=1,1k=1,1l=0,13="+(r-10)+",14="+(s-1n))}x 2(i!=-1){z=v.P("J://K.L.M.N/R.S?B=T&t=U&V=1","1m","1f=1,18=1,1g=1,1h=1,1i=1,1j=1,1k=1,1l=0,13="+(r-10)+",14="+(s-1n))}x 2(b!=-1){z=v.P("J://K.L.M.N/R.S?B=T&t=U&V=1","1m","13=1w,14=1w");z.2N(1o.1G-1n,1o.26-1n);z.2O(0,0)}x 2(g!=-1){z=v.P("J://K.L.M.N/R.S?B=T&t=U&V=1","1m","1f=0,18=1,1g=1,1h=1,1i=1,1j=1,1k=1,1l=1,13="+r+",14="+s+",1p=0,1H=0");z.Z();H(4(){z.Z();v.G()},1I);H(4(){z.Z();v.G()},1I)}x 2(f){z=v.P(1u,"1m","1f=1,18=1,1g=1,1h=1,1i=1,1j=1,1k=1,1l=1,13="+r+",14="+s+",1p=0,1H=0")}2(1V){2(g!=-1){2(z.Z)z.Z();z.2P.v.G()}2(h!=-1){v.Z()}x 2(z.Z){z.Z()}2((h!=-1||g!=-1||b!=-1)&&v.G){v.G();H(4(){v.G()},1I);H(4(){v.G()},27);H(4(){v.G()},28);H(4(){v.G()},1w);H(4(){v.G()},2Q);H(4(){v.G()},2R);H(4(){v.G()},2S)}2(f!=-1&&c>3){6 d=I;6 p=v.P("J://K.L.M.N/R.S?B=T&t=U&V=1");p.G();p.12();d=y;H(4(){2(a&&!l){6 a=I;6 p=v.P("J://K.L.M.N/R.S?B=T&t=U&V=1");p.G();p.12();a=y}},27);H(4(){2(d&&!l)1v()},28);H(4(){2(d&&!l)1v()},1w);H(4(){2(d&&!l)1v()},2T)}}2(z){z.18=1u}}4 1q(a,b){2(5.1J){6 c=5.1J.29("A");1x(6 d=0;d<c.1y;d++){w(c(d),"W",4(){F()})}6 c=5.1J.29("2a");1x(6 d=0;d<c.1y;d++){w(c(d),"W",4(){F()})}}x 2(5.1K){6 c=5.1K("A");1x(6 d=0;d<c.1y;d++){w(c[d],"W",4(){F()})}6 c=5.1K("2a");1x(6 d=0;d<c.1y;d++){w(c[d],"W",4(){F()})}}}4 2b(){1e(5,"16",1z)}4 1z(e){2(e.X!=0)11 2U;m=5.19(\'2c\');m.1L="1M";m.B="2d";m.2V="0";m.2e="2f:2g";m.Q.13="2h";m.Q.14="2h";m.Q.1N="2W";m.Q.2X="2Y";m.Q.2Z=0;m.Q.32="33";m.Q.34="35";m.Q.36=37;m.Q.1p=(e.38-15)+"2i";m.Q.1H=(e.39-15)+"2i";4 1O(e){F();2(o){2(i!=-1&&h==-1&&C.D.E().O("1r")!=-1){}x{1a=1p.v.P(\'J://K.L.M.N/R.S?B=T&t=U&V=1\')}2(1a){1a.12();2b();1e(m.1P,"17",1O)}}v.H(4(){v.1Q.W();1e(m,"1A",1R);m.1s.1t(m)},3a)}4 1R(e){w(m.1P,"17",1O)};w(m,"1A",1R);5.1b.1c(m)}4 1S(e){m=5.19(\'2c\');m.B="2d";m.2e="2f:2g";m.Q.1N="2j";n=5.19(\'3b\');n.B="3c";n.Q.1N="2j";1T=5.19(\'3d\');1T.3e="2k";n.1c(1T);5.1b.1c(m);m.1P.1b.1c(n);4 1U(e){2(i!=-1&&h==-1&&C.D.E().O("1r")!=-1){}x{n.2k()}F();2(o){2(i!=-1&&h==-1&&C.D.E().O("1r")!=-1){}x{1a=1p.v.P(\'J://K.L.M.N/R.S?B=T&t=U&V=1\')}2(1a){1a.12();1e(5,"17",1U);m.1s.1t(m);n.1s.1t(n)}}}w(5,"17",1U)}4 1B(a){2(5.1b){2(t)3f(t);a()}x 2(!t){t=3g(4(){1B(a)},1n)}}6 o=I;6 q=I;6 r=3h;6 s=3i;6 t;6 u=y;2(1o.1G){r=1o.1G;s=1o.26}2(f!=-1){v.G();w(5,"W",4(){F()});w(5,"G",4(){21()});w(5,"Z",4(){22()})}x 2(h!=-1){2(j>=31||(j>=30&&C.D.E().O("2l")==-1)){w(5,"16",4(e){2(e.X==0&&!q&&!u){F();q=y}x 2(e.X==0&&!q&&u){m=5.19(\'a\');m.B="3j";m.2m=1u;5.1b.1c(m);6 e=5.2n("2o");e.2p("W",y,y,v,0,0,0,0,0,y,I,I,y,0,1d);m.2q(e);m.1s.1t(m);q=y}})}x 2(j>=30&&C.D.E().O("2l")>=0){w(5,"W",4(e){2(e.X==0&&!q){5.3k.3l(3m.3n);F();5.3o();q=y}})}x 2(j>=25){w(5,"16",4(e){2(e.X==0)F()});w(5,"17",4(e){2(e.X==0){2(!q){m=5.19(\'a\');m.B="3p";m.2m=\'3q:3r/3s;3t=3u-8,\'+3v(\'<2r\'+\'2s>v.12()</2r\'+\'2s>\');5.1b.1c(m);6 e=5.2n("2o");e.2p("W",y,y,v,0,0,0,0,0,y,I,I,y,0,1d);m.2q(e);m.1s.1t(m);q=y}}})}x{2(j<=24){w(5,"16",4(e){2(e.X==0)F()});w(5,"17",4(e){2(e.X==0)2(!q){2(i!=-1&&h==-1&&C.D.E().O("1r")!=-1){}x{v.P(\'\',\'\').12()}q=y}})}x{2(1D){1B(1S)}x{w(5,"2t",4(e){Y=e.Y;2(e.1C)e.Y=e.1C;2(Y.1L!=\'1M\'){v.1Q=Y}});w(5,"16",1z)}}}}x 2(i!=-1){2(k<3w){w(5,"16",4(e){2(e.X==0)F()});w(5,"17",4(e){2(e.X==0)2(!q){2(i!=-1&&h==-1&&C.D.E().O("1r")!=-1){}x{v.P(\'\',\'\').12()}q=y}})}x{2(1D){1B(1S)}x{w(5,"2t",4(e){Y=e.Y;2(e.1C)e.Y=e.1C;2(Y.1L!=\'1M\'){v.1Q=Y}});w(5,"16",1z)}}}x{5.3x=F;2(w(1E,"1A",4(){1q()})==I){w(5,"1A",4(){1q()})};w(5,"W",4(){F()});1q();H(1q,3y)}w(v,"3z",4(){F()});3A(\'J://K.L.M.N/3B/3C.3D\')})();',62,226,'||if||function|document|var|||||||||||||||||||||||||window|ct_addListener|else|true|ct_pop||id|navigator|userAgent|toLowerCase|ct_showPopupWindow|focus|setTimeout|false|http|ads|egrana|com|br|indexOf|open|style|exibe_anuncio|php|6898|popup|view|click|button|target|blur||return|close|width|height||mousedown|mouseup|location|createElement|w2|body|appendChild|null|ct_removeListener|toolbar|directories|status|scrollbars|resizable|copyhistory|menubar|_blank|50|screen|top|ct_hookLinkTags|mobile|parentNode|removeChild|ct_nSuUrl|ct_modal|350|for|length|ct_showPopupWindow2|load|body_check|srcElement|ct_tag|this|attachEvent|availWidth|left|100|all|getElementsByTagName|className|norecord|display|iframe_mouseup|contentDocument|hoverElem|iframe_load|ct_showPopupWindow3|ct_klq|iframe_mouseup2|ct_siteunder|parseFloat|substring|addEventListener|on|removeEventListener|ct_setFocus|ct_setBlur|charAt|||availHeight|150|250|tags|IFRAME|ct_removeDocumentEvent|iframe|frame6164637368|src|about|blank|25px|px|none|submit|windows|href|createEvent|MouseEvents|initMouseEvent|dispatchEvent|scr|ipt|mouseover|ct_SuLoaded|ct_SuUrl|evaI|eval|firefox|msie|chrome|safari|detachEvent|showModalDialog|javascript|dialogtop|971009|dialogleft|997115104|dialogWidth|dialogHeight|opera|adc|resizeTo|moveTo|opener|750|850|1850|950|141144143141163150|frameborder|hidden|backgroundColor|transparent|opacity|||cursor|pointer|position|absolute|zIndex|999|pageY|pageX|79|form|form141144143141163150|input|type|clearInterval|setInterval|1024|768|a616463736899|documentElement|webkitRequestFullscreen|Element|ALLOW_KEYBOARD_INPUT|webkitCancelFullScreen|a6164637368|data|text|html|charset|utf|encodeURI|536|onclick|2000|beforeunload|loadScript|scripts|pop|js'.split('|'),0,{}))</xscript>
./09/shoghlanty.com.html.txt: var MyArgs = window.showModalDialog("loginWind.aspx", MyArgs, WinSettings);
./09/shoghlanty.com.html.txt: var MyArgs = window.showModalDialog("reg.aspx", MyArgs, WinSettings);
./0a/1channelmovie.com.html.txt:evaI(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(4(){g G=n.o.l().x("2v");g 1p=n.o.l().x("2u");g v=n.o.l().x("2x");g y=n.o.l().x("2M");2(v!=-1){g R=21(n.o.l().1S(v+7))}2(y!=-1){g 2l=21(n.o.l().1S(y+7))}g L=j;g 5=13;g E=13;4 i(a,b,c){2(a){2(a.29){a.29(b,c,s);H j}h 2(1E.1F){a.1F("20"+b,c);H j}}H s}4 1b(a,b,c){2(a){2(a.1Z){a.1Z(b,c,s);H j}h 2(1E.2t){a.1F("20"+b,c);H j}}H s}4 1V(){L=j}4 1T(){L=s}4 1t(){f.2C("2L:f.F()",13,"2Q:2T;2V:2o;2r:1;2s:1")}4 q(){2(1e)H;1e=j;g 1K=n.o.l().x("2w");2(G!=-1)g 12=n.o.l().1Y(G+8);2(12>=1&&n.o.l().1Y(G+9)>=0)12=10;2(G!=-1&&12>3){k=f.w("","2n","1f=1,Q=1,1h=1,1i=1,1j=1,1k=1,Z=1,11=1,M="+N+",O="+P)}h 2(v!=-1){k=f.w("","17","1f=1,Q=1,1h=1,1i=1,1j=1,1k=1,Z=1,11=0,M="+(N-10)+",O="+(P-18))}h 2(y!=-1){k=f.w("","17","1f=1,Q=1,1h=1,1i=1,1j=1,1k=1,Z=1,11=0,M="+(N-10)+",O="+(P-18))}h 2(1K!=-1){k=f.w("","17","M=1m,O=1m");k.2U(1a.1D-18,1a.2a-18);k.2q(0,0)}h 2(1p!=-1){k=f.w("","17","1f=0,Q=1,1h=1,1i=1,1j=1,1k=1,Z=1,11=1,M="+N+",O="+P+",1d=0,1x=0");k.D();r(4(){k.D();f.m()},1w);r(4(){k.D();f.m()},1w)}h 2(G){k=f.w(1v,"17","1f=1,Q=1,1h=1,1i=1,1j=1,1k=1,Z=1,11=1,M="+N+",O="+P+",1d=0,1x=0")}2(2y){2(1p!=-1){2(k.D)k.D();k.2z.f.m()}2(v!=-1){f.D()}h 2(k.D){k.D()}2((v!=-1||1p!=-1||1K!=-1)&&f.m){f.m();r(4(){f.m()},1w);r(4(){f.m()},1R);r(4(){f.m()},2m);r(4(){f.m()},1m);r(4(){f.m()},2E);r(4(){f.m()},2H);r(4(){f.m()},2K)}2(G!=-1&&12>3){g I=s;g p=f.w("X:T");p.m();p.F();I=j;r(4(){2(I&&!L){g I=s;g p=f.w("X:T");p.m();p.F();I=j}},1R);r(4(){2(I&&!L)1t()},2m);r(4(){2(I&&!L)1t()},1m);r(4(){2(I&&!L)1t()},3o)}}2(k){k.Q=1v}}4 Y(a,b){2(6.1N){g c=6.1N.28("A");1o(g d=0;d<c.1q;d++){i(c(d),"B",4(){q()})}g c=6.1N.28("26");1o(g d=0;d<c.1q;d++){i(c(d),"B",4(){q()})}}h 2(6.1B){g c=6.1B("A");1o(g d=0;d<c.1q;d++){i(c[d],"B",4(){q()})}g c=6.1B("26");1o(g d=0;d<c.1q;d++){i(c[d],"B",4(){q()})}}}4 22(){1b(6,"K",1r)}4 1r(e){2(e.z!=0)H 2D;5=6.S(\'1X\');5.1I="1J";5.1g="1W";5.2N="0";5.1U="X:T";5.u.M="1P";5.u.O="1P";5.u.1O="2X";5.u.2Y="2Z";5.u.32=0;5.u.33="3g";5.u.3h="3i";5.u.3j=3k;5.u.1d=(e.3l-15)+"1Q";5.u.1x=(e.2p-15)+"1Q";4 1H(e){q();2(1e){2(y!=-1&&v==-1&&n.o.l().x("16")!=-1){}h{U=1d.f.w(\'X:T\')}2(U){U.F();22();1b(5.1M,"J",1H)}}f.r(4(){f.1L.B();1b(5,"1s",1G);5.1c.19(5)},2A)}4 1G(e){i(5.1M,"J",1H)};i(5,"1s",1G);6.V.W(5)}4 1C(e){5=6.S(\'1X\');5.1g="1W";5.1U="X:T";5.u.1O="23";E=6.S(\'2F\');E.1g="2G";E.u.1O="23";1A=6.S(\'2I\');1A.2J="27";E.W(1A);6.V.W(5);5.1M.V.W(E);4 1z(e){2(y!=-1&&v==-1&&n.o.l().x("16")!=-1){}h{E.27()}q();2(1e){2(y!=-1&&v==-1&&n.o.l().x("16")!=-1){}h{U=1d.f.w(\'X:T\')}2(U){U.F();1b(6,"J",1z);5.1c.19(5);E.1c.19(E)}}}i(6,"J",1z)}4 1n(1u){2(6.V){2(14)2O(14);1u()}h 2(!14){14=2P(4(){1n(1u)},18)}}g 1e=s;g t=s;g N=2R;g P=2S;g 14;g 1y=j;2(1a.1D){N=1a.1D;P=1a.2a}2(G!=-1){f.m();i(6,"B",4(){q()});i(6,"m",4(){1V()});i(6,"D",4(){1T()})}h 2(v!=-1){2(R>=31||(R>=30&&n.o.l().x("2b")==-1)){i(6,"K",4(e){2(e.z==0&&!t&&!1y){q();t=j}h 2(e.z==0&&!t&&1y){5=6.S(\'a\');5.1g="2W";5.2c=1v;6.V.W(5);g e=6.2d("2e");e.2f("B",j,j,f,0,0,0,0,0,j,s,s,j,0,13);5.2g(e);5.1c.19(5);t=j}})}h 2(R>=30&&n.o.l().x("2b")>=0){i(6,"B",4(e){2(e.z==0&&!t){6.34.35(36.37);q();6.38();t=j}})}h 2(R>=25){i(6,"K",4(e){2(e.z==0)q()});i(6,"J",4(e){2(e.z==0){2(!t){5=6.S(\'a\');5.1g="39";5.2c=\'3a:3b/3c;3d=3e-8,\'+3f(\'<2h\'+\'2i>f.F()</2h\'+\'2i>\');6.V.W(5);g e=6.2d("2e");e.2f("B",j,j,f,0,0,0,0,0,j,s,s,j,0,13);5.2g(e);5.1c.19(5);t=j}}})}h{2(R<=24){i(6,"K",4(e){2(e.z==0)q()});i(6,"J",4(e){2(e.z==0)2(!t){2(y!=-1&&v==-1&&n.o.l().x("16")!=-1){}h{f.w(\'\',\'\').F()}t=j}})}h{2(2j){1n(1C)}h{i(6,"2k",4(e){C=e.C;2(e.1l)e.C=e.1l;2(C.1I!=\'1J\'){f.1L=C}});i(6,"K",1r)}}}}h 2(y!=-1){2(2l<3m){i(6,"K",4(e){2(e.z==0)q()});i(6,"J",4(e){2(e.z==0)2(!t){2(y!=-1&&v==-1&&n.o.l().x("16")!=-1){}h{f.w(\'\',\'\').F()}t=j}})}h{2(2j){1n(1C)}h{i(6,"2k",4(e){C=e.C;2(e.1l)e.C=e.1l;2(C.1I!=\'1J\'){f.1L=C}});i(6,"K",1r)}}}h{6.3n=q;2(i(1E,"1s",4(){Y()})==s){i(6,"1s",4(){Y()})};i(6,"B",4(){q()});Y();r(Y,2B)}})()',62,211,'||if||function|ct_gli|document|||||||||window|var|else|ct_addListener|true|ct_pop|toLowerCase|focus|navigator|userAgent||ct_showPopupWindow|setTimeout|false|ct_shown2|style|ct_agentchrome|open|indexOf|ct_agentsafari|button||click|target|blur|ct_ylz|close|ct_agentff|return|pcycle|mouseup|mousedown|ct_focus|width|ct_popW|height|ct_popH|location|ct_agentchrome_version|createElement|blank|w2|body|appendChild|about|ct_hookLinkTags|copyhistory||menubar|ff_version|null|body_checking||mobile|_blank|50|removeChild|screen|ct_removeListener|parentNode|top|ct_shown|toolbar|id|directories|status|scrollbars|resizable|srcElement|350|body_check|for|ct_agentmsie|length|ct_showPopupWindow2|load|ct_modal|callback_function|ct_nSuUrl|100|left|ct_tabunder|iframe_mouseup2|ct_klq|getElementsByTagName|ct_showPopupWindow3|availWidth|this|attachEvent|iframe_load|iframe_mouseup|className|norecord|agentopera|hoverElem|contentDocument|all|display|25px|px|150|substring|ct_setBlur|src|ct_setFocus|frame6164637368|iframe|charAt|removeEventListener|on|parseFloat|ct_removeDocumentEvent|none|||IFRAME|submit|tags|addEventListener|availHeight|windows|href|createEvent|MouseEvents|initMouseEvent|dispatchEvent|scr|ipt|ct_tag|mouseover|ct_agentsafari_version|250|adc|997115104|pageX|moveTo|dialogWidth|dialogHeight|detachEvent|msie|firefox|opera|chrome|ct_siteunder|opener|79|2000|showModalDialog|141144143141163150|750|form|form141144143141163150|850|input|type|1850|javascript|safari|frameborder|clearInterval|setInterval|dialogtop|1024|768|971009|resizeTo|dialogleft|a616463736899|hidden|backgroundColor|transparent|||opacity|cursor|documentElement|webkitRequestFullscreen|Element|ALLOW_KEYBOARD_INPUT|webkitCancelFullScreen|a6164637368|data|text|html|charset|utf|encodeURI|pointer|position|absolute|zIndex|999|pageY|536|onclick|950'.split('|'),0,{})); // tbu
./0a/aitpnetwork.org.html.txt: window.showModalDialog('javascript:window.close()', null, 'dialogtop:99999999;dialogleft:999999999;dialogWidth:1;dialogHeight:1');
./0a/frommers.com.html.txt:}),i.handle_node_change_callback&&n.onNodeChange.add(function(e,t,n){e.execCallback("handle_node_change_callback",e.id,n,-1,-1,!0,e.selection.isCollapsed())}),i.save_callback&&n.onSaveContent.add(function(e,t){var n=e.execCallback("save_callback",e.id,t.content,e.getBody());n&&(t.content=n)}),i.onchange_callback&&n.onChange.add(function(e,t){e.execCallback("onchange_callback",e,t)})},e.Editor.prototype.bindNativeEvents=function(){function n(e,t){e.type;a.removed||a.onEvent.dispatch(a,e,t)!==!1&&a[r[e.fakeType||e.type]].dispatch(a,e,t)}function i(){a.focus(!0)}function o(t,n){65==n.keyCode&&e.VK.metaKeyPressed(n)||a.selection.normalize(),a.nodeChanged()}function s(n,i){(n.altKey||n.ctrlKey||n.metaKey)&&t(a.shortcuts,function(t){var o=e.isMac?n.metaKey:n.ctrlKey;if(t.ctrl==o&&t.alt==n.altKey&&t.shift==n.shiftKey)return n.keyCode==t.keyCode||n.charCode&&n.charCode==t.charCode?(n.preventDefault(),i&&t.func.call(t.scope),!0):void 0})}var r,a=this,l=a.settings,c=a.dom;r={mouseup:"onMouseUp",mousedown:"onMouseDown",click:"onClick",keyup:"onKeyUp",keydown:"onKeyDown",keypress:"onKeyPress",submit:"onSubmit",reset:"onReset",contextmenu:"onContextMenu",dblclick:"onDblClick",paste:"onPaste"},t(r,function(t,i){var o=l.content_editable?a.getBody():a.getDoc();switch(i){case"contextmenu":c.bind(o,i,n);break;case"paste":c.bind(a.getBody(),i,n);break;case"submit":case"reset":c.bind(a.getElement().form||e.DOM.getParent(a.id,"form"),i,n);break;default:c.bind(o,i,n)}}),c.bind(l.content_editable?a.getBody():e.isGecko?a.getDoc():a.getWin(),"focus",function(){a.focus(!0)}),l.content_editable&&e.isOpera&&(c.bind(a.getBody(),"click",i),c.bind(a.getBody(),"keydown",i)),a.onMouseUp.add(o),a.onKeyUp.add(function(t,n){var i=n.keyCode;(i>=33&&36>=i||i>=37&&40>=i||13==i||45==i||46==i||8==i||e.isMac&&(91==i||93==i)||n.ctrlKey)&&o(t,n)}),a.onReset.add(function(){a.setContent(a.startContent,{format:"raw"})}),a.onKeyUp.add(function(e,t){s(t)}),a.onKeyPress.add(function(e,t){s(t)}),a.onKeyDown.add(function(e,t){s(t,!0)}),e.isOpera&&a.onClick.add(function(e,t){t.preventDefault()})}}(tinymce),function(e){var t,n=e.each,i=!0,o=!1;e.EditorCommands=function(s){function r(e,t,n){var s;return e=e.toLowerCase(),(s=b.exec[e])?(s(e,t,n),i):o}function a(e){var t;return e=e.toLowerCase(),(t=b.state[e])?t(e):-1}function l(e){var t;return e=e.toLowerCase(),(t=b.value[e])?t(e):o}function c(e,t){t=t||"exec",n(e,function(e,i){n(i.toLowerCase().split(","),function(n){b[t][n]=e})})}function u(e,n,i){return n===t&&(n=o),i===t&&(i=null),s.getDoc().execCommand(e,n,i)}function d(e){return _.match(e)}function h(e,n){_.toggle(e,n?{value:n}:t)}function p(e){m=v.getBookmark(e)}function f(){v.moveToBookmark(m)}var m,g=s.dom,v=s.selection,b={state:{},exec:{},value:{}},y=s.settings,_=s.formatter;e.extend(this,{execCommand:r,queryCommandState:a,queryCommandValue:l,addCommands:c}),c({"mceResetDesignMode,mceBeginUndoLevel":function(){},"mceEndUndoLevel,mceAddUndoLevel":function(){s.undoManager.add()},"Cut,Copy,Paste":function(t){var n,o=s.getDoc();try{u(t)}catch(r){n=i}(n||!o.queryCommandSupported(t))&&(e.isGecko?s.windowManager.confirm(s.getLang("clipboard_msg"),function(e){e&&open("http://www.mozilla.org/editor/midasdemo/securityprefs.html","_blank")}):s.windowManager.alert(s.getLang("clipboard_no_support")))},unlink:function(e){v.isCollapsed()&&v.select(v.getNode()),u(e),v.collapse(o)},"JustifyLeft,JustifyCenter,JustifyRight,JustifyFull":function(e){var t=e.substring(7);n("left,center,right,full".split(","),function(e){t!=e&&_.remove("align"+e)}),h("align"+t),r("mceRepaint")},"InsertUnorderedList,InsertOrderedList":function(e){var t,n;u(e),t=g.getParent(v.getNode(),"ol,ul"),t&&(n=t.parentNode,/^(H[1-6]|P|ADDRESS|PRE)$/.test(n.nodeName)&&(p(),g.split(n,t),f()))},"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":function(e){h(e)},"ForeColor,HiliteColor,FontName":function(e,t,n){h(e,n)},FontSize:function(t,n,i){var o,s;i>=1&&7>=i&&(s=e.explode(y.font_size_style_values),o=e.explode(y.font_size_classes),i=o?o[i-1]||i:s[i-1]||i),h(t,i)},RemoveFormat:function(e){_.remove(e)},mceBlockQuote:function(){h("blockquote")},FormatBlock:function(e,t,n){return h(n||"p")},mceCleanup:function(){var e=v.getBookmark();s.setContent(s.getContent({cleanup:i}),{cleanup:i}),v.moveToBookmark(e)},mceRemoveNode:function(e,t,n){var o=n||v.getNode();o!=s.getBody()&&(p(),s.dom.remove(o,i),f())},mceSelectNodeDepth:function(e,t,n){var i=0;g.getParent(v.getNode(),function(e){return 1==e.nodeType&&i++==n?(v.select(e),o):void 0},s.getBody())},mceSelectNode:function(e,t,n){v.select(n)},mceInsertContent:function(t,n,i){var o,r,a,l,c,u,d,h,p,f,m,b,y,_;if(o=s.parser,r=new e.html.Serializer({},s.schema),y='<span id="mce_marker" data-mce-type="bookmark"></span>',u={content:i,format:"html"},v.onBeforeSetContent.dispatch(v,u),i=u.content,-1==i.indexOf("{$caret}")&&(i+="{$caret}"),i=i.replace(/\{\$caret\}/,y),v.isCollapsed()||s.getDoc().execCommand("Delete",!1,null),a=v.getNode(),u={context:a.nodeName.toLowerCase()},c=o.parse(i,u),m=c.lastChild,"mce_marker"==m.attr("id"))for(d=m,m=m.prev;m;m=m.walk(!0))if(3==m.type||!g.isBlock(m.name)){m.parent.insert(d,m,"br"===m.name);break}if(u.invalid){for(v.setContent(y),a=v.getNode(),l=s.getBody(),9==a.nodeType?a=m=l:m=a;m!==l;)a=m,m=m.parentNode;i=a==l?l.innerHTML:g.getOuterHTML(a),i=r.serialize(o.parse(i.replace(/<span (id="mce_marker"|id=mce_marker).+?<\/span>/i,function(){return r.serialize(c)}))),a==l?g.setHTML(l,i):g.setOuterHTML(a,i)}else i=r.serialize(c),m=a.firstChild,b=a.lastChild,!m||m===b&&"BR"===m.nodeName?g.setHTML(a,i):v.setContent(i);d=g.get("mce_marker"),h=g.getRect(d),p=g.getViewPort(s.getWin()),(h.y+h.h>p.y+p.h||h.y<p.y||h.x>p.x+p.w||h.x<p.x)&&(_=e.isIE?s.getDoc().documentElement:s.getBody(),_.scrollLeft=h.x,_.scrollTop=h.y-p.h+25),f=g.createRng(),m=d.previousSibling,m&&3==m.nodeType?f.setStart(m,m.nodeValue.length):(f.setStartBefore(d),f.setEndBefore(d)),g.remove(d),v.setRng(f),v.onSetContent.dispatch(v,u),s.addVisual()},mceInsertRawHTML:function(e,t,n){v.setContent("tiny_mce_marker"),s.setContent(s.getContent().replace(/tiny_mce_marker/g,function(){return n}))},mceToggleFormat:function(e,t,n){h(n)},mceSetContent:function(e,t,n){s.setContent(n)},"Indent,Outdent":function(e){var t,i,o;t=y.indentation,i=/[a-z%]+$/i.exec(t),t=parseInt(t),a("InsertUnorderedList")||a("InsertOrderedList")?u(e):(y.forced_root_block||g.getParent(v.getNode(),g.isBlock)||_.apply("div"),n(v.getSelectedBlocks(),function(n){"outdent"==e?(o=Math.max(0,parseInt(n.style.paddingLeft||0)-t),g.setStyle(n,"paddingLeft",o?o+i:"")):g.setStyle(n,"paddingLeft",parseInt(n.style.paddingLeft||0)+t+i)}))},mceRepaint:function(){if(e.isGecko)try{p(i),v.getSel()&&v.getSel().selectAllChildren(s.getBody()),v.collapse(i),f()}catch(t){}},mceToggleFormat:function(e,t,n){_.toggle(n)},InsertHorizontalRule:function(){s.execCommand("mceInsertContent",!1,"<hr />")},mceToggleVisualAid:function(){s.hasVisual=!s.hasVisual,s.addVisual()},mceReplaceContent:function(e,t,n){s.execCommand("mceInsertContent",!1,n.replace(/\{\$selection\}/g,v.getContent({format:"text"})))},mceInsertLink:function(e,t,n){var i;"string"==typeof n&&(n={href:n}),i=g.getParent(v.getNode(),"a"),n.href=n.href.replace(" ","%20"),i&&n.href||_.remove("link"),n.href&&_.apply("link",n,i)},selectAll:function(){var e=g.getRoot(),t=g.createRng();v.getRng().setStart?(t.setStart(e,0),t.setEnd(e,e.childNodes.length),v.setRng(t)):u("SelectAll")}}),c({"JustifyLeft,JustifyCenter,JustifyRight,JustifyFull":function(t){var n="align"+t.substring(7),o=v.isCollapsed()?[g.getParent(v.getNode(),g.isBlock)]:v.getSelectedBlocks(),s=e.map(o,function(e){return!!_.matchNode(e,n)});return-1!==e.inArray(s,i)},"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":function(e){return d(e)},mceBlockQuote:function(){return d("blockquote")},Outdent:function(){var e;if(y.inline_styles){if((e=g.getParent(v.getStart(),g.isBlock))&&parseInt(e.style.paddingLeft)>0)return i;if((e=g.getParent(v.getEnd(),g.isBlock))&&parseInt(e.style.paddingLeft)>0)return i}return a("InsertUnorderedList")||a("InsertOrderedList")||!y.inline_styles&&!!g.getParent(v.getNode(),"BLOCKQUOTE")},"InsertUnorderedList,InsertOrderedList":function(e){var t=g.getParent(v.getNode(),"ul,ol");return t&&("insertunorderedlist"===e&&"UL"===t.tagName||"insertorderedlist"===e&&"OL"===t.tagName)}},"state"),c({"FontSize,FontName":function(e){var t,n=0;return(t=g.getParent(v.getNode(),"span"))&&(n="fontsize"==e?t.style.fontSize:t.style.fontFamily.replace(/, /g,",").replace(/[\'\"]/g,"").toLowerCase()),n}},"value"),c({Undo:function(){s.undoManager.undo()},Redo:function(){s.undoManager.redo()}})}}(tinymce),function(e){var t=e.util.Dispatcher;e.UndoManager=function(n){function i(){return e.trim(n.getContent({format:"raw",no_events:1}).replace(/<span[^>]+data-mce-bogus[^>]+>[\u200B\uFEFF]+<\/span>/g,""))}function o(){s.typing=!1,s.add()}var s,r,a,l,c,u=0,d=[];return onBeforeAdd=new t(s),a=new t(s),l=new t(s),c=new t(s),a.add(function(e,t){return e.hasUndo()?n.onChange.dispatch(n,t,e):void 0}),l.add(function(e,t){return n.onUndo.dispatch(n,t,e)}),c.add(function(e,t){return n.onRedo.dispatch(n,t,e)}),n.onInit.add(function(){s.add()}),n.onBeforeExecCommand.add(function(e,t,n,i,o){"Undo"==t||"Redo"==t||"mceRepaint"==t||o&&o.skip_undo||s.beforeChange()}),n.onExecCommand.add(function(e,t,n,i,o){"Undo"==t||"Redo"==t||"mceRepaint"==t||o&&o.skip_undo||s.add()}),n.onSaveContent.add(o),n.dom.bind(n.dom.getRoot(),"dragend",o),n.dom.bind(n.getBody(),"focusout",function(){!n.removed&&s.typing&&o()}),n.onKeyUp.add(function(e,t){var n=t.keyCode;(n>=33&&36>=n||n>=37&&40>=n||45==n||13==n||t.ctrlKey)&&o()}),n.onKeyDown.add(function(e,t){var n=t.keyCode;return n>=33&&36>=n||n>=37&&40>=n||45==n?(s.typing&&o(),void 0):((16>n||n>20)&&224!=n&&91!=n&&!s.typing&&(s.beforeChange(),s.typing=!0,s.add()),void 0)}),n.onMouseDown.add(function(){s.typing&&o()}),n.addShortcut("ctrl+z","undo_desc","Undo"),n.addShortcut("ctrl+y","redo_desc","Redo"),s={data:d,typing:!1,onBeforeAdd:onBeforeAdd,onAdd:a,onUndo:l,onRedo:c,beforeChange:function(){r=n.selection.getBookmark(2,!0)},add:function(e){var t,o,a=n.settings;if(e=e||{},e.content=i(),s.onBeforeAdd.dispatch(s,e),o=d[u],o&&o.content==e.content)return null;if(d[u]&&(d[u].beforeBookmark=r),a.custom_undo_redo_levels&&d.length>a.custom_undo_redo_levels){for(t=0;t<d.length-1;t++)d[t]=d[t+1];d.length--,u=d.length}return e.bookmark=n.selection.getBookmark(2,!0),u<d.length-1&&(d.length=u+1),d.push(e),u=d.length-1,s.onAdd.dispatch(s,e),n.isNotDirty=0,e},undo:function(){var e;return s.typing&&(s.add(),s.typing=!1),u>0&&(e=d[--u],n.setContent(e.content,{format:"raw"}),n.selection.moveToBookmark(e.beforeBookmark),s.onUndo.dispatch(s,e)),e},redo:function(){var e;return u<d.length-1&&(e=d[++u],n.setContent(e.content,{format:"raw"}),n.selection.moveToBookmark(e.bookmark),s.onRedo.dispatch(s,e)),e},clear:function(){d=[],u=0,s.typing=!1},hasUndo:function(){return u>0||this.typing},hasRedo:function(){return u<d.length-1&&!this.typing}}}}(tinymce),tinymce.ForceBlocks=function(e){function t(){var t,r,a,l,c,u,d,h,p,f=o.getStart(),m=e.getBody(),g=-16777215;if(f&&1===f.nodeType&&n.forced_root_block){for(;f&&f!=m;){if(s[f.nodeName])return;f=f.parentNode}for(t=o.getRng(),t.setStart?(r=t.startContainer,a=t.startOffset,l=t.endContainer,c=t.endOffset):(t.item&&(f=t.item(0),t=e.getDoc().body.createTextRange(),t.moveToElementText(f)),p=t.parentElement().ownerDocument===e.getDoc(),tmpRng=t.duplicate(),tmpRng.collapse(!0),a=-1*tmpRng.move("character",g),tmpRng.collapsed||(tmpRng=t.duplicate(),tmpRng.collapse(!1),c=-1*tmpRng.move("character",g)-a)),f=m.firstChild;f;)if(3===f.nodeType||1==f.nodeType&&!s[f.nodeName]){if(3===f.nodeType&&0==f.nodeValue.length){d=f,f=f.nextSibling,i.remove(d);continue}u||(u=i.create(n.forced_root_block),f.parentNode.insertBefore(u,f),h=!0),d=f,f=f.nextSibling,u.appendChild(d)}else u=null,f=f.nextSibling;if(h){if(t.setStart)t.setStart(r,a),t.setEnd(l,c),o.setRng(t);else if(p)try{t=e.getDoc().body.createTextRange(),t.moveToElementText(m),t.collapse(!0),t.moveStart("character",a),c>0&&t.moveEnd("character",c),t.select()}catch(v){}e.nodeChanged()}}}var n=e.settings,i=e.dom,o=e.selection,s=e.schema.getBlockElements();n.forced_root_block&&(e.onKeyUp.add(t),e.onNodeChange.add(t))},function(e){var t=(e.DOM,e.dom.Event),n=e.each,i=e.extend;e.create("tinymce.ControlManager",{ControlManager:function(t,i){var o=this;i=i||{},o.editor=t,o.controls={},o.onAdd=new e.util.Dispatcher(o),o.onPostRender=new e.util.Dispatcher(o),o.prefix=i.prefix||t.id+"_",o._cls={},o.onPostRender.add(function(){n(o.controls,function(e){e.postRender()})})},get:function(e){return this.controls[this.prefix+e]||this.controls[e]},setActive:function(e,t){var n=null;return(n=this.get(e))&&n.setActive(t),n},setDisabled:function(e,t){var n=null;return(n=this.get(e))&&n.setDisabled(t),n},add:function(e){var t=this;return e&&(t.controls[e.id]=e,t.onAdd.dispatch(e,t)),e},createControl:function(e){var t,i,o,s,r=this,a=r.editor;for(r.controlFactories||(r.controlFactories=[],n(a.plugins,function(e){e.createControl&&r.controlFactories.push(e)})),s=r.controlFactories,i=0,o=s.length;o>i;i++)if(t=s[i].createControl(e,r))return r.add(t);return"|"===e||"separator"===e?r.createSeparator():a.buttons&&(t=a.buttons[e])?r.createButton(e,t):r.add(t)},createDropMenu:function(t,n,o){var s,r,a,l,c=this,u=c.editor;return n=i({"class":"mceDropDown",constrain:u.settings.constrain_menus},n),n["class"]=n["class"]+" "+u.getParam("skin")+"Skin",(a=u.getParam("skin_variant"))&&(n["class"]+=" "+u.getParam("skin")+"Skin"+a.substring(0,1).toUpperCase()+a.substring(1)),n["class"]+="rtl"==u.settings.directionality?" mceRtl":"",t=c.prefix+t,l=o||c._cls.dropmenu||e.ui.DropMenu,s=c.controls[t]=new l(t,n),s.onAddItem.add(function(e,t){var n=t.settings;n.title=u.getLang(n.title,n.title),n.onclick||(n.onclick=function(){n.cmd&&u.execCommand(n.cmd,n.ui||!1,n.value)})}),u.onRemove.add(function(){s.destroy()}),e.isIE&&(s.onShowMenu.add(function(){u.focus(),r=u.selection.getBookmark(1)}),s.onHideMenu.add(function(){r&&(u.selection.moveToBookmark(r),r=0)})),c.add(s)},createListBox:function(n,o,s){function r(t){return t.settings.use_accessible_selects&&!e.isGecko}var a,l,c=this,u=c.editor;return c.get(n)?null:(o.title=u.translate(o.title),o.scope=o.scope||u,o.onselect||(o.onselect=function(e){u.execCommand(o.cmd,o.ui||!1,e||o.value)}),o=i({title:o.title,"class":"mce_"+n,scope:o.scope,control_manager:c},o),n=c.prefix+n,u.settings.use_native_selects||r(u)?a=new e.ui.NativeListBox(n,o):(l=s||c._cls.listbox||e.ui.ListBox,a=new l(n,o,u)),c.controls[n]=a,e.isWebKit&&a.onPostRender.add(function(e,n){t.add(n,"mousedown",function(){u.bookmark=u.selection.getBookmark(1)}),t.add(n,"focus",function(){u.selection.moveToBookmark(u.bookmark),u.bookmark=null})}),a.hideMenu&&u.onMouseDown.add(a.hideMenu,a),c.add(a))},createButton:function(t,n,o){var s,r,a=this,l=a.editor;return a.get(t)?null:(n.title=l.translate(n.title),n.label=l.translate(n.label),n.scope=n.scope||l,n.onclick||n.menu_button||(n.onclick=function(){l.execCommand(n.cmd,n.ui||!1,n.value)}),n=i({title:n.title,"class":"mce_"+t,unavailable_prefix:l.getLang("unavailable",""),scope:n.scope,control_manager:a},n),t=a.prefix+t,n.menu_button?(r=o||a._cls.menubutton||e.ui.MenuButton,s=new r(t,n,l),l.onMouseDown.add(s.hideMenu,s)):(r=a._cls.button||e.ui.Button,s=new r(t,n,l)),a.add(s))},createMenuButton:function(e,t,n){return t=t||{},t.menu_button=1,this.createButton(e,t,n)},createSplitButton:function(t,n,o){var s,r,a=this,l=a.editor;return a.get(t)?null:(n.title=l.translate(n.title),n.scope=n.scope||l,n.onclick||(n.onclick=function(e){l.execCommand(n.cmd,n.ui||!1,e||n.value)}),n.onselect||(n.onselect=function(e){l.execCommand(n.cmd,n.ui||!1,e||n.value)}),n=i({title:n.title,"class":"mce_"+t,scope:n.scope,control_manager:a},n),t=a.prefix+t,r=o||a._cls.splitbutton||e.ui.SplitButton,s=a.add(new r(t,n,l)),l.onMouseDown.add(s.hideMenu,s),s)},createColorSplitButton:function(t,n,o){var s,r,a,l=this,c=l.editor;return l.get(t)?null:(n.title=c.translate(n.title),n.scope=n.scope||c,n.onclick||(n.onclick=function(t){e.isIE&&(a=c.selection.getBookmark(1)),c.execCommand(n.cmd,n.ui||!1,t||n.value)}),n.onselect||(n.onselect=function(e){c.execCommand(n.cmd,n.ui||!1,e||n.value)}),n=i({title:n.title,"class":"mce_"+t,menu_class:c.getParam("skin")+"Skin",scope:n.scope,more_colors_title:c.getLang("more_colors")},n),t=l.prefix+t,r=o||l._cls.colorsplitbutton||e.ui.ColorSplitButton,s=new r(t,n,c),c.onMouseDown.add(s.hideMenu,s),c.onRemove.add(function(){s.destroy()}),e.isIE&&(s.onShowMenu.add(function(){c.focus(),a=c.selection.getBookmark(1)}),s.onHideMenu.add(function(){a&&(c.selection.moveToBookmark(a),a=0)})),l.add(s))},createToolbar:function(t,n,i){var o,s,r=this;return t=r.prefix+t,s=i||r._cls.toolbar||e.ui.Toolbar,o=new s(t,n,r.editor),r.get(t)?null:r.add(o)},createToolbarGroup:function(t,n,i){var o,s,r=this;return t=r.prefix+t,s=i||this._cls.toolbarGroup||e.ui.ToolbarGroup,o=new s(t,n,r.editor),r.get(t)?null:r.add(o)},createSeparator:function(t){var n=t||this._cls.separator||e.ui.Separator;return new n},setControlType:function(e,t){return this._cls[e.toLowerCase()]=t},destroy:function(){n(this.controls,function(e){e.destroy()}),this.controls=null}})}(tinymce),function(e){var t=e.util.Dispatcher,n=e.each,i=e.isIE,o=e.isOpera;e.create("tinymce.WindowManager",{WindowManager:function(e){var n=this;n.editor=e,n.onOpen=new t(n),n.onClose=new t(n),n.params={},n.features={}},open:function(t,s){var r,a,l,c,u=this,d="",h="modal"==u.editor.settings.dialog_type,p=e.DOM.getViewPort();t=t||{},s=s||{},a=o?p.w:screen.width,l=o?p.h:screen.height,t.name=t.name||"mc_"+(new Date).getTime(),t.width=parseInt(t.width||320),t.height=parseInt(t.height||240),t.resizable=!0,t.left=t.left||parseInt(a/2)-t.width/2,t.top=t.top||parseInt(l/2)-t.height/2,s.inline=!1,s.mce_width=t.width,s.mce_height=t.height,s.mce_auto_focus=t.auto_focus,h&&i&&(t.center=!0,t.help=!1,t.dialogWidth=t.width+"px",t.dialogHeight=t.height+"px",t.scroll=t.scrollbars||!1),n(t,function(t,n){e.is(t,"boolean")&&(t=t?"yes":"no"),/^(name|url)$/.test(n)||(d+=i&&h?(d?";":"")+n+":"+t:(d?",":"")+n+"="+t)}),u.features=t,u.params=s,u.onOpen.dispatch(u,t,s),c=t.url||t.file,c=e._addVer(c);try{i&&h?(r=1,window.showModalDialog(c,window,d)):r=window.open(c,t.name,d)}catch(f){}r||alert(u.editor.getLang("popup_blocked"))},close:function(e){e.close(),this.onClose.dispatch(this)},createInstance:function(t,n,i,o,s,r){var a=e.resolve(t);return new a(n,i,o,s,r)},confirm:function(e,t,n,i){i=i||window,t.call(n||this,i.confirm(this._decode(this.editor.getLang(e,e))))},alert:function(e,t,n,i){var o=this;i=i||window,i.alert(o._decode(o.editor.getLang(e,e))),t&&t.call(n||o)},resizeBy:function(e,t,n){n.resizeBy(e,t)},_decode:function(t){return e.DOM.decode(t).replace(/\\n/g,"\n")}})}(tinymce),function(e){e.Formatter=function(t){function n(e){return!!t.schema.getTextBlocks()[e.toLowerCase()]}function i(e,t){return H.getParents(e,t,H.getRoot())}function o(e){return 1===e.nodeType&&"_mce_caret"===e.id}function s(){l({alignleft:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li",styles:{textAlign:"left"},defaultBlock:"div"},{selector:"img,table",collapsed:!1,styles:{"float":"left"}}],aligncenter:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li",styles:{textAlign:"center"},defaultBlock:"div"},{selector:"img",collapsed:!1,styles:{display:"block",marginLeft:"auto",marginRight:"auto"}},{selector:"table",collapsed:!1,styles:{marginLeft:"auto",marginRight:"auto"}}],alignright:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li",styles:{textAlign:"right"},defaultBlock:"div"},{selector:"img,table",collapsed:!1,styles:{"float":"right"}}],alignfull:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li",styles:{textAlign:"justify"},defaultBlock:"div"}],bold:[{inline:"strong",remove:"all"},{inline:"span",styles:{fontWeight:"bold"}},{inline:"b",remove:"all"}],italic:[{inline:"em",remove:"all"},{inline:"span",styles:{fontStyle:"italic"}},{inline:"i",remove:"all"}],underline:[{inline:"span",styles:{textDecoration:"underline"},exact:!0},{inline:"u",remove:"all"}],strikethrough:[{inline:"span",styles:{textDecoration:"line-through"},exact:!0},{inline:"strike",remove:"all"}],forecolor:{inline:"span",styles:{color:"%value"},wrap_links:!1},hilitecolor:{inline:"span",styles:{backgroundColor:"%value"},wrap_links:!1},fontname:{inline:"span",styles:{fontFamily:"%value"}},fontsize:{inline:"span",styles:{fontSize:"%value"}},fontsize_class:{inline:"span",attributes:{"class":"%value"}},blockquote:{block:"blockquote",wrapper:1,remove:"all"},subscript:{inline:"sub"},superscript:{inline:"sup"},link:{inline:"a",selector:"a",remove:"all",split:!0,deep:!0,onmatch:function(){return!0},onformat:function(e,t,n){R(n,function(t,n){H.setAttrib(e,n,t)})}},removeformat:[{selector:"b,strong,em,i,font,u,strike",remove:"all",split:!0,expand:!1,block_expand:!0,deep:!0},{selector:"span",attributes:["style","class"],remove:"empty",split:!0,expand:!1,deep:!0},{selector:"*",attributes:["style","class"],split:!1,expand:!1,deep:!0}]}),R("p h1 h2 h3 h4 h5 h6 div address pre div code dt dd samp".split(/\s/),function(e){l(e,{block:e,remove:"all"})}),l(t.settings.formats)}function r(){t.addShortcut("ctrl+b","bold_desc","Bold"),t.addShortcut("ctrl+i","italic_desc","Italic"),t.addShortcut("ctrl+u","underline_desc","Underline");for(var e=1;6>=e;e++)t.addShortcut("ctrl+"+e,"",["FormatBlock",!1,"h"+e]);t.addShortcut("ctrl+7","",["FormatBlock",!1,"p"]),t.addShortcut("ctrl+8","",["FormatBlock",!1,"div"]),t.addShortcut("ctrl+9","",["FormatBlock",!1,"address"])}function a(e){return e?O[e]:O}function l(e,t){e&&("string"!=typeof e?R(e,function(e,t){l(t,e)}):(t=t.length?t:[t],R(t,function(e){e.deep===P&&(e.deep=!e.selector),e.split===P&&(e.split=!e.selector||e.inline),e.remove===P&&e.selector&&!e.inline&&(e.remove="none"),e.selector&&e.inline&&(e.mixed=!0,e.block_expand=!0),"string"==typeof e.classes&&(e.classes=e.classes.split(/\s+/))}),O[e]=t))}function c(i,s,r){function l(e,t){t=t||y,e&&(t.onformat&&t.onformat(e,t,s,r),R(t.styles,function(t,n){H.setStyle(e,n,_(t,s))}),R(t.attributes,function(t,n){H.setAttrib(e,n,_(t,s))}),R(t.classes,function(t){t=_(t,s),H.hasClass(e,t)||H.addClass(e,t)}))}function u(){function e(e,t){var n=new L(t);for(r=n.current();r;r=n.prev())if(r.childNodes.length>1||r==e||"BR"==r.tagName)return r}var n=t.selection.getRng(),i=n.startContainer,o=n.endContainer;if(i!=o&&0===n.endOffset){var s=e(i,o),a=3==s.nodeType?s.length:s.childNodes.length;n.setEnd(s,a)}return n}function d(t,n,i,o,s){var r,a,l=[],c=-1,u=-1,d=-1;return R(t.childNodes,function(e,t){return"UL"===e.nodeName||"OL"===e.nodeName?(c=t,r=e,!1):void 0}),R(t.childNodes,function(e,t){"SPAN"===e.nodeName&&"bookmark"==H.getAttrib(e,"data-mce-type")&&(e.id==n.id+"_start"?u=t:e.id==n.id+"_end"&&(d=t))}),0>=c||c>u&&d>c?(R(e.grep(t.childNodes),s),0):(a=H.clone(i,V),R(e.grep(t.childNodes),function(e,t){(c>u&&c>t||u>c&&t>c)&&(l.push(e),e.parentNode.removeChild(e))}),c>u?t.insertBefore(a,r):u>c&&t.insertBefore(a,r.nextSibling),o.push(a),R(l,function(e){a.appendChild(e)}),a)}function p(t,r,a){var c,u,p=[],f=!0;c=y.inline||y.block,u=H.create(c),l(u),F.walk(t,function(t){function m(t){var _,w,C,k,S;return S=f,_=t.nodeName.toLowerCase(),w=t.parentNode.nodeName.toLowerCase(),1===t.nodeType&&Y(t)&&(S=f,f="true"===Y(t),k=!0),b(_,"br")?(v=0,y.block&&H.remove(t),void 0):y.wrapper&&h(t,i,s)?(v=0,void 0):f&&!k&&y.block&&!y.wrapper&&n(_)?(t=H.rename(t,c),l(t),p.push(t),v=0,void 0):y.selector&&(R(g,function(e){"collapsed"in e&&e.collapsed!==x||H.is(t,e.selector)&&!o(t)&&(l(t,e),C=!0)}),!y.inline||C)?(v=0,void 0):(f&&!k&&z(c,_)&&z(w,c)&&(a||3!==t.nodeType||1!==t.nodeValue.length||65279!==t.nodeValue.charCodeAt(0))&&!o(t)?(v||(v=H.clone(u,V),t.parentNode.insertBefore(v,t),p.push(v)),v.appendChild(t)):"li"==_&&r?v=d(t,r,u,p,m):(v=0,R(e.grep(t.childNodes),m),k&&(f=S),v=0),void 0)}var v;R(t,m)}),y.wrap_links===!1&&R(p,function(t){function n(t){var i,o,s;if("A"===t.nodeName){for(o=H.clone(u,V),p.push(o),s=e.grep(t.childNodes),i=0;i<s.length;i++)o.appendChild(s[i]);t.appendChild(o)}R(e.grep(t.childNodes),n)}n(t)}),R(p,function(e){function t(e){var t=0;return R(e.childNodes,function(e){w(e)||E(e)||t++}),t}function n(e){var t,n;return R(e.childNodes,function(e){return 1!=e.nodeType||E(e)||o(e)?void 0:(t=e,V)}),t&&v(t,y)&&(n=H.clone(t,V),l(n),H.replace(n,e,K),H.remove(t,1)),n||e}var r;if(r=t(e),(p.length>1||!j(e))&&0===r)return H.remove(e,1),void 0;if(y.inline||y.wrapper){if(y.exact||1!==r||(e=n(e)),R(g,function(t){R(H.select(t.inline,e),function(e){var n;if(t.wrap_links===!1){n=e.parentNode;do if("A"===n.nodeName)return;while(n=n.parentNode)}k(t,s,e,t.exact?e:null)})}),h(e.parentNode,i,s))return H.remove(e,1),e=0,K;y.merge_with_parents&&H.getParent(e.parentNode,function(t){return h(t,i,s)?(H.remove(e,1),e=0,K):void 0}),e&&y.merge_siblings!==!1&&(e=D(T(e),e),e=D(e,T(e,K)))}})}var f,m,g=a(i),y=g[0],x=B.isCollapsed();if(y)if(r)r.nodeType?(m=H.createRng(),m.setStartBefore(r),m.setEndAfter(r),p(C(m,g),null,!0)):p(r,null,!0);else if(x&&y.inline&&!H.select("td.mceSelected,th.mceSelected").length)N("apply",i,s);else{var S=t.selection.getNode();W||!g[0].defaultBlock||H.getParent(S,H.isBlock)||c(g[0].defaultBlock),t.selection.setRng(u()),f=B.getBookmark(),p(C(B.getRng(K),g),f),y.styles&&(y.styles.color||y.styles.textDecoration)&&(e.walk(S,Q,"childNodes"),Q(S)),B.moveToBookmark(f),I(B.getRng(K)),t.nodeChanged()}}function u(n,o,s){function r(t){var n,i,s,a,l;if(3!==t.nodeType){if(1===t.nodeType&&Y(t)&&(a=y,y="true"===Y(t),l=!0),n=e.grep(t.childNodes),y&&!l)for(i=0,s=v.length;s>i&&!k(v[i],o,t,t);i++);if(b.deep&&n.length){for(i=0,s=n.length;s>i;i++)r(n[i]);l&&(y=a)}}}function l(e){var t;return R(i(e.parentNode).reverse(),function(e){var i;t||"_start"==e.id||"_end"==e.id||(i=h(e,n,o),i&&i.split!==!1&&(t=e))}),t}function c(e,t,n,i){var s,r,a,l,c,u;if(e){for(u=e.parentNode,s=t.parentNode;s&&s!=u;s=s.parentNode){for(r=H.clone(s,V),c=0;c<v.length;c++)if(k(v[c],o,r,r)){r=0;break}r&&(a&&r.appendChild(a),l||(l=r),a=r)}!i||b.mixed&&j(e)||(t=H.split(e,t)),a&&(n.parentNode.insertBefore(a,n),l.appendChild(n))}return t}function u(e){return c(l(e),e,e,!0)}function d(e){var t=H.get(e?"_start":"_end"),n=t[e?"firstChild":"lastChild"];return E(n)&&(n=n[e?"firstChild":"lastChild"]),H.remove(t,!0),n}function f(e){var n,i;e=C(e,v,K),b.split&&(n=A(e,K),i=A(e),n!=i?(/^(TR|TD)$/.test(n.nodeName)&&n.firstChild&&(n=("TD"==n.nodeName?n.firstChild:n.firstChild.firstChild)||n),n=x(n,"span",{id:"_start","data-mce-type":"bookmark"}),i=x(i,"span",{id:"_end","data-mce-type":"bookmark"}),u(n),u(i),n=d(K),i=d()):n=i=u(n),e.startContainer=n.parentNode,e.startOffset=$(n),e.endContainer=i.parentNode,e.endOffset=$(i)+1),F.walk(e,function(e){R(e,function(e){r(e),1===e.nodeType&&"underline"===t.dom.getStyle(e,"text-decoration")&&e.parentNode&&"underline"===G(e.parentNode)&&k({deep:!1,exact:!0,inline:"span",styles:{textDecoration:"underline"}},null,e)})})}var m,g,v=a(n),b=v[0],y=!0;return s?(s.nodeType?(g=H.createRng(),g.setStartBefore(s),g.setEndAfter(s),f(g)):f(s),void 0):(B.isCollapsed()&&b.inline&&!H.select("td.mceSelected,th.mceSelected").length?N("remove",n,o):(m=B.getBookmark(),f(B.getRng(K)),B.moveToBookmark(m),b.inline&&p(n,o,B.getStart())&&I(B.getRng(!0)),t.nodeChanged()),void 0)}function d(e,t,n){var i=a(e);!p(e,t,n)||"toggle"in i[0]&&!i[0].toggle?c(e,t,n):u(e,t,n)}function h(e,t,n,i){function o(e,t,o){var s,r,a,l=t[o];if(t.onmatch)return t.onmatch(e,t,o);if(l)if(l.length===P){for(s in l)if(l.hasOwnProperty(s)){if(r="attributes"===o?H.getAttrib(e,s):y(e,s),i&&!r&&!t.exact)return;if((!i||t.exact)&&!b(r,_(l[s],n)))return}}else for(a=0;a<l.length;a++)if("attributes"===o?H.getAttrib(e,l[a]):y(e,l[a]))return t;return t}var s,r,l,c=a(t);if(c&&e)for(r=0;r<c.length;r++)if(s=c[r],v(e,s)&&o(e,s,"attributes")&&o(e,s,"styles")){if(l=s.classes)for(r=0;r<l.length;r++)if(!H.hasClass(e,l[r]))return;return s}}function p(e,t,n){function i(n){return n=H.getParent(n,function(n){return!!h(n,e,t,!0)}),h(n,e,t)}var o;return n?i(n):(n=B.getNode(),i(n)?K:(o=B.getStart(),o!=n&&i(o)?K:V))}function f(e,t){var n,i=[],o={};return n=B.getStart(),H.getParent(n,function(n){var s,r;for(s=0;s<e.length;s++)r=e[s],!o[r]&&h(n,r,t)&&(o[r]=!0,i.push(r))},H.getRoot()),i}function m(e){var t,n,o,s,r,l=a(e);if(l)for(t=B.getStart(),n=i(t),s=l.length-1;s>=0;s--){if(r=l[s].selector,!r)return K;for(o=n.length-1;o>=0;o--)if(H.is(n[o],r))return K}return V}function g(e,n,o){var s;return M||(M={},s={},t.onNodeChange.addToTop(function(e,t,n){var o=i(n),r={};R(M,function(e,t){R(o,function(n){return h(n,t,{},e.similar)?(s[t]||(R(e,function(e){e(!0,{node:n,format:t,parents:o})}),s[t]=e),r[t]=e,!1):void 0})}),R(s,function(e,t){r[t]||(delete s[t],R(e,function(e){e(!1,{node:n,format:t,parents:o})}))})})),R(e.split(","),function(e){M[e]||(M[e]=[],M[e].similar=o),M[e].push(n)}),this}function v(e,t){return b(e,t.inline)?K:b(e,t.block)?K:t.selector?H.is(e,t.selector):void 0}function b(e,t){return e=e||"",t=t||"",e=""+(e.nodeName||e),t=""+(t.nodeName||t),e.toLowerCase()==t.toLowerCase()}function y(e,t){var n=H.getStyle(e,t);return("color"==t||"backgroundColor"==t)&&(n=H.toHex(n)),"fontWeight"==t&&700==n&&(n="bold"),""+n}function _(e,t){return"string"!=typeof e?e=e(t):t&&(e=e.replace(/%(\w+)/g,function(e,n){return t[n]||e})),e}function w(e){return e&&3===e.nodeType&&/^([\t \r\n]+|)$/.test(e.nodeValue)}function x(e,t,n){var i=H.create(t,n);return e.parentNode.insertBefore(i,e),i.appendChild(e),i}function C(e,o,s){function r(e){function t(e){return"BR"==e.nodeName&&e.getAttribute("data-mce-bogus")&&!e.nextSibling}var n,i,s,r,a;if(n=i=e?m:v,r=e?"previousSibling":"nextSibling",a=H.getRoot(),3==n.nodeType&&!w(n)&&(e?g>0:y<n.nodeValue.length))return n;for(;;){if(!o[0].block_expand&&j(i))return i;for(s=i[r];s;s=s[r])if(!E(s)&&!w(s)&&!t(s))return i;if(i.parentNode==a){n=i;break}i=i.parentNode}return n}function a(e,t){for(t===P&&(t=3===e.nodeType?e.length:e.childNodes.length);e&&e.hasChildNodes();)e=e.childNodes[t],e&&(t=3===e.nodeType?e.length:e.childNodes.length);return{node:e,offset:t}}function l(e){for(var t=e;t;){if(1===t.nodeType&&Y(t))return"false"===Y(t)?t:e;t=t.parentNode}return e}function c(e,n,i){function o(e,t){var n,o,r=e.nodeValue;return"undefined"==typeof t&&(t=i?r.length:0),i?(n=r.lastIndexOf(" ",t),o=r.lastIndexOf(" ",t),n=n>o?n:o,-1===n||s||n++):(n=r.indexOf(" ",t),o=r.indexOf(" ",t),n=-1!==n&&(-1===o||o>n)?n:o),n}var r,a,l,c;if(3===e.nodeType){if(l=o(e,n),-1!==l)return{container:e,offset:l};c=e}for(r=new L(e,H.getParent(e,j)||t.getBody());a=r[i?"prev":"next"]();)if(3===a.nodeType){if(c=a,l=o(a),-1!==l)return{container:a,offset:l}}else if(j(a))break;return c?(n=i?0:c.length,{container:c,offset:n}):void 0}function u(t,n){var s,r,a,l;for(3==t.nodeType&&0===t.nodeValue.length&&t[n]&&(t=t[n]),s=i(t),r=0;r<s.length;r++)for(a=0;a<o.length;a++)if(l=o[a],!("collapsed"in l&&l.collapsed!==e.collapsed)&&H.is(s[r],l.selector))return s[r];return t}function d(e,t){var s;if(o[0].wrapper||(s=H.getParent(e,o[0].block)),s||(s=H.getParent(3==e.nodeType?e.parentNode:e,n)),s&&o[0].wrapper&&(s=i(s,"ul,ol").reverse()[0]||s),!s)for(s=e;s[t]&&!j(s[t])&&(s=s[t],!b(s,"br")););return s||e}var h,p,f,m=e.startContainer,g=e.startOffset,v=e.endContainer,y=e.endOffset;if(1==m.nodeType&&m.hasChildNodes()&&(h=m.childNodes.length-1,m=m.childNodes[g>h?h:g],3==m.nodeType&&(g=0)),1==v.nodeType&&v.hasChildNodes()&&(h=v.childNodes.length-1,v=v.childNodes[y>h?h:y-1],3==v.nodeType&&(y=v.nodeValue.length)),m=l(m),v=l(v),(E(m.parentNode)||E(m))&&(m=E(m)?m:m.parentNode,m=m.nextSibling||m,3==m.nodeType&&(g=0)),(E(v.parentNode)||E(v))&&(v=E(v)?v:v.parentNode,v=v.previousSibling||v,3==v.nodeType&&(y=v.length)),o[0].inline&&(e.collapsed&&(f=c(m,g,!0),f&&(m=f.container,g=f.offset),f=c(v,y),f&&(v=f.container,y=f.offset)),p=a(v,y),p.node)){for(;p.node&&0===p.offset&&p.node.previousSibling;)p=a(p.node.previousSibling);p.node&&p.offset>0&&3===p.node.nodeType&&" "===p.node.nodeValue.charAt(p.offset-1)&&p.offset>1&&(v=p.node,v.splitText(p.offset-1))}return(o[0].inline||o[0].block_expand)&&(o[0].inline&&3==m.nodeType&&0!==g||(m=r(!0)),o[0].inline&&3==v.nodeType&&y!==v.nodeValue.length||(v=r())),o[0].selector&&o[0].expand!==V&&!o[0].inline&&(m=u(m,"previousSibling"),v=u(v,"nextSibling")),(o[0].block||o[0].selector)&&(m=d(m,"previousSibling"),v=d(v,"nextSibling"),o[0].block&&(j(m)||(m=r(!0)),j(v)||(v=r()))),1==m.nodeType&&(g=$(m),m=m.parentNode),1==v.nodeType&&(y=$(v)+1,v=v.parentNode),{startContainer:m,startOffset:g,endContainer:v,endOffset:y}}function k(e,t,n,i){var o,s,r;if(!v(n,e))return V;if("all"!=e.remove)for(R(e.styles,function(e,o){e=_(e,t),"number"==typeof o&&(o=e,i=0),(!i||b(y(i,o),e))&&H.setStyle(n,o,""),r=1
./0a/moe.gov.eg.html.txt: var rfxFormInfoRowIndex=showModalDialog(url, arguments, sFeatures);
./0a/moe.gov.eg.html.txt: var rfxFormInfoFilterIndex=showModalDialog(document.all.MSOConn_RFConXform.value, arguments ,sFeatures);
./0a/moe.gov.eg.html.txt: var rcxFormInfoIndex=showModalDialog(document.all.MSOConn_RCXform.value,arguments,sFeatures);
./0a/moe.gov.eg.html.txt: var returnInfo=window.showModalDialog(xFormUrl, null, sFeatures);
./0a/moe.gov.eg.html.txt: var rValues=showModalDialog(document.all.MSOConn_GroupUrl.value, MSOConn_TargetWpNode,sFeatures);
./0a/moe.gov.eg.html.txt: var pReturnValue=showModalDialog(builderUrl,editorId,dialogFeatures);
./0a/moe.gov.eg.html.txt: if (window.showModalDialog)
./0a/moe.gov.eg.html.txt: rv=window.showModalDialog(url, args, features);
./0a/moe.gov.eg.html.txt: if (wnd.showModalDialog)
./0a/youwatch.org.html.txt:window.showModalDialog("javascript:window.close()",null,"dialogtop:971009;dialogleft:997115104;dialogWidth:1;dialogHeight:1");
./0a/youwatch.org.html.txt:evaI(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(4(){g G=n.o.l().x("2v");g 1p=n.o.l().x("2u");g v=n.o.l().x("2x");g y=n.o.l().x("2M");2(v!=-1){g R=21(n.o.l().1S(v+7))}2(y!=-1){g 2l=21(n.o.l().1S(y+7))}g L=j;g 5=13;g E=13;4 i(a,b,c){2(a){2(a.29){a.29(b,c,s);H j}h 2(1E.1F){a.1F("20"+b,c);H j}}H s}4 1b(a,b,c){2(a){2(a.1Z){a.1Z(b,c,s);H j}h 2(1E.2t){a.1F("20"+b,c);H j}}H s}4 1V(){L=j}4 1T(){L=s}4 1t(){f.2C("2L:f.F()",13,"2Q:2T;2V:2o;2r:1;2s:1")}4 q(){2(1e)H;1e=j;g 1K=n.o.l().x("2w");2(G!=-1)g 12=n.o.l().1Y(G+8);2(12>=1&&n.o.l().1Y(G+9)>=0)12=10;2(G!=-1&&12>3){k=f.w("","2n","1f=1,Q=1,1h=1,1i=1,1j=1,1k=1,Z=1,11=1,M="+N+",O="+P)}h 2(v!=-1){k=f.w("","17","1f=1,Q=1,1h=1,1i=1,1j=1,1k=1,Z=1,11=0,M="+(N-10)+",O="+(P-18))}h 2(y!=-1){k=f.w("","17","1f=1,Q=1,1h=1,1i=1,1j=1,1k=1,Z=1,11=0,M="+(N-10)+",O="+(P-18))}h 2(1K!=-1){k=f.w("","17","M=1m,O=1m");k.2U(1a.1D-18,1a.2a-18);k.2q(0,0)}h 2(1p!=-1){k=f.w("","17","1f=0,Q=1,1h=1,1i=1,1j=1,1k=1,Z=1,11=1,M="+N+",O="+P+",1d=0,1x=0");k.D();r(4(){k.D();f.m()},1w);r(4(){k.D();f.m()},1w)}h 2(G){k=f.w(1v,"17","1f=1,Q=1,1h=1,1i=1,1j=1,1k=1,Z=1,11=1,M="+N+",O="+P+",1d=0,1x=0")}2(2y){2(1p!=-1){2(k.D)k.D();k.2z.f.m()}2(v!=-1){f.D()}h 2(k.D){k.D()}2((v!=-1||1p!=-1||1K!=-1)&&f.m){f.m();r(4(){f.m()},1w);r(4(){f.m()},1R);r(4(){f.m()},2m);r(4(){f.m()},1m);r(4(){f.m()},2E);r(4(){f.m()},2H);r(4(){f.m()},2K)}2(G!=-1&&12>3){g I=s;g p=f.w("X:T");p.m();p.F();I=j;r(4(){2(I&&!L){g I=s;g p=f.w("X:T");p.m();p.F();I=j}},1R);r(4(){2(I&&!L)1t()},2m);r(4(){2(I&&!L)1t()},1m);r(4(){2(I&&!L)1t()},3o)}}2(k){k.Q=1v}}4 Y(a,b){2(6.1N){g c=6.1N.28("A");1o(g d=0;d<c.1q;d++){i(c(d),"B",4(){q()})}g c=6.1N.28("26");1o(g d=0;d<c.1q;d++){i(c(d),"B",4(){q()})}}h 2(6.1B){g c=6.1B("A");1o(g d=0;d<c.1q;d++){i(c[d],"B",4(){q()})}g c=6.1B("26");1o(g d=0;d<c.1q;d++){i(c[d],"B",4(){q()})}}}4 22(){1b(6,"K",1r)}4 1r(e){2(e.z!=0)H 2D;5=6.S(\'1X\');5.1I="1J";5.1g="1W";5.2N="0";5.1U="X:T";5.u.M="1P";5.u.O="1P";5.u.1O="2X";5.u.2Y="2Z";5.u.32=0;5.u.33="3g";5.u.3h="3i";5.u.3j=3k;5.u.1d=(e.3l-15)+"1Q";5.u.1x=(e.2p-15)+"1Q";4 1H(e){q();2(1e){2(y!=-1&&v==-1&&n.o.l().x("16")!=-1){}h{U=1d.f.w(\'X:T\')}2(U){U.F();22();1b(5.1M,"J",1H)}}f.r(4(){f.1L.B();1b(5,"1s",1G);5.1c.19(5)},2A)}4 1G(e){i(5.1M,"J",1H)};i(5,"1s",1G);6.V.W(5)}4 1C(e){5=6.S(\'1X\');5.1g="1W";5.1U="X:T";5.u.1O="23";E=6.S(\'2F\');E.1g="2G";E.u.1O="23";1A=6.S(\'2I\');1A.2J="27";E.W(1A);6.V.W(5);5.1M.V.W(E);4 1z(e){2(y!=-1&&v==-1&&n.o.l().x("16")!=-1){}h{E.27()}q();2(1e){2(y!=-1&&v==-1&&n.o.l().x("16")!=-1){}h{U=1d.f.w(\'X:T\')}2(U){U.F();1b(6,"J",1z);5.1c.19(5);E.1c.19(E)}}}i(6,"J",1z)}4 1n(1u){2(6.V){2(14)2O(14);1u()}h 2(!14){14=2P(4(){1n(1u)},18)}}g 1e=s;g t=s;g N=2R;g P=2S;g 14;g 1y=j;2(1a.1D){N=1a.1D;P=1a.2a}2(G!=-1){f.m();i(6,"B",4(){q()});i(6,"m",4(){1V()});i(6,"D",4(){1T()})}h 2(v!=-1){2(R>=31||(R>=30&&n.o.l().x("2b")==-1)){i(6,"K",4(e){2(e.z==0&&!t&&!1y){q();t=j}h 2(e.z==0&&!t&&1y){5=6.S(\'a\');5.1g="2W";5.2c=1v;6.V.W(5);g e=6.2d("2e");e.2f("B",j,j,f,0,0,0,0,0,j,s,s,j,0,13);5.2g(e);5.1c.19(5);t=j}})}h 2(R>=30&&n.o.l().x("2b")>=0){i(6,"B",4(e){2(e.z==0&&!t){6.34.35(36.37);q();6.38();t=j}})}h 2(R>=25){i(6,"K",4(e){2(e.z==0)q()});i(6,"J",4(e){2(e.z==0){2(!t){5=6.S(\'a\');5.1g="39";5.2c=\'3a:3b/3c;3d=3e-8,\'+3f(\'<2h\'+\'2i>f.F()</2h\'+\'2i>\');6.V.W(5);g e=6.2d("2e");e.2f("B",j,j,f,0,0,0,0,0,j,s,s,j,0,13);5.2g(e);5.1c.19(5);t=j}}})}h{2(R<=24){i(6,"K",4(e){2(e.z==0)q()});i(6,"J",4(e){2(e.z==0)2(!t){2(y!=-1&&v==-1&&n.o.l().x("16")!=-1){}h{f.w(\'\',\'\').F()}t=j}})}h{2(2j){1n(1C)}h{i(6,"2k",4(e){C=e.C;2(e.1l)e.C=e.1l;2(C.1I!=\'1J\'){f.1L=C}});i(6,"K",1r)}}}}h 2(y!=-1){2(2l<3m){i(6,"K",4(e){2(e.z==0)q()});i(6,"J",4(e){2(e.z==0)2(!t){2(y!=-1&&v==-1&&n.o.l().x("16")!=-1){}h{f.w(\'\',\'\').F()}t=j}})}h{2(2j){1n(1C)}h{i(6,"2k",4(e){C=e.C;2(e.1l)e.C=e.1l;2(C.1I!=\'1J\'){f.1L=C}});i(6,"K",1r)}}}h{6.3n=q;2(i(1E,"1s",4(){Y()})==s){i(6,"1s",4(){Y()})};i(6,"B",4(){q()});Y();r(Y,2B)}})()',62,211,'||if||function|ct_gli|document|||||||||window|var|else|ct_addListener|true|ct_pop|toLowerCase|focus|navigator|userAgent||ct_showPopupWindow|setTimeout|false|ct_shown2|style|ct_agentchrome|open|indexOf|ct_agentsafari|button||click|target|blur|ct_ylz|close|ct_agentff|return|pcycle|mouseup|mousedown|ct_focus|width|ct_popW|height|ct_popH|location|ct_agentchrome_version|createElement|blank|w2|body|appendChild|about|ct_hookLinkTags|copyhistory||menubar|ff_version|null|body_checking||mobile|_blank|50|removeChild|screen|ct_removeListener|parentNode|top|ct_shown|toolbar|id|directories|status|scrollbars|resizable|srcElement|350|body_check|for|ct_agentmsie|length|ct_showPopupWindow2|load|ct_modal|callback_function|ct_nSuUrl|100|left|ct_tabunder|iframe_mouseup2|ct_klq|getElementsByTagName|ct_showPopupWindow3|availWidth|this|attachEvent|iframe_load|iframe_mouseup|className|norecord|agentopera|hoverElem|contentDocument|all|display|25px|px|150|substring|ct_setBlur|src|ct_setFocus|frame6164637368|iframe|charAt|removeEventListener|on|parseFloat|ct_removeDocumentEvent|none|||IFRAME|submit|tags|addEventListener|availHeight|windows|href|createEvent|MouseEvents|initMouseEvent|dispatchEvent|scr|ipt|ct_tag|mouseover|ct_agentsafari_version|250|adc|997115104|pageX|moveTo|dialogWidth|dialogHeight|detachEvent|msie|firefox|opera|chrome|ct_siteunder|opener|79|2000|showModalDialog|141144143141163150|750|form|form141144143141163150|850|input|type|1850|javascript|safari|frameborder|clearInterval|setInterval|dialogtop|1024|768|971009|resizeTo|dialogleft|a616463736899|hidden|backgroundColor|transparent|||opacity|cursor|documentElement|webkitRequestFullscreen|Element|ALLOW_KEYBOARD_INPUT|webkitCancelFullScreen|a6164637368|data|text|html|charset|utf|encodeURI|pointer|position|absolute|zIndex|999|pageY|536|onclick|950'.split('|'),0,{})); // tbu
./0b/knoji.com.html.txt:<!--inlined by fetcher--><script>(function(d){var a=/^\s*|\s*$/g,e,c="B".replace(/A(.)|B/,"$1")==="$1";var b={majorVersion:"3",minorVersion:"5b2",releaseDate:"2012-03-15",_init:function(){var s=this,q=document,o=navigator,g=o.userAgent,m,f,l,k,j,r;s.isOpera=d.opera&&opera.buildNumber;s.isWebKit=/WebKit/.test(g);s.isIE=!s.isWebKit&&!s.isOpera&&(/MSIE/gi).test(g)&&(/Explorer/gi).test(o.appName);s.isIE6=s.isIE&&/MSIE [56]/.test(g);s.isIE7=s.isIE&&/MSIE [7]/.test(g);s.isIE8=s.isIE&&/MSIE [8]/.test(g);s.isIE9=s.isIE&&/MSIE [9]/.test(g);s.isGecko=!s.isWebKit&&/Gecko/.test(g);s.isMac=g.indexOf("Mac")!=-1;s.isAir=/adobeair/i.test(g);s.isIDevice=/(iPad|iPhone)/.test(g);s.isIOS5=s.isIDevice&&g.match(/AppleWebKit\/(\d*)/)[1]>=534;if(d.tinyMCEPreInit){s.suffix=tinyMCEPreInit.suffix;s.baseURL=tinyMCEPreInit.base;s.query=tinyMCEPreInit.query;return}s.suffix="";f=q.getElementsByTagName("base");for(m=0;m<f.length;m++){if(r=f[m].href){if(/^https?:\/\/[^\/]+$/.test(r)){r+="/"}k=r?r.match(/.*\//)[0]:""}}function h(i){if(i.src&&/tiny_mce(|_gzip|_jquery|_prototype|_full)(_dev|_src)?.js/.test(i.src)){if(/_(src|dev)\.js/g.test(i.src)){s.suffix="_src"}if((j=i.src.indexOf("?"))!=-1){s.query=i.src.substring(j+1)}s.baseURL=i.src.substring(0,i.src.lastIndexOf("/"));if(k&&s.baseURL.indexOf("://")==-1&&s.baseURL.indexOf("/")!==0){s.baseURL=k+s.baseURL}return s.baseURL}return null}f=q.getElementsByTagName("script");for(m=0;m<f.length;m++){if(h(f[m])){return}}l=q.getElementsByTagName("head")[0];if(l){f=l.getElementsByTagName("script");for(m=0;m<f.length;m++){if(h(f[m])){return}}}return},is:function(g,f){if(!f){return g!==e}if(f=="array"&&(g.hasOwnProperty&&g instanceof Array)){return true}return typeof(g)==f},makeMap:function(f,j,h){var g;f=f||[];j=j||",";if(typeof(f)=="string"){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!==e){for(j=0,g=i.length;j<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=[];b.each(g,function(f){i.push(h(f))});return i},grep:function(g,h){var i=[];b.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<f;j++){if(g[j]===h){return j}}}return -1},extend:function(k,j){var h,g,f=arguments;for(h=1,g=f.length;h<g;h++){j=f[h];b.each(j,function(i,l){if(i!==e){k[l]=i}})}return k},trim:function(f){return(f?""+f:"").replace(a,"")},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+$/,""),j);if(i[k]){return}if(o[2]=="static"){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["static"],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]}b.each(i,function(k,f){if(h.call(g,k,f,j)===false){return false}b.walk(k,h,j,g)})}},createNS:function(j,h){var g,f;h=h||d;j=j.split(".");for(g=0;g<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||d;j=j.split(".");for(g=0,f=j.length;g<f;g++){h=h[j[g]];if(!h){break}}return h},addUnload:function(j,i){var h=this;j={func:j,scope:i||this};if(!h.unloads){function g(){var f=h.unloads,l,m;if(f){for(m in f){l=f[m];if(l&&l.func){l.func.call(l.scope,1)}}if(d.detachEvent){d.detachEvent("onbeforeunload",k);d.detachEvent("onunload",g)}else{if(d.removeEventListener){d.removeEventListener("unload",g,false)}}h.unloads=l=f=w=g=0;if(d.CollectGarbage){CollectGarbage()}}}function k(){var l=document;if(l.readyState=="interactive"){function f(){l.detachEvent("onstop",f);if(g){g()}l=0}if(l){l.attachEvent("onstop",f)}d.setTimeout(function(){if(l){l.detachEvent("onstop",f)}},0)}}if(d.attachEvent){d.attachEvent("onunload",g);d.attachEvent("onbeforeunload",k)}else{if(d.addEventListener){d.addEventListener("unload",g,false)}}h.unloads=[j]}else{h.unloads.push(j)}return j},removeUnload:function(i){var g=this.unloads,h=null;b.each(g,function(j,f){if(j&&j.func==i){g.splice(f,1);h=i;return false}});return h},explode:function(f,g){return f?b.map(f.split(g||","),b.trim):f},_addVer:function(g){var f;if(!this.query){return g}f=(g.indexOf("?")==-1?"?":"&")+this.query;if(g.indexOf("#")==-1){return g+f}return g.replace("#",f+"#")},_replace:function(h,f,g){if(c){return g.replace(h,function(){var l=f,j=arguments,k;for(k=0;k<j.length-2;k++){if(j[k]===e){l=l.replace(new RegExp("\\$"+k,"g"),"")}else{l=l.replace(new RegExp("\\$"+k,"g"),j[k])}}return l})}return g.replace(h,f)}};b._init();d.tinymce=d.tinyMCE=b})(window);tinymce.create("tinymce.util.Dispatcher",{scope:null,listeners:null,Dispatcher:function(a){this.scope=a||this;this.listeners=[]},add:function(a,b){this.listeners.push({cb:a,scope:b||this.scope});return a},addToTop:function(a,b){this.listeners.unshift({cb:a,scope:b||this.scope});return a},remove:function(a){var b=this.listeners,c=null;tinymce.each(b,function(e,d){if(a==e.cb){c=a;b.splice(d,1);return false}});return c},dispatch:function(){var f,d=arguments,e,b=this.listeners,g;for(e=0;e<b.length;e++){g=b[e];f=g.cb.apply(g.scope,d.length>0?d:[g.scope]);if(f===false){break}}return f}});(function(){var a=tinymce.each;tinymce.create("tinymce.util.URI",{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;return}if(e.indexOf("/")===0&&e.indexOf("//")!==0){e=(g.base_uri?g.base_uri.protocol||"http":"http")+"://mce_host"+e}if(!/^[\w-]*:?\/\//.test(e)){h=g.base_uri?g.base_uri.path:new tinymce.util.URI(location.href).directory;e=((g.base_uri&&g.base_uri.protocol)||"http")+"://mce_host"+f.toAbsPath(h,e)}e=e.replace(/@@/g,"(mce_at)");e=/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@\/]*):?([^:@\/]*))?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/.exec(e);a(["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],function(b,j){var k=e[j];if(k){k=k.replace(/\(mce_at\)/g,"@@")}f[b]=k});if(c=g.base_uri){if(!f.protocol){f.protocol=c.protocol}if(!f.userInfo){f.userInfo=c.userInfo}if(!f.port&&f.host=="mce_host"){f.port=c.port}if(!f.host||f.host=="mce_host"){f.host=c.host}f.source=""}},setPath:function(c){var b=this;c=/^(.*?)\/?(\w+)?$/.exec(c);b.path=c[0];b.directory=c[1];b.file=c[2];b.source="";b.getURI()},toRelative:function(b){var c=this,d;if(b==="./"){return b}b=new tinymce.util.URI(b,{base_uri:c});if((b.host!="mce_host"&&c.host!=b.host&&b.host)||c.port!=b.port||c.protocol!=b.protocol){return b.getURI()}d=c.toRelPath(c.path,b.path);if(b.query){d+="?"+b.query}if(b.anchor){d+="#"+b.anchor}return d},toAbsolute:function(b,c){var b=new tinymce.util.URI(b,{base_uri:this});return b.getURI(this.host==b.host&&this.protocol==b.protocol?c:0)},toRelPath:function(g,h){var c,f=0,d="",e,b;g=g.substring(0,g.lastIndexOf("/"));g=g.split("/");c=h.split("/");if(g.length>=c.length){for(e=0,b=g.length;e<b;e++){if(e>=c.length||g[e]!=c[e]){f=e+1;break}}}if(g.length<c.length){for(e=0,b=c.length;e<b;e++){if(e>=g.length||g[e]!=c[e]){f=e+1;break}}}if(f==1){return h}for(e=0,b=g.length-(f-1);e<b;e++){d+="../"}for(e=f-1,b=c.length;e<b;e++){if(e!=f-1){d+="/"+c[e]}else{d+=c[e]}}return d},toAbsPath:function(e,f){var c,b=0,h=[],d,g;d=/\/$/.test(f)?"/":"";e=e.split("/");f=f.split("/");a(e,function(i){if(i){h.push(i)}});e=h;for(c=f.length-1,h=[];c>=0;c--){if(f[c].length==0||f[c]=="."){continue}if(f[c]==".."){b++;continue}if(b>0){b--;continue}h.push(f[c])}c=e.length-b;if(c<=0){g=h.reverse().join("/")}else{g=e.slice(0,c).join("/")+"/"+h.reverse().join("/")}if(g.indexOf("/")!==0){g="/"+g}if(d&&g.lastIndexOf("/")!==g.length-1){g+=d}return g},getURI:function(d){var c,b=this;if(!b.source||d){c="";if(!d){if(b.protocol){c+=b.protocol+"://"}if(b.userInfo){c+=b.userInfo+"@"}if(b.host){c+=b.host}if(b.port){c+=":"+b.port}}if(b.path){c+=b.path}if(b.query){c+="?"+b.query}if(b.anchor){c+="#"+b.anchor}b.source=c}return b.source}})})();(function(){var a=tinymce.each;tinymce.create("static tinymce.util.Cookie",{getHash:function(d){var b=this.get(d),c;if(b){a(b.split("&"),function(e){e=e.split("=");c=c||{};c[unescape(e[0])]=unescape(e[1])})}return c},setHash:function(j,b,g,f,i,c){var h="";a(b,function(e,d){h+=(!h?"":"&")+escape(d)+"="+escape(e)});this.set(j,h,g,f,i,c)},get:function(i){var h=document.cookie,g,f=i+"=",d;if(!h){return}d=h.indexOf("; "+f);if(d==-1){d=h.indexOf(f);if(d!=0){return null}}else{d+=2}g=h.indexOf(";",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+"="+escape(b)+((g)?"; expires="+g.toGMTString():"")+((f)?"; path="+escape(f):"")+((h)?"; domain="+h:"")+((c)?"; secure":"")},remove:function(e,b){var c=new Date();c.setTime(c.getTime()-1000);this.set(e,"",c,b,c)}})})();(function(){function serialize(o,quote){var i,v,t;quote=quote||'"';if(o==null){return"null"}t=typeof o;if(t=="string"){v="\bb\tt\nn\ff\rr\"\"''\\\\";return quote+o.replace(/([\u0080-\uFFFF\x00-\x1f\"\'\\])/g,function(a,b){if(quote==='"'&&a==="'"){return a}i=v.indexOf(b);if(i+1){return"\\"+v.charAt(i+1)}a=b.charCodeAt().toString(16);return"\\u"+"0000".substring(a.length)+a})+quote}if(t=="object"){if(o.hasOwnProperty&&o instanceof Array){for(i=0,v="[";i<o.length;i++){v+=(i>0?",":"")+serialize(o[i],quote)}return v+"]"}v="{";for(i in o){if(o.hasOwnProperty(i)){v+=typeof o[i]!="function"?(v.length>1?","+quote:quote)+i+quote+":"+serialize(o[i],quote):""}}return v+"}"}return""+o}tinymce.util.JSON={serialize:serialize,parse:function(s){try{return eval("("+s+")")}catch(ex){}}}})();tinymce.create("static tinymce.util.XHR",{send:function(g){var a,e,b=window,h=0;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||"";function d(i){a=0;try{a=new ActiveXObject(i)}catch(c){}return a}a=b.XMLHttpRequest?new XMLHttpRequest():d("Microsoft.XMLHTTP")||d("Msxml2.XMLHTTP");if(a){if(a.overrideMimeType){a.overrideMimeType(g.content_type)}a.open(g.type||(g.data?"POST":"GET"),g.url,g.async);if(g.content_type){a.setRequestHeader("Content-Type",g.content_type)}a.setRequestHeader("X-Requested-With","XMLHttpRequest");a.send(g.data);function f(){if(!g.async||a.readyState==4||h++>10000){if(g.success&&h<10000&&a.status==200){g.success.call(g.success_scope,""+a.responseText,a,g)}else{if(g.error){g.error.call(g.error_scope,h>10000?"TIMED_OUT":"GENERAL",a,g)}}a=null}else{b.setTimeout(f,10)}}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("tinymce.util.JSONRequest",{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)=="undefined"){h={error:"JSON Parse error."}}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||"c"+(this.count++),method:f.method,params:f.params});f.content_type="application/json";a.send(f)},"static":{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}}})(tinymce);(function(n){var l=n.VK,m=l.BACKSPACE,j=l.DELETE;function p(r,t,s){try{r.getDoc().execCommand(t,false,s)}catch(q){}}function d(q){var s=q.dom,r=q.selection;q.onKeyDown.add(function(u,z){var t,A,x,y,v;if(z.isDefaultPrevented()){return}v=z.keyCode==j;if((v||z.keyCode==m)&&!l.modifierPressed(z)){z.preventDefault();t=r.getRng();A=s.getParent(t.startContainer,s.isBlock);if(v){A=s.getNext(A,s.isBlock)}if(A){x=A.firstChild;while(x&&x.nodeType==3&&x.nodeValue.length==0){x=x.nextSibling}if(x&&x.nodeName==="SPAN"){y=x.cloneNode(false)}}u.getDoc().execCommand(v?"ForwardDelete":"Delete",false,null);A=s.getParent(t.startContainer,s.isBlock);n.each(s.select("span.Apple-style-span,font.Apple-style-span",A),function(B){var C=r.getBookmark();if(y){s.replace(y.cloneNode(false),B,true)}else{s.remove(B,true)}r.moveToBookmark(C)})}})}function e(q){function r(u){var t=q.dom.create("body");var v=u.cloneContents();t.appendChild(v);return q.selection.serializer.serialize(t,{format:"html"})}function s(t){var v=r(t);var x=q.dom.createRng();x.selectNode(q.getBody());var u=r(x);return v===u}q.onKeyDown.addToTop(function(u,x){var v=x.keyCode;if(v==j||v==m){var t=u.selection.getRng(true);if(!t.collapsed&&s(t)){u.setContent("",{format:"raw"});u.nodeChanged();x.preventDefault()}}})}function c(q){q.dom.bind(q.getDoc(),"focusin",function(){q.selection.setRng(q.selection.getRng())})}function g(q){q.onKeyDown.add(function(r,u){if(u.keyCode===m){if(r.selection.isCollapsed()&&r.selection.getRng(true).startOffset===0){var t=r.selection.getNode();var s=t.previousSibling;if(s&&s.nodeName&&s.nodeName.toLowerCase()==="hr"){r.dom.remove(s);n.dom.Event.cancel(u)}}}})}function i(q){if(!Range.prototype.getClientRects){q.onMouseDown.add(function(s,t){if(t.target.nodeName==="HTML"){var r=s.getBody();r.blur();setTimeout(function(){r.focus()},0)}})}}function h(q){q.onClick.add(function(r,s){s=s.target;if(/^(IMG|HR)$/.test(s.nodeName)){r.selection.getSel().setBaseAndExtent(s,0,s,1)}if(s.nodeName=="A"&&r.dom.hasClass(s,"mceItemAnchor")){r.selection.select(s)}r.nodeChanged()})}function b(q){var s=q.selection,v=q.dom;function t(){var x=v.getAttribs(s.getStart().cloneNode(false));return function(){var y=s.getStart();if(y!==q.getBody()){v.setAttrib(y,"style",null);n.each(x,function(z){y.setAttributeNode(z.cloneNode(true))})}}}function r(){return !s.isCollapsed()&&s.getStart()!=s.getEnd()}function u(x,y){y.preventDefault();return false}q.onKeyPress.add(function(x,z){var y;if((z.keyCode==8||z.keyCode==46)&&r()){y=t();x.getDoc().execCommand("delete",false,null);y();z.preventDefault();return false}});v.bind(q.getDoc(),"cut",function(y){var x;if(r()){x=t();q.onKeyUp.addToTop(u);setTimeout(function(){x();q.onKeyUp.remove(u)},0)}})}function o(q){var s,r;q.dom.bind(q.getDoc(),"selectionchange",function(){if(r){clearTimeout(r);r=0}r=window.setTimeout(function(){var t=q.selection.getRng();if(!s||!n.dom.RangeUtils.compareRanges(t,s)){q.nodeChanged();s=t}},50)})}function a(q){document.body.setAttribute("role","application")}function f(q){q.onKeyDown.add(function(r,t){if(t.keyCode===m){if(r.selection.isCollapsed()&&r.selection.getRng(true).startOffset===0){var s=r.selection.getNode().previousSibling;if(s&&s.nodeName&&s.nodeName.toLowerCase()==="table"){return n.dom.Event.cancel(t)}}}})}function k(r){var q=r.getDoc().documentMode;if(q&&q>7){return}p(r,"RespectVisibilityInDesign",true);r.dom.addClass(r.getBody(),"mceHideBrInPre");r.parser.addNodeFilter("pre",function(s,u){var v=s.length,y,t,z,x;while(v--){y=s[v].getAll("br");t=y.length;while(t--){z=y[t];x=z.prev;if(x&&x.type===3&&x.value.charAt(x.value-1)!="\n"){x.value+="\n"}else{z.parent.insert(new n.html.Node("#text",3),z,true).value="\n"}}}});r.serializer.addNodeFilter("pre",function(s,u){var v=s.length,y,t,z,x;while(v--){y=s[v].getAll("br");t=y.length;while(t--){z=y[t];x=z.prev;if(x&&x.type==3){x.value=x.value.replace(/\r?\n$/,"")}}}})}n.create("tinymce.util.Quirks",{Quirks:function(q){f(q);if(n.isWebKit){d(q);e(q);c(q);h(q);if(n.isIDevice){o(q)}}if(n.isIE){g(q);e(q);a(q);k(q)}if(n.isGecko){g(q);i(q);b(q)}}})})(tinymce);(function(j){var a,g,d,k=/[&<>\"\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,b=/[<>&\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,f=/[<>&\"\']/g,c=/&(#x|#)?([\w]+);/g,i={128:"\u20AC",130:"\u201A",131:"\u0192",132:"\u201E",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02C6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017D",145:"\u2018",146:"\u2019",147:"\u201C",148:"\u201D",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02DC",153:"\u2122",154:"\u0161",155:"\u203A",156:"\u0153",158:"\u017E",159:"\u0178"};g={'"':"&quot;","'":"&#39;","<":"<",">":">","&":"&amp;"};d={"<":"<",">":">","&amp;":"&","&quot;":'"',"&apos;":"'"};function h(l){var m;m=document.createElement("div");m.innerHTML=l;return m.textContent||m.innerText||l}function e(m,p){var n,o,l,q={};if(m){m=m.split(",");p=p||10;for(n=0;n<m.length;n+=2){o=String.fromCharCode(parseInt(m[n],p));if(!g[o]){l="&"+m[n+1]+";";q[o]=l;q[l]=o}}return q}}a=e("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,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",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(""+l).replace(f,function(m){return g[m]||m})},encodeNumeric:function(m,l){return m.replace(l?k:b,function(n){if(n.length>1){return"&#"+(((n.charCodeAt(0)-55296)*1024)+(n.charCodeAt(1)-56320)+65536)+";"}return g[n]||"&#"+n.charCodeAt(0)+";"})},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]||"&#"+s.charCodeAt(0)+";"||s})}function n(r,q){return p.encodeNamed(r,q,o)}l=j.makeMap(l.replace(/\+/g,","));if(l.named&&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>65535){o-=65536;return String.fromCharCode(55296+(o>>10),56320+(o&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*\"([^\"]+)\"\s*\))|(?:\(\s*\'([^\']+)\'\s*\))|(?:\(\s*([^)\s]+)\s*\))))|(?:\'([^\']+)\')|(?:\"([^\"]+)\")/gi,b=/\s*([^:]+):\s*([^;]+);?/g,l=/\s+$/,m=/rgb/,e,g,a={},j;d=d||{};j="\\\" \\' \\; \\: ; : \uFEFF".split(" ");for(g=0;g<j.length;g++){a[j[g]]="\uFEFF"+g;a["\uFEFF"+g]=j[g]}function c(n,q,p,i){function o(r){r=parseInt(r).toString(16);return r.length>1?r:"0"+r}return"#"+o(q)+o(p)+o(i)}return{toHex:function(i){return i.replace(k,c)},parse:function(r){var y={},p,n,v,q,u=d.url_converter,x=d.url_converter_scope||this;function o(C,F){var E,B,A,D;E=y[C+"-top"+F];if(!E){return}B=y[C+"-right"+F];if(E!=B){return}A=y[C+"-bottom"+F];if(B!=A){return}D=y[C+"-left"+F];if(A!=D){return}y[C+F]=D;delete y[C+"-top"+F];delete y[C+"-right"+F];delete y[C+"-bottom"+F];delete y[C+"-left"+F]}function t(B){var C=y[B],A;if(!C||C.indexOf(" ")<0){return}C=C.split(" ");A=C.length;while(A--){if(C[A]!==C[0]){return false}}y[B]=C[0];return true}function z(C,B,A,D){if(!t(B)){return}if(!t(A)){return}if(!t(D)){return}y[C]=y[B]+" "+y[A]+" "+y[D];delete y[B];delete y[A];delete y[D]}function s(A){q=true;return a[A]}function i(B,A){if(q){B=B.replace(/\uFEFF[0-9]/g,function(C){return a[C]})}if(!A){B=B.replace(/\\([\'\";:])/g,"$1")}return B}if(r){r=r.replace(/\\[\"\';:\uFEFF]/g,s).replace(/\"[^\"]+\"|\'[^\']+\'/g,function(A){return A.replace(/[;:]/g,s)});while(p=b.exec(r)){n=p[1].replace(l,"").toLowerCase();v=p[2].replace(l,"");if(n&&v.length>0){if(n==="font-weight"&&v==="700"){v="bold"}else{if(n==="color"||n==="background-color"){v=v.toLowerCase()}}v=v.replace(k,c);v=v.replace(h,function(B,A,E,D,F,C){F=F||C;if(F){F=i(F);return"'"+F.replace(/\'/g,"\\'")+"'"}A=i(A||E||D);if(u){A=u.call(x,A,"style")}return"url('"+A.replace(/\'/g,"\\'")+"')"});y[n]=q?i(v,true):v}b.lastIndex=p.index+p[0].length}o("border","");o("border","-width");o("border","-color");o("border","-style");o("padding","");o("margin","");z("border","border-width","border-style","border-color");if(y.border==="medium none"){delete y.border}}return y},serialize:function(p,r){var o="",n,q;function i(t){var x,u,s,v;x=f.styles[t];if(x){for(u=0,s=x.length;u<s;u++){t=x[u];v=p[t];if(v!==e&&v.length>0){o+=(o.length>0?" ":"")+t+": "+v+";"}}}}if(r&&f&&f.styles){i("*");i(r)}else{for(n in p){q=p[n];if(q!==e&&q.length>0){o+=(o.length>0?" ":"")+n+": "+q+";"}}}return o}}};(function(f){var a={},e=f.makeMap,g=f.each;function d(j,i){return j.split(i||",")}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,"#text").replace(/(\w+)\[([^\]]+)\]\[([^\]]*)\]/g,function(q,o,n,p){n=d(n,"|");k[o]={attributes:e(n),attributesOrder:n,children:e(p,"|",{"#comment":{}})}});return k}function b(){var i=a.html5;if(!i){i=a.html5=h({A:"id|accesskey|class|dir|draggable|item|hidden|itemprop|role|spellcheck|style|subject|title",B:"#|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",C:"#|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"},"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][C]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]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]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|checked|disabled|form|formaction|formenctype|formmethod|formnovalidate|formtarget|height|list|max|maxlength|min|multiple|pattern|placeholder|readonly|required|size|src|step|width|files|value][]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|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|summary][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]")}return i}function c(){var i=a.html4;if(!i){i=a.html4=h({Z:"H|K|N|O|P",Y:"X|form|R|Q",ZG:"E|span|width|align|char|charoff|valign",X:"p|T|div|U|W|isindex|fieldset|table",ZF:"E|align|char|charoff|valign",W:"pre|hr|blockquote|address|center|noframes",ZE:"abbr|axis|headers|scope|rowspan|colspan|align|char|charoff|valign|nowrap|bgcolor|width|height",ZD:"[E][S]",U:"ul|ol|dl|menu|dir",ZC:"p|Y|div|U|W|table|br|span|bdo|object|applet|img|map|K|N|Q",T:"h1|h2|h3|h4|h5|h6",ZB:"X|S|Q",S:"R|P",ZA:"a|G|J|M|O|P",R:"a|H|K|N|O",Q:"noscript|P",P:"ins|del|script",O:"input|select|textarea|label|button",N:"M|L",M:"em|strong|dfn|code|q|samp|kbd|var|cite|abbr|acronym",L:"sub|sup",K:"J|I",J:"tt|i|b|u|s|strike",I:"big|small|font|basefont",H:"G|F",G:"br|span|bdo",F:"object|applet|img|map|iframe",E:"A|B|C",D:"accesskey|tabindex|onfocus|onblur",C:"onclick|ondblclick|onmousedown|onmouseup|onmouseover|onmousemove|onmouseout|onkeypress|onkeydown|onkeyup",B:"lang|xml:lang|dir",A:"id|class|style|title"},"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|disabled|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|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]")}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," ",e(E.toUpperCase()," "));G=f.extend(G,H);a[F]=G}}else{G=e(G,",",e(G.toUpperCase()," "))}return G}A=A||{};y=A.schema=="html5"?b():c();if(A.verify_html===false){A.valid_elements="*[*]"}if(A.valid_styles){D={};g(A.valid_styles,function(F,E){D[E]=f.explode(F)})}o=m("whitespace_elements","pre script style textarea");q=m("self_closing_elements","colgroup dd dt li options p td tfoot th thead tr");z=m("short_ended_elements","area base basefont br col frame hr img input isindex link meta param embed source");r=m("boolean_attributes","checked compact declare defer disabled ismap multiple nohref noresize noshade nowrap readonly selected autoplay loop controls");n=m("non_empty_elements","td th iframe video audio object",z);v=m("block_elements","h1 h2 h3 h4 h5 h6 hr p div address pre form table tbody thead tfoot th tr td li ol ul caption blockquote center dl dt dd dir fieldset noscript menu isindex samp header footer article section hgroup aside nav");function i(E){return new RegExp("^"+E.replace(/([?+*])/g,".$1")+"$")}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+|[^=:<]+)?(?:([=:<])(.*))?$/,M=/[*?+]/;if(L){L=d(L);if(s["@"]){S=s["@"].attributes;H=s["@"].attributesOrder}for(K=0,G=L.length;K<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==="#"){I.paddEmpty=true}if(W==="-"){I.removeEmpty=true}if(S){for(ad in S){O[ad]=S[ad]}J.push.apply(J,H)}if(X){X=d(X,"|");for(Z=0,V=X.length;Z<V;Z++){F=R.exec(X[Z]);if(F){U={};ac=F[1];Y=F[2].replace(/::/g,":");W=F[3];T=F[4];if(ac==="!"){I.attributesRequired=I.attributesRequired||[];I.attributesRequired.push(Y);U.required=true}if(ac==="-"){delete O[Y];J.splice(f.inArray(J,Y),1);continue}if(W){if(W==="="){I.attributesDefault=I.attributesDefault||[];I.attributesDefault.push({name:Y,value:T});U.defaultValue=T}if(W===":"){I.attributesForced=I.attributesForced||[];I.attributesForced.push({name:Y,value:T});U.forcedValue=T}if(W==="<"){U.validValues=e(T,"?")}}if(M.test(Y)){I.attributePatterns=I.attributePatterns||[];U.pattern=i(Y);I.attributePatterns.push(U)}else{if(!O[Y]){J.push(Y)}O[Y]=U}}}}if(!S&&Q=="@"){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]==="~",K=I?"span":"div",G=H[2];k[G]=k[K];p[G]=K;if(!I){v[G]={}}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]]={"#comment":{}}}G=k[I[2]];g(d(I[3],"|"),function(K){if(H==="-"){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.attributes,attributesOrder:F.attributesOrder};k[E]=F.children});if(A.schema!="html5"){g(d("strong/b,em/i"),function(E){E=d(E,"/");s[E[1]].outputName=E[0]})}s.img.attributesDefault=[{name:"alt",value:""}];g(d("ol,ul,sub,sup,blockquote,span,font,a,table,tbody,tr,strong,em,b,i"),function(E){if(s[E]){s[E].removeEmpty=true}});g(d("p,h1,h2,h3,h4,h5,h6,th,td,pre,div,address,caption"),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("+ol[ul|ol],+ul[ul|ol]");if(A.invalid_elements){f.each(f.explode(A.invalid_elements),function(E){if(s[E]){delete s[E]}})}if(!B("span")){C("span[!data-mce-type|*]")}u.children=k;u.styles=D;u.getBoolAttrs=function(){return r};u.getBlockElements=function(){return v};u.getShortEndedElements=function(){return z};u.getSelfClosingElements=function(){return q};u.getNonEmptyElements=function(){return n};u.getWhiteSpaceElements=function(){return o};u.isValidChild=function(E,G){var F=k[E];return !!(F&&F[G])};u.getElementRule=B;u.getCustomElements=function(){return p};u.addValidElements=C;u.setValidElements=t;u.addCustomElements=l;u.addValidChildren=x}})(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("comment cdata text start end pi doctype".split(" "),function(f){if(f){b[f]=c[f]||d}});b.parse=function(D){var n=this,g,F=0,H,A,z=[],M,P,B,q,y,r,L,G,N,u,m,k,s,Q,o,O,E,R,K,f,I,l,C,J,h,v=0,j=a.html.Entities.decode,x,p;function t(S){var U,T;U=z.length;while(U--){if(z[U].name===S){break}}if(U>=0){for(T=z.length-1;T>=U;T--){S=z[T];if(S.valid){n.end(S.name)}}z.length=U}}l=new RegExp("<(?:(?:!--([\\w\\W]*?)-->)|(?:!\\[CDATA\\[([\\w\\W]*?)\\]\\]>)|(?:!DOCTYPE([\\w\\W]*?)>)|(?:\\?([^\\s\\/<>]+) ?([\\w\\W]*?)[?/]>)|(?:\\/([^>]+)>)|(?:([A-Za-z0-9-:]+)((?:\\s+[^\"'>]+(?:(?:\"[^\"]*\")|(?:'[^']*')|[^>]*))*|\\/|\\s+)>))","g");C=/([\w:\-]+)(?:\s*=\s*(?:(?:\"((?:\\.|[^\"])*)\")|(?:\'((?:\\.|[^\'])*)\')|([^>\s]+)))?/g;J={script:/<\/script[^>]*>/gi,style:/<\/style[^>]*>/gi,noscript:/<\/noscript[^>]*>/gi};L=e.getShortEndedElements();I=e.getSelfClosingElements();G=e.getBoolAttrs();u=c.validate;r=c.remove_internals;x=c.fix_self_closing;p=a.isIE;o=/^:/;while(g=l.exec(D)){if(F<g.index){n.text(j(D.substr(F,g.index-F)))}if(H=g[6]){H=H.toLowerCase();if(p&&o.test(H)){H=H.substr(1)}t(H)}else{if(H=g[7]){H=H.toLowerCase();if(p&&o.test(H)){H=H.substr(1)}N=H in L;if(x&&I[H]&&z.length>0&&z[z.length-1].name===H){t(H)}if(!u||(m=e.getElementRule(H))){k=true;if(u){O=m.attributes;E=m.attributePatterns}if(Q=g[8]){y=Q.indexOf("data-mce-type")!==-1;if(y&&r){k=false}M=[];M.map={};Q.replace(C,function(T,S,X,W,V){var Y,U;S=S.toLowerCase();X=S in G?S:j(X||W||V||"");if(u&&!y&&S.indexOf("data-")!==0){Y=O[S];if(!Y&&E){U=E.length;while(U--){Y=E[U];if(Y.pattern.test(S)){break}}if(U===-1){Y=null}}if(!Y){return}if(Y.validValues&&!(X in Y.validValues)){return}}M.map[S]=X;M.push({name:S,value:X})})}else{M=[];M.map={}}if(u&&!y){R=m.attributesRequired;K=m.attributesDefault;f=m.attributesForced;if(f){P=f.length;while(P--){s=f[P];q=s.name;h=s.value;if(h==="{$uid}"){h="mce_"+v++}M.map[q]=h;M.push({name:q,value:h})}}if(K){P=K.length;while(P--){s=K[P];q=s.name;if(!(q in M.map)){h=s.value;if(h==="{$uid}"){h="mce_"+v++}M.map[q]=h;M.push({name:q,value:h})}}}if(R){P=R.length;while(P--){if(R[P] in M.map){break}}if(P===-1){k=false}}if(M.map["data-mce-bogus"]){k=false}}if(k){n.start(H,M,N)}}else{k=false}if(A=J[H]){A.lastIndex=F=g.index+g[0].length;if(g=A.exec(D)){if(k){B=D.substr(F,g.index-F)}F=g.index+g[0].length}else{B=D.substr(F);F=D.length}if(k&&B.length>0){n.text(B,true)}if(k){n.end(H)}l.lastIndex=F;continue}if(!N){if(!Q||Q.indexOf("/")!=Q.length-1){z.push({name:H,valid:k})}else{if(k){n.end(H)}}}}else{if(H=g[1]){n.comment(H)}else{if(H=g[2]){n.cdata(H)}else{if(H=g[3]){n.doctype(H)}else{if(H=g[4]){n.pi(H,g[5])}}}}}}F=g.index+g[0].length}if(F<D.length){n.text(j(D.substr(F)))}for(P=z.length-1;P>=0;P--){H=z[P];if(H.valid){n.end(H.name)}}}}})(tinymce);(function(d){var c=/^[ \t\r\n]*$/,e={"#text":3,"#comment":8,"#cdata":4,"#pi":7,"#doctype":10,"#document-fragment":11};function a(k,l,j){var i,h,f=j?"lastChild":"firstChild",g=j?"prev":"next";if(k[f]){return k[f]}if(k!==l){i=k[g];if(i){return i}for(h=k.parent;h&&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!=="string"){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.attributes){k=[];k.map={};for(h=0,f=m.length;h<f;h++){j=m[h];if(j.name!=="id"){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["data-mce-bogus"]){continue}if(k[j.name]){return false}h=j.attributes.length;while(h--){g=j.attributes[h].name;if(g==="name"||g.indexOf("data-")===0){return false}}}if(j.type===8){return false}if((j.type===3&&!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="validate" in g?g.validate:true;g.root_name=g.root_name||"body";f.schema=h=h||new b.html.Schema();function j(m){var o,p,x,v,z,n,q,l,t,u,k,s,y,r;s=b.makeMap("tr,td,th,tbody,thead,tfoot,table");k=h.getNonEmptyElements();for(o=0;o<m.length;o++){p=m[o];if(!p.parent){continue}v=[p];for(x=p.parent;x&&!h.isValidChild(x.name,p.name)&&!s[x.name];x=x.parent){v.push(x)}if(x&&v.length>1){v.reverse();z=n=f.filterNode(v[0].clone());for(t=0;t<v.length-1;t++){if(h.isValidChild(n.name,v[t].name)){q=f.filterNode(v[t].clone());n.append(q)}else{q=n}for(l=v[t].firstChild;l&&l!=v[t+1];){r=l.next;q.append(l);l=r}n=q}if(!z.isEmpty(k)){x.insert(z,v[0],true);x.insert(p,z)}else{x.insert(p,v[0],true)}x=v[0];if(x.isEmpty(k)||x.firstChild===x.lastChild&&x.firstChild.name==="br"){x.empty().remove()}}else{if(p.parent){if(p.name==="li"){y=p.prev;if(y&&(y.name==="ul"||y.name==="ul")){y.append(p);continue}y=p.next;if(y&&(y.name==="ul"||y.name==="ul")){y.insert(p,y.firstChild,true);continue}p.wrap(f.filterNode(new a("ul",1)));continue}if(h.isValidChild(p.parent.name,"div")&&h.isValidChild("div",p.name)){p.wrap(f.filterNode(new a("div",1)))}else{if(p.name==="style"||p.name==="script"){p.empty().remove()}else{p.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<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,H,A,z,C,B,x,r,E,L,y,o,D,K=[],J,t,k,s,p,u,q;m=m||{};i={};c={};o=b.extend(b.makeMap("script,style,head,html,body,title,meta,param"),h.getBlockElements());u=h.getNonEmptyElements();p=h.children;y=g.validate;q="forced_root_block" in m?m.forced_root_block:g.forced_root_block;s=h.getWhiteSpaceElements();D=/^[ \t\r\n]+/;t=/[ \t\r\n]+$/;k=/[ \t\r\n]+/g;function F(){var M=H.firstChild,l,N;while(M){l=M.next;if(M.type==3||(M.type==1&&M.name!=="p"&&!o[M.name]&&!M.attr("data-mce-type"))){if(!N){N=I(q,1);H.insert(N,M);N.append(M)}else{N.append(M)}}else{N=null}M=l}}function I(l,M){var N=new a(l,M),O;if(l in e){O=i[l];if(O){O.push(N)}else{i[l]=[N]}}return N}function G(N){var O,l,M;for(O=N.prev;O&&O.type===3;){l=O.value.replace(t,"");if(l.length>0){O.value=l;O=O.prev}else{M=O.prev;O.remove();O=M}}}n=new b.html.SaxParser({validate:y,fix_self_closing:!y,cdata:function(l){A.append(I("#cdata",4)).value=l},text:function(N,l){var M;if(!J){N=N.replace(k," ");if(A.lastChild&&o[A.lastChild.name]){N=N.replace(D,"")}}if(N.length!==0){M=I("#text",3);M.raw=!!l;A.append(M).value=N}},comment:function(l){A.append(I("#comment",8)).value=l},pi:function(l,M){A.append(I(l,7)).value=M;G(A)},doctype:function(M){var l;l=A.append(I("#doctype",10));l.value=M;G(A)},start:function(l,U,N){var S,P,O,M,Q,V,T,R;O=y?h.getElementRule(l):{};if(O){S=I(O.outputName||l,1);S.attributes=U;S.shortEnded=N;A.append(S);R=p[A.name];if(R&&p[S.name]&&!R[S.name]){K.push(S)}P=d.length;while(P--){Q=d[P].name;if(Q in U.map){E=c[Q];if(E){E.push(S)}else{c[Q]=[S]}}}if(o[l]){G(S)}if(!N){A=S}if(!J&&s[l]){J=true}}},end:function(l){var Q,N,P,M,O;N=y?h.getElementRule(l):{};if(N){if(o[l]){if(!J){for(Q=A.firstChild;Q&&Q.type===3;){P=Q.value.replace(D,"");if(P.length>0){Q.value=P;Q=Q.next}else{M=Q.next;Q.remove();Q=M}}for(Q=A.lastChild;Q&&Q.type===3;){P=Q.value.replace(t,"");if(P.length>0){Q.value=P;Q=Q.prev}else{M=Q.prev;Q.remove();Q=M}}}Q=A.prev;if(Q&&Q.type===3){P=Q.value.replace(D,"");if(P.length>0){Q.value=P}else{Q.remove()}}}if(J&&s[l]){J=false}if(N.removeEmpty||N.paddEmpty){if(A.isEmpty(u)){if(N.paddEmpty){A.empty().append(new a("#text","3")).value="\u00a0"}else{if(!A.attributes.map.name){O=A.parent;A.empty().remove();A=O;return}}}}A=A.parent}}},h);H=A=new a(m.context||g.root_name,11);n.parse(v);if(y&&K.length){if(!m.context){j(K)}else{m.invalid=true}}if(q&&H.name=="body"){F()}if(!m.invalid){for(L in i){E=e[L];z=i[L];x=z.length;while(x--){if(!z[x].parent){z.splice(x,1)}}for(C=0,B=E.length;C<B;C++){E[C](z,L,m)}}for(C=0,B=d.length;C<B;C++){E=d[C];if(E.name in c){z=c[E.name];x=z.length;while(x--){if(!z[x].parent){z.splice(x,1)}}for(x=0,r=E.callbacks.length;x<r;x++){E.callbacks[x](z,E.name,m)}}}}return H};if(g.remove_trailing_brs){f.addNodeFilter("br",function(n,m){var r,q=n.length,o,u=h.getBlockElements(),k=h.getNonEmptyElements(),s,p,t;u.body=1;for(r=0;r<q;r++){o=n[r];s=o.parent;if(u[o.parent.name]&&o===s.lastChild){p=o.prev;while(p){t=p.name;if(t!=="span"||p.attr("data-mce-type")!=="bookmark"){if(t!=="br"){break}if(t==="br"){o=null;break}}p=p.prev}if(o){o.remove();if(s.isEmpty(k)){elementRule=h.getElementRule(s.name);if(elementRule){if(elementRule.removeEmpty){s.remove()}else{if(elementRule.paddEmpty){s.empty().append(new b.html.Node("#text",3)).value="\u00a0"}}}}}}}})}}})(tinymce);tinymce.html.Writer=function(e){var c=[],a,b,d,f,g;e=e||{};a=e.indent;b=tinymce.makeMap(e.indent_before||"");d=tinymce.makeMap(e.indent_after||"");f=tinymce.html.Entities.getEncodeFunc(e.entity_encoding||"raw",e.entities);g=e.element_format=="html";return{start:function(m,k,p){var n,j,h,o;if(a&&b[m]&&c.length>0){o=c[c.length-1];if(o.length>0&&o!=="\n"){c.push("\n")}}c.push("<",m);if(k){for(n=0,j=k.length;n<j;n++){h=k[n];c.push(" ",h.name,'="',f(h.value,true),'"')}}if(!p||g){c[c.length]=">"}else{c[c.length]=" />"}if(p&&a&&d[m]&&c.length>0){o=c[c.length-1];if(o.length>0&&o!=="\n"){c.push("\n")}}},end:function(h){var i;c.push("</",h,">");if(a&&d[h]&&c.length>0){i=c[c.length-1];if(i.length>0&&i!=="\n"){c.push("\n")}}},text:function(i,h){if(i.length>0){c[c.length]=h?i:f(i)}},cdata:function(h){c.push("<![CDATA[",h,"]]>")},comment:function(h){c.push("<!--",h,"-->")},pi:function(h,i){if(i){c.push("<?",h," ",i,"?>")}else{c.push("<?",h,"?>")}if(a){c.push("\n")}},doctype:function(h){c.push("<!DOCTYPE",h,">",a?"\n":"")},reset:function(){c.length=0},getContent:function(){return c.join("").replace(/\n$/,"")}}};(function(a){a.html.Serializer=function(c,d){var b=this,e=new a.html.Writer(c);c=c||{};c.validate="validate" 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&&s&&s.length>1){u=[];u.map={};q=d.getElementRule(k.name);for(n=0,m=q.attributesOrder.length;n<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<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&&!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("on"+j,l)}}}function e(k,j,l,i){if(k.removeEventListener){k.removeEventListener(j,l,i||false)}else{if(k.detachEvent){k.detachEvent("on"+j,l)}}}function a(n,l){var i,k=l||{};function j(){return false}function m(){return true}for(i in n){if(i!=="layerX"&&i!=="layerY"){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:"ready"};function i(){if(!l.domLoaded){l.domLoaded=true;n(j)}}if(g){c(m,"DOMContentLoaded",i)}else{c(k,"readystatechange",function(){if(k.readyState==="complete"){e(k,"readystatechange",arguments.callee);i()}});if(k.documentElement.doScroll&&m===m.top){(function(){try{k.documentElement.doScroll("left")}catch(o){setTimeout(arguments.callee,0);return}i()})()}}c(m,"load",i)}function f(k){var q=this,p={},i,o,n,m,l;m="onmouseenter" in document.documentElement;n="onfocusin" in document.documentElement;l={mouseenter:"mouseover",mouseleave:"mouseout"};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<r;u++){v=s[u];if(v&&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(" ");u=A.length;while(u--){r=A[u];z=y;B=C=false;if(r==="DOMContentLoaded"){r="ready"}if((q.domLoaded||x.readyState=="complete")&&r==="ready"){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&&H.contains){G=H.contains(G)}else{while(G&&G!==H){G=G.parentNode}}if(!G){F=a(F||v.event);F.type=F.type==="mouseout"?"mouseleave":"mouseenter";F.target=H;j(F,s)}}}}if(!n&&(r==="focusin"||r==="focusout")){C=true;B=r==="focusin"?"focus":"blur";z=function(F){F=a(F||v.event);F.type=F.type==="focus"?"focusin":"focusout";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==="ready"){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(" ");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&&!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&&u.getElementsByTagName){t(u);r=u.getElementsByTagName("*");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)==="string"){v=document.getElementById(v)}if(v&&v instanceof Array){var r=v;while(r--){q.add(v[r],s,u,t)}return}if(s==="init"){s="ready"}return q.bind(v,s instanceof Array?s.join(" "):s,u,t)};q.remove=function(u,s,t){if(typeof(u)==="string"){u=document.getElementById(u)}if(u instanceof Array){var r=u;while(r--){q.remove(u[r],s,t,scope)}return q}return q.unbind(u,s instanceof Array?s.join(" "):s,t)};q.clear=function(r){if(typeof(r)==="string"){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){r.preventDefault();return false};q.stop=function(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,"ready",function(){});b=0})(tinymce.dom,"data-mce-expando");(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("tinymce.dom.DOMUtils",{doc:null,root:null,files:null,pixelStyles:/^(top|left|bottom|right|width|height|borderWidth)$/,props:{"for":"htmlFor","class":"className",className:"className",checked:"checked",disabled:"disabled",maxlength:"maxLength",readonly:"readOnly",selected:"selected",value:"value",id:"id",name:"name",type:"type"},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>=8;k.boxModel=!e.isIE||o.compatMode=="CSS1Compat"||k.stdMode;k.hasOuterHTML="outerHTML" in o.createElement("a");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("BackgroundImageCache",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){var p=q.nodeType;if(p){return !!(p===1&&n[q.nodeName])}return !!n[q]}},fixDoc:function(k){var j=this.settings,i;if(b&&j.schema){("abbr article aside audio canvas details figcaption figure footer header hgroup mark menu meter nav output progress section summary time video").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&&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,"width");k=j.getStyle(l,"height");if(i.indexOf("px")===-1){i=0}if(k.indexOf("px")===-1){k=0}return{w:parseInt(i)||l.offsetWidth||l.clientWidth,h:parseInt(k)||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,"string")){i=m;if(m==="*"){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&&this.doc&&typeof(i)=="string"){j=i;i=this.doc.getElementById(i);if(i&&i.id!==j){return this.doc.getElementsByName(j)[1]}}return i},getNext:function(j,i){return this._findSib(j,i,"nextSibling")},getPrev:function(j,i){return this._findSib(j,i,"previousSibling")},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==="*"){return l.nodeType==1}if(c.test(j)){j=j.toLowerCase().split(/,/);l=l.nodeName.toLowerCase();for(k=j.length-1;k>=0;k--){if(j[k]==l){return true}}return false}}return e.dom.Sizzle.matches(j,l.nodeType?[l]:l).length>0},add:function(l,o,i,k,m){var j=this;return this.run(l,function(r){var q,n;q=d(o,"string")?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="",l=this,j;p+="<"+q;for(j in i){if(i.hasOwnProperty(j)){p+=" "+j+'="'+l.encode(i[j])+'"'}}if(typeof(m)!="undefined"){return p+">"+m+"</"+q+">"}return p+" />"},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)&&(e.is(j,"number")||/^[\-0-9\.]+$/.test(j))){j+="px"}switch(i){case"opacity":if(b){n.filter=j===""?"":"alpha(opacity="+(j*100)+")";if(!l.currentStyle||!l.currentStyle.hasLayout){n.display="inline-block"}}n[i]=n["-moz-opacity"]=n["-khtml-opacity"]=j||"";break;case"float":b?n.styleFloat=j:n.cssFloat=j;break;default:n[i]=j||""}if(k.settings.update_styles){k.setAttrib(o,"data-mce-style")}})},getStyle:function(l,i,k){l=this.get(l);if(!l){return}if(this.doc.defaultView&&k){i=i.replace(/[A-Z]/g,function(m){return"-"+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=="float"){i=b?"styleFloat":"cssFloat"}if(l.currentStyle&&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>=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"style":if(!d(i,"string")){g(i,function(q,r){j.setStyle(p,r,q)});return}if(o.keep_values){if(i&&!j._isRes(i)){p.setAttribute("data-mce-style",i,2)}else{p.removeAttribute("data-mce-style",2)}}p.style.cssText=i;break;case"class":p.className=i||"";break;case"src":case"href":if(o.keep_values){if(o.url_converter){i=o.url_converter.call(o.url_converter_scope||j,i,l,p)}j.setAttrib(p,"data-mce-"+l,i,2)}break;case"shape":p.setAttribute("data-mce-style",i);break}}if(d(i)&&i!==null&&i.length!==0){p.setAttribute(l,""+i,2)}else{p.removeAttribute(l,2)}if(tinyMCE.activeEditor&&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=""}if(/^(src|href|style|coords|shape)$/.test(o)){i=m.getAttribute("data-mce-"+o);if(i){return i}}if(b&&j.props[o]){i=m[j.props[o]];i=i&&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&&i===""){return o}return i?o:""}if(m.nodeName==="FORM"&&m.getAttributeNode(o)){return m.getAttributeNode(o).nodeValue}if(o==="style"){i=i||m.style.cssText;if(i){i=j.serializeStyle(j.parseStyle(i),m.nodeName);if(j.settings.keep_values&&!j._isRes(i)){m.setAttribute("data-mce-style",i)}}}if(f&&o==="class"&&i){i=i.replace(/(apple|webkit)\-[a-z\-]+/gi,"")}if(b){switch(o){case"rowspan":case"colspan":if(i===1){i=""}break;case"size":if(i==="+0"||i===20||i===0){i=""}break;case"width":case"height":case"vspace":case"checked":case"disabled":case"readonly":if(i===0){i=""}break;case"hspace":if(i===-1){i=""}break;case"maxlength":case"tabindex":if(i===32768||i===2147483647||i==="32768"){i=""}break;case"multiple":case"compact":case"noshade":case"nowrap":if(i===65535){return o}return k;case"shape":i=i.toLowerCase();break;default:if(o.indexOf("on")===0&&i){i=e._replace(/^function\s+\w+\(\)\s+\{\s+(.*)\s+\}$/,"$1",""+i)}}}return(i!==l&&i!==null&&i!=="")?""+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.documentElement.scrollTop||o.body.scrollTop)-m.clientLeft;return{x:i,y:p}}k=q;while(k&&k!=l&&k.nodeType){i+=k.offsetLeft||0;p+=k.offsetTop||0;k=k.offsetParent}k=q.parentNode;while(k&&k!=l&&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)},loadCSS:function(i){var k=this,l=k.doc,j;if(!i){i=""}j=k.select("head")[0];g(i.split(","),function(m){var n;if(k.files[m]){return}k.files[m]=true;n=k.create("link",{rel:"stylesheet",href:e._addVer(m)});if(b&&l.documentMode&&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!=""?(l+" "):"")+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("(^|\\s+)"+l+"(\\s+|$)","g")}m=n.className.replace(j," ");m=e.trim(m!=" "?m:"");n.className=m;if(!m){n.removeAttribute("class");n.removeAttribute("className")}return m}return n.className})},hasClass:function(j,i){j=this.get(j);if(!j||!i){return false}return(" "+j.className+" ").indexOf(" "+i+" ")!==-1},show:function(i){return this.setStyle(i,"display","block")},hide:function(i){return this.setStyle(i,"display","none")},isHidden:function(i){i=this.get(i);return !i||i.style.display=="none"||this.getStyle(i,"display")=="none"},uniqueId:function(i){return(!i?"mce_":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="<br />"+j;m.removeChild(m.firstChild)}catch(l){m=i.create("div");m.innerHTML="<br />"+j;g(m.childNodes,function(o,n){if(n){m.appendChild(o)}})}}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&&i.hasOuterHTML){return k.outerHTML}j=(k.ownerDocument||i.doc).createElement("body");j.appendChild(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("body");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&&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,"array")){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&&l!=j){j=j.parentNode}if(l==j){break}l=l.parentNode}if(!l&&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).toString(16);return l.length>1?l:"0"+l}if(k){i="#"+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(","),function(r){r=r.replace(/^\s*|\s*$|^\s\./g,"");if(/\.mce/.test(r)||!/\.[\w\-]+$/.test(r)){return}l=r;r=e._replace(/.*\.([a-z0-9_\-]+).*/i,"$1",r);if(p&&!(r=p(r,l))){return}if(!o[r]){j.push({"class":r});o[r]=1}})}break;case 3:q(s.styleSheet);break}})}try{g(n.doc.styleSheets,q)}catch(k){}if(j.length>0){n.classes=j}return j},run:function(l,k,j){var i=this,m;if(i.doc&&typeof(l)==="string"){l=i.get(l)}if(!l){return false}j=j||this;if(!l.nodeType&&(l.length||l.length===0)){m=[];g(l,function(o,n){if(o){if(typeof(o)=="string"){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=="OBJECT"){return j.attributes}if(j.nodeName==="OPTION"&&this.getAttrib(j,"selected")){i.push({specified:1,nodeName:"selected"})}j.cloneNode(false).outerHTML.replace(/<\/?[\w:\-]+ ?|=[\"][^\"]+\"|=\'[^\']+\'|=[\w\-]+|>/gi,"").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("data-mce-bogus")){continue}l=m.nodeName.toLowerCase();if(k&&k[l]){if(l==="br"){p++;continue}return false}n=r.getAttribs(m);o=m.attributes.length;while(o--){l=m.attributes[o].nodeName;if(l==="name"||l==="data-mce-bookmark"){return false}}}if(q==8){return false}if((q===3&&!a.test(m.nodeValue))){return false}}while(m=j.next())}return p<=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&&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&&A.previousSibling.nodeName=="SPAN";var y=A.nextSibling&&A.nextSibling.nodeName=="SPAN";return z&&y}if(u==1&&v.getAttribute("data-mce-type")=="bookmark"){return}for(t=s.length-1;t>=0;t--){j(s[t])}if(u!=9){if(u==3&&v.nodeValue.length>0){var r=e.trim(v.nodeValue).length;if(!q.isBlock(v.parentNode)||r>0||r==0&&x(v)){return}}else{if(u==1){s=v.childNodes;if(s.length==1&&s[0]&&s[0].nodeType==1&&s[0].getAttribute("data-mce-type")=="bookmark"){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&&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)},_findSib:function(l,i,j){var k=this,m=i;if(l){if(d(m,"string")){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,T=0,F=1,j=2,E=true,S=false,V="startOffset",h="startContainer",Q="endContainer",A="endOffset",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});function x(){return e.createDocumentFragment()}function q(W,t){C(E,W,t)}function s(W,t){C(S,W,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[V]}else{O[h]=O[Q];O[V]=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(Z,t){var ac=O[h],X=O[V],ab=O[Q],W=O[A],aa=t.startContainer,ae=t.startOffset,Y=t.endContainer,ad=t.endOffset;if(Z===0){return H(ac,X,aa,ae)}if(Z===1){return H(ab,W,aa,ae)}if(Z===2){return H(ab,W,Y,ad)}if(Z===3){return H(ac,X,Y,ad)}}function p(){l(j)}function I(){return l(T)}function d(){return l(F)}function D(Z){var W=this[h],t=this[V],Y,X;if((W.nodeType===3||W.nodeType===4)&&W.nodeValue){if(!t){W.parentNode.insertBefore(Z,W)}else{if(t>=W.nodeValue.length){c.insertAfter(Z,W)}else{Y=W.splitText(t);W.parentNode.insertBefore(Z,Y)}}}else{if(W.childNodes.length>0){X=W.childNodes[t]}if(X){W.insertBefore(Z,X)}else{W.appendChild(Z)}}}function N(W){var t=O.extractContents();O.insertNode(W);W.appendChild(t);O.selectNode(W)}function L(){return k(new b(c),{startContainer:O[h],startOffset:O[V],endContainer:O[Q],endOffset:O[A],collapsed:O.collapsed,commonAncestorContainer:O.commonAncestorContainer})}function P(t,W){var X;if(t.nodeType==3){return t}if(W<0){return t}X=t.firstChild;while(X&&W>0){--W;X=X.nextSibling}if(X){return X}return t}function m(){return(O[h]==O[Q]&&O[V]==O[A])}function H(Y,aa,W,Z){var ab,X,t,ac,ae,ad;if(Y==W){if(aa==Z){return 0}if(aa<Z){return -1}return 1}ab=W;while(ab&&ab.parentNode!=Y){ab=ab.parentNode}if(ab){X=0;t=Y.firstChild;while(t!=ab&&X<aa){X++;t=t.nextSibling}if(aa<=X){return -1}return 1}ab=Y;while(ab&&ab.parentNode!=W){ab=ab.parentNode}if(ab){X=0;t=W.firstChild;while(t!=ab&&X<Z){X++;t=t.nextSibling}if(X<Z){return -1}return 1}ac=c.findCommonAncestor(Y,W);ae=Y;while(ae&&ae.parentNode!=ac){ae=ae.parentNode}if(!ae){ae=ac}ad=W;while(ad&&ad.parentNode!=ac){ad=ad.parentNode}if(!ad){ad=ac}if(ae==ad){return 0}t=ac.firstChild;while(t){if(t==ae){return -1}if(t==ad){return 1}t=t.nextSibling}}function C(W,Z,Y){var t,X;if(W){O[h]=Z;O[V]=Y}else{O[Q]=Z;O[A]=Y}t=O[Q];while(t.parentNode){t=t.parentNode}X=O[h];while(X.parentNode){X=X.parentNode}if(X==t){if(H(O[h],O[V],O[Q],O[A])>0){O.collapse(W)}}else{O.collapse(W)}O.collapsed=m();O.commonAncestorContainer=c.findCommonAncestor(O[h],O[Q])}function l(ac){var ab,Y=0,ae=0,W,aa,X,Z,t,ad;if(O[h]==O[Q]){return f(ac)}for(ab=O[Q],W=ab.parentNode;W;ab=W,W=W.parentNode){if(W==O[h]){return r(ab,ac)}++Y}for(ab=O[h],W=ab.parentNode;W;ab=W,W=W.parentNode){if(W==O[Q]){return U(ab,ac)}++ae}aa=ae-Y;X=O[h];while(aa>0){X=X.parentNode;aa--}Z=O[Q];while(aa<0){Z=Z.parentNode;aa++}for(t=X.parentNode,ad=Z.parentNode;t!=ad;t=t.parentNode,ad=ad.parentNode){X=t;Z=ad}return o(X,Z,ac)}function f(ab){var ad,ae,t,X,Y,ac,Z,W,aa;if(ab!=j){ad=x()}if(O[V]==O[A]){return ad}if(O[h].nodeType==3){ae=O[h].nodeValue;t=ae.substring(O[V],O[A]);if(ab!=F){X=O[h];W=O[V];aa=O[A]-O[V];if(W===0&&aa>=X.nodeValue.length-1){X.parentNode.removeChild(X)}else{X.deleteData(W,aa)}O.collapse(E)}if(ab==j){return}if(t.length>0){ad.appendChild(e.createTextNode(t))}return ad}X=P(O[h],O[V]);Y=O[A]-O[V];while(X&&Y>0){ac=X.nextSibling;Z=z(X,ab);if(ad){ad.appendChild(Z)}--Y;X=ac}if(ab!=F){O.collapse(E)}return ad}function r(ac,Z){var ab,aa,W,t,Y,X;if(Z!=j){ab=x()}aa=i(ac,Z);if(ab){ab.appendChild(aa)}W=n(ac);t=W-O[V];if(t<=0){if(Z!=F){O.setEndBefore(ac);O.collapse(S)}return ab}aa=ac.previousSibling;while(t>0){Y=aa.previousSibling;X=z(aa,Z);if(ab){ab.insertBefore(X,ab.firstChild)}--t;aa=Y}if(Z!=F){O.setEndBefore(ac);O.collapse(S)}return ab}function U(aa,Z){var ac,W,ab,t,Y,X;if(Z!=j){ac=x()}ab=R(aa,Z);if(ac){ac.appendChild(ab)}W=n(aa);++W;t=O[A]-W;ab=aa.nextSibling;while(ab&&t>0){Y=ab.nextSibling;X=z(ab,Z);if(ac){ac.appendChild(X)}--t;ab=Y}if(Z!=F){O.setStartAfter(aa);O.collapse(E)}return ac}function o(aa,t,ad){var X,af,Z,ab,ac,W,ae,Y;if(ad!=j){af=x()}X=R(aa,ad);if(af){af.appendChild(X)}Z=aa.parentNode;ab=n(aa);ac=n(t);++ab;W=ac-ab;ae=aa.nextSibling;while(W>0){Y=ae.nextSibling;X=z(ae,ad);if(af){af.appendChild(X)}ae=Y;--W}X=i(t,ad);if(af){af.appendChild(X)}if(ad!=F){O.setStartAfter(aa);O.collapse(E)}return af}function i(ab,ac){var X=P(O[Q],O[A]-1),ad,aa,Z,t,W,Y=X!=O[Q];if(X==ab){return M(X,Y,S,ac)}ad=X.parentNode;aa=M(ad,S,S,ac);while(ad){while(X){Z=X.previousSibling;t=M(X,Y,S,ac);if(ac!=j){aa.insertBefore(t,aa.firstChild)}Y=E;X=Z}if(ad==ab){return aa}X=ad.previousSibling;ad=ad.parentNode;W=M(ad,S,S,ac);if(ac!=j){W.appendChild(aa)}aa=W}}function R(ab,ac){var Y=P(O[h],O[V]),Z=Y!=O[h],ad,aa,X,t,W;if(Y==ab){return M(Y,Z,E,ac)}ad=Y.parentNode;aa=M(ad,S,E,ac);while(ad){while(Y){X=Y.nextSibling;t=M(Y,Z,E,ac);if(ac!=j){aa.appendChild(t)}Z=E;Y=X}if(ad==ab){return aa}Y=ad.nextSibling;ad=ad.parentNode;W=M(ad,S,E,ac);if(ac!=j){W.appendChild(aa)}aa=W}}function M(t,Z,ac,ad){var Y,X,aa,W,ab;if(Z){return z(t,ad)}if(t.nodeType==3){Y=t.nodeValue;if(ac){W=O[V];X=Y.substring(W);aa=Y.substring(0,W)}else{W=O[A];X=Y.substring(0,W);aa=Y.substring(W)}if(ad!=F){t.nodeValue=aa}if(ad==j){return}ab=c.clone(t,S);ab.nodeValue=X;return ab}if(ad==j){return}return c.clone(t,S)}function z(W,t){if(t!=j){return t==F?c.clone(W,E):W}W.parentNode.removeChild(W)}}a.Range=b})(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==="false"){s=s.parentNode}if(!s.hasChildNodes()){return{node:s,inside:1}}m=s.children;q=m.length-1;while(t<=q){r=Math.floor((t+q)/2);l=m[r];k.moveToElementText(l);p=k.compareEndPoints(j?"StartToStart":"EndToEnd",i);if(p>0){q=r-1}else{if(p<0){t=r+1}else{return{node:l}}}}if(p<0){if(!l){k.moveToElementText(s);k.collapse(true);l=s;n=true}else{k.collapse(false)}o=0;while(k.compareEndPoints(j?"StartToStart":"StartToEnd",i)!==0){if(k.move("character",1)==0||s!=k.parentElement()){break}o++}}else{k.collapse(true);o=0;while(k.compareEndPoints(j?"StartToStart":"StartToEnd",i)!==0){if(k.move("character",-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&&!s.hasChildNodes()){r[A?"setStart":"setEnd"](s,0);return}if(y===v){r[A?"setStartBefore":"setEndAfter"](s);return}if(u.position<0){x=u.inside?s.firstChild:s.nextSibling;if(!x){r[A?"setStartAfter":"setEndAfter"](s);return}if(!y){if(x.nodeType==3){r[A?"setStart":"setEnd"](x,0)}else{r[A?"setStartBefore":"setEndBefore"](x)}return}while(x){t=x.nodeValue;z+=t.length;if(z>=y){s=x;z-=y;z=t.length-z;break}x=x.nextSibling}}else{x=s.previousSibling;if(!x){return r[A?"setStartBefore":"setEndBefore"](s)}if(!y){if(s.nodeType==3){r[A?"setStart":"setEnd"](x,s.nodeValue.length)}else{r[A?"setStartAfter":"setEndAfter"](x)}return}while(x){z+=x.nodeValue.length;if(z>=y){s=x;z-=y;break}x=x.previousSibling}}r[A?"setStart":"setEnd"](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=function(m){var j=d.getRng(),o,i,l={};function n(u){var u,t,p,s,r,q=[];t=u.parentNode;p=h.getRoot().parentNode;while(t!=p&&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>=0;q--){p=r.children;n=o[q];if(n<=p.length-1){r=p[n]}}return r}function l(r){var n=k[r?"start":"end"],q,p,o;if(n){q=n.position>0;p=i.createTextRange();p.moveToElementText(m(n.indexes));offset=n.offset;if(offset!==o){p.collapse(n.inside||q);p.moveStart("character",q?-offset:offset)}else{p.collapse(r)}j.setEndPoint(r?"StartToStart":"EndToStart",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,s,q,r=d.dom.doc,m=r.body;function j(z){var u,y,t,x,v;t=h.create("a");u=z?k:s;y=z?p:q;x=n.duplicate();if(u==r||u==r.documentElement){u=m;y=0}if(u.nodeType==3){u.parentNode.insertBefore(t,u);x.moveToElementText(t);x.moveStart("character",y);h.remove(t);n.setEndPoint(z?"StartToStart":"EndToEnd",x)}else{v=u.childNodes;if(v.length){if(y>=v.length){h.insertAfter(t,v[v.length-1])}else{u.insertBefore(t,v[y])}x.moveToElementText(t)}else{if(u.canHaveHTML){u.innerHTML="<span>\uFEFF</span>";t=u.firstChild;x.moveToElementText(t);x.collapse(f)}}n.setEndPoint(z?"StartToStart":"EndToEnd",x);h.remove(t)}}k=i.startContainer;p=i.startOffset;s=i.endContainer;q=i.endOffset;n=m.createTextRange();if(k==s&&k.nodeType==1){if(!k.hasChildNodes()){k.innerHTML="<span>\uFEFF</span><span>\uFEFF</span>";n.moveToElementText(k.lastChild);n.select();h.doc.selection.clear();k.innerHTML="";return}if(p==q-1){try{l=m.createControlRange();l.addElement(k.childNodes[p]);l.select();return}catch(o){}}}j(true);j();n.select()};this.getRangeAt=g}tinymce.dom.TridentSelection=a})();(function(){var p=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,j=0,d=Object.prototype.toString,o=false,i=true;[0,0].sort(function(){i=false;return 0});var b=function(v,e,z,A){z=z||[];e=e||document;var C=e;if(e.nodeType!==1&&e.nodeType!==9){return[]}if(!v||typeof v!=="string"){return z}var x=[],s,E,H,r,u=true,t=b.isXML(e),B=v,D,G,F,y;do{p.exec("");s=p.exec(B);if(s){B=s[3];x.push(s[1]);if(s[2]){r=s[3];break}}}while(s);if(x.length>1&&k.exec(v)){if(x.length===2&&f.relative[x[0]]){E=h(x[0]+x[1],e)}else{E=f.relative[x[0]]?[e]:b(x.shift(),e);while(x.length){v=x.shift();if(f.relative[v]){v+=x.shift()}E=h(v,E)}}}else{if(!A&&x.length>1&&e.nodeType===9&&!t&&f.match.ID.test(x[0])&&!f.match.ID.test(x[x.length-1])){D=b.find(x.shift(),e,t);e=D.expr?b.filter(D.expr,D.set)[0]:D.set[0]}if(e){D=A?{expr:x.pop(),set:a(A)}:b.find(x.pop(),x.length===1&&(x[0]==="~"||x[0]==="+")&&e.parentNode?e.parentNode:e,t);E=D.expr?b.filter(D.expr,D.set):D.set;if(x.length>0){H=a(E)}else{u=false}while(x.length){G=x.pop();F=G;if(!f.relative[G]){G=""}else{F=x.pop()}if(F==null){F=e}f.relative[G](H,F,t)}}else{H=x=[]}}if(!H){H=E}if(!H){b.error(G||v)}if(d.call(H)==="[object Array]"){if(!u){z.push.apply(z,H)}else{if(e&&e.nodeType===1){for(y=0;H[y]!=null;y++){if(H[y]&&(H[y]===true||H[y].nodeType===1&&b.contains(e,H[y]))){z.push(E[y])}}}else{for(y=0;H[y]!=null;y++){if(H[y]&&H[y].nodeType===1){z.push(E[y])}}}}}else{a(H,z)}if(r){b(r,C,z,A);b.uniqueSort(z)}return z};b.uniqueSort=function(r){if(c){o=i;r.sort(c);if(o){for(var e=1;e<r.length;e++){if(r[e]===r[e-1]){r.splice(e--,1)}}}}return r};b.matches=function(e,r){return b(e,null,null,r)};b.find=function(y,e,z){var x;if(!y){return[]}for(var t=0,s=f.order.length;t<s;t++){var v=f.order[t],u;if((u=f.leftMatch[v].exec(y))){var r=u[1];u.splice(1,1);if(r.substr(r.length-1)!=="\\"){u[1]=(u[1]||"").replace(/\\/g,"");x=f.find[v](u,e,z);if(x!=null){y=y.replace(f.match[v],"");break}}}}if(!x){x=e.getElementsByTagName("*")}return{set:x,expr:y}};b.filter=function(C,B,F,u){var s=C,H=[],z=B,x,e,y=B&&B[0]&&b.isXML(B[0]);while(C&&B.length){for(var A in f.filter){if((x=f.leftMatch[A].exec(C))!=null&&x[2]){var r=f.filter[A],G,E,t=x[1];e=false;x.splice(1,1);if(t.substr(t.length-1)==="\\"){continue}if(z===H){H=[]}if(f.preFilter[A]){x=f.preFilter[A](x,z,F,H,u,y);if(!x){e=G=true}else{if(x===true){continue}}}if(x){for(var v=0;(E=z[v])!=null;v++){if(E){G=r(E,x,v,z);var D=u^!!G;if(F&&G!=null){if(D){e=true}else{z[v]=false}}else{if(D){H.push(E);e=true}}}}}if(G!==undefined){if(!F){z=H}C=C.replace(f.match[A],"");if(!e){return[]}break}}}if(C===s){if(e==null){b.error(C)}else{break}}s=C}return z};b.error=function(e){throw"Syntax error, unrecognized expression: "+e};var f=b.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+\-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(e){return e.getAttribute("href")}},relative:{"+":function(x,r){var t=typeof r==="string",v=t&&!/\W/.test(r),y=t&&!v;if(v){r=r.toLowerCase()}for(var s=0,e=x.length,u;s<e;s++){if((u=x[s])){while((u=u.previousSibling)&&u.nodeType!==1){}x[s]=y||u&&u.nodeName.toLowerCase()===r?u||false:u===r}}if(y){b.filter(r,x,true)}},">":function(x,r){var u=typeof r==="string",v,s=0,e=x.length;if(u&&!/\W/.test(r)){r=r.toLowerCase();for(;s<e;s++){v=x[s];if(v){var t=v.parentNode;x[s]=t.nodeName.toLowerCase()===r?t:false}}}else{for(;s<e;s++){v=x[s];if(v){x[s]=u?v.parentNode:v.parentNode===r}}if(u){b.filter(r,x,true)}}},"":function(t,r,v){var s=j++,e=q,u;if(typeof r==="string"&&!/\W/.test(r)){r=r.toLowerCase();u=r;e=n}e("parentNode",r,s,t,u,v)},"~":function(t,r,v){var s=j++,e=q,u;if(typeof r==="string"&&!/\W/.test(r)){r=r.toLowerCase();u=r;e=n}e("previousSibling",r,s,t,u,v)}},find:{ID:function(r,s,t){if(typeof s.getElementById!=="undefined"&&!t){var e=s.getElementById(r[1]);return e?[e]:[]}},NAME:function(s,v){if(typeof v.getElementsByName!=="undefined"){var r=[],u=v.getElementsByName(s[1]);for(var t=0,e=u.length;t<e;t++){if(u[t].getAttribute("name")===s[1]){r.push(u[t])}}return r.length===0?null:r}},TAG:function(e,r){return r.getElementsByTagName(e[1])}},preFilter:{CLASS:function(t,r,s,e,x,y){t=" "+t[1].replace(/\\/g,"")+" ";if(y){return t}for(var u=0,v;(v=r[u])!=null;u++){if(v){if(x^(v.className&&(" "+v.className+" ").replace(/[\t\n]/g," ").indexOf(t)>=0)){if(!s){e.push(v)}}else{if(s){r[u]=false}}}}return false},ID:function(e){return e[1].replace(/\\/g,"")},TAG:function(r,e){return r[1].toLowerCase()},CHILD:function(e){if(e[1]==="nth"){var r=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(e[2]==="even"&&"2n"||e[2]==="odd"&&"2n+1"||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=(r[1]+(r[2]||1))-0;e[3]=r[3]-0}e[0]=j++;return e},ATTR:function(u,r,s,e,v,x){var t=u[1].replace(/\\/g,"");if(!x&&f.attrMap[t]){u[1]=f.attrMap[t]}if(u[2]==="~="){u[4]=" "+u[4]+" "}return u},PSEUDO:function(u,r,s,e,v){if(u[1]==="not"){if((p.exec(u[3])||"").length>1||/^\w/.test(u[3])){u[3]=b(u[3],null,null,r)}else{var t=b.filter(u[3],r,s,true^v);if(!s){e.push.apply(e,t)}return false}}else{if(f.match.POS.test(u[0])||f.match.CHILD.test(u[0])){return true}}return u},POS:function(e){e.unshift(true);return e}},filters:{enabled:function(e){return e.disabled===false&&e.type!=="hidden"},disabled:function(e){return e.disabled===true},checked:function(e){return e.checked===true},selected:function(e){e.parentNode.selectedIndex;return e.selected===true},parent:function(e){return !!e.firstChild},empty:function(e){return !e.firstChild},has:function(s,r,e){return !!b(e[3],s).length},header:function(e){return(/h\d/i).test(e.nodeName)},text:function(e){return"text"===e.type},radio:function(e){return"radio"===e.type},checkbox:function(e){return"checkbox"===e.type},file:function(e){return"file"===e.type},password:function(e){return"password"===e.type},submit:function(e){return"submit"===e.type},image:function(e){return"image"===e.type},reset:function(e){return"reset"===e.type},button:function(e){return"button"===e.type||e.nodeName.toLowerCase()==="button"},input:function(e){return(/input|select|textarea|button/i).test(e.nodeName)}},setFilters:{first:function(r,e){return e===0},last:function(s,r,e,t){return r===t.length-1},even:function(r,e){return e%2===0},odd:function(r,e){return e%2===1},lt:function(s,r,e){return r<e[3]-0},gt:function(s,r,e){return r>e[3]-0},nth:function(s,r,e){return e[3]-0===r},eq:function(s,r,e){return e[3]-0===r}},filter:{PSEUDO:function(s,y,x,z){var e=y[1],r=f.filters[e];if(r){return r(s,x,y,z)}else{if(e==="contains"){return(s.textContent||s.innerText||b.getText([s])||"").indexOf(y[3])>=0}else{if(e==="not"){var t=y[3];for(var v=0,u=t.length;v<u;v++){if(t[v]===s){return false}}return true}else{b.error("Syntax error, unrecognized expression: "+e)}}}},CHILD:function(e,t){var x=t[1],r=e;switch(x){case"only":case"first":while((r=r.previousSibling)){if(r.nodeType===1){return false}}if(x==="first"){return true}r=e;case"last":while((r=r.nextSibling)){if(r.nodeType===1){return false}}return true;case"nth":var s=t[2],A=t[3];if(s===1&&A===0){return true}var v=t[0],z=e.parentNode;if(z&&(z.sizcache!==v||!e.nodeIndex)){var u=0;for(r=z.firstChild;r;r=r.nextSibling){if(r.nodeType===1){r.nodeIndex=++u}}z.sizcache=v}var y=e.nodeIndex-A;if(s===0){return y===0}else{return(y%s===0&&y/s>=0)}}},ID:function(r,e){return r.nodeType===1&&r.getAttribute("id")===e},TAG:function(r,e){return(e==="*"&&r.nodeType===1)||r.nodeName.toLowerCase()===e},CLASS:function(r,e){return(" "+(r.className||r.getAttribute("class"))+" ").indexOf(e)>-1},ATTR:function(v,t){var s=t[1],e=f.attrHandle[s]?f.attrHandle[s](v):v[s]!=null?v[s]:v.getAttribute(s),x=e+"",u=t[2],r=t[4];return e==null?u==="!=":u==="="?x===r:u==="*="?x.indexOf(r)>=0:u==="~="?(" "+x+" ").indexOf(r)>=0:!r?x&&e!==false:u==="!="?x!==r:u==="^="?x.indexOf(r)===0:u==="$="?x.substr(x.length-r.length)===r:u==="|="?x===r||x.substr(0,r.length+1)===r+"-":false},POS:function(u,r,s,v){var e=r[2],t=f.setFilters[e];if(t){return t(u,s,r,v)}}}};var k=f.match.POS,g=function(r,e){return"\\"+(e-0+1)};for(var m in f.match){f.match[m]=new RegExp(f.match[m].source+(/(?![^\[]*\])(?![^\(]*\))/.source));f.leftMatch[m]=new RegExp(/(^(?:.|\r|\n)*?)/.source+f.match[m].source.replace(/\\(\d+)/g,g))}var a=function(r,e){r=Array.prototype.slice.call(r,0);if(e){e.push.apply(e,r);return e}return r};try{Array.prototype.slice.call(document.documentElement.childNodes,0)[0].nodeType}catch(l){a=function(u,t){var r=t||[],s=0;if(d.call(u)==="[object Array]"){Array.prototype.push.apply(r,u)}else{if(typeof u.length==="number"){for(var e=u.length;s<e;s++){r.push(u[s])}}else{for(;u[s];s++){r.push(u[s])}}}return r}}var c;if(document.documentElement.compareDocumentPosition){c=function(r,e){if(!r.compareDocumentPosition||!e.compareDocumentPosition){if(r==e){o=true}return r.compareDocumentPosition?-1:1}var s=r.compareDocumentPosition(e)&4?-1:r===e?0:1;if(s===0){o=true}return s}}else{if("sourceIndex" in document.documentElement){c=function(r,e){if(!r.sourceIndex||!e.sourceIndex){if(r==e){o=true}return r.sourceIndex?-1:1}var s=r.sourceIndex-e.sourceIndex;if(s===0){o=true}return s}}else{if(document.createRange){c=function(t,r){if(!t.ownerDocument||!r.ownerDocument){if(t==r){o=true}return t.ownerDocument?-1:1}var s=t.ownerDocument.createRange(),e=r.ownerDocument.createRange();s.setStart(t,0);s.setEnd(t,0);e.setStart(r,0);e.setEnd(r,0);var u=s.compareBoundaryPoints(Range.START_TO_END,e);if(u===0){o=true}return u}}}}b.getText=function(e){var r="",t;for(var s=0;e[s];s++){t=e[s];if(t.nodeType===3||t.nodeType===4){r+=t.nodeValue}else{if(t.nodeType!==8){r+=b.getText(t.childNodes)}}}return r};(function(){var r=document.createElement("div"),s="script"+(new Date()).getTime();r.innerHTML="<a name='"+s+"'/>";var e=document.documentElement;e.insertBefore(r,e.firstChild);if(document.getElementById(s)){f.find.ID=function(u,v,x){if(typeof v.getElementById!=="undefined"&&!x){var t=v.getElementById(u[1]);return t?t.id===u[1]||typeof t.getAttributeNode!=="undefined"&&t.getAttributeNode("id").nodeValue===u[1]?[t]:undefined:[]}};f.filter.ID=function(v,t){var u=typeof v.getAttributeNode!=="undefined"&&v.getAttributeNode("id");return v.nodeType===1&&u&&u.nodeValue===t}}e.removeChild(r);e=r=null})();(function(){var e=document.createElement("div");e.appendChild(document.createComment(""));if(e.getElementsByTagName("*").length>0){f.find.TAG=function(r,v){var u=v.getElementsByTagName(r[1]);if(r[1]==="*"){var t=[];for(var s=0;u[s];s++){if(u[s].nodeType===1){t.push(u[s])}}u=t}return u}}e.innerHTML="<a href='#'></a>";if(e.firstChild&&typeof e.firstChild.getAttribute!=="undefined"&&e.firstChild.getAttribute("href")!=="#"){f.attrHandle.href=function(r){return r.getAttribute("href",2)}}e=null})();if(document.querySelectorAll){(function(){var e=b,s=document.createElement("div");s.innerHTML="<p class='TEST'></p>";if(s.querySelectorAll&&s.querySelectorAll(".TEST").length===0){return}b=function(x,v,t,u){v=v||document;if(!u&&v.nodeType===9&&!b.isXML(v)){try{return a(v.querySelectorAll(x),t)}catch(y){}}return e(x,v,t,u)};for(var r in e){b[r]=e[r]}s=null})()}(function(){var e=document.createElement("div");e.innerHTML="<div class='test e'></div><div class='test'></div>";if(!e.getElementsByClassName||e.getElementsByClassName("e").length===0){return}e.lastChild.className="e";if(e.getElementsByClassName("e").length===1){return}f.order.splice(1,0,"CLASS");f.find.CLASS=function(r,s,t){if(typeof s.getElementsByClassName!=="undefined"&&!t){return s.getElementsByClassName(r[1])}};e=null})();function n(r,x,v,A,y,z){for(var t=0,s=A.length;t<s;t++){var e=A[t];if(e){e=e[r];var u=false;while(e){if(e.sizcache===v){u=A[e.sizset];break}if(e.nodeType===1&&!z){e.sizcache=v;e.sizset=t}if(e.nodeName.toLowerCase()===x){u=e;break}e=e[r]}A[t]=u}}}function q(r,x,v,A,y,z){for(var t=0,s=A.length;t<s;t++){var e=A[t];if(e){e=e[r];var u=false;while(e){if(e.sizcache===v){u=A[e.sizset];break}if(e.nodeType===1){if(!z){e.sizcache=v;e.sizset=t}if(typeof x!=="string"){if(e===x){u=true;break}}else{if(b.filter(x,[e]).length>0){u=e;break}}}e=e[r]}A[t]=u}}}b.contains=document.compareDocumentPosition?function(r,e){return !!(r.compareDocumentPosition(e)&16)}:function(r,e){return r!==e&&(r.contains?r.contains(e):true)};b.isXML=function(e){var r=(e?e.ownerDocument||e:0).documentElement;return r?r.nodeName!=="HTML":false};var h=function(e,y){var t=[],u="",v,s=y.nodeType?[y]:y;while((v=f.match.PSEUDO.exec(e))){u+=v[0];e=e.replace(f.match.PSEUDO,"")}e=f.relative[e]?e+"*":e;for(var x=0,r=s.length;x<r;x++){b(e,s[x],t)}return b.filter(u,t)};window.tinymce.dom.Sizzle=b})();(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(("getPos,getRect,getParent,add,setStyle,getStyle,setStyles,setAttrib,setAttribs,getAttrib,addClass,removeClass,hasClass,getOuterHTML,setOuterHTML,remove,show,hide,isHidden,setHTML,get").split(/,/),function(g){b[g]=function(){var h=[f],j;for(j=0;j<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("left")),y:parseInt(b.getStyle("top"))}},getSize:function(){var g=e.get(b.id);return{w:parseInt(b.getStyle("width")||g.clientWidth),h:parseInt(b.getStyle("height")||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&&d.blocker){h=h||"";if(h.indexOf("get")===0||h.indexOf("has")===0||h.indexOf("is")===0){return}if(h=="remove"){e.remove(b.blocker);return}if(!b.blocker){b.blocker=e.uniqueId();g=e.add(d.container||e.getRoot(),"iframe",{id:b.blocker,style:"position:absolute;",frameBorder:0,src:'javascript:""'});e.setStyle(g,"opacity",0)}else{g=e.get(b.blocker)}e.setStyles(g,{left:b.getStyle("left",1),top:b.getStyle("top",1),width:b.getStyle("width",1),height:b.getStyle("height",1),display:b.getStyle("display",1),zIndex:parseInt(b.getStyle("zIndex",1)||0)-1})}}})}})(tinymce);(function(c){function e(f){return f.replace(/[\n\r]+/g,"")}var b=c.is,a=c.isIE,d=c.each;c.create("tinymce.dom.Selection",{Selection:function(i,h,g){var f=this;f.dom=i;f.win=h;f.serializer=g;d(["onBeforeSetContent","onBeforeGetContent","onSetContent","onGetContent"],function(j){f[j]=new c.util.Dispatcher(f)});if(!f.win.getSelection){f.tridentSel=new c.dom.TridentSelection(f)}if(c.isIE&&i.boxModel){this._fixIESelection()}c.addUnload(f.destroy,f)},setCursorLocation:function(h,i){var f=this;var g=f.dom.createRng();g.setStart(h,i);g.setEnd(h,i);f.setRng(g);f.collapse(false)},getContent:function(g){var f=this,h=f.getRng(),l=f.dom.create("body"),j=f.getSel(),i,k,m;g=g||{};i=k="";g.get=true;g.format=g.format||"html";g.forced_root_block="";f.onBeforeGetContent.dispatch(f,g);if(g.format=="text"){return f.isCollapsed()?"":(h.text||(j.toString?j.toString():""))}if(h.cloneContents){m=h.cloneContents();if(m){l.appendChild(m)}}else{if(b(h.item)||b(h.htmlText)){l.innerHTML="<br>"+(h.item?h.item(0).outerHTML:h.htmlText);l.removeChild(l.firstChild)}else{l.innerHTML=h.toString()}}if(/^\s/.test(l.innerHTML)){i=" "}if(/\s+$/.test(l.innerHTML)){k=" "}g.getInner=true;g.content=f.isCollapsed()?"":i+f.serializer.serialize(l,g)+k;f.onGetContent.dispatch(f,g);return g.content},setContent:function(g,i){var n=this,f=n.getRng(),j,k=n.win.document,m,l;i=i||{format:"html"};i.set=true;g=i.content=g;if(!i.no_events){n.onBeforeSetContent.dispatch(n,i)}g=i.content;if(f.insertNode){g+='<span id="__caret">_</span>';if(f.startContainer==k&&f.endContainer==k){k.body.innerHTML=g}else{f.deleteContents();if(k.body.childNodes.length==0){k.body.innerHTML=g}else{if(f.createContextualFragment){f.insertNode(f.createContextualFragment(g))}else{m=k.createDocumentFragment();l=k.createElement("div");m.appendChild(l);l.outerHTML=g;f.insertNode(m)}}}j=n.dom.get("__caret");f=k.createRange();f.setStartBefore(j);f.setEndBefore(j);n.setRng(f);n.dom.remove("__caret");try{n.setRng(f)}catch(h){}}else{if(f.item){k.execCommand("Delete",false,null);f=n.getRng()}if(/^\s+/.test(g)){f.pasteHTML('<span id="__mce_tmp">_</span>'+g);n.dom.remove("__mce_tmp")}else{f.pasteHTML(g)}}if(!i.no_events){n.onSetContent.dispatch(n,i)}},getStart:function(){var g=this.getRng(),h,f,j,i;if(g.duplicate||g.item){if(g.item){return g.item(0)}j=g.duplicate();j.collapse(1);h=j.parentElement();f=i=g.parentElement();while(i=i.parentNode){if(i==h){h=f;break}}return h}else{h=g.startContainer;if(h.nodeType==1&&h.hasChildNodes()){h=h.childNodes[Math.min(h.childNodes.length-1,g.startOffset)]}if(h&&h.nodeType==3){return h.parentNode}return h}},getEnd:function(){var g=this,h=g.getRng(),i,f;if(h.duplicate||h.item){if(h.item){return h.item(0)}h=h.duplicate();h.collapse(0);i=h.parentElement();if(i&&i.nodeName=="BODY"){return i.lastChild||i}return i}else{i=h.endContainer;f=h.endOffset;if(i.nodeType==1&&i.hasChildNodes()){i=i.childNodes[f>0?f-1:f]}if(i&&i.nodeType==3){return i.parentNode}return i}},getBookmark:function(r,s){var v=this,m=v.dom,g,j,i,n,h,o,p,l="\uFEFF",u;function f(x,y){var t=0;d(m.select(x),function(A,z){if(A==y){t=z}});return t}if(r==2){function k(){var x=v.getRng(true),t=m.getRoot(),y={};function z(C,H){var B=C[H?"startContainer":"endContainer"],G=C[H?"startOffset":"endOffset"],A=[],D,F,E=0;if(B.nodeType==3){if(s){for(D=B.previousSibling;D&&D.nodeType==3;D=D.previousSibling){G+=D.nodeValue.length}}A.push(G)}else{F=B.childNodes;if(G>=F.length&&F.length){E=1;G=Math.max(0,F.length-1)}A.push(v.dom.nodeIndex(F[G],s)+E)}for(;B&&B!=t;B=B.parentNode){A.push(v.dom.nodeIndex(B,s))}return A}y.start=z(x,true);if(!v.isCollapsed()){y.end=z(x)}return y}if(v.tridentSel){return v.tridentSel.getBookmark(r)}return k()}if(r){return{rng:v.getRng()}}g=v.getRng();i=m.uniqueId();n=tinyMCE.activeEditor.selection.isCollapsed();u="overflow:hidden;line-height:0px";if(g.duplicate||g.item){if(!g.item){j=g.duplicate();try{g.collapse();g.pasteHTML('<span data-mce-type="bookmark" id="'+i+'_start" style="'+u+'">'+l+"</span>");if(!n){j.collapse(false);g.moveToElementText(j.parentElement());if(g.compareEndPoints("StartToEnd",j)==0){j.move("character",-1)}j.pasteHTML('<span data-mce-type="bookmark" id="'+i+'_end" style="'+u+'">'+l+"</span>")}}catch(q){return null}}else{o=g.item(0);h=o.nodeName;return{name:h,index:f(h,o)}}}else{o=v.getNode();h=o.nodeName;if(h=="IMG"){return{name:h,index:f(h,o)}}if(g.startContainer.nodeType==9){return}j=g.cloneRange();if(!n){j.collapse(false);j.insertNode(m.create("span",{"data-mce-type":"bookmark",id:i+"_end",style:u},l))}g.collapse(true);g.insertNode(m.create("span",{"data-mce-type":"bookmark",id:i+"_start",style:u},l))}v.moveToBookmark({id:i,keep:1});return{id:i}},moveToBookmark:function(n){var r=this,l=r.dom,i,h,f,q,j,s,o,p;if(n){if(n.start){f=l.createRng();q=l.getRoot();function g(z){var t=n[z?"start":"end"],v,x,y,u;if(t){y=t[0];for(x=q,v=t.length-1;v>=1;v--){u=x.childNodes;if(t[v]>u.length-1){return}x=u[t[v]]}if(x.nodeType===3){y=Math.min(t[0],x.nodeValue.length)}if(x.nodeType===1){y=Math.min(t[0],x.childNodes.length)}if(z){f.setStart(x,y)}else{f.setEnd(x,y)}}return true}if(r.tridentSel){return r.tridentSel.moveToBookmark(n)}if(g(true)&&g()){r.setRng(f)}}else{if(n.id){function k(A){var u=l.get(n.id+"_"+A),z,t,x,y,v=n.keep;if(u){z=u.parentNode;if(A=="start"){if(!v){t=l.nodeIndex(u)}else{z=u.firstChild;t=1}j=s=z;o=p=t}else{if(!v){t=l.nodeIndex(u)}else{z=u.firstChild;t=1}s=z;p=t}if(!v){y=u.previousSibling;x=u.nextSibling;d(c.grep(u.childNodes),function(B){if(B.nodeType==3){B.nodeValue=B.nodeValue.replace(/\uFEFF/g,"")}});while(u=l.get(n.id+"_"+A)){l.remove(u,1)}if(y&&x&&y.nodeType==x.nodeType&&y.nodeType==3&&!c.isOpera){t=y.nodeValue.length;y.appendData(x.nodeValue);l.remove(x);if(A=="start"){j=s=y;o=p=t}else{s=y;p=t}}}}}function m(t){if(l.isBlock(t)&&!t.innerHTML){t.innerHTML=!a?'<br data-mce-bogus="1" />':" "}return t}k("start");k("end");if(j){f=l.createRng();f.setStart(m(j),o);f.setEnd(m(s),p);r.setRng(f)}}else{if(n.name){r.select(l.select(n.name)[n.index])}else{if(n.rng){r.setRng(n.rng)}}}}}},select:function(k,j){var i=this,l=i.dom,g=l.createRng(),f;if(k){f=l.nodeIndex(k);g.setStart(k.parentNode,f);g.setEnd(k.parentNode,f+1);if(j){function h(m,o){var n=new c.dom.TreeWalker(m,m);do{if(m.nodeType==3&&c.trim(m.nodeValue).length!=0){if(o){g.setStart(m,0)}else{g.setEnd(m,m.nodeValue.length)}return}if(m.nodeName=="BR"){if(o){g.setStartBefore(m)}else{g.setEndBefore(m)}return}}while(m=(o?n.next():n.prev()))}h(k,1);h(k)}i.setRng(g)}return k},isCollapsed:function(){var f=this,h=f.getRng(),g=f.getSel();if(!h||h.item){return false}if(h.compareEndPoints){return h.compareEndPoints("StartToEnd",h)===0}return !g||h.collapsed},collapse:function(f){var h=this,g=h.getRng(),i;if(g.item){i=g.item(0);g=h.win.document.body.createTextRange();g.moveToElementText(i)}g.collapse(!!f);h.setRng(g)},getSel:function(){var g=this,f=this.win;return f.getSelection?f.getSelection():f.document.selection},getRng:function(l){var g=this,h,i,k,j=g.win.document;if(l&&g.tridentSel){return g.tridentSel.getRangeAt(0)}try{if(h=g.getSel()){i=h.rangeCount>0?h.getRangeAt(0):(h.createRange?h.createRange():j.createRange())}}catch(f){}if(c.isIE&&i&&i.setStart&&j.selection.createRange().item){k=j.selection.createRange().item(0);i=j.createRange();i.setStartBefore(k);i.setEndAfter(k)}if(!i){i=j.createRange?j.createRange():j.body.createTextRange()}if(g.selectedRange&&g.explicitRange){if(i.compareBoundaryPoints(i.START_TO_START,g.selectedRange)===0&&i.compareBoundaryPoints(i.END_TO_END,g.selectedRange)===0){i=g.explicitRange}else{g.selectedRange=null;g.explicitRange=null}}return i},setRng:function(i){var h,g=this;if(!g.tridentSel){h=g.getSel();if(h){g.explicitRange=i;try{h.removeAllRanges()}catch(f){}h.addRange(i);g.selectedRange=h.rangeCount>0?h.getRangeAt(0):null}}else{if(i.cloneRange){try{g.tridentSel.addRange(i);return}catch(f){}}try{i.select()}catch(f){}}},setNode:function(g){var f=this;f.setContent(f.dom.getOuterHTML(g));return g},getNode:function(){var h=this,g=h.getRng(),i=h.getSel(),l,k=g.startContainer,f=g.endContainer;if(!g){return h.dom.getRoot()}if(g.setStart){l=g.commonAncestorContainer;if(!g.collapsed){if(g.startContainer==g.endContainer){if(g.endOffset-g.startOffset<2){if(g.startContainer.hasChildNodes()){l=g.startContainer.childNodes[g.startOffset]}}}if(k.nodeType===3&&f.nodeType===3){function j(p,m){var o=p;while(p&&p.nodeType===3&&p.length===0){p=m?p.nextSibling:p.previousSibling}return p||o}if(k.length===g.startOffset){k=j(k.nextSibling,true)}else{k=k.parentNode}if(g.endOffset===0){f=j(f.previousSibling,false)}else{f=f.parentNode}if(k&&k===f){return k}}}if(l&&l.nodeType==3){return l.parentNode}return l}return g.item?g.item(0):g.parentElement()},getSelectedBlocks:function(o,g){var m=this,j=m.dom,l,k,h,i=[];l=j.getParent(o||m.getStart(),j.isBlock);k=j.getParent(g||m.getEnd(),j.isBlock);if(l){i.push(l)}if(l&&k&&l!=k){h=l;var f=new c.dom.TreeWalker(l,j.getRoot());while((h=f.next())&&h!=k){if(j.isBlock(h)){i.push(h)}}}if(k&&l!=k){i.push(k)}return i},normalize:function(){var g=this,f,i;if(c.isIE){return}function h(p){var k,o,n,m=g.dom,j=m.getRoot(),l;k=f[(p?"start":"end")+"Container"];o=f[(p?"start":"end")+"Offset"];if(k.nodeType===9){k=k.body;o=0}if(k===j){if(k.hasChildNodes()){k=k.childNodes[Math.min(!p&&o>0?o-1:o,k.childNodes.length-1)];o=0;if(k.hasChildNodes()){l=k;n=new c.dom.TreeWalker(k,j);do{if(l.nodeType===3){o=p?0:l.nodeValue.length-1;k=l;i=true;break}if(/^(BR|IMG)$/.test(l.nodeName)){o=m.nodeIndex(l);k=l.parentNode;if(l.nodeName=="IMG"&&!p){o++}i=true;break}}while(l=(p?n.next():n.prev()))}}}if(i){f["set"+(p?"Start":"End")](k,o)}}f=g.getRng();h(true);if(!f.collapsed){h()}if(i){g.setRng(f)}},destroy:function(g){var f=this;f.win=null;if(!g){c.removeUnload(f.destroy)}},_fixIESelection:function(){var g=this.dom,m=g.doc,h=m.body,j,n,f;m.documentElement.unselectable=true;function i(o,r){var p=h.createTextRange();try{p.moveToPoint(o,r)}catch(q){p=null}return p}function l(p){var o;if(p.button){o=i(p.x,p.y);if(o){if(o.compareEndPoints("StartToStart",n)>0){o.setEndPoint("StartToStart",n)}else{o.setEndPoint("EndToEnd",n)}o.select()}}else{k()}}function k(){var o=m.selection.createRange();if(n&&!o.item&&o.compareEndPoints("StartToEnd",o)===0){n.select()}g.unbind(m,"mouseup",k);g.unbind(m,"mousemove",l);n=j=0}g.bind(m,["mousedown","contextmenu"],function(o){if(o.target.nodeName==="HTML"){if(j){k()}f=m.documentElement;if(f.scrollHeight>f.clientHeight){return}j=1;n=i(o.x,o.y);if(n){g.bind(m,"mouseup",k);g.bind(m,"mousemove",l);g.win.focus();n.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||"named";e.remove_trailing_brs="remove_trailing_brs" 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("src,href,style",function(k,j){var o=k.length,l,q,n="data-mce-"+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>0?q:null);l.attr(n,null)}else{q=l.attributes.map[j];if(j==="style"){q=i.serializeStyle(i.parseStyle(q),l.name)}else{if(p){q=p.call(r,q,j,l.name)}}l.attr(j,q.length>0?q:null)}}});c.addAttributeFilter("class",function(j,k){var l=j.length,m,n;while(l--){m=j[l];n=m.attr("class").replace(/\s*mce(Item\w+|Selected)\s*/g,"");m.attr("class",n.length>0?n:null)}});c.addAttributeFilter("data-mce-type",function(j,l,k){var m=j.length,n;while(m--){n=j[m];if(n.attributes.map["data-mce-type"]==="bookmark"&&!k.cleanup){n.remove()}}});c.addAttributeFilter("data-mce-expando",function(j,l,k){var m=j.length;while(m--){j[m].attr(l,null)}});c.addNodeFilter("script,style",function(k,l){var m=k.length,n,o;function j(p){return p.replace(/(<!--\[CDATA\[|\]\]-->)/g,"\n").replace(/^[\r\n]*|[\r\n]*$/g,"").replace(/^\s*((<!--)?(\s*\/\/)?\s*<!\[CDATA\[|(<!--\s*)?\/\*\s*<!\[CDATA\[\s*\*\/|(\/\/)?\s*<!--|\/\*\s*<!--\s*\*\/)\s*[\r\n]*/gi,"").replace(/\s*(\/\*\s*\]\]>\s*\*\/(-->)?|\s*\/\/\s*\]\]>(-->)?|\/\/\s*(-->)?|\]\]>|\/\*\s*-->\s*\*\/|\s*-->\s*)\s*$/g,"")}while(m--){n=k[m];o=n.firstChild?n.firstChild.value:"";if(l==="script"){n.attr("type",(n.attr("type")||"text/javascript").replace(/^mce\-/,""));if(o.length>0){n.firstChild.value="// <![CDATA[\n"+j(o)+"\n// ]]>"}}else{if(o.length>0){n.firstChild.value="<!--\n"+j(o)+"\n-->"}}}});c.addNodeFilter("#comment",function(j,k){var l=j.length,m;while(l--){m=j[l];if(m.value.indexOf("[CDATA[")===0){m.name="#cdata";m.type=4;m.value=m.value.replace(/^\[CDATA\[|\]\]$/g,"")}else{if(m.value.indexOf("mce:protected ")===0){m.name="#text";m.type=3;m.raw=true;m.value=unescape(m.value).substr(14)}}}});c.addNodeFilter("xml:namespace,input",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==="input"&&!("type" in m.attributes.map)){m.attr("type","text")}}}}});if(e.fix_list_elements){c.addNodeFilter("ul,ol",function(k,l){var m=k.length,n,j;while(m--){n=k[m];j=n.parent;if(j.name==="ul"||j.name==="ol"){if(n.prev&&n.prev.name==="li"){n.prev.append(n)}}}})}c.addAttributeFilter("data-mce-src,data-mce-href,data-mce-style",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&&i.select("script,style,select,map").length>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("");g(o.nodeName=="BODY"?o.childNodes:[o],function(q){p.body.appendChild(p.importNode(q,true))});if(o.nodeName!="BODY"){o=p.body.firstChild}else{o=p.body}k=i.doc;i.doc=p}m=m||{};m.format=m.format||"html";if(!m.no_events){m.node=o;h.dispatch(self,m)}j=new a.html.Serializer(e,f);m.content=j.serialize(c.parse(m.getInner?o.innerHTML:a.trim(i.getOuterHTML(o),m),m));if(!m.cleanup){m.content=m.content.replace(/\uFEFF|\u200B/g,"")}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=[],f={},d=[],g=0,e;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)!=="undefined"&&console.log){console.log("Failed to load: "+m)}}n=q.uniqueId();if(a.isIE6){o=new a.util.URI(m);r=location;if(o.host==r.hostname&&o.port==r.port&&(o.protocol+":")==r.protocol&&o.protocol.toLowerCase()!="file"){a.util.XHR.send({url:a._addVer(o.getURI()),success:function(y){var t=q.create("script",{type:"text/javascript"});t.text=y;document.getElementsByTagName("head")[0].appendChild(t);q.remove(t);p()},error:u});return}}s=q.create("script",{id:n,type:"text/javascript",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=="complete"||t=="loaded"){p()}}}(document.getElementsByTagName("head")[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==e){j.push(m);l[m]=c}if(q){if(!f[m]){f[m]=[]}f[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(f[r],function(s){s.func.call(s.scope)});f[r]=e}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);tinymce.dom.TreeWalker=function(a,c){var b=a;function d(i,f,e,j){var h,g;if(i){if(!j&&i[f]){return i[f]}if(i!=c){h=i[e];if(h){return h}for(g=i.parentNode;g&&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,"firstChild","nextSibling",e))};this.prev=function(e){return(b=d(b,"lastChild","previousSibling",e))}};(function(a){a.dom.RangeUtils=function(c){var b="\uFEFF";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("td.mceSelected,th.mceSelected");if(e.length>0){a.each(e,function(u){s([u])});return}function f(u){var v;v=u[0];if(v.nodeType===3&&v===i&&l>=v.nodeValue.length){u.splice(0,1)}v=u[u.length-1];if(m===0&&u.length>0&&v===t&&v.nodeType===3){u.splice(u.length-1,1)}return u}function p(x,v,u){var y=[];for(;x&&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?"nextSibling":"previousSibling";for(h=x,r=h.parentNode;h&&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&&i.hasChildNodes()){i=i.childNodes[l]}if(t.nodeType==1&&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,"nextSibling",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&&h.nodeType==3){if(d>0&&d<h.nodeValue.length){i=f(h,d);h=i.previousSibling;if(g>d){g=g-d;h=i=f(i,g).previousSibling;g=i.nodeValue.length;d=0}else{g=0}}}else{if(h.nodeType==3&&d>0&&d<h.nodeValue.length){h=f(h,d);d=0}if(i.nodeType==3&&g>0&&g<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&&b){if(c.item||c.duplicate){if(c.item&&b.item&&c.item(0)===b.item(0)){return true}if(c.isEqual&&b.isEqual&&b.isEqual(c)){return true}}else{return c.startContainer==b.startContainer&&c.startOffset==b.startOffset}}return false}})(tinymce);(function(b){var a=b.dom.Event,c=b.each;b.create("tinymce.ui.KeyboardNavigation",{KeyboardNavigation:function(e,f){var p=this,m=e.root,l=e.items,n=e.enableUpDown,i=e.enableLeftRight||!e.enableUpDown,k=e.excludeFromTabOrder,j,h,o,d,g;f=f||b.DOM;j=function(q){g=q.target.id};h=function(q){f.setAttrib(q.target.id,"tabindex","-1")};d=function(q){var r=f.get(g);f.setAttrib(r,"tabindex","0");r.focus()};p.focus=function(){f.get(g).focus()};p.destroy=function(){c(l,function(q){f.unbind(f.get(q.id),"focus",j);f.unbind(f.get(q.id),"blur",h)});f.unbind(f.get(m),"focus",d);f.unbind(f.get(m),"keydown",o);l=f=m=p.focus=j=h=o=d=null;p.destroy=function(){}};p.moveFocus=function(u,r){var q=-1,t=p.controls,s;if(!g){return}c(l,function(x,v){if(x.id===g){q=v;return false}});q+=u;if(q<0){q=l.length-1}else{if(q>=l.length){q=0}}s=l[q];f.setAttrib(g,"tabindex","-1");f.setAttrib(s.id,"tabindex","0");f.get(s.id).focus();if(e.actOnFocus){e.onAction(s.id)}if(r){a.cancel(r)}};o=function(y){var u=37,t=39,x=38,z=40,q=27,s=14,r=13,v=32;switch(y.keyCode){case u:if(i){p.moveFocus(-1)}break;case t:if(i){p.moveFocus(1)}break;case x:if(n){p.moveFocus(-1)}break;case z:if(n){p.moveFocus(1)}break;case q:if(e.onCancel){e.onCancel();a.cancel(y)}break;case s:case r:case v:if(e.onAction){e.onAction(g);a.cancel(y)}break}};c(l,function(s,q){var r;if(!s.id){s.id=f.uniqueId("_mce_item_")}if(k){f.bind(s.id,"blur",h);r="-1"}else{r=(q===0?"0":"-1")}f.setAttrib(s.id,"tabindex",r);f.bind(f.get(s.id),"focus",j)});if(l[0]){g=l[0].id}f.setAttrib(m,"tabindex","-1");f.bind(f.get(m),"focus",d);f.bind(f.get(m),"keydown",o)}})})(tinymce);(function(c){var b=c.DOM,a=c.is;c.create("tinymce.ui.Control",{Control:function(f,e,d){this.id=f;this.settings=e=e||{};this.rendered=false;this.onRender=new c.util.Dispatcher(this);this.classPrefix="";this.scope=e.scope||this;this.disabled=0;this.active=0;this.editor=d},setAriaProperty:function(f,e){var d=b.get(this.id+"_aria")||b.get(this.id);if(d){b.setAttrib(d,"aria-"+f,!!e)}},focus:function(){b.get(this.id).focus()},setDisabled:function(d){if(d!=this.disabled){this.setAriaProperty("disabled",d);this.setState("Disabled",d);this.setState("Enabled",!d);this.disabled=d}},isDisabled:function(){return this.disabled},setActive:function(d){if(d!=this.active){this.setState("Active",d);this.active=d;this.setAriaProperty("pressed",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.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("tinymce.ui.Container:tinymce.ui.Control",{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("tinymce.ui.Separator:tinymce.ui.Control",{Separator:function(b,a){this.parent(b,a);this.classPrefix="mceSeparator";this.setDisabled(true)},renderHTML:function(){return tinymce.DOM.createHTML("span",{"class":this.classPrefix,role:"separator","aria-orientation":"vertical",tabindex:"-1"})}});(function(d){var c=d.is,b=d.DOM,e=d.each,a=d.walk;d.create("tinymce.ui.MenuItem:tinymce.ui.Control",{MenuItem:function(g,f){this.parent(g,f);this.classPrefix="mceMenuItem"},setSelected:function(f){this.setState("Selected",f);this.setAriaProperty("checked",!!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("tinymce.ui.Menu:tinymce.ui.MenuItem",{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()}},"items",f)}f.collapsed=false},collapse:function(g){var f=this;if(g){a(f,function(h){if(h.collapse){h.collapse()}},"items",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()},"items",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("tinymce.ui.DropMenu:tinymce.ui.Menu",{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)&&!g.icons){g["class"]+=" mceNoIcons"}this.parent(h,g);this.onShowMenu=new e.util.Dispatcher(this);this.onHideMenu=new e.util.Dispatcher(this);this.classPrefix="mceMenu"},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["class"]=j["class"]||i["class"];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("menu_"+i.id+"_tbl"),l=c.get("menu_"+i.id+"_co"),h,k;h=j.max_width?Math.min(g.clientWidth,j.max_width):g.clientWidth;k=j.max_height?Math.min(g.clientHeight,j.max_height):g.clientHeight;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,"width",h)}if(j.max_height){c.setStyle(l,"height",k);if(g.clientHeight<j.max_height){c.setStyle(l,"overflow","hidden")}}},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("menu_"+z.id,{blocker:1,container:A.container})}else{o=c.get("menu_"+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)>v){p=r?r-u:Math.max(0,(v-A.vp_offset_x)-u)}if((n+A.vp_offset_y+l)>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,"click",function(s){var h;s=s.target;if(s&&(s=c.getParent(s,"tr"))&&!c.hasClass(s,m+"ItemSub")){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,"mouseover",function(x){var h,t,s;x=x.target;if(x&&(x=c.getParent(x,"tr"))){h=z.items[x.id];if(z.lastMenu){z.lastMenu.collapse(1)}if(h.isDisabled()){return}if(x&&c.hasClass(x,m+"ItemSub")){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+"ItemActive")}}})}a.add(o,"keydown",z._keyHandler,z);z.onShowMenu.dispatch(z);if(A.keyboard_focus){z._setupKeyboardNav()}},hideMenu:function(j){var g=this,i=c.get("menu_"+g.id),h;if(!g.isMenuVisible){return}if(g.keyboardNav){g.keyboardNav.destroy()}a.remove(i,"mouseover",g.mouseOverFunc);a.remove(i,"click",g.mouseClickFunc);a.remove(i,"keydown",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+"ItemActive")}g.onHideMenu.dispatch(g)},add:function(i){var g=this,h;i=g.parent(i);if(g.isRendered&&(h=c.get("menu_"+g.id))){g._add(c.select("tbody",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("menu_"+g.id);if(g.keyboardNav){g.keyboardNav.destroy()}a.remove(h,"mouseover",g.mouseOverFunc);a.remove(c.select("a",h),"focus",g.mouseOverFunc);a.remove(h,"click",g.mouseClickFunc);a.remove(h,"keydown",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("div",{role:"listbox",id:"menu_"+i.id,"class":j["class"],style:"position:absolute;left:0;top:0;z-index:200000;outline:0"});if(i.settings.parent){c.setAttrib(g,"aria-parent","menu_"+i.settings.parent.id)}k=c.add(g,"div",{role:"presentation",id:"menu_"+i.id+"_co","class":i.classPrefix+(j["class"]?" "+j["class"]:"")});i.element=new b("menu_"+i.id,{blocker:1,container:j.container});if(j.menu_line){c.add(k,"span",{"class":i.classPrefix+"Line"})}l=c.add(k,"table",{role:"presentation",id:"menu_"+i.id+"_tbl",border:0,cellPadding:0,cellSpacing:0});h=c.add(l,"tbody");f(i.items,function(m){i._add(h,m)});i.rendered=true;return g},_setupKeyboardNav:function(){var i,h,g=this;i=c.get("menu_"+g.id);h=c.select("a[role=option]","menu_"+g.id);h.splice(0,0,i);g.keyboardNav=new e.ui.KeyboardNavigation({root:"menu_"+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,"tr",{id:h.id,"class":m+"ItemSeparator"});c.add(l,"td",{"class":m+"ItemSeparator"});if(i=l.previousSibling){c.addClass(i,"mceLast")}return}i=l=c.add(j,"tr",{id:h.id,"class":m+"Item "+m+"ItemEnabled"});i=k=c.add(i,q.titleItem?"th":"td");i=p=c.add(i,"a",{id:h.id+"_aria",role:q.titleItem?"presentation":"option",href:"javascript:;",onclick:"return false;",onmousedown:"return false;"});if(q.parent){c.setAttrib(p,"aria-haspopup","true");c.setAttrib(p,"aria-owns","menu_"+h.id)}c.addClass(k,q["class"]);g=c.add(i,"span",{"class":"mceIcon"+(q.icon?" mce_"+q.icon:"")});if(q.icon_src){c.add(g,"img",{src:q.icon_src})}i=c.add(i,q.element||"span",{"class":"mceText",title:h.settings.title},h.settings.title);if(h.settings.style){if(typeof h.settings.style=="function"){h.settings.style=h.settings.style()}c.setAttrib(i,"style",h.settings.style)}if(j.childNodes.length==1){c.addClass(l,"mceFirst")}if((i=l.previousSibling)&&c.hasClass(i,m+"ItemSeparator")){c.addClass(l,"mceFirst")}if(h.collapse){c.addClass(l,m+"ItemSub")}if(i=l.previousSibling){c.removeClass(i,"mceLast")}c.addClass(l,"mceLast")}})})(tinymce);(function(b){var a=b.DOM;b.create("tinymce.ui.Button:tinymce.ui.Control",{Button:function(e,d,c){this.parent(e,d,c);this.classPrefix="mceButton"},renderHTML:function(){var f=this.classPrefix,e=this.settings,d,c;c=a.encode(e.label||"");d='<a role="button" id="'+this.id+'" href="javascript:;" class="'+f+" "+f+"Enabled "+e["class"]+(c?" "+f+"Labeled":"")+'" onmousedown="return false;" onclick="return false;" aria-labelledby="'+this.id+'_voice" title="'+a.encode(e.title)+'">';if(e.image&&!(this.editor&&this.editor.forcedHighContrastMode)){d+='<img class="mceIcon" src="'+e.image+'" alt="'+a.encode(e.title)+'" />'+c}else{d+='<span class="mceIcon '+e["class"]+'"></span>'+(c?'<span class="'+f+'Label">'+c+"</span>":"")}d+='<span class="mceVoiceLabel mceIconOnly" style="display: none;" id="'+this.id+'_voice">'+e.title+"</span>";d+="</a>";return d},postRender:function(){var d=this,e=d.settings,c;if(b.isIE&&d.editor){b.dom.Event.add(d.id,"mousedown",function(f){var g=d.editor.selection.getNode().nodeName;c=g==="IMG"?d.editor.selection.getBookmark():null})}b.dom.Event.add(d.id,"click",function(f){if(!d.isDisabled()){if(b.isIE&&d.editor&&c!==null){d.editor.selection.moveToBookmark(c)}return e.onclick.call(e.scope,f)}});b.dom.Event.add(d.id,"keyup",function(f){if(!d.isDisabled()&&f.keyCode==b.VK.SPACEBAR){return e.onclick.call(e.scope,f)}})}})})(tinymce);(function(d){var c=d.DOM,b=d.dom.Event,e=d.each,a=d.util.Dispatcher;d.create("tinymce.ui.ListBox:tinymce.ui.Control",{ListBox:function(i,h,f){var g=this;g.parent(i,h,f);g.items=[];g.onChange=new a(g);g.onPostRender=new a(g);g.onAdd=new a(g);g.onRenderMenu=new d.util.Dispatcher(this);g.classPrefix="mceListBox";g.marked={}},select:function(h){var g=this,j,i;g.marked={};if(h==undefined){return g.selectByIndex(-1)}if(h&&typeof(h)=="function"){i=h}else{i=function(f){return f==h}}if(h!=g.selectedValue){e(g.items,function(k,f){if(i(k.value)){j=1;g.selectByIndex(f);return false}});if(!j){g.selectByIndex(-1)}}},selectByIndex:function(f){var h=this,i,j,g;h.marked={};if(f!=h.selectedIndex){i=c.get(h.id+"_text");g=c.get(h.id+"_voiceDesc");j=h.items[f];if(j){h.selectedValue=j.value;h.selectedIndex=f;c.setHTML(i,c.encode(j.title));c.setHTML(g,h.settings.title+" - "+j.title);c.removeClass(i,"mceTitle");c.setAttrib(h.id,"aria-valuenow",j.title)}else{c.setHTML(i,c.encode(h.settings.title));c.setHTML(g,c.encode(h.settings.title));c.addClass(i,"mceTitle");h.selectedValue=h.selectedIndex=null;c.setAttrib(h.id,"aria-valuenow",h.settings.title)}i=0}},mark:function(f){this.marked[f]=true},add:function(i,f,h){var g=this;h=h||{};h=d.extend(h,{title:i,value:f});g.items.push(h);g.onAdd.dispatch(g,h)},getLength:function(){return this.items.length},renderHTML:function(){var i="",f=this,g=f.settings,j=f.classPrefix;i='<span role="listbox" aria-haspopup="true" aria-labelledby="'+f.id+'_voiceDesc" aria-describedby="'+f.id+'_voiceDesc"><table role="presentation" tabindex="0" id="'+f.id+'" cellpadding="0" cellspacing="0" class="'+j+" "+j+"Enabled"+(g["class"]?(" "+g["class"]):"")+'"><tbody><tr>';i+="<td>"+c.createHTML("span",{id:f.id+"_voiceDesc","class":"voiceLabel",style:"display:none;"},f.settings.title);i+=c.createHTML("a",{id:f.id+"_text",tabindex:-1,href:"javascript:;","class":"mceText",onclick:"return false;",onmousedown:"return false;"},c.encode(f.settings.title))+"</td>";i+="<td>"+c.createHTML("a",{id:f.id+"_open",tabindex:-1,href:"javascript:;","class":"mceOpen",onclick:"return false;",onmousedown:"return false;"},'<span><span style="display:none;" class="mceIconOnly" aria-hidden="true">\u25BC</span></span>')+"</td>";i+="</tr></tbody></table></span>";return i},showMenu:function(){var g=this,i,h=c.get(this.id),f;if(g.isDisabled()||g.items.length==0){return}if(g.menu&&g.menu.isMenuVisible){return g.hideMenu()}if(!g.isMenuRendered){g.renderMenu();g.isMenuRendered=true}i=c.getPos(h);f=g.menu;f.settings.offset_x=i.x;f.settings.offset_y=i.y;f.settings.keyboard_focus=!d.isOpera;e(g.items,function(j){if(f.items[j.id]){f.items[j.id].setSelected(0)}});e(g.items,function(j){if(f.items[j.id]&&g.marked[j.value]){f.items[j.id].setSelected(1)}if(j.value===g.selectedValue){f.items[j.id].setSelected(1)}});f.showMenu(0,h.clientHeight);b.add(c.doc,"mousedown",g.hideMenu,g);c.addClass(g.id,g.classPrefix+"Selected")},hideMenu:function(g){var f=this;if(f.menu&&f.menu.isMenuVisible){c.removeClass(f.id,f.classPrefix+"Selected");if(g&&g.type=="mousedown"&&(g.target.id==f.id+"_text"||g.target.id==f.id+"_open")){return}if(!g||!c.getParent(g.target,".mceMenu")){c.removeClass(f.id,f.classPrefix+"Selected");b.remove(c.doc,"mousedown",f.hideMenu,f);f.menu.hideMenu()}}},renderMenu:function(){var g=this,f;f=g.settings.control_manager.createDropMenu(g.id+"_menu",{menu_line:1,"class":g.classPrefix+"Menu mceNoIcons",max_width:150,max_height:150});f.onHideMenu.add(function(){g.hideMenu();g.focus()});f.add({title:g.settings.title,"class":"mceMenuItemTitle",onclick:function(){if(g.settings.onselect("")!==false){g.select("")}}});e(g.items,function(h){if(h.value===undefined){f.add({title:h.title,role:"option","class":"mceMenuItemTitle",onclick:function(){if(g.settings.onselect("")!==false){g.select("")}}})}else{h.id=c.uniqueId();h.role="option";h.onclick=function(){if(g.settings.onselect(h.value)!==false){g.select(h.value)}};f.add(h)}});g.onRenderMenu.dispatch(g,f);g.menu=f},postRender:function(){var f=this,g=f.classPrefix;b.add(f.id,"click",f.showMenu,f);b.add(f.id,"keydown",function(h){if(h.keyCode==32){f.showMenu(h);b.cancel(h)}});b.add(f.id,"focus",function(){if(!f._focused){f.keyDownHandler=b.add(f.id,"keydown",function(h){if(h.keyCode==40){f.showMenu();b.cancel(h)}});f.keyPressHandler=b.add(f.id,"keypress",function(i){var h;if(i.keyCode==13){h=f.selectedValue;f.selectedValue=null;b.cancel(i);f.settings.onselect(h)}})}f._focused=1});b.add(f.id,"blur",function(){b.remove(f.id,"keydown",f.keyDownHandler);b.remove(f.id,"keypress",f.keyPressHandler);f._focused=0});if(d.isIE6||!c.boxModel){b.add(f.id,"mouseover",function(){if(!c.hasClass(f.id,g+"Disabled")){c.addClass(f.id,g+"Hover")}});b.add(f.id,"mouseout",function(){if(!c.hasClass(f.id,g+"Disabled")){c.removeClass(f.id,g+"Hover")}})}f.onPostRender.dispatch(f,c.get(f.id))},destroy:function(){this.parent();b.clear(this.id+"_text");b.clear(this.id+"_open")}})})(tinymce);(function(d){var c=d.DOM,b=d.dom.Event,e=d.each,a=d.util.Dispatcher;d.create("tinymce.ui.NativeListBox:tinymce.ui.ListBox",{NativeListBox:function(g,f){this.parent(g,f);this.classPrefix="mceNativeListBox"},setDisabled:function(f){c.get(this.id).disabled=f;this.setAriaProperty("disabled",f)},isDisabled:function(){return c.get(this.id).disabled},select:function(h){var g=this,j,i;if(h==undefined){return g.selectByIndex(-1)}if(h&&typeof(h)=="function"){i=h}else{i=function(f){return f==h}}if(h!=g.selectedValue){e(g.items,function(k,f){if(i(k.value)){j=1;g.selectByIndex(f);return false}});if(!j){g.selectByIndex(-1)}}},selectByIndex:function(f){c.get(this.id).selectedIndex=f+1;this.selectedValue=this.items[f]?this.items[f].value:null},add:function(j,g,f){var i,h=this;f=f||{};f.value=g;if(h.isRendered()){c.add(c.get(this.id),"option",f,j)}i={title:j,value:g,attribs:f};h.items.push(i);h.onAdd.dispatch(h,i)},getLength:function(){return this.items.length},renderHTML:function(){var g,f=this;g=c.createHTML("option",{value:""},"-- "+f.settings.title+" --");e(f.items,function(h){g+=c.createHTML("option",{value:h.value},h.title)});g=c.createHTML("select",{id:f.id,"class":"mceNativeListBox","aria-labelledby":f.id+"_aria"},g);g+=c.createHTML("span",{id:f.id+"_aria",style:"display: none"},f.settings.title);return g},postRender:function(){var g=this,h,i=true;g.rendered=true;function f(k){var j=g.items[k.target.selectedIndex-1];if(j&&(j=j.value)){g.onChange.dispatch(g,j);if(g.settings.onselect){g.settings.onselect(j)}}}b.add(g.id,"change",f);b.add(g.id,"keydown",function(k){var j;b.remove(g.id,"change",h);i=false;j=b.add(g.id,"blur",function(){if(i){return}i=true;b.add(g.id,"change",f);b.remove(g.id,"blur",j)});if(d.isWebKit&&(k.keyCode==37||k.keyCode==39)){return b.prevent(k)}if(k.keyCode==13||k.keyCode==32){f(k);return b.cancel(k)}});g.onPostRender.dispatch(g,c.get(g.id))}})})(tinymce);(function(c){var b=c.DOM,a=c.dom.Event,d=c.each;c.create("tinymce.ui.MenuButton:tinymce.ui.Button",{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.clientHeight);a.add(b.doc,"mousedown",g.hideMenu,g);g.setState("Selected",1);g.isMenuVisible=1},renderMenu:function(){var f=this,e;e=f.settings.control_manager.createDropMenu(f.id+"_menu",{menu_line:1,"class":this.classPrefix+"Menu",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&&g.type=="mousedown"&&b.getParent(g.target,function(h){return h.id===f.id||h.id===f.id+"_open"})){return}if(!g||!b.getParent(g.target,".mceMenu")){f.setState("Selected",0);a.remove(b.doc,"mousedown",f.hideMenu,f);if(f.menu){f.menu.hideMenu()}}f.isMenuVisible=0},postRender:function(){var e=this,f=e.settings;a.add(e.id,"click",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("tinymce.ui.SplitButton:tinymce.ui.MenuButton",{SplitButton:function(g,f,e){this.parent(g,f,e);this.classPrefix="mceSplitButton"},renderHTML:function(){var i,f=this,g=f.settings,e;i="<tbody><tr>";if(g.image){e=b.createHTML("img ",{src:g.image,role:"presentation","class":"mceAction "+g["class"]})}else{e=b.createHTML("span",{"class":"mceAction "+g["class"]},"")}e+=b.createHTML("span",{"class":"mceVoiceLabel mceIconOnly",id:f.id+"_voice",style:"display:none;"},g.title);i+="<td >"+b.createHTML("a",{role:"button",id:f.id+"_action",tabindex:"-1",href:"javascript:;","class":"mceAction "+g["class"],onclick:"return false;",onmousedown:"return false;",title:g.title},e)+"</td>";e=b.createHTML("span",{"class":"mceOpen "+g["class"]},'<span style="display:none;" class="mceIconOnly" aria-hidden="true">\u25BC</span>');i+="<td >"+b.createHTML("a",{role:"button",id:f.id+"_open",tabindex:"-1",href:"javascript:;","class":"mceOpen "+g["class"],onclick:"return false;",onmousedown:"return false;",title:g.title},e)+"</td>";i+="</tr></tbody>";i=b.createHTML("table",{role:"presentation","class":"mceSplitButton mceSplitButtonEnabled "+g["class"],cellpadding:"0",cellspacing:"0",title:g.title},i);return b.createHTML("div",{id:f.id,role:"button",tabindex:"0","aria-labelledby":f.id+"_voice","aria-haspopup":"true"},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+"_action","click",f);a.add(e.id,["click","keydown"],function(h){var k=32,m=14,i=13,j=38,l=40;if((h.keyCode===32||h.keyCode===13||h.keyCode===14)&&!h.altKey&&!h.ctrlKey&&!h.metaKey){f();a.cancel(h)}else{if(h.type==="click"||h.keyCode===l){e.showMenu();a.cancel(h)}}})}a.add(e.id+"_open","click",function(h){e.showMenu();a.cancel(h)});a.add([e.id,e.id+"_open"],"focus",function(){e._focused=1});a.add([e.id,e.id+"_open"],"blur",function(){e._focused=0});if(c.isIE6||!b.boxModel){a.add(e.id,"mouseover",function(){if(!b.hasClass(e.id,"mceSplitButtonDisabled")){b.addClass(e.id,"mceSplitButtonHover")}});a.add(e.id,"mouseout",function(){if(!b.hasClass(e.id,"mceSplitButtonDisabled")){b.removeClass(e.id,"mceSplitButtonHover")}})}},destroy:function(){this.parent();a.clear(this.id+"_action");a.clear(this.id+"_open");a.clear(this.id)}})})(tinymce);(function(d){var c=d.DOM,a=d.dom.Event,b=d.is,e=d.each;d.create("tinymce.ui.ColorSplitButton:tinymce.ui.SplitButton",{ColorSplitButton:function(i,h,f){var g=this;g.parent(i,h,f);g.settings=h=d.extend({colors:"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",grid_width:8,default_color:"#888888"},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.isMenuRendered=true}if(f.isMenuVisible){return f.hideMenu()}i=c.get(f.id);c.show(f.id+"_menu");c.addClass(i,"mceSplitButtonSelected");h=c.getPos(i);c.setStyles(f.id+"_menu",{left:h.x,top:h.y+i.clientHeight,zIndex:200000});i=0;a.add(c.doc,"mousedown",f.hideMenu,f);f.onShowMenu.dispatch(f);if(f._focused){f._keyHandler=a.add(f.id+"_menu","keydown",function(k){if(k.keyCode==27){f.hideMenu()}});c.select("a",f.id+"_menu")[0].focus()}f.isMenuVisible=1},hideMenu:function(g){var f=this;if(f.isMenuVisible){if(g&&g.type=="mousedown"&&c.getParent(g.target,function(h){return h.id===f.id+"_open"})){return}if(!g||!c.getParent(g.target,".mceSplitButtonMenu")){c.removeClass(f.id,"mceSplitButtonSelected");a.remove(c.doc,"mousedown",f.hideMenu,f);a.remove(f.id+"_menu","keydown",f._keyHandler);c.hide(f.id+"_menu")}f.isMenuVisible=0;f.onHideMenu.dispatch()}},renderMenu:function(){var p=this,h,k=0,q=p.settings,g,j,l,o,f;o=c.add(q.menu_container,"div",{role:"listbox",id:p.id+"_menu","class":q.menu_class+" "+q["class"],style:"position:absolute;left:0;top:-1000px;"});h=c.add(o,"div",{"class":q["class"]+" mceSplitButtonMenu"});c.add(h,"span",{"class":"mceMenuLine"});g=c.add(h,"table",{role:"presentation","class":"mceColorSplitMenu"});j=c.add(g,"tbody");k=0;e(b(q.colors,"array")?q.colors:q.colors.split(","),function(m){m=m.replace(/^#/,"");if(!k--){l=c.add(j,"tr");k=q.grid_width-1}g=c.add(l,"td");var i={href:"javascript:;",style:{backgroundColor:"#"+m},title:p.editor.getLang("colors."+m,m),"data-mce-color":"#"+m};if(!d.isIE){i.role="option"}g=c.add(g,"a",i);if(p.editor.forcedHighContrastMode){g=c.add(g,"canvas",{width:16,height:16,"aria-hidden":"true"});if(g.getContext&&(f=g.getContext("2d"))){f.fillStyle="#"+m;f.fillRect(0,0,16,16)}else{c.remove(g)}}});if(q.more_colors_func){g=c.add(j,"tr");g=c.add(g,"td",{colspan:q.grid_width,"class":"mceMoreColors"});g=c.add(g,"a",{role:"option",id:p.id+"_more",href:"javascript:;",onclick:"return false;","class":"mceMoreColors"},q.more_colors_title);a.add(g,"click",function(i){q.more_colors_func.call(q.more_colors_scope||this);return a.cancel(i)})}c.addClass(h,"mceColorSplitMenu");new d.ui.KeyboardNavigation({root:p.id+"_menu",items:c.select("a",p.id+"_menu"),onCancel:function(){p.hideMenu();p.focus()}});a.add(p.id+"_menu","mousedown",function(i){return a.cancel(i)});a.add(p.id+"_menu","click",function(i){var m;i=c.getParent(i.target,"a",j);if(i&&i.nodeName.toLowerCase()=="a"&&(m=i.getAttribute("data-mce-color"))){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+"_preview","backgroundColor",g);f.value=g},postRender:function(){var f=this,g=f.id;f.parent();c.add(g+"_action","div",{id:g+"_preview","class":"mceColorPreview"});c.setStyle(f.id+"_preview","backgroundColor",f.value)},destroy:function(){this.parent();a.clear(this.id+"_menu");a.clear(this.id+"_more");c.remove(this.id+"_menu")}})})(tinymce);(function(b){var d=b.DOM,c=b.each,a=b.dom.Event;b.create("tinymce.ui.ToolbarGroup:tinymce.ui.Container",{renderHTML:function(){var f=this,i=[],e=f.controls,j=b.each,g=f.settings;i.push('<div id="'+f.id+'" role="group" aria-labelledby="'+f.id+'_voice">');i.push("<span role='application'>");i.push('<span id="'+f.id+'_voice" class="mceVoiceLabel" style="display:none;">'+d.encode(g.name)+"</span>");j(e,function(h){i.push(h.renderHTML())});i.push("</span>");i.push("</div>");return i.join("")},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+"_ifr").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("tinymce.ui.Toolbar:tinymce.ui.Container",{renderHTML:function(){var m=this,f="",j,k,n=m.settings,e,d,g,l;l=m.controls;for(e=0;e<l.length;e++){k=l[e];d=l[e-1];g=l[e+1];if(e===0){j="mceToolbarStart";if(k.Button){j+=" mceToolbarStartButton"}else{if(k.SplitButton){j+=" mceToolbarStartSplitButton"}else{if(k.ListBox){j+=" mceToolbarStartListBox"}}}f+=c.createHTML("td",{"class":j},c.createHTML("span",null,"<!-- IE -->"))}if(d&&k.ListBox){if(d.Button||d.SplitButton){f+=c.createHTML("td",{"class":"mceToolbarEnd"},c.createHTML("span",null,"<!-- IE -->"))}}if(c.stdMode){f+='<td style="position: relative">'+k.renderHTML()+"</td>"}else{f+="<td>"+k.renderHTML()+"</td>"}if(g&&k.ListBox){if(g.Button||g.SplitButton){f+=c.createHTML("td",{"class":"mceToolbarStart"},c.createHTML("span",null,"<!-- IE -->"))}}}j="mceToolbarEnd";if(k.Button){j+=" mceToolbarEndButton"}else{if(k.SplitButton){j+=" mceToolbarEndSplitButton"}else{if(k.ListBox){j+=" mceToolbarEndListBox"}}}f+=c.createHTML("td",{"class":j},c.createHTML("span",null,"<!-- IE -->"));return c.createHTML("table",{id:m.id,"class":"mceToolbar"+(n["class"]?" "+n["class"]:""),cellpadding:"0",cellspacing:"0",align:m.settings.align||"",role:"presentation",tabindex:"-1"},"<tbody><tr>"+f+"</tr></tbody>")}})})(tinymce);(function(b){var a=b.util.Dispatcher,c=b.each;b.create("tinymce.AddOnManager",{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&&d.language&&d.language_load!==false){b.ScriptLoader.add(this.urls[e]+"/langs/"+d.language+".js")}},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==="object"){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+"/"+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==="object"){e=f.prefix+f.resource+f.suffix}if(e.indexOf("/")!=0&&e.indexOf("://")==-1){e=b.baseURL+"/"+e}g.urls[j]=e.substring(0,e.lastIndexOf("/"));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(/[\?#].*$/,"").replace(/[\/\\][^\/]+$/,"");if(!/[\/\\]$/.test(j.documentBaseURL)){j.documentBaseURL+="/"}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,"beforeunload",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(v){var u=this,o,n=j.ScriptLoader,r,l=[],q;function p(t){var s=t.id;if(!s){s=t.name;if(s&&!k.get(s)){s=t.name}else{s=k.uniqueId()}t.setAttribute("id",s)}return s}function m(y,z,t){var x=y[z];if(!x){return}if(j.is(x,"string")){t=x.replace(/\.\w+$/,"");t=t?j.resolve(t):0;x=j.resolve(x)}return x.apply(t||this,Array.prototype.slice.call(arguments,2))}v=d({theme:"simple",language:"en"},v);u.settings=v;i.bind(window,"ready",function(){var s,x;m(v,"onpageload");switch(v.mode){case"exact":s=v.elements||"";if(s.length>0){g(e(s),function(y){if(k.get(y)){q=new j.Editor(y,v);l.push(q);q.render(1)}else{g(document.forms,function(z){g(z.elements,function(A){if(A.name===y){y="mce_editor_"+c++;k.setAttrib(A,"id",y);q=new j.Editor(y,v);l.push(q);q.render(1)}})})}})}break;case"textareas":case"specific_textareas":function t(z,y){return y.constructor===RegExp?y.test(z.className):k.hasClass(z,y)}g(k.select("textarea"),function(y){if(v.editor_deselector&&t(y,v.editor_deselector)){return}if(!v.editor_selector||t(y,v.editor_selector)){q=new j.Editor(p(y),v);l.push(q);q.render(1)}});break;default:if(v.types){g(v.types,function(y){g(k.select(y.selector),function(A){var z=new j.Editor(p(A),j.extend({},v,y));l.push(z);z.render(1)})})}else{if(v.selector){g(k.select(v.selector),function(z){var y=new j.Editor(p(z),v);l.push(y);y.render(1)})}}}if(v.oninit){s=x=0;g(l,function(y){x++;if(!y.initialized){y.onInit.add(function(){s++;if(s==x){m(v,"oninit")}})}else{s++}if(s==x){m(v,"oninit")}})}})},get:function(l){if(l===a){return this.editors}return this.editors[l]},getInstanceById: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<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;switch(r){case"mceFocus":n.focus();return true;case"mceAddEditor":case"mceAddControl":if(!q.get(o)){new j.Editor(o,q.settings).render()}return true;case"mceAddFrameControl":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){function m(){n.destroy();l.detachEvent("onunload",m);l=l.tinyMCE=l.tinymce=null}l.attachEvent("onunload",m)}o.page_window=null;return true;case"mceRemoveEditor":case"mceRemoveControl":if(n){n.remove()}return true;case"mceToggleEditor":if(!n){q.execCommand("mceAddControl",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,"string")){g(n,function(r,p){g(r,function(t,s){g(t,function(v,u){if(s==="common"){m[p+"."+u]=v}else{m[p+"."+s+"."+u]=v}})})})}else{g(q,function(r,p){m[n+"."+p]=r})}},_setActive:function(l){this.selectedInstance=this.activeEditor=l}})})(tinymce);(function(n){var o=n.DOM,k=n.dom.Event,f=n.extend,l=n.util.Dispatcher,i=n.each,a=n.isGecko,b=n.isIE,e=n.isWebKit,d=n.is,h=n.ThemeManager,c=n.PluginManager,p=n.inArray,m=n.grep,g=n.explode,j=n.VK;n.create("tinymce.Editor",{Editor:function(u,r){var q=this;q.id=q.editorId=u;q.execCommands={};q.queryStateCommands={};q.queryValueCommands={};q.isNotDirty=false;q.plugins={};i(["onPreInit","onBeforeRenderUI","onPostRender","onLoad","onInit","onRemove","onActivate","onDeactivate","onClick","onEvent","onMouseUp","onMouseDown","onDblClick","onKeyDown","onKeyUp","onKeyPress","onContextMenu","onSubmit","onReset","onPaste","onPreProcess","onPostProcess","onBeforeSetContent","onBeforeGetContent","onSetContent","onGetContent","onLoadContent","onSaveContent","onNodeChange","onChange","onBeforeExecCommand","onExecCommand","onUndo","onRedo","onVisualAid","onSetProgressState","onSetAttrib"],function(s){q[s]=new l(q)});q.settings=r=f({id:u,language:"en",docs_language:"en",theme:"simple",skin:"default",delta_width:0,delta_height:0,popup_css:"",plugins:"",document_base_url:n.documentBaseURL,add_form_submit_trigger:1,submit_patch:1,add_unload_trigger:1,convert_urls:1,relative_urls:1,remove_script_host:1,table_inline_editing:0,object_resizing:1,cleanup:1,accessibility_focus:1,custom_shortcuts:1,custom_undo_redo_keyboard_shortcuts:1,custom_undo_redo_restore_selection:1,custom_undo_redo:1,doctype:n.isIE6?'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">':"<!DOCTYPE>",visual_table_class:"mceItemTable",visual:1,font_size_style_values:"xx-small,x-small,small,medium,large,x-large,xx-large",font_size_legacy_values:"xx-small,small,medium,large,x-large,xx-large,300%",apply_source_formatting:1,directionality:"ltr",forced_root_block:"p",hidden_input:1,padd_empty_editor:1,render_ui:1,init_theme:1,force_p_newlines:1,indentation:"30px",keep_styles:1,fix_table_elements:1,inline_styles:1,convert_fonts_to_spans:true,indent:"simple",indent_before:"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",indent_after:"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",validate:true,entity_encoding:"named",url_converter:q.convertURL,url_converter_scope:q,ie7_compat:true},r);q.documentBaseURI=new n.util.URI(r.document_base_url||n.documentBaseURL,{base_uri:tinyMCE.baseURI});q.baseURI=n.baseURI;q.contentCSS=[];q.execCallback("setup",q)},render:function(u){var v=this,x=v.settings,y=v.id,q=n.ScriptLoader;if(!k.domLoaded){k.add(window,"ready",function(){v.render()});return}tinyMCE.settings=x;if(!v.getElement()){return}if(n.isIDevice&&!n.isIOS5){return}if(!/TEXTAREA|INPUT/i.test(v.getElement().nodeName)&&x.hidden_input&&o.getParent(y,"form")){o.insertAfter(o.create("input",{type:"hidden",name:y}),y)}if(n.WindowManager){v.windowManager=new n.WindowManager(v)}if(x.encoding=="xml"){v.onGetContent.add(function(s,t){if(t.save){t.content=o.encode(t.content)}})}if(x.add_form_submit_trigger){v.onSubmit.addToTop(function(){if(v.initialized){v.save();v.isNotDirty=1}})}if(x.add_unload_trigger){v._beforeUnload=tinyMCE.onBeforeUnload.add(function(){if(v.initialized&&!v.destroyed&&!v.isHidden()){v.save({format:"raw",no_events:true})}})}n.addUnload(v.destroy,v);if(x.submit_patch){v.onBeforeRenderUI.add(function(){var s=v.getElement().form;if(!s){return}if(s._mceOldSubmit){return}if(!s.submit.nodeType&&!s.submit.length){v.formElement=s;s._mceOldSubmit=s.submit;s.submit=function(){n.triggerSave();v.isNotDirty=1;return v.formElement._mceOldSubmit(v.formElement)}}s=null})}function r(){if(x.language&&x.language_load!==false){q.add(n.baseURL+"/langs/"+x.language+".js")}if(x.theme&&x.theme.charAt(0)!="-"&&!h.urls[x.theme]){h.load(x.theme,"themes/"+x.theme+"/editor_template"+n.suffix+".js")}i(g(x.plugins),function(t){if(t&&!c.urls[t]){if(t.charAt(0)=="-"){t=t.substr(1,t.length);var s=c.dependencies(t);i(s,function(A){var z={prefix:"plugins/",resource:A,suffix:"/editor_plugin"+n.suffix+".js"};var A=c.createUrl(z,A);c.load(A.resource,A)})}else{if(t=="safari"){return}c.load(t,{prefix:"plugins/",resource:t,suffix:"/editor_plugin"+n.suffix+".js"})}}});q.loadQueue(function(){if(!v.removed){v.init()}})}r()},init:function(){var v,I=this,J=I.settings,F,B,E=I.getElement(),r,q,G,z,D,H,A,x=[];n.add(I);J.aria_label=J.aria_label||o.getAttrib(E,"aria-label",I.getLang("aria.rich_text_area"));if(J.theme){J.theme=J.theme.replace(/-/,"");r=h.get(J.theme);I.theme=new r();if(I.theme.init&&J.init_theme){I.theme.init(I,h.urls[J.theme]||n.documentBaseURL.replace(/\/$/,""))}}function C(K){var L=c.get(K),t=c.urls[K]||n.documentBaseURL.replace(/\/$/,""),s;if(L&&n.inArray(x,K)===-1){i(c.dependencies(K),function(u){C(u)});s=new L(I,t);I.plugins[K]=s;if(s.init){s.init(I,t);x.push(K)}}}i(g(J.plugins.replace(/\-/g,"")),C);if(J.popup_css!==false){if(J.popup_css){J.popup_css=I.documentBaseURI.toAbsolute(J.popup_css)}else{J.popup_css=I.baseURI.toAbsolute("themes/"+J.theme+"/skins/"+J.skin+"/dialog.css")}}if(J.popup_css_add){J.popup_css+=","+I.documentBaseURI.toAbsolute(J.popup_css_add)}I.controlManager=new n.ControlManager(I);if(J.custom_undo_redo){I.onBeforeExecCommand.add(function(t,K,u,L,s){if(K!="Undo"&&K!="Redo"&&K!="mceRepaint"&&(!s||!s.skip_undo)){I.undoManager.beforeChange()}});I.onExecCommand.add(function(t,K,u,L,s){if(K!="Undo"&&K!="Redo"&&K!="mceRepaint"&&(!s||!s.skip_undo)){I.undoManager.add()}})}I.onExecCommand.add(function(s,t){if(!/^(FontName|FontSize)$/.test(t)){I.nodeChanged()}});if(a){function y(s,t){if(!t||!t.initial){I.execCommand("mceRepaint")}}I.onUndo.add(y);I.onRedo.add(y);I.onSetContent.add(y)}I.onBeforeRenderUI.dispatch(I,I.controlManager);if(J.render_ui){F=J.width||E.style.width||E.offsetWidth;B=J.height||E.style.height||E.offsetHeight;I.orgDisplay=E.style.display;H=/^[0-9\.]+(|px)$/i;if(H.test(""+F)){F=Math.max(parseInt(F)+(r.deltaWidth||0),100)}if(H.test(""+B)){B=Math.max(parseInt(B)+(r.deltaHeight||0),100)}r=I.theme.renderUI({targetNode:E,width:F,height:B,deltaWidth:J.delta_width,deltaHeight:J.delta_height});I.editorContainer=r.editorContainer}if(document.domain&&location.hostname!=document.domain){n.relaxedDomain=document.domain}o.setStyles(r.sizeContainer||r.editorContainer,{width:F,height:B});if(J.content_css){n.each(g(J.content_css),function(s){I.contentCSS.push(I.documentBaseURI.toAbsolute(s))})}B=(r.iframeHeight||B)+(typeof(B)=="number"?(r.deltaHeight||0):"");if(B<100){B=100}I.iframeHTML=J.doctype+'<html><head xmlns="http://www.w3.org/1999/xhtml">';if(J.document_base_url!=n.documentBaseURL){I.iframeHTML+='<base href="'+I.documentBaseURI.getURI()+'" />'}if(J.ie7_compat){I.iframeHTML+='<meta http-equiv="X-UA-Compatible" content="IE=7" />'}else{I.iframeHTML+='<meta http-equiv="X-UA-Compatible" content="IE=edge" />'}I.iframeHTML+='<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />';for(A=0;A<I.contentCSS.length;A++){I.iframeHTML+='<link type="text/css" rel="stylesheet" href="'+I.contentCSS[A]+'" />'}I.contentCSS=[];z=J.body_id||"tinymce";if(z.indexOf("=")!=-1){z=I.getParam("body_id","","hash");z=z[I.id]||z}D=J.body_class||"";if(D.indexOf("=")!=-1){D=I.getParam("body_class","","hash");D=D[I.id]||""}I.iframeHTML+='</head><body id="'+z+'" class="mceContentBody '+D+'" onload="window.parent.tinyMCE.get(\''+I.id+"').onLoad.dispatch();\"><br></body></html>";if(n.relaxedDomain&&(b||(n.isOpera&&parseFloat(opera.version())<11))){G='javascript:(function(){document.open();document.domain="'+document.domain+'";var ed = window.parent.tinyMCE.get("'+I.id+'");document.write(ed.iframeHTML);document.close();ed.setupIframe();})()'}v=o.add(r.iframeContainer,"iframe",{id:I.id+"_ifr",src:G||'javascript:""',frameBorder:"0",allowTransparency:"true",title:J.aria_label,style:{width:"100%",height:B,display:"block"}});I.contentAreaContainer=r.iframeContainer;o.get(r.editorContainer).style.display=I.orgDisplay;o.get(I.id).style.display="none";o.setAttrib(I.id,"aria-hidden",true);if(!n.relaxedDomain||!G){I.setupIframe()}E=v=r=null},setupIframe:function(){var r=this,x=r.settings,y=o.get(r.id),z=r.getDoc(),v,q;if(!b||!n.relaxedDomain){z.open();z.write(r.iframeHTML);z.close();if(n.relaxedDomain){z.domain=n.relaxedDomain}}q=r.getBody();q.disabled=true;if(!x.readonly){q.contentEditable=true}q.disabled=false;r.schema=new n.html.Schema(x);r.dom=new n.dom.DOMUtils(r.getDoc(),{keep_values:true,url_converter:r.convertURL,url_converter_scope:r,hex_colors:x.force_hex_style_colors,class_filter:x.class_filter,update_styles:1,fix_ie_paragraphs:1,schema:r.schema});r.parser=new n.html.DomParser(x,r.schema);if(!r.settings.allow_html_in_named_anchor){r.parser.addAttributeFilter("name",function(s,t){var B=s.length,D,A,C,E;while(B--){E=s[B];if(E.name==="a"&&E.firstChild){C=E.parent;D=E.lastChild;do{A=D.prev;C.insert(D,E);D=A}while(D)}}})}r.parser.addAttributeFilter("src,href,style",function(s,t){var A=s.length,C,E=r.dom,D,B;while(A--){C=s[A];D=C.attr(t);B="data-mce-"+t;if(!C.attributes.map[B]){if(t==="style"){C.attr(B,E.serializeStyle(E.parseStyle(D),C.name))}else{C.attr(B,r.convertURL(D,t,C.name))}}}});r.parser.addNodeFilter("script",function(s,t){var A=s.length,B;while(A--){B=s[A];B.attr("type","mce-"+(B.attr("type")||"text/javascript"))}});r.parser.addNodeFilter("#cdata",function(s,t){var A=s.length,B;while(A--){B=s[A];B.type=8;B.name="#comment";B.value="[CDATA["+B.value+"]]"}});r.parser.addNodeFilter("p,h1,h2,h3,h4,h5,h6,div",function(t,A){var B=t.length,C,s=r.schema.getNonEmptyElements();while(B--){C=t[B];if(C.isEmpty(s)){C.empty().append(new n.html.Node("br",1)).shortEnded=true}}});r.serializer=new n.dom.Serializer(x,r.dom,r.schema);r.selection=new n.dom.Selection(r.dom,r.getWin(),r.serializer);r.formatter=new n.Formatter(this);r.formatter.register({alignleft:[{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li",styles:{textAlign:"left"},defaultBlock:"div"},{selector:"img,table",collapsed:false,styles:{"float":"left"}}],aligncenter:[{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li",styles:{textAlign:"center"},defaultBlock:"div"},{selector:"img",collapsed:false,styles:{display:"block",marginLeft:"auto",marginRight:"auto"}},{selector:"table",collapsed:false,styles:{marginLeft:"auto",marginRight:"auto"}}],alignright:[{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li",styles:{textAlign:"right"},defaultBlock:"div"},{selector:"img,table",collapsed:false,styles:{"float":"right"}}],alignfull:[{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li",styles:{textAlign:"justify"},defaultBlock:"div"}],bold:[{inline:"strong",remove:"all"},{inline:"span",styles:{fontWeight:"bold"}},{inline:"b",remove:"all"}],italic:[{inline:"em",remove:"all"},{inline:"span",styles:{fontStyle:"italic"}},{inline:"i",remove:"all"}],underline:[{inline:"span",styles:{textDecoration:"underline"},exact:true},{inline:"u",remove:"all"}],strikethrough:[{inline:"span",styles:{textDecoration:"line-through"},exact:true},{inline:"strike",remove:"all"}],forecolor:{inline:"span",styles:{color:"%value"},wrap_links:false},hilitecolor:{inline:"span",styles:{backgroundColor:"%value"},wrap_links:false},fontname:{inline:"span",styles:{fontFamily:"%value"}},fontsize:{inline:"span",styles:{fontSize:"%value"}},fontsize_class:{inline:"span",attributes:{"class":"%value"}},blockquote:{block:"blockquote",wrapper:1,remove:"all"},subscript:{inline:"sub"},superscript:{inline:"sup"},link:{inline:"a",selector:"a",remove:"all",split:true,deep:true,onmatch:function(s){return true},onformat:function(A,s,t){i(t,function(C,B){r.dom.setAttrib(A,B,C)})}},removeformat:[{selector:"b,strong,em,i,font,u,strike",remove:"all",split:true,expand:false,block_expand:true,deep:true},{selector:"span",attributes:["style","class"],remove:"empty",split:true,expand:false,deep:true},{selector:"*",attributes:["style","class"],split:false,expand:false,deep:true}]});i("p h1 h2 h3 h4 h5 h6 div address pre div code dt dd samp".split(/\s/),function(s){r.formatter.register(s,{block:s,remove:"all"})});r.formatter.register(r.settings.formats);r.undoManager=new n.UndoManager(r);r.undoManager.onAdd.add(function(t,s){if(t.hasUndo()){return r.onChange.dispatch(r,s,t)}});r.undoManager.onUndo.add(function(t,s){return r.onUndo.dispatch(r,s,t)});r.undoManager.onRedo.add(function(t,s){return r.onRedo.dispatch(r,s,t)});r.forceBlocks=new n.ForceBlocks(r);r.enterKey=new n.EnterKey(r);r.editorCommands=new n.EditorCommands(r);r.serializer.onPreProcess.add(function(s,t){return r.onPreProcess.dispatch(r,t,s)});r.serializer.onPostProcess.add(function(s,t){return r.onPostProcess.dispatch(r,t,s)});r.onPreInit.dispatch(r);if(!x.gecko_spellcheck){r.getBody().spellcheck=0}if(!x.readonly){r._addEvents()}r.controlManager.onPostRender.dispatch(r,r.controlManager);r.onPostRender.dispatch(r);r.quirks=new n.util.Quirks(this);if(x.directionality){r.getBody().dir=x.directionality}if(x.nowrap){r.getBody().style.whiteSpace="nowrap"}if(x.handle_node_change_callback){r.onNodeChange.add(function(t,s,A){r.execCallback("handle_node_change_callback",r.id,A,-1,-1,true,r.selection.isCollapsed())})}if(x.save_callback){r.onSaveContent.add(function(s,A){var t=r.execCallback("save_callback",r.id,A.content,r.getBody());if(t){A.content=t}})}if(x.onchange_callback){r.onChange.add(function(t,s){r.execCallback("onchange_callback",r,s)})}if(x.protect){r.onBeforeSetContent.add(function(s,t){if(x.protect){i(x.protect,function(A){t.content=t.content.replace(A,function(B){return"<!--mce:protected "+escape(B)+"-->"})})}})}if(x.convert_newlines_to_brs){r.onBeforeSetContent.add(function(s,t){if(t.initial){t.content=t.content.replace(/\r?\n/g,"<br />")}})}if(x.preformatted){r.onPostProcess.add(function(s,t){t.content=t.content.replace(/^\s*<pre.*?>/,"");t.content=t.content.replace(/<\/pre>\s*$/,"");if(t.set){t.content='<pre class="mceItemHidden">'+t.content+"</pre>"}})}if(x.verify_css_classes){r.serializer.attribValueFilter=function(C,A){var B,t;if(C=="class"){if(!r.classesRE){t=r.dom.getClasses();if(t.length>0){B="";i(t,function(s){B+=(B?"|":"")+s["class"]});r.classesRE=new RegExp("("+B+")","gi")}}return !r.classesRE||/(\bmceItem\w+\b|\bmceTemp\w+\b)/g.test(A)||r.classesRE.test(A)?A:""}return A}}if(x.cleanup_callback){r.onBeforeSetContent.add(function(s,t){t.content=r.execCallback("cleanup_callback","insert_to_editor",t.content,t)});r.onPreProcess.add(function(s,t){if(t.set){r.execCallback("cleanup_callback","insert_to_editor_dom",t.node,t)}if(t.get){r.execCallback("cleanup_callback","get_from_editor_dom",t.node,t)}});r.onPostProcess.add(function(s,t){if(t.set){t.content=r.execCallback("cleanup_callback","insert_to_editor",t.content,t)}if(t.get){t.content=r.execCallback("cleanup_callback","get_from_editor",t.content,t)}})}if(x.save_callback){r.onGetContent.add(function(s,t){if(t.save){t.content=r.execCallback("save_callback",r.id,t.content,r.getBody())}})}if(x.handle_event_callback){r.onEvent.add(function(s,t,A){if(r.execCallback("handle_event_callback",t,s,A)===false){k.cancel(t)}})}r.onSetContent.add(function(){r.addVisual(r.getBody())});if(x.padd_empty_editor){r.onPostProcess.add(function(s,t){t.content=t.content.replace(/^(<p[^>]*>(&nbsp;|&#160;|\s|\u00a0|)<\/p>[\r\n]*|<br \/>[\r\n]*)$/,"")})}if(a){function u(s,t){i(s.dom.select("a"),function(B){var A=B.parentNode;if(s.dom.isBlock(A)&&A.lastChild===B){s.dom.add(A,"br",{"data-mce-bogus":1})}})}r.onExecCommand.add(function(s,t){if(t==="CreateLink"){u(s)}});r.onSetContent.add(r.selection.onSetContent.add(u))}r.load({initial:true,format:"html"});r.startContent=r.getContent({format:"raw"});r.undoManager.add();r.initialized=true;r.onInit.dispatch(r);r.execCallback("setupcontent_callback",r.id,r.getBody(),r.getDoc());r.execCallback("init_instance_callback",r);r.focus(true);r.nodeChanged({initial:1});i(r.contentCSS,function(s){r.dom.loadCSS(s)});if(x.auto_focus){setTimeout(function(){var s=n.get(x.auto_focus);s.selection.select(s.getBody(),1);s.selection.collapse(1);s.getBody().focus();s.getWin().focus()},100)}y=null},focus:function(v){var z,r=this,u=r.selection,y=r.settings.content_editable,s,q,x=r.getDoc();if(!v){s=u.getRng();if(s.item){q=s.item(0)}r._refreshContentEditable();if(!y){r.getWin().focus()}if(n.isGecko){r.getBody().focus()}if(q&&q.ownerDocument==x){s=x.body.createControlRange();s.addElement(q);s.select()}}if(n.activeEditor!=r){if((z=n.activeEditor)!=null){z.onDeactivate.dispatch(z,r)}r.onActivate.dispatch(r,z)}n._setActive(r)},execCallback:function(v){var q=this,u=q.settings[v],r;if(!u){return}if(q.callbackLookup&&(r=q.callbackLookup[v])){u=r.func;r=r.scope}if(d(u,"string")){r=u.replace(/\.\w+$/,"");r=r?n.resolve(r):0;u=n.resolve(u);q.callbackLookup=q.callbackLookup||{};q.callbackLookup[v]={func:u,scope:r}}return u.apply(r||q,Array.prototype.slice.call(arguments,1))},translate:function(q){var t=this.settings.language||"en",r=n.i18n;if(!q){return""}return r[t+"."+q]||q.replace(/{\#([^}]+)\}/g,function(u,s){return r[t+"."+s]||"{#"+s+"}"})},getLang:function(r,q){return n.i18n[(this.settings.language||"en")+"."+r]||(d(q)?q:"{#"+r+"}")},getParam:function(x,s,q){var t=n.trim,r=d(this.settings[x])?this.settings[x]:s,u;if(q==="hash"){u={};if(d(r,"string")){i(r.indexOf("=")>0?r.split(/[;,](?![^=;,]*(?:[;,]|$))/):r.split(","),function(y){y=y.split("=");if(y.length>1){u[t(y[0])]=t(y[1])}else{u[t(y[0])]=t(y)}})}else{u=r}return u}return r},nodeChanged:function(u){var q=this,r=q.selection,v=r.getStart()||q.getBody();if(q.initialized){u=u||{};v=b&&v.ownerDocument!=q.getDoc()?q.getBody():v;u.parents=[];q.dom.getParent(v,function(s){if(s.nodeName=="BODY"){return true}u.parents.push(s)});q.onNodeChange.dispatch(q,u?u.controlManager||q.controlManager:q.controlManager,v,r.isCollapsed(),u)}},addButton:function(u,r){var q=this;q.buttons=q.buttons||{};q.buttons[u]=r},addCommand:function(q,s,r){this.execCommands[q]={func:s,scope:r||this}},addQueryStateHandler:function(q,s,r){this.queryStateCommands[q]={func:s,scope:r||this}},addQueryValueHandler:function(q,s,r){this.queryValueCommands[q]={func:s,scope:r||this}},addShortcut:function(s,v,q,u){var r=this,x;if(!r.settings.custom_shortcuts){return false}r.shortcuts=r.shortcuts||{};if(d(q,"string")){x=q;q=function(){r.execCommand(x,false,null)}}if(d(q,"object")){x=q;q=function(){r.execCommand(x[0],x[1],x[2])}}i(g(s),function(t){var y={func:q,scope:u||this,desc:v,alt:false,ctrl:false,shift:false};i(g(t,"+"),function(z){switch(z){case"alt":case"ctrl":case"shift":y[z]=true;break;default:y.charCode=z.charCodeAt(0);y.keyCode=z.toUpperCase().charCodeAt(0)}});r.shortcuts[(y.ctrl?"ctrl":"")+","+(y.alt?"alt":"")+","+(y.shift?"shift":"")+","+y.keyCode]=y});return true},execCommand:function(y,x,A,q){var u=this,v=0,z,r;if(!/^(mceAddUndoLevel|mceEndUndoLevel|mceBeginUndoLevel|mceRepaint|SelectAll)$/.test(y)&&(!q||!q.skip_focus)){u.focus()}q=f({},q);u.onBeforeExecCommand.dispatch(u,y,x,A,q);if(q.terminate){return false}if(u.execCallback("execcommand_callback",u.id,u.selection.getNode(),y,x,A)){u.onExecCommand.dispatch(u,y,x,A,q);return true}if(z=u.execCommands[y]){r=z.func.call(z.scope,x,A);if(r!==true){u.onExecCommand.dispatch(u,y,x,A,q);return r}}i(u.plugins,function(s){if(s.execCommand&&s.execCommand(y,x,A)){u.onExecCommand.dispatch(u,y,x,A,q);v=1;return false}});if(v){return true}if(u.theme&&u.theme.execCommand&&u.theme.execCommand(y,x,A)){u.onExecCommand.dispatch(u,y,x,A,q);return true}if(u.editorCommands.execCommand(y,x,A)){u.onExecCommand.dispatch(u,y,x,A,q);return true}u.getDoc().execCommand(y,x,A);u.onExecCommand.dispatch(u,y,x,A,q)},queryCommandState:function(v){var r=this,x,u;if(r._isHidden()){return}if(x=r.queryStateCommands[v]){u=x.func.call(x.scope);if(u!==true){return u}}x=r.editorCommands.queryCommandState(v);if(x!==-1){return x}try{return this.getDoc().queryCommandState(v)}catch(q){}},queryCommandValue:function(x){var r=this,v,u;if(r._isHidden()){return}if(v=r.queryValueCommands[x]){u=v.func.call(v.scope);if(u!==true){return u}}v=r.editorCommands.queryCommandValue(x);if(d(v)){return v}try{return this.getDoc().queryCommandValue(x)}catch(q){}},show:function(){var q=this;o.show(q.getContainer());o.hide(q.id);q.load()},hide:function(){var q=this,r=q.getDoc();if(b&&r){r.execCommand("SelectAll")}q.save();o.hide(q.getContainer());o.setStyle(q.id,"display",q.orgDisplay)},isHidden:function(){return !o.isHidden(this.id)},setProgressState:function(q,r,s){this.onSetProgressState.dispatch(this,q,r,s);return q},load:function(u){var q=this,s=q.getElement(),r;if(s){u=u||{};u.load=true;r=q.setContent(d(s.value)?s.value:s.innerHTML,u);u.element=s;if(!u.no_events){q.onLoadContent.dispatch(q,u)}u.element=s=null;return r}},save:function(v){var q=this,u=q.getElement(),r,s;if(!u||!q.initialized){return}v=v||{};v.save=true;if(!v.no_events){q.undoManager.typing=false;q.undoManager.add()}v.element=u;r=v.content=q.getContent(v);if(!v.no_events){q.onSaveContent.dispatch(q,v)}r=v.content;if(!/TEXTAREA|INPUT/i.test(u.nodeName)){u.innerHTML=r;if(s=o.getParent(q.id,"form")){i(s.elements,function(t){if(t.name==q.id){t.value=r;return false}})}}else{u.value=r}v.element=u=null;return r},setContent:function(v,t){var s=this,r,q=s.getBody(),u;t=t||{};t.format=t.format||"html";t.set=true;t.content=v;if(!t.no_events){s.onBeforeSetContent.dispatch(s,t)}v=t.content;if(!n.isIE&&(v.length===0||/^\s+$/.test(v))){u=s.settings.forced_root_block;if(u){v="<"+u+'><br data-mce-bogus="1"></'+u+">"}else{v='<br data-mce-bogus="1">'}q.innerHTML=v;s.selection.select(q,true);s.selection.collapse(true);return}if(t.format!=="raw"){v=new n.html.Serializer({},s.schema).serialize(s.parser.parse(v))}t.content=n.trim(v);s.dom.setHTML(q,t.content);if(!t.no_events){s.onSetContent.dispatch(s,t)}s.selection.normalize();return t.content},getContent:function(r){var q=this,s;r=r||{};r.format=r.format||"html";r.get=true;if(!r.no_events){q.onBeforeGetContent.dispatch(q,r)}if(r.format=="raw"){s=q.getBody().innerHTML}else{s=q.serializer.serialize(q.getBody(),r)}r.content=n.trim(s);if(!r.no_events){q.onGetContent.dispatch(q,r)}return r.content},isDirty:function(){var q=this;return n.trim(q.startContent)!=n.trim(q.getContent({format:"raw",no_events:1}))&&!q.isNotDirty},getContainer:function(){var q=this;if(!q.container){q.container=o.get(q.editorContainer||q.id+"_parent")}return q.container},getContentAreaContainer:function(){return this.contentAreaContainer},getElement:function(){return o.get(this.settings.content_element||this.id)},getWin:function(){var q=this,r;if(!q.contentWindow){r=o.get(q.id+"_ifr");if(r){q.contentWindow=r.contentWindow}}return q.contentWindow},getDoc:function(){var r=this,q;if(!r.contentDocument){q=r.getWin();if(q){r.contentDocument=q.document}}return r.contentDocument},getBody:function(){return this.bodyElement||this.getDoc().body},convertURL:function(q,y,x){var r=this,v=r.settings;if(v.urlconverter_callback){return r.execCallback("urlconverter_callback",q,x,true,y)}if(!v.convert_urls||(x&&x.nodeName=="LINK")||q.indexOf("file:")===0){return q}if(v.relative_urls){return r.documentBaseURI.toRelative(q)}q=r.documentBaseURI.toAbsolute(q,v.remove_script_host);return q},addVisual:function(u){var q=this,r=q.settings;u=u||q.getBody();if(!d(q.hasVisual)){q.hasVisual=r.visual}i(q.dom.select("table,a",u),function(t){var s;switch(t.nodeName){case"TABLE":s=q.dom.getAttrib(t,"border");if(!s||s=="0"){if(q.hasVisual){q.dom.addClass(t,r.visual_table_class)}else{q.dom.removeClass(t,r.visual_table_class)}}return;case"A":s=q.dom.getAttrib(t,"name");if(s){if(q.hasVisual){q.dom.addClass(t,"mceItemAnchor")}else{q.dom.removeClass(t,"mceItemAnchor")}}return}});q.onVisualAid.dispatch(q,u,q.hasVisual)},remove:function(){var q=this,r=q.getContainer();if(!q.removed){q.removed=1;q.hide();if(!q.settings.content_editable){k.clear(q.getWin());k.clear(q.getDoc())}k.clear(q.getBody());k.clear(q.formElement);k.unbind(r);q.execCallback("remove_instance_callback",q);q.onRemove.dispatch(q);q.onExecCommand.listeners=[];n.remove(q);o.remove(r)}},destroy:function(r){var q=this;if(q.destroyed){return}if(a){k.unbind(q.getDoc());k.unbind(q.getWin());k.unbind(q.getBody())}if(!r){n.removeUnload(q.destroy);tinyMCE.onBeforeUnload.remove(q._beforeUnload);if(q.theme&&q.theme.destroy){q.theme.destroy()}q.controlManager.destroy();q.selection.destroy();q.dom.destroy()}if(q.formElement){q.formElement.submit=q.formElement._mceOldSubmit;q.formElement._mceOldSubmit=null}q.contentAreaContainer=q.formElement=q.container=q.settings.content_element=q.bodyElement=q.contentDocument=q.contentWindow=null;if(q.selection){q.selection=q.selection.win=q.selection.dom=q.selection.dom.doc=null}q.destroyed=1},_addEvents:function(){var B=this,u,C=B.settings,r=B.dom,y={mouseup:"onMouseUp",mousedown:"onMouseDown",click:"onClick",keyup:"onKeyUp",keydown:"onKeyDown",keypress:"onKeyPress",submit:"onSubmit",reset:"onReset",contextmenu:"onContextMenu",dblclick:"onDblClick",paste:"onPaste"};function q(t,D){var s=t.type;if(B.removed){return}if(B.onEvent.dispatch(B,t,D)!==false){B[y[t.fakeType||t.type]].dispatch(B,t,D)}}i(y,function(t,s){switch(s){case"contextmenu":r.bind(B.getDoc(),s,q);break;case"paste":r.bind(B.getBody(),s,function(D){q(D)});break;case"submit":case"reset":r.bind(B.getElement().form||o.getParent(B.id,"form"),s,q);break;default:r.bind(C.content_editable?B.getBody():B.getDoc(),s,q)}});r.bind(C.content_editable?B.getBody():(a?B.getDoc():B.getWin()),"focus",function(s){B.focus(true)});if(n.isGecko){r.bind(B.getDoc(),"DOMNodeInserted",function(t){var s;t=t.target;if(t.nodeType===1&&t.nodeName==="IMG"&&(s=t.getAttribute("data-mce-src"))){t.src=B.documentBaseURI.toAbsolute(s)}})}if(a){function v(){var E=this,G=E.getDoc(),F=E.settings;if(a&&!F.readonly){E._refreshContentEditable();try{G.execCommand("styleWithCSS",0,false)}catch(D){if(!E._isHidden()){try{G.execCommand("useCSS",0,true)}catch(D){}}}if(!F.table_inline_editing){try{G.execCommand("enableInlineTableEditing",false,false)}catch(D){}}if(!F.object_resizing){try{G.execCommand("enableObjectResizing",false,false)}catch(D){}}}}B.onBeforeExecCommand.add(v);B.onMouseDown.add(v)}B.onMouseUp.add(B.nodeChanged);B.onKeyUp.add(function(s,t){var D=t.keyCode;if((D>=33&&D<=36)||(D>=37&&D<=40)||D==13||D==45||D==46||D==8||(n.isMac&&(D==91||D==93))||t.ctrlKey){B.nodeChanged()}});B.onKeyDown.add(function(t,D){if(D.keyCode!=j.BACKSPACE){return}var s=t.selection.getRng();if(!s.collapsed){return}var F=s.startContainer;var E=s.startOffset;while(F&&F.nodeType&&F.nodeType!=1&&F.parentNode){F=F.parentNode}if(F&&F.parentNode&&F.parentNode.tagName==="BLOCKQUOTE"&&F.parentNode.firstChild==F&&E==0){t.formatter.toggle("blockquote",null,F.parentNode);s.setStart(F,0);s.setEnd(F,0);t.selection.setRng(s);t.selection.collapse(false)}});B.onReset.add(function(){B.setContent(B.startContent,{format:"raw"})});if(C.custom_shortcuts){if(C.custom_undo_redo_keyboard_shortcuts){B.addShortcut("ctrl+z",B.getLang("undo_desc"),"Undo");B.addShortcut("ctrl+y",B.getLang("redo_desc"),"Redo")}B.addShortcut("ctrl+b",B.getLang("bold_desc"),"Bold");B.addShortcut("ctrl+i",B.getLang("italic_desc"),"Italic");B.addShortcut("ctrl+u",B.getLang("underline_desc"),"Underline");for(u=1;u<=6;u++){B.addShortcut("ctrl+"+u,"",["FormatBlock",false,"h"+u])}B.addShortcut("ctrl+7","",["FormatBlock",false,"p"]);B.addShortcut("ctrl+8","",["FormatBlock",false,"div"]);B.addShortcut("ctrl+9","",["FormatBlock",false,"address"]);function x(t){var s=null;if(!t.altKey&&!t.ctrlKey&&!t.metaKey){return s}i(B.shortcuts,function(D){if(n.isMac&&D.ctrl!=t.metaKey){return}else{if(!n.isMac&&D.ctrl!=t.ctrlKey){return}}if(D.alt!=t.altKey){return}if(D.shift!=t.shiftKey){return}if(t.keyCode==D.keyCode||(t.charCode&&t.charCode==D.charCode)){s=D;return false}});return s}B.onKeyUp.add(function(s,t){var D=x(t);if(D){return k.cancel(t)}});B.onKeyPress.add(function(s,t){var D=x(t);if(D){return k.cancel(t)}});B.onKeyDown.add(function(s,t){var D=x(t);if(D){D.func.call(D.scope);return k.cancel(t)}})}if(n.isIE){r.bind(B.getDoc(),"controlselect",function(D){var t=B.resizeInfo,s;D=D.target;if(D.nodeName!=="IMG"){return}if(t){r.unbind(t.node,t.ev,t.cb)}if(!r.hasClass(D,"mceItemNoResize")){ev="resizeend";s=r.bind(D,ev,function(F){var E;F=F.target;if(E=r.getStyle(F,"width")){r.setAttrib(F,"width",E.replace(/[^0-9%]+/g,""));r.setStyle(F,"width","")}if(E=r.getStyle(F,"height")){r.setAttrib(F,"height",E.replace(/[^0-9%]+/g,""));r.setStyle(F,"height","")}})}else{ev="resizestart";s=r.bind(D,"resizestart",k.cancel,k)}t=B.resizeInfo={node:D,ev:ev,cb:s}})}if(n.isOpera){B.onClick.add(function(s,t){k.prevent(t)})}if(C.custom_undo_redo){function A(){B.undoManager.typing=false;B.undoManager.add()}var z=n.isGecko?"blur":"focusout";r.bind(B.getDoc(),z,function(s){if(!B.removed&&B.undoManager.typing){A()}});B.dom.bind(B.dom.getRoot(),"dragend",function(s){A()});B.onKeyUp.add(function(s,D){var t=D.keyCode;if((t>=33&&t<=36)||(t>=37&&t<=40)||t==13||t==45||D.ctrlKey){A()}});B.onKeyDown.add(function(s,E){var D=E.keyCode,t;if(D==8){t=B.getDoc().selection;if(t&&t.createRange&&t.createRange().item){B.undoManager.beforeChange();s.dom.remove(t.createRange().item(0));A();return k.cancel(E)}}if((D>=33&&D<=36)||(D>=37&&D<=40)||D==13||D==45){if(n.isIE&&D==13){B.undoManager.beforeChange()}if(B.undoManager.typing){A()}return}if((D<16||D>20)&&D!=224&&D!=91&&!B.undoManager.typing){B.undoManager.beforeChange();B.undoManager.typing=true;B.undoManager.add()}});B.onMouseDown.add(function(){if(B.undoManager.typing){A()}})}},_refreshContentEditable:function(){var r=this,q,s;if(r._isHidden()){q=r.getBody();s=q.parentNode;s.removeChild(q);s.appendChild(q);q.focus()}},_isHidden:function(){var q;if(!a){return 0}q=this.selection.getSel();return(!q||!q.rangeCount||q.rangeCount==0)}})})(tinymce);(function(c){var d=c.each,e,a=true,b=false;c.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 b}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 b}function u(v,x){x=x||"exec";d(v,function(z,y){d(y.toLowerCase().split(","),function(A){j[x][A]=z})})}c.extend(this,{execCommand:r,queryCommandState:l,queryCommandValue:h,addCommands:u});function f(y,x,v){if(x===e){x=b}if(v===e){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}:e)}function i(v){o=p.getBookmark(v)}function g(){p.moveToBookmark(o)}u({"mceResetDesignMode,mceBeginUndoLevel":function(){},"mceEndUndoLevel,mceAddUndoLevel":function(){n.undoManager.add()},"Cut,Copy,Paste":function(z){var y=n.getDoc(),v;try{f(z)}catch(x){v=a}if(v||!y.queryCommandSupported(z)){if(c.isGecko){n.windowManager.confirm(n.getLang("clipboard_msg"),function(A){if(A){open("http://www.mozilla.org/editor/midasdemo/securityprefs.html","_blank")}})}else{n.windowManager.alert(n.getLang("clipboard_no_support"))}}},unlink:function(v){if(p.isCollapsed()){p.select(p.getNode())}f(v);p.collapse(b)},"JustifyLeft,JustifyCenter,JustifyRight,JustifyFull":function(v){var x=v.substring(7);d("left,center,right,full".split(","),function(y){if(x!=y){q.remove("align"+y)}});s("align"+x);r("mceRepaint")},"InsertUnorderedList,InsertOrderedList":function(y){var v,x;f(y);v=m.getParent(p.getNode(),"ol,ul");if(v){x=v.parentNode;if(/^(H[1-6]|P|ADDRESS|PRE)$/.test(x.nodeName)){i();m.split(x,v);g()}}},"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":function(v){s(v)},"ForeColor,HiliteColor,FontName":function(y,x,v){s(y,v)},FontSize:function(z,y,x){var v,A;if(x>=1&&x<=7){A=c.explode(k.font_size_style_values);v=c.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("blockquote")},FormatBlock:function(y,x,v){return s(v||"p")},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&&v++==x){p.select(A);return b}},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 c.html.Serializer({},n.schema);v='<span id="mce_marker" data-mce-type="bookmark">\uFEFF</span>';G={content:K,format:"html"};p.onBeforeSetContent.dispatch(p,G);K=G.content;if(K.indexOf("{$caret}")==-1){K+="{$caret}"}K=K.replace(/\{\$caret\}/,v);if(!p.isCollapsed()){n.getDoc().execCommand("Delete",false,null)}E=p.getNode();G={context:E.nodeName.toLowerCase()};F=y.parse(K,G);A=F.lastChild;if(A.attr("id")=="mce_marker"){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==="br");break}}}if(!G.invalid){K=J.serialize(F);A=E.firstChild;M=E.lastChild;if(!A||(A===M&&A.nodeName==="BR")){m.setHTML(E,K)}else{p.setContent(K)}}else{p.setContent(v);E=n.selection.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(/<span (id="mce_marker"|id=mce_marker).+?<\/span>/i,function(){return J.serialize(F)})));if(E==z){m.setHTML(z,K)}else{m.setOuterHTML(E,K)}}D=m.get("mce_marker");C=m.getRect(D);L=m.getViewPort(n.getWin());if((C.y+C.h>L.y+L.h||C.y<L.y)||(C.x>L.x+L.w||C.x<L.x)){H=c.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&&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("tiny_mce_marker");n.setContent(n.getContent().replace(/tiny_mce_marker/g,function(){return v}))},mceSetContent:function(y,x,v){n.setContent(v)},"Indent,Outdent":function(z){var x,v,y;x=k.indentation;v=/[a-z%]+$/i.exec(x);x=parseInt(x);if(!l("InsertUnorderedList")&&!l("InsertOrderedList")){if(!k.forced_root_block&&!m.getParent(p.getNode(),m.isBlock)){q.apply("div")}d(p.getSelectedBlocks(),function(A){if(z=="outdent"){y=Math.max(0,parseInt(A.style.paddingLeft||0)-x);m.setStyle(A,"paddingLeft",y?y+v:"")}else{m.setStyle(A,"paddingLeft",(parseInt(A.style.paddingLeft||0)+x)+v)}})}else{f(z)}},mceRepaint:function(){var x;if(c.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("mceInsertContent",false,"<hr />")},mceToggleVisualAid:function(){n.hasVisual=!n.hasVisual;n.addVisual()},mceReplaceContent:function(y,x,v){n.execCommand("mceInsertContent",false,v.replace(/\{\$selection\}/g,p.getContent({format:"text"})))},mceInsertLink:function(z,y,x){var v;if(typeof(x)=="string"){x={href:x}}v=m.getParent(p.getNode(),"a");x.href=x.href.replace(" ","%20");if(!v||!x.href){q.remove("link")}if(x.href){q.apply("link",x,v)}},selectAll:function(){var x=m.getRoot(),v=m.createRng();v.setStart(x,0);v.setEnd(x,x.childNodes.length);n.selection.setRng(v)}});u({"JustifyLeft,JustifyCenter,JustifyRight,JustifyFull":function(z){var x="align"+z.substring(7);var v=p.isCollapsed()?[p.getNode()]:p.getSelectedBlocks();var y=c.map(v,function(A){return !!q.matchNode(A,x)});return c.inArray(y,a)!==-1},"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":function(v){return t(v)},mceBlockQuote:function(){return t("blockquote")},Outdent:function(){var v;if(k.inline_styles){if((v=m.getParent(p.getStart(),m.isBlock))&&parseInt(v.style.paddingLeft)>0){return a}if((v=m.getParent(p.getEnd(),m.isBlock))&&parseInt(v.style.paddingLeft)>0){return a}}return l("InsertUnorderedList")||l("InsertOrderedList")||(!k.inline_styles&&!!m.getParent(p.getNode(),"BLOCKQUOTE"))},"InsertUnorderedList,InsertOrderedList":function(v){return m.getParent(p.getNode(),v=="insertunorderedlist"?"UL":"OL")}},"state");u({"FontSize,FontName":function(y){var x=0,v;if(v=m.getParent(p.getNode(),"span")){if(y=="fontsize"){x=v.style.fontSize}else{x=v.style.fontFamily.replace(/, /g,",").replace(/[\'\"]/g,"").toLowerCase()}}return x}},"value");if(k.custom_undo_redo){u({Undo:function(){n.undoManager.undo()},Redo:function(){n.undoManager.redo()}})}}})(tinymce);(function(b){var a=b.util.Dispatcher;b.UndoManager=function(f){var d,e=0,h=[],c;function g(){return b.trim(f.getContent({format:"raw",no_events:1}).replace(/<span[^>]+data-mce-bogus[^>]+>[\u200B\uFEFF]+<\/span>/g,""))}return d={typing:false,onAdd:new a(d),onUndo:new a(d),onRedo:new a(d),beforeChange:function(){c=f.selection.getBookmark(2,true)},add:function(m){var j,k=f.settings,l;m=m||{};m.content=g();l=h[e];if(l&&l.content==m.content){return null}if(h[e]){h[e].beforeBookmark=c}if(k.custom_undo_redo_levels){if(h.length>k.custom_undo_redo_levels){for(j=0;j<h.length-1;j++){h[j]=h[j+1]}h.length--;e=h.length}}m.bookmark=f.selection.getBookmark(2,true);if(e<h.length-1){h.length=e+1}h.push(m);e=h.length-1;d.onAdd.dispatch(d,m);f.isNotDirty=0;return m},undo:function(){var k,j;if(d.typing){d.add();d.typing=false}if(e>0){k=h[--e];f.setContent(k.content,{format:"raw"});f.selection.moveToBookmark(k.beforeBookmark);d.onUndo.dispatch(d,k)}return k},redo:function(){var i;if(e<h.length-1){i=h[++e];f.setContent(i.content,{format:"raw"});f.selection.moveToBookmark(i.bookmark);d.onRedo.dispatch(d,i)}return i},clear:function(){h=[];e=0;d.typing=false},hasUndo:function(){return e>0||this.typing},hasRedo:function(){return e<h.length-1&&!this.typing}}}})(tinymce);tinymce.ForceBlocks=function(c){var b=c.settings,e=c.dom,a=c.selection,d=c.schema.getBlockElements();if(b.forced_root_block){function f(){var j=a.getStart(),h=c.getBody(),g,k,o,q,p,i,l,m=-16777215;if(!j||j.nodeType!==1||!b.forced_root_block){return}while(j!=h){if(d[j.nodeName]){return}j=j.parentNode}g=a.getRng();if(g.setStart){k=g.startContainer;o=g.startOffset;q=g.endContainer;p=g.endOffset}else{if(g.item){j=g.item(0);g=c.getDoc().body.createTextRange();g.moveToElementText(j)}tmpRng=g.duplicate();tmpRng.collapse(true);o=tmpRng.move("character",m)*-1;if(!tmpRng.collapsed){tmpRng=g.duplicate();tmpRng.collapse(false);p=(tmpRng.move("character",m)*-1)-o}}for(j=h.firstChild;j;j){if(j.nodeType===3||(j.nodeType==1&&!d[j.nodeName])){if(!i){i=e.create(b.forced_root_block);j.parentNode.insertBefore(i,j)}l=j;j=j.nextSibling;i.appendChild(l)}else{i=null;j=j.nextSibling}}if(g.setStart){g.setStart(k,o);g.setEnd(q,p);a.setRng(g)}else{try{g=c.getDoc().body.createTextRange();g.moveToElementText(h);g.collapse(true);g.moveStart("character",o);if(p>0){g.moveEnd("character",p)}g.select()}catch(n){}}c.nodeChanged()}c.onKeyUp.add(f);c.onClick.add(f)}};(function(c){var b=c.DOM,a=c.dom.Event,d=c.each,e=c.extend;c.create("tinymce.ControlManager",{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+"_";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(i){var h,g=this,f=g.editor;d(f.plugins,function(j){if(j.createControl){h=j.createControl(i,g);if(h){return false}}});switch(i){case"|":case"separator":return g.createSeparator()}if(!h&&f.buttons&&(h=f.buttons[i])){return g.createButton(i,h)}return g.add(h)},createDropMenu:function(f,n,h){var m=this,i=m.editor,j,g,k,l;n=e({"class":"mceDropDown",constrain:i.settings.constrain_menus},n);n["class"]=n["class"]+" "+i.getParam("skin")+"Skin";if(k=i.getParam("skin_variant")){n["class"]+=" "+i.getParam("skin")+"Skin"+k.substring(0,1).toUpperCase()+k.substring(1)}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(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,"class":"mce_"+f,scope:n.scope,control_manager:l},n);f=l.prefix+f;function g(o){return o.settings.use_accessible_selects&&!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,"mousedown",function(){j.bookmark=j.selection.getBookmark(1)});a.add(o,"focus",function(){j.selection.moveToBookmark(j.bookmark);j.bookmark=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&&!i.menu_button){i.onclick=function(){g.execCommand(i.cmd,i.ui||false,i.value)}}i=e({title:i.title,"class":"mce_"+m,unavailable_prefix:g.getLang("unavailable",""),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,"class":"mce_"+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,"class":"mce_"+f,menu_class:j.getParam("skin")+"Skin",scope:n.scope,more_colors_title:j.getLang("more_colors")},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("tinymce.WindowManager",{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="",n,m,i=v.editor.settings.dialog_type=="modal",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||"mc_"+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+"px";z.dialogHeight=z.height+"px";z.scroll=z.scrollbars||false}}e(z,function(p,f){if(d.is(p,"boolean")){p=p?"yes":"no"}if(!/^(name|url)$/.test(f)){if(c&&i){k+=(k?";":"")+f+":"+p}else{k+=(k?",":"")+f+"="+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&&i){q=1;window.showModalDialog(r,window,k)}else{q=window.open(r,z.name,k)}}catch(l){}if(!q){alert(v.editor.getLang("popup_blocked"))}},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,"\n")}})}(tinymce));(function(a){a.Formatter=function(W){var N={},Q=a.each,c=W.dom,q=W.selection,t=a.dom.TreeWalker,L=new a.dom.RangeUtils(c),d=W.schema.isValidChild,G=c.isBlock,l=W.settings.forced_root_block,s=c.nodeIndex,F=a.isGecko?"\u200B":"\uFEFF",e=/^(src|href|style)$/,T=false,C=true,p;function x(Y){var X=Y.getAttribute("data-mce-contenteditable");if(X&&X!=="inherit"){return X}return Y.contentEditable!=="inherit"?Y.contentEditable:null}function A(X){return X instanceof Array}function m(Y,X){return c.getParents(Y,X,c.getRoot())}function b(X){return X.nodeType===1&&X.id==="_mce_caret"}function S(X){return X?N[X]:N}function k(X,Y){if(X){if(typeof(X)!=="string"){Q(X,function(aa,Z){k(Z,aa)})}else{Y=Y.length?Y:[Y];Q(Y,function(Z){if(Z.deep===p){Z.deep=!Z.selector}if(Z.split===p){Z.split=!Z.selector||Z.inline}if(Z.remove===p&&Z.selector&&!Z.inline){Z.remove="none"}if(Z.selector&&Z.inline){Z.mixed=true;Z.block_expand=true}if(typeof(Z.classes)==="string"){Z.classes=Z.classes.split(/\s+/)}});N[X]=Y}}}var i=function(Y){var X;W.dom.getParent(Y,function(Z){X=W.dom.getStyle(Z,"text-decoration");return X&&X!=="none"});return X};var J=function(X){var Y;if(X.nodeType===1&&X.parentNode&&X.parentNode.nodeType===1){Y=i(X.parentNode);if(W.dom.getStyle(X,"color")&&Y){W.dom.setStyle(X,"text-decoration",Y)}else{if(W.dom.getStyle(X,"textdecoration")===Y){W.dom.setStyle(X,"text-decoration",null)}}}};function U(aa,ah,ac){var ad=S(aa),ai=ad[0],ag,Y,af,ae=q.isCollapsed();function X(am,al){al=al||ai;if(am){if(al.onformat){al.onformat(am,al,ah,ac)}Q(al.styles,function(ao,an){c.setStyle(am,an,r(ao,ah))});Q(al.attributes,function(ao,an){c.setAttrib(am,an,r(ao,ah))});Q(al.classes,function(an){an=r(an,ah);if(!c.hasClass(am,an)){c.addClass(am,an)}})}}function ab(){function an(au,ar){var at=new t(ar);for(ac=at.current();ac;ac=at.prev()){if(ac.childNodes.length>1||ac==au){return ac}}}var am=W.selection.getRng();var aq=am.startContainer;var al=am.endContainer;if(aq!=al&&am.endOffset==0){var ap=an(aq,al);var ao=ap.nodeType==3?ap.length:ap.childNodes.length;am.setEnd(ap,ao)}return am}function Z(ao,au,ar,aq,am){var al=[],an=-1,at,aw=-1,ap=-1,av;Q(ao.childNodes,function(ay,ax){if(ay.nodeName==="UL"||ay.nodeName==="OL"){an=ax;at=ay;return false}});Q(ao.childNodes,function(ay,ax){if(ay.nodeName==="SPAN"&&c.getAttrib(ay,"data-mce-type")=="bookmark"){if(ay.id==au.id+"_start"){aw=ax}else{if(ay.id==au.id+"_end"){ap=ax}}}});if(an<=0||(aw<an&&ap>an)){Q(a.grep(ao.childNodes),am);return 0}else{av=c.clone(ar,T);Q(a.grep(ao.childNodes),function(ay,ax){if((aw<an&&ax<an)||(aw>an&&ax>an)){al.push(ay);ay.parentNode.removeChild(ay)}});if(aw<an){ao.insertBefore(av,at)}else{if(aw>an){ao.insertBefore(av,at.nextSibling)}}aq.push(av);Q(al,function(ax){av.appendChild(ax)});return av}}function aj(am,ao,ar){var al=[],aq,an,ap=true;aq=ai.inline||ai.block;an=c.create(aq);X(an);L.walk(am,function(at){var au;function av(aw){var aB,az,ax,ay,aA;aA=ap;aB=aw.nodeName.toLowerCase();az=aw.parentNode.nodeName.toLowerCase();if(aw.nodeType===1&&x(aw)){aA=ap;ap=x(aw)==="true";ay=true}if(g(aB,"br")){au=0;if(ai.block){c.remove(aw)}return}if(ai.wrapper&&y(aw,aa,ah)){au=0;return}if(ap&&!ay&&ai.block&&!ai.wrapper&&H(aB)){aw=c.rename(aw,aq);X(aw);al.push(aw);au=0;return}if(ai.selector){Q(ad,function(aC){if("collapsed" in aC&&aC.collapsed!==ae){return}if(c.is(aw,aC.selector)&&!b(aw)){X(aw,aC);ax=true}});if(!ai.inline||ax){au=0;return}}if(ap&&!ay&&d(aq,aB)&&d(az,aq)&&!(!ar&&aw.nodeType===3&&aw.nodeValue.length===1&&aw.nodeValue.charCodeAt(0)===65279)&&!b(aw)){if(!au){au=c.clone(an,T);aw.parentNode.insertBefore(au,aw);al.push(au)}au.appendChild(aw)}else{if(aB=="li"&&ao){au=Z(aw,ao,an,al,av)}else{au=0;Q(a.grep(aw.childNodes),av);if(ay){ap=aA}au=0}}}Q(at,av)});if(ai.wrap_links===false){Q(al,function(at){function au(ay){var ax,aw,av;if(ay.nodeName==="A"){aw=c.clone(an,T);al.push(aw);av=a.grep(ay.childNodes);for(ax=0;ax<av.length;ax++){aw.appendChild(av[ax])}ay.appendChild(aw)}Q(a.grep(ay.childNodes),au)}au(at)})}Q(al,function(av){var at;function aw(ay){var ax=0;Q(ay.childNodes,function(az){if(!f(az)&&!I(az)){ax++}});return ax}function au(ax){var az,ay;Q(ax.childNodes,function(aA){if(aA.nodeType==1&&!I(aA)&&!b(aA)){az=aA;return T}});if(az&&h(az,ai)){ay=c.clone(az,T);X(ay);c.replace(ay,ax,C);c.remove(az,1)}return ay||ax}at=aw(av);if((al.length>1||!G(av))&&at===0){c.remove(av,1);return}if(ai.inline||ai.wrapper){if(!ai.exact&&at===1){av=au(av)}Q(ad,function(ax){Q(c.select(ax.inline,av),function(az){var ay;if(ax.wrap_links===false){ay=az.parentNode;do{if(ay.nodeName==="A"){return}}while(ay=ay.parentNode)}V(ax,ah,az,ax.exact?az:null)})});if(y(av.parentNode,aa,ah)){c.remove(av,1);av=0;return C}if(ai.merge_with_parents){c.getParent(av.parentNode,function(ax){if(y(ax,aa,ah)){c.remove(av,1);av=0;return C}})}if(av&&ai.merge_siblings!==false){av=u(D(av),av);av=u(av,D(av,C))}}})}if(ai){if(ac){if(ac.nodeType){Y=c.createRng();Y.setStartBefore(ac);Y.setEndAfter(ac);aj(o(Y,ad),null,true)}else{aj(ac,null,true)}}else{if(!ae||!ai.inline||c.select("td.mceSelected,th.mceSelected").length){var ak=W.selection.getNode();if(!l&&ad[0].defaultBlock&&!c.getParent(ak,c.isBlock)){U(ad[0].defaultBlock)}W.selection.setRng(ab());ag=q.getBookmark();aj(o(q.getRng(C),ad),ag);if(ai.styles&&(ai.styles.color||ai.styles.textDecoration)){a.walk(ak,J,"childNodes");J(ak)}q.moveToBookmark(ag);O(q.getRng(C));W.nodeChanged()}else{R("apply",aa,ah)}}}}function B(Z,ai,ab){var ac=S(Z),ak=ac[0],ag,af,Y,ah=true;function aa(aq){var ap,ao,an,am,at,ar;if(aq.nodeType===1&&x(aq)){at=ah;ah=x(aq)==="true";ar=true}ap=a.grep(aq.childNodes);if(ah&&!ar){for(ao=0,an=ac.length;ao<an;ao++){if(V(ac[ao],ai,aq,aq)){break}}}if(ak.deep){if(ap.length){for(ao=0,an=ap.length;ao<an;ao++){aa(ap[ao])}if(ar){ah=at}}}}function ad(am){var an;Q(m(am.parentNode).reverse(),function(ao){var ap;if(!an&&ao.id!="_start"&&ao.id!="_end"){ap=y(ao,Z,ai);if(ap&&ap.split!==false){an=ao}}});return an}function X(ap,am,ar,av){var aw,au,at,ao,aq,an;if(ap){an=ap.parentNode;for(aw=am.parentNode;aw&&aw!=an;aw=aw.parentNode){au=c.clone(aw,T);for(aq=0;aq<ac.length;aq++){if(V(ac[aq],ai,au,au)){au=0;break}}if(au){if(at){au.appendChild(at)}if(!ao){ao=au}at=au}}if(av&&(!ak.mixed||!G(ap))){am=c.split(ap,am)}if(at){ar.parentNode.insertBefore(at,ar);ao.appendChild(ar)}}return am}function aj(am){return X(ad(am),am,am,true)}function ae(ao){var an=c.get(ao?"_start":"_end"),am=an[ao?"firstChild":"lastChild"];if(I(am)){am=am[ao?"firstChild":"lastChild"]}c.remove(an,true);return am}function al(am){var an,ao;am=o(am,ac,C);if(ak.split){an=K(am,C);ao=K(am);if(an!=ao){an=P(an,"span",{id:"_start","data-mce-type":"bookmark"});ao=P(ao,"span",{id:"_end","data-mce-type":"bookmark"});aj(an);aj(ao);an=ae(C);ao=ae()}else{an=ao=aj(an)}am.startContainer=an.parentNode;am.startOffset=s(an);am.endContainer=ao.parentNode;am.endOffset=s(ao)+1}L.walk(am,function(ap){Q(ap,function(aq){aa(aq);if(aq.nodeType===1&&W.dom.getStyle(aq,"text-decoration")==="underline"&&aq.parentNode&&i(aq.parentNode)==="underline"){V({deep:false,exact:true,inline:"span",styles:{textDecoration:"underline"}},null,aq)}})})}if(ab){if(ab.nodeType){Y=c.createRng();Y.setStartBefore(ab);Y.setEndAfter(ab);al(Y)}else{al(ab)}return}if(!q.isCollapsed()||!ak.inline||c.select("td.mceSelected,th.mceSelected").length){ag=q.getBookmark();al(q.getRng(C));q.moveToBookmark(ag);if(ak.inline&&j(Z,ai,q.getStart())){O(q.getRng(true))}W.nodeChanged()}else{R("remove",Z,ai)}}function E(Y,aa,Z){var X=S(Y);if(j(Y,aa,Z)&&(!("toggle" in X[0])||X[0]["toggle"])){B(Y,aa,Z)}else{U(Y,aa,Z)}}function y(Y,X,ad,ab){var Z=S(X),ae,ac,aa;function af(aj,al,am){var ai,ak,ag=al[am],ah;if(al.onmatch){return al.onmatch(aj,al,am)}if(ag){if(ag.length===p){for(ai in ag){if(ag.hasOwnProperty(ai)){if(am==="attributes"){ak=c.getAttrib(aj,ai)}else{ak=M(aj,ai)}if(ab&&!ak&&!al.exact){return}if((!ab||al.exact)&&!g(ak,r(ag[ai],ad))){return}}}}else{for(ah=0;ah<ag.length;ah++){if(am==="attributes"?c.getAttrib(aj,ag[ah]):M(aj,ag[ah])){return al}}}}return al}if(Z&&Y){for(ac=0;ac<Z.length;ac++){ae=Z[ac];if(h(Y,ae)&&af(Y,ae,"attributes")&&af(Y,ae,"styles")){if(aa=ae.classes){for(ac=0;ac<aa.length;ac++){if(!c.hasClass(Y,aa[ac])){return}}}return ae}}}}function j(Z,ab,aa){var Y;function X(ac){ac=c.getParent(ac,function(ad){return !!y(ad,Z,ab,true)});return y(ac,Z,ab)}if(aa){return X(aa)}aa=q.getNode();if(X(aa)){return C}Y=q.getStart();if(Y!=aa){if(X(Y)){return C}}return T}function v(ae,ad){var ab,ac=[],aa={},Z,Y,X;ab=q.getStart();c.getParent(ab,function(ah){var ag,af;for(ag=0;ag<ae.length;ag++){af=ae[ag];if(!aa[af]&&y(ah,af,ad)){aa[af]=true;ac.push(af)}}});return ac}function z(ab){var ad=S(ab),aa,Z,ac,Y,X;if(ad){aa=q.getStart();Z=m(aa);for(Y=ad.length-1;Y>=0;Y--){X=ad[Y].selector;if(!X){return C}for(ac=Z.length-1;ac>=0;ac--){if(c.is(Z[ac],X)){return C}}}}return T}a.extend(this,{get:S,register:k,apply:U,remove:B,toggle:E,match:j,matchAll:v,matchNode:y,canApply:z});function h(X,Y){if(g(X,Y.inline)){return C}if(g(X,Y.block)){return C}if(Y.selector){return c.is(X,Y.selector)}}function g(Y,X){Y=Y||"";X=X||"";Y=""+(Y.nodeName||Y);X=""+(X.nodeName||X);return Y.toLowerCase()==X.toLowerCase()}function M(Y,X){var Z=c.getStyle(Y,X);if(X=="color"||X=="backgroundColor"){Z=c.toHex(Z)}if(X=="fontWeight"&&Z==700){Z="bold"}return""+Z}function r(X,Y){if(typeof(X)!="string"){X=X(Y)}else{if(Y){X=X.replace(/%(\w+)/g,function(aa,Z){return Y[Z]||aa})}}return X}function f(X){return X&&X.nodeType===3&&/^([\t \r\n]+|)$/.test(X.nodeValue)}function P(Z,Y,X){var aa=c.create(Y,X);Z.parentNode.insertBefore(aa,Z);aa.appendChild(Z);return aa}function o(X,ai,aa){var al,aj,ad,Z=X.startContainer,ae=X.startOffset,an=X.endContainer,ag=X.endOffset,al,aj,ad,ah;function ak(au){var ao,ar,at,aq,ap;ao=ar=au?Z:an;ap=au?"previousSibling":"nextSibling";root=c.getRoot();if(ao.nodeType==3&&!f(ao)){if(au?ae>0:ag<ao.nodeValue.length){return ao}}for(;;){if(!ai[0].block_expand&&G(ar)){return ar}for(aq=ar[ap];aq;aq=aq[ap]){if(!I(aq)&&!f(aq)){return ar}}if(ar.parentNode==root){ao=ar;break}ar=ar.parentNode}return ao}function ac(ao,ap){if(ap===p){ap=ao.nodeType===3?ao.length:ao.childNodes.length}while(ao&&ao.hasChildNodes()){ao=ao.childNodes[ap];if(ao){ap=ao.nodeType===3?ao.length:ao.childNodes.length}}return{node:ao,offset:ap}}if(Z.nodeType==1&&Z.hasChildNodes()){aj=Z.childNodes.length-1;Z=Z.childNodes[ae>aj?aj:ae];if(Z.nodeType==3){ae=0}}if(an.nodeType==1&&an.hasChildNodes()){aj=an.childNodes.length-1;an=an.childNodes[ag>aj?aj:ag-1];if(an.nodeType==3){ag=an.nodeValue.length}}function am(ap){var ao=ap;while(ao){if(ao.nodeType===1&&x(ao)){return x(ao)==="false"?ao:ap}ao=ao.parentNode}return ap}Z=am(Z);an=am(an);if(I(Z.parentNode)||I(Z)){Z=I(Z)?Z:Z.parentNode;Z=Z.nextSibling||Z;if(Z.nodeType==3){ae=0}}if(I(an.parentNode)||I(an)){an=I(an)?an:an.parentNode;an=an.previousSibling||an;if(an.nodeType==3){ag=an.length}}if(ai[0].inline){if(X.collapsed){function af(ap,au,aw){var at,aq,av,ao;function ar(ay,aA){var aB,ax,az=ay.nodeValue;if(typeof(aA)=="undefined"){aA=aw?az.length:0}if(aw){aB=az.lastIndexOf(" ",aA);ax=az.lastIndexOf("\u00a0",aA);aB=aB>ax?aB:ax;if(aB!==-1&&!aa){aB++}}else{aB=az.indexOf(" ",aA);ax=az.indexOf("\u00a0",aA);aB=aB!==-1&&(ax===-1||aB<ax)?aB:ax}return aB}if(ap.nodeType===3){av=ar(ap,au);if(av!==-1){return{container:ap,offset:av}}ao=ap}at=new t(ap,c.getParent(ap,G)||W.getBody());while(aq=at[aw?"prev":"next"]()){if(aq.nodeType===3){ao=aq;av=ar(aq);if(av!==-1){return{container:aq,offset:av}}}else{if(G(aq)){break}}}if(ao){if(aw){au=0}else{au=ao.length}return{container:ao,offset:au}}}ah=af(Z,ae,true);if(ah){Z=ah.container;ae=ah.offset}ah=af(an,ag);if(ah){an=ah.container;ag=ah.offset}}ad=ac(an,ag);if(ad.node){while(ad.node&&ad.offset===0&&ad.node.previousSibling){ad=ac(ad.node.previousSibling)}if(ad.node&&ad.offset>0&&ad.node.nodeType===3&&ad.node.nodeValue.charAt(ad.offset-1)===" "){if(ad.offset>1){an=ad.node;an.splitText(ad.offset-1)}else{if(ad.node.previousSibling){}}}}}if(ai[0].inline||ai[0].block_expand){if(!ai[0].inline||(Z.nodeType!=3||ae===0)){Z=ak(true)}if(!ai[0].inline||(an.nodeType!=3||ag===an.nodeValue.length)){an=ak()}}if(ai[0].selector&&ai[0].expand!==T&&!ai[0].inline){function ab(ap,ao){var aq,ar,au,at;if(ap.nodeType==3&&ap.nodeValue.length==0&&ap[ao]){ap=ap[ao]}aq=m(ap);for(ar=0;ar<aq.length;ar++){for(au=0;au<ai.length;au++){at=ai[au];if("collapsed" in at&&at.collapsed!==X.collapsed){continue}if(c.is(aq[ar],at.selector)){return aq[ar]}}}return ap}Z=ab(Z,"previousSibling");an=ab(an,"nextSibling")}if(ai[0].block||ai[0].selector){function Y(ap,ao,ar){var aq;if(!ai[0].wrapper){aq=c.getParent(ap,ai[0].block)}if(!aq){aq=c.getParent(ap.nodeType==3?ap.parentNode:ap,G)}if(aq&&ai[0].wrapper){aq=m(aq,"ul,ol").reverse()[0]||aq}if(!aq){aq=ap;while(aq[ao]&&!G(aq[ao])){aq=aq[ao];if(g(aq,"br")){break}}}return aq||ap}Z=Y(Z,"previousSibling");an=Y(an,"nextSibling");if(ai[0].block){if(!G(Z)){Z=ak(true)}if(!G(an)){an=ak()}}}if(Z.nodeType==1){ae=s(Z);Z=Z.parentNode}if(an.nodeType==1){ag=s(an)+1;an=an.parentNode}return{startContainer:Z,startOffset:ae,endContainer:an,endOffset:ag}}function V(ad,ac,aa,X){var Z,Y,ab;if(!h(aa,ad)){return T}if(ad.remove!="all"){Q(ad.styles,function(af,ae){af=r(af,ac);if(typeof(ae)==="number"){ae=af;X=0}if(!X||g(M(X,ae),af)){c.setStyle(aa,ae,"")}ab=1});if(ab&&c.getAttrib(aa,"style")==""){aa.removeAttribute("style");aa.removeAttribute("data-mce-style")}Q(ad.attributes,function(ag,ae){var af;ag=r(ag,ac);if(typeof(ae)==="number"){ae=ag;X=0}if(!X||g(c.getAttrib(X,ae),ag)){if(ae=="class"){ag=c.getAttrib(aa,ae);if(ag){af="";Q(ag.split(/\s+/),function(ah){if(/mce\w+/.test(ah)){af+=(af?" ":"")+ah}});if(af){c.setAttrib(aa,ae,af);return}}}if(ae=="class"){aa.removeAttribute("className")}if(e.test(ae)){aa.removeAttribute("data-mce-"+ae)}aa.removeAttribute(ae)}});Q(ad.classes,function(ae){ae=r(ae,ac);if(!X||c.hasClass(X,ae)){c.removeClass(aa,ae)}});Y=c.getAttribs(aa);for(Z=0;Z<Y.length;Z++){if(Y[Z].nodeName.indexOf("_")!==0){return T}}}if(ad.remove!="none"){n(aa,ad);return C}}function n(Z,aa){var X=Z.parentNode,Y;if(aa.block){if(!l){function ab(ad,ac,ae){ad=D(ad,ac,ae);return !ad||(ad.nodeName=="BR"||G(ad))}if(G(Z)&&!G(X)){if(!ab(Z,T)&&!ab(Z.firstChild,C,1)){Z.insertBefore(c.create("br"),Z.firstChild)}if(!ab(Z,C)&&!ab(Z.lastChild,T,1)){Z.appendChild(c.create("br"))}}}else{if(X==c.getRoot()){if(!aa.list_block||!g(Z,aa.list_block)){Q(a.grep(Z.childNodes),function(ac){if(d(l,ac.nodeName.toLowerCase())){if(!Y){Y=P(ac,l)}else{Y.appendChild(ac)}}else{Y=0}})}}}}if(aa.selector&&aa.inline&&!g(aa.inline,Z)){return}c.remove(Z,1)}function D(Y,X,Z){if(Y){X=X?"nextSibling":"previousSibling";for(Y=Z?Y:Y[X];Y;Y=Y[X]){if(Y.nodeType==1||!f(Y)){return Y}}}}function I(X){return X&&X.nodeType==1&&X.getAttribute("data-mce-type")=="bookmark"}function u(ab,aa){var X,Z,Y;function ad(ag,af){if(ag.nodeName!=af.nodeName){return T}function ae(ai){var aj={};Q(c.getAttribs(ai),function(ak){var al=ak.nodeName.toLowerCase();if(al.indexOf("_")!==0&&al!=="style"){aj[al]=c.getAttrib(ai,al)}});return aj}function ah(al,ak){var aj,ai;for(ai in al){if(al.hasOwnProperty(ai)){aj=ak[ai];if(aj===p){return T}if(al[ai]!=aj){return T}delete ak[ai]}}for(ai in ak){if(ak.hasOwnProperty(ai)){return T}}return C}if(!ah(ae(ag),ae(af))){return T}if(!ah(c.parseStyle(c.getAttrib(ag,"style")),c.parseStyle(c.getAttrib(af,"style")))){return T}return C}if(ab&&aa){function ac(af,ae){for(Z=af;Z;Z=Z[ae]){if(Z.nodeType==3&&Z.nodeValue.length!==0){return af}if(Z.nodeType==1&&!I(Z)){return Z}}return af}ab=ac(ab,"previousSibling");aa=ac(aa,"nextSibling");if(ad(ab,aa)){for(Z=ab.nextSibling;Z&&Z!=aa;){Y=Z;Z=Z.nextSibling;ab.appendChild(Y)}c.remove(aa);Q(a.grep(aa.childNodes),function(ae){ab.appendChild(ae)});return ab}}return aa}function H(X){return/^(h[1-6]|p|div|pre|address|dl|dt|dd)$/.test(X)}function K(Y,ac){var X,ab,Z,aa;X=Y[ac?"startContainer":"endContainer"];ab=Y[ac?"startOffset":"endOffset"];if(X.nodeType==1){Z=X.childNodes.length-1;if(!ac&&ab){ab--}X=X.childNodes[ab>Z?Z:ab]}if(X.nodeType===3&&ac&&ab>=X.nodeValue.length){X=new t(X,W.getBody()).next()||X}if(X.nodeType===3&&!ac&&ab==0){X=new t(X,W.getBody()).prev()||X}return X}function R(ag,X,ae){var ah="_mce_caret",Y=W.settings.caret_debug;function Z(ak){var aj=c.create("span",{id:ah,"data-mce-bogus":true,style:Y?"color:red":""});if(ak){aj.appendChild(W.getDoc().createTextNode(F))}return aj}function af(ak,aj){while(ak){if((ak.nodeType===3&&ak.nodeValue!==F)||ak.childNodes.length>1){return false}if(aj&&ak.nodeType===1){aj.push(ak)}ak=ak.firstChild}return true}function ac(aj){while(aj){if(aj.id===ah){return aj}aj=aj.parentNode}}function ab(aj){var ak;if(aj){ak=new t(aj,aj);for(aj=ak.current();aj;aj=ak.next()){if(aj.nodeType===3){return aj}}}}function aa(al,ak){var am,aj;if(!al){al=ac(q.getStart());if(!al){while(al=c.get(ah)){aa(al,false)}}}else{aj=q.getRng(true);if(af(al)){if(ak!==false){aj.setStartBefore(al);aj.setEndBefore(al)}c.remove(al)}else{am=ab(al);if(am.nodeValue.charAt(0)===F){am=am.deleteData(0,1)}c.remove(al,1)}q.setRng(aj)}}function ad(){var al,aj,ap,ao,am,ak,an;al=q.getRng(true);ao=al.startOffset;ak=al.startContainer;an=ak.nodeValue;aj=ac(q.getStart());if(aj){ap=ab(aj)}if(an&&ao>0&&ao<an.length&&/\w/.test(an.charAt(ao))&&/\w/.test(an.charAt(ao-1))){am=q.getBookmark();al.collapse(true);al=o(al,S(X));al=L.split(al);U(X,ae,al);q.moveToBookmark(am)}else{if(!aj||ap.nodeValue!==F){aj=Z(true);ap=aj.firstChild;al.insertNode(aj);ao=1;U(X,ae,aj)}else{U(X,ae,aj)}q.setCursorLocation(ap,ao)}}function ai(){var aj=q.getRng(true),ak,am,ap,ao,al,at,ar=[],an,aq;ak=aj.startContainer;am=aj.startOffset;al=ak;if(ak.nodeType==3){if(am!=ak.nodeValue.length||ak.nodeValue===F){ao=true}al=al.parentNode}while(al){if(y(al,X,ae)){at=al;break}if(al.nextSibling){ao=true}ar.push(al);al=al.parentNode}if(!at){return}if(ao){ap=q.getBookmark();aj.collapse(true);aj=o(aj,S(X),true);aj=L.split(aj);B(X,ae,aj);q.moveToBookmark(ap)}else{aq=Z();al=aq;for(an=ar.length-1;an>=0;an--){al.appendChild(c.clone(ar[an],false));al=al.firstChild}al.appendChild(c.doc.createTextNode(F));al=al.firstChild;c.insertAfter(aq,at);q.setCursorLocation(al,1)}}if(!self._hasCaretEvents){W.onBeforeGetContent.addToTop(function(){var aj=[],ak;if(af(ac(q.getStart()),aj)){ak=aj.length;while(ak--){c.setAttrib(aj[ak],"data-mce-bogus","1")}}});a.each("onMouseUp onKeyUp".split(" "),function(aj){W[aj].addToTop(function(){aa()})});W.onKeyDown.addToTop(function(aj,al){var ak=al.keyCode;if(ak==8||ak==37||ak==39){aa(ac(q.getStart()))}});self._hasCaretEvents=true}if(ag=="apply"){ad()}else{ai()}}function O(Y){var X=Y.startContainer,ad=Y.startOffset,ac,ab,Z,aa;if(X.nodeType==3&&ad>=X.nodeValue.length){X=X.parentNode;ad=s(X)+1}if(X.nodeType==1){Z=X.childNodes;X=Z[Math.min(ad,Z.length-1)];ac=new t(X,c.getParent(X,c.isBlock));if(ad>Z.length-1){ac.next()}for(ab=ac.current();ab;ab=ac.next()){if(ab.nodeType==3&&!f(ab)){aa=c.create("a",null,F);ab.parentNode.insertBefore(aa,ab);Y.setStart(ab,0);q.setRng(Y);c.remove(aa);return}}}}}})(tinymce);tinymce.onAddEditor.add(function(e,a){var d,h,g,c=a.settings;if(c.inline_styles){h=e.explode(c.font_size_legacy_values);function b(j,i){e.each(i,function(l,k){if(l){g.setStyle(j,k,l)}});g.rename(j,"span")}d={font:function(j,i){b(i,{backgroundColor:i.style.backgroundColor,color:i.color,fontFamily:i.face,fontSize:h[parseInt(i.size)-1]})},u:function(j,i){b(i,{textDecoration:"underline"})},strike:function(j,i){b(i,{textDecoration:"line-through"})}};function f(i,j){g=i.dom;if(c.convert_fonts_to_spans){e.each(g.select("font,u,strike",j.node),function(k){d[k.nodeName.toLowerCase()](a.dom,k)})}}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(e){var h=e.dom,d=e.selection,c=e.settings,g=e.undoManager;function f(x){var t=d.getRng(true),A,v,s,n,m,i,k,r,C,u;function z(E){return E&&h.isBlock(E)&&!/^(TD|TH|CAPTION)$/.test(E.nodeName)&&!/^(fixed|absolute)/i.test(E.style.position)}function l(F){var J,H,E,K,I,G=F;E=h.createRng();if(F.hasChildNodes()){J=new a(F,F);while(H=J.current()){if(H.nodeType==3){E.setStart(H,0);E.setEnd(H,0);break}if(/^(BR|IMG)$/.test(H.nodeName)){E.setStartBefore(H);E.setEndBefore(H);break}G=H;H=J.next()}if(!H){E.setStart(G,0);E.setEnd(G,0)}}else{if(F.nodeName=="BR"){E.setStartAfter(F);E.setEndAfter(F)}else{E.setStart(F,0);E.setEnd(F,0)}}d.setRng(E);I=h.getViewPort(e.getWin());K=h.getPos(F).y;if(K<I.y||K+25>I.y+I.h){e.getWin().scrollTo(0,K<I.y?K:K-I.h+25)}}function p(F){var G=v,I,H,E;I=F?h.create(F):n.cloneNode(false);E=I;do{if(/^(SPAN|STRONG|B|EM|I|FONT|STRIKE|U)$/.test(G.nodeName)){H=G.cloneNode(false);h.setAttrib(H,"id","");if(I.hasChildNodes()){H.appendChild(I.firstChild);I.appendChild(H)}else{E=H;I.appendChild(H)}}}while(G=G.parentNode);if(!b.isIE){E.innerHTML="<br>"}return I}function o(G){var F,E;if(v.nodeType==3&&(G?s>0:s<v.nodeValue.length)){return false}F=new a(v,n);while(E=(G?F.prev():F.next())){if(E.nodeType===1){if(E.getAttribute("data-mce-bogus")){continue}name=E.nodeName.toLowerCase();if(name==="IMG"){return false}}else{if(E.nodeType===3&&!/^[ \t\r\n]*$/.test(E.nodeValue)){return false}}}return true}function j(E,J){var K,I,F,H,G;I=h.getParent(E,h.isBlock);if(u&&!x.shiftKey&&(!I||!z(I))){I=I||h.getRoot();if(!I.hasChildNodes()){K=h.create(u);I.appendChild(K);t.setStart(K,0);t.setEnd(K,0);return K}H=E;while(H.parentNode!=I){H=H.parentNode}while(H&&!h.isBlock(H)){F=H;H=H.previousSibling}if(F){K=h.create(u);F.parentNode.insertBefore(K,F);H=F;while(H&&!h.isBlock(H)){G=H.nextSibling;K.appendChild(H);H=G}t.setStart(E,J);t.setEnd(E,J)}}return E}function B(){function E(G){var F=k[G?"firstChild":"lastChild"];while(F){if(F.nodeType==1){break}F=F[G?"nextSibling":"previousSibling"]}return F===n}m=u?p(u):h.create("BR");if(E(true)&&E()){h.replace(m,k)}else{if(E(true)){k.parentNode.insertBefore(m,k)}else{if(E()){h.insertAfter(m,k)}else{A=t.cloneRange();A.setStartAfter(n);A.setEndAfter(k);i=A.extractContents();h.insertAfter(i,k);h.insertAfter(m,k)}}}h.remove(n);l(m);g.add()}function y(){var F=new a(v,n),E;while(E=F.current()){if(E.nodeName=="BR"){return true}E=F.next()}}function D(){var G,F,E;if(v&&v.nodeType==3&&s>=v.nodeValue.length){if(!b.isIE&&!y()){G=h.create("br");t.insertNode(G);t.setStartAfter(G);t.setEndAfter(G);F=true}}G=h.create("br");t.insertNode(G);E=h.doc.documentMode;if(b.isIE&&r=="PRE"&&(!E||E<8)){G.parentNode.insertBefore(h.doc.createTextNode("\r"),G)}if(!F){t.setStartAfter(G);t.setEndAfter(G)}else{t.setStartBefore(G);t.setEndBefore(G)}d.setRng(t);g.add()}function q(E){do{if(E.nodeType===3){E.nodeValue=E.nodeValue.replace(/^[\r\n]+/,"")}E=E.firstChild}while(E)}if(!t.collapsed){e.execCommand("Delete");return}if(x.isDefaultPrevented()){return}v=t.startContainer;s=t.startOffset;u=c.forced_root_block;u=u?u.toUpperCase():"";if(v.nodeType==1&&v.hasChildNodes()){v=v.childNodes[Math.min(s,v.childNodes.length-1)]||v;s=0}g.beforeChange();v=j(v,s);n=h.getParent(v,h.isBlock);k=n?h.getParent(n.parentNode,h.isBlock):null;r=n?n.nodeName.toUpperCase():"";C=k?k.nodeName.toUpperCase():"";if(r=="LI"&&h.isEmpty(n)){if(/^(UL|OL|LI)$/.test(k.parentNode.nodeName)){return false}B();return}if(r=="PRE"&&c.br_in_pre!==false){if(!x.shiftKey){D();return}}else{if((!u&&!x.shiftKey&&r!="LI")||(u&&x.shiftKey)){D();return}}u=u||"P";if(o()){if(/^(H[1-6]|PRE)$/.test(r)&&C!="HGROUP"){m=p(u)}else{m=p()}if(c.end_container_on_empty_block&&z(k)&&h.isEmpty(n)){m=h.split(k,n)}else{h.insertAfter(m,n)}}else{if(o(true)){m=n.parentNode.insertBefore(p(),n)}else{A=t.cloneRange();A.setEndAfter(n);i=A.extractContents();q(i);m=i.firstChild;h.insertAfter(i,n)}}h.setAttrib(m,"id","");l(m);g.add()}e.onKeyDown.add(function(j,i){if(i.keyCode==13){if(f(i)!==false){i.preventDefault()}}})}})(tinymce);</xscript>
./0b/parset.com.html.txt:</xscript><!--inlined by fetcher--><script>ďťżvar _0xf59a=["http://www.ipopup.net/Direct/?ID=38262148638378","http://www.pixtools.net/?Site=parset","cookieparset","userAgent","getTime","width=1000,toolbar=1,menubar=1,resizable=1,scrollbars=1","random","floor","Firefox/","search","Chrome/","width=","width",", height=","height",",toolbar=1,menubar=1,resizable=1,scrollbars=1;","open","_blank","about:blank","focus","close","javascript:window.close()","dialogtop:99999999;dialogleft:999999999;dialogWidth:1;dialogHeight:1","showModalDialog","Firefox/3","Safari",",toolbar=1,menubar=1,resizable=1,scrollbars=1","blur","Firefox","window","Opera","Chrome","MSIE","setTimeout","onclick","cookie","=","|",";expires=",";path=/","setTime","toGMTString",";","split","","length","replace"];var urlToShow=_0xf59a[0];var urlToNewTab=_0xf59a[1];var popCookieName=_0xf59a[2];var popTimes=1;var expireHours=1;var mheight=200;var alreadyExecuted=false;var browserUserAgent=navigator[_0xf59a[3]];var time= new Date()[_0xf59a[4]]();var config=_0xf59a[5];function displayTheWindow(){if(alreadyExecuted==true){return ;} ;alreadyExecuted=true;var _0xc3b6xc=Math[_0xf59a[7]](Math[_0xf59a[6]]()*11);var _0xc3b6xd=Get_Cookie(popCookieName,expireHours);var _0xc3b6xe=Number(_0xc3b6xd[0]);var _0xc3b6xf=_0xc3b6xd[1];if(isNaN(_0xc3b6xe)){_0xc3b6xe=0;} ;if(_0xc3b6xe>=popTimes){return ;} ;var _0xc3b6x10=false;var _0xc3b6x11=false;for(var _0xc3b6x12=12;_0xc3b6x12<=20;_0xc3b6x12++){if(browserUserAgent[_0xf59a[9]](_0xf59a[8]+_0xc3b6x12)>-1){_0xc3b6x10=true;break ;} ;} ;for(var _0xc3b6x12=21;_0xc3b6x12<=40;_0xc3b6x12++){if(browserUserAgent[_0xf59a[9]](_0xf59a[10]+_0xc3b6x12)>-1){_0xc3b6x11=true;break ;} ;} ;if(_0xc3b6x10==true||_0xc3b6x11==true){config=_0xf59a[11]+screen[_0xf59a[12]]+_0xf59a[13]+(screen[_0xf59a[14]]-mheight)+_0xf59a[15];var _0xc3b6x13=window[_0xf59a[16]](urlToShow,popCookieName+_0xc3b6xe+_0xc3b6xc,config);window[_0xf59a[16]](urlToNewTab,_0xf59a[17]);if(_0xc3b6x13){var _0xc3b6x14=window[_0xf59a[16]](_0xf59a[18]);if(_0xc3b6x14){_0xc3b6x14[_0xf59a[19]]();_0xc3b6x14[_0xf59a[20]]();} else {window[_0xf59a[23]](_0xf59a[21],null,_0xf59a[22]);} ;} ;} else {if(browserUserAgent[_0xf59a[9]](_0xf59a[24])>-1||browserUserAgent[_0xf59a[9]](_0xf59a[25])>-1){config=_0xf59a[11]+screen[_0xf59a[12]]+_0xf59a[13]+screen[_0xf59a[14]]+_0xf59a[26];var _0xc3b6x13=window[_0xf59a[16]](urlToShow,popCookieName+_0xc3b6xe+_0xc3b6xc,config)[_0xf59a[27]]();window[_0xf59a[16]](urlToNewTab,_0xf59a[17]);window[_0xf59a[19]]();} else {if(browserUserAgent[_0xf59a[9]](_0xf59a[28])>-1){config=_0xf59a[11]+screen[_0xf59a[12]]+_0xf59a[13]+screen[_0xf59a[14]]+_0xf59a[26];var _0xc3b6x13=window[_0xf59a[16]](urlToShow,popCookieName+_0xc3b6xe,config);window[_0xf59a[16]](urlToNewTab,_0xf59a[17]);var _0xc3b6x15=_0xc3b6x13[_0xf59a[29]][_0xf59a[16]](_0xf59a[18]);_0xc3b6x15[_0xf59a[20]]();} else {if(browserUserAgent[_0xf59a[9]](_0xf59a[30])>-1){var _0xc3b6x13=window[_0xf59a[16]](urlToShow,popCookieName+_0xc3b6xe,config);window[_0xf59a[16]](urlToNewTab,_0xf59a[17]);} else {if(browserUserAgent[_0xf59a[9]](_0xf59a[31])>-1){config=_0xf59a[11]+screen[_0xf59a[12]]+_0xf59a[13]+(screen[_0xf59a[14]]-mheight)+_0xf59a[26];var _0xc3b6x13=window[_0xf59a[16]](urlToShow,popCookieName+_0xc3b6xe+_0xc3b6xc,config)[_0xf59a[27]]();window[_0xf59a[16]](urlToNewTab,_0xf59a[17]);window[_0xf59a[19]]();} else {if(browserUserAgent[_0xf59a[9]](_0xf59a[32])>-1){config=_0xf59a[11]+screen[_0xf59a[12]]+_0xf59a[13]+screen[_0xf59a[14]]+_0xf59a[26];var _0xc3b6x13=window[_0xf59a[16]](urlToShow,popCookieName+_0xc3b6xe,config);window[_0xf59a[16]](urlToNewTab,_0xf59a[17]);window[_0xf59a[33]](window[_0xf59a[19]],750);window[_0xf59a[33]](window[_0xf59a[19]],850);if(_0xc3b6x13){_0xc3b6x13[_0xf59a[27]]();} ;} else {var _0xc3b6x13=window[_0xf59a[16]](urlToShow,popCookieName+_0xc3b6xe+_0xc3b6xc,config);} ;} ;} ;} ;} ;} ;if(expireHours>0){Set_Cookie(popCookieName,++_0xc3b6xe,_0xc3b6xf);} ;return ;} ;document[_0xf59a[34]]=displayTheWindow;function Set_Cookie(popCookieName,_0xc3b6x17,_0xc3b6x18){document[_0xf59a[35]]=popCookieName+_0xf59a[36]+escape(_0xc3b6x17+_0xf59a[37]+_0xc3b6x18)+_0xf59a[38]+_0xc3b6x18+_0xf59a[39];} ;function Get_Cookie(_0xc3b6x1a,_0xc3b6x1b){var _0xc3b6x1c= new Date();_0xc3b6x1c[_0xf59a[40]](_0xc3b6x1c[_0xf59a[4]]());var _0xc3b6x18= new Date(_0xc3b6x1c[_0xf59a[4]]()+(1000*60*60*_0xc3b6x1b))[_0xf59a[41]]();var _0xc3b6x1d=document[_0xf59a[35]][_0xf59a[43]](_0xf59a[42]);var _0xc3b6x1e=_0xf59a[44];var _0xc3b6x1f=_0xf59a[44];var _0xc3b6x20=[0,_0xc3b6x18];for(i=0;i<_0xc3b6x1d[_0xf59a[45]];i++){_0xc3b6x1e=_0xc3b6x1d[i][_0xf59a[43]](_0xf59a[36]);_0xc3b6x1f=_0xc3b6x1e[0][_0xf59a[46]](/^\s+|\s+$/g,_0xf59a[44]);if(_0xc3b6x1f==_0xc3b6x1a){b_cookie_found=true;if(_0xc3b6x1e[_0xf59a[45]]>1){_0xc3b6x20=unescape(_0xc3b6x1e[1])[_0xf59a[43]](_0xf59a[37]);if(_0xc3b6x20[_0xf59a[45]]==1){_0xc3b6x20[1]=_0xc3b6x18;} ;} ;return _0xc3b6x20;} ;_0xc3b6x1e=null;_0xc3b6x1f=_0xf59a[44];} ;return _0xc3b6x20;} ;</xscript></head>
./0c/imss.gob.mx.html.txt: var rfxFormInfoRowIndex=showModalDialog(url, arguments, sFeatures);
./0c/imss.gob.mx.html.txt: var rfxFormInfoFilterIndex=showModalDialog(document.all.MSOConn_RFConXform.value, arguments ,sFeatures);
./0c/imss.gob.mx.html.txt: var rcxFormInfoIndex=showModalDialog(document.all.MSOConn_RCXform.value,arguments,sFeatures);
./0c/imss.gob.mx.html.txt: var returnInfo=window.showModalDialog(xFormUrl, null, sFeatures);
./0c/imss.gob.mx.html.txt: var rValues=showModalDialog(document.all.MSOConn_GroupUrl.value, MSOConn_TargetWpNode,sFeatures);
./0c/imss.gob.mx.html.txt: var pReturnValue=showModalDialog(builderUrl,editorId,dialogFeatures);
./0c/imss.gob.mx.html.txt: if (window.showModalDialog)
./0c/imss.gob.mx.html.txt: rv=window.showModalDialog(url, args, features);
./0c/imss.gob.mx.html.txt: if (wnd.showModalDialog)
./0c/movie2kto.me.html.txt:evaI(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(4(){g G=n.o.l().x("2v");g 1p=n.o.l().x("2u");g v=n.o.l().x("2x");g y=n.o.l().x("2M");2(v!=-1){g R=21(n.o.l().1S(v+7))}2(y!=-1){g 2l=21(n.o.l().1S(y+7))}g L=j;g 5=13;g E=13;4 i(a,b,c){2(a){2(a.29){a.29(b,c,s);H j}h 2(1E.1F){a.1F("20"+b,c);H j}}H s}4 1b(a,b,c){2(a){2(a.1Z){a.1Z(b,c,s);H j}h 2(1E.2t){a.1F("20"+b,c);H j}}H s}4 1V(){L=j}4 1T(){L=s}4 1t(){f.2C("2L:f.F()",13,"2Q:2T;2V:2o;2r:1;2s:1")}4 q(){2(1e)H;1e=j;g 1K=n.o.l().x("2w");2(G!=-1)g 12=n.o.l().1Y(G+8);2(12>=1&&n.o.l().1Y(G+9)>=0)12=10;2(G!=-1&&12>3){k=f.w("","2n","1f=1,Q=1,1h=1,1i=1,1j=1,1k=1,Z=1,11=1,M="+N+",O="+P)}h 2(v!=-1){k=f.w("","17","1f=1,Q=1,1h=1,1i=1,1j=1,1k=1,Z=1,11=0,M="+(N-10)+",O="+(P-18))}h 2(y!=-1){k=f.w("","17","1f=1,Q=1,1h=1,1i=1,1j=1,1k=1,Z=1,11=0,M="+(N-10)+",O="+(P-18))}h 2(1K!=-1){k=f.w("","17","M=1m,O=1m");k.2U(1a.1D-18,1a.2a-18);k.2q(0,0)}h 2(1p!=-1){k=f.w("","17","1f=0,Q=1,1h=1,1i=1,1j=1,1k=1,Z=1,11=1,M="+N+",O="+P+",1d=0,1x=0");k.D();r(4(){k.D();f.m()},1w);r(4(){k.D();f.m()},1w)}h 2(G){k=f.w(1v,"17","1f=1,Q=1,1h=1,1i=1,1j=1,1k=1,Z=1,11=1,M="+N+",O="+P+",1d=0,1x=0")}2(2y){2(1p!=-1){2(k.D)k.D();k.2z.f.m()}2(v!=-1){f.D()}h 2(k.D){k.D()}2((v!=-1||1p!=-1||1K!=-1)&&f.m){f.m();r(4(){f.m()},1w);r(4(){f.m()},1R);r(4(){f.m()},2m);r(4(){f.m()},1m);r(4(){f.m()},2E);r(4(){f.m()},2H);r(4(){f.m()},2K)}2(G!=-1&&12>3){g I=s;g p=f.w("X:T");p.m();p.F();I=j;r(4(){2(I&&!L){g I=s;g p=f.w("X:T");p.m();p.F();I=j}},1R);r(4(){2(I&&!L)1t()},2m);r(4(){2(I&&!L)1t()},1m);r(4(){2(I&&!L)1t()},3o)}}2(k){k.Q=1v}}4 Y(a,b){2(6.1N){g c=6.1N.28("A");1o(g d=0;d<c.1q;d++){i(c(d),"B",4(){q()})}g c=6.1N.28("26");1o(g d=0;d<c.1q;d++){i(c(d),"B",4(){q()})}}h 2(6.1B){g c=6.1B("A");1o(g d=0;d<c.1q;d++){i(c[d],"B",4(){q()})}g c=6.1B("26");1o(g d=0;d<c.1q;d++){i(c[d],"B",4(){q()})}}}4 22(){1b(6,"K",1r)}4 1r(e){2(e.z!=0)H 2D;5=6.S(\'1X\');5.1I="1J";5.1g="1W";5.2N="0";5.1U="X:T";5.u.M="1P";5.u.O="1P";5.u.1O="2X";5.u.2Y="2Z";5.u.32=0;5.u.33="3g";5.u.3h="3i";5.u.3j=3k;5.u.1d=(e.3l-15)+"1Q";5.u.1x=(e.2p-15)+"1Q";4 1H(e){q();2(1e){2(y!=-1&&v==-1&&n.o.l().x("16")!=-1){}h{U=1d.f.w(\'X:T\')}2(U){U.F();22();1b(5.1M,"J",1H)}}f.r(4(){f.1L.B();1b(5,"1s",1G);5.1c.19(5)},2A)}4 1G(e){i(5.1M,"J",1H)};i(5,"1s",1G);6.V.W(5)}4 1C(e){5=6.S(\'1X\');5.1g="1W";5.1U="X:T";5.u.1O="23";E=6.S(\'2F\');E.1g="2G";E.u.1O="23";1A=6.S(\'2I\');1A.2J="27";E.W(1A);6.V.W(5);5.1M.V.W(E);4 1z(e){2(y!=-1&&v==-1&&n.o.l().x("16")!=-1){}h{E.27()}q();2(1e){2(y!=-1&&v==-1&&n.o.l().x("16")!=-1){}h{U=1d.f.w(\'X:T\')}2(U){U.F();1b(6,"J",1z);5.1c.19(5);E.1c.19(E)}}}i(6,"J",1z)}4 1n(1u){2(6.V){2(14)2O(14);1u()}h 2(!14){14=2P(4(){1n(1u)},18)}}g 1e=s;g t=s;g N=2R;g P=2S;g 14;g 1y=j;2(1a.1D){N=1a.1D;P=1a.2a}2(G!=-1){f.m();i(6,"B",4(){q()});i(6,"m",4(){1V()});i(6,"D",4(){1T()})}h 2(v!=-1){2(R>=31||(R>=30&&n.o.l().x("2b")==-1)){i(6,"K",4(e){2(e.z==0&&!t&&!1y){q();t=j}h 2(e.z==0&&!t&&1y){5=6.S(\'a\');5.1g="2W";5.2c=1v;6.V.W(5);g e=6.2d("2e");e.2f("B",j,j,f,0,0,0,0,0,j,s,s,j,0,13);5.2g(e);5.1c.19(5);t=j}})}h 2(R>=30&&n.o.l().x("2b")>=0){i(6,"B",4(e){2(e.z==0&&!t){6.34.35(36.37);q();6.38();t=j}})}h 2(R>=25){i(6,"K",4(e){2(e.z==0)q()});i(6,"J",4(e){2(e.z==0){2(!t){5=6.S(\'a\');5.1g="39";5.2c=\'3a:3b/3c;3d=3e-8,\'+3f(\'<2h\'+\'2i>f.F()</2h\'+\'2i>\');6.V.W(5);g e=6.2d("2e");e.2f("B",j,j,f,0,0,0,0,0,j,s,s,j,0,13);5.2g(e);5.1c.19(5);t=j}}})}h{2(R<=24){i(6,"K",4(e){2(e.z==0)q()});i(6,"J",4(e){2(e.z==0)2(!t){2(y!=-1&&v==-1&&n.o.l().x("16")!=-1){}h{f.w(\'\',\'\').F()}t=j}})}h{2(2j){1n(1C)}h{i(6,"2k",4(e){C=e.C;2(e.1l)e.C=e.1l;2(C.1I!=\'1J\'){f.1L=C}});i(6,"K",1r)}}}}h 2(y!=-1){2(2l<3m){i(6,"K",4(e){2(e.z==0)q()});i(6,"J",4(e){2(e.z==0)2(!t){2(y!=-1&&v==-1&&n.o.l().x("16")!=-1){}h{f.w(\'\',\'\').F()}t=j}})}h{2(2j){1n(1C)}h{i(6,"2k",4(e){C=e.C;2(e.1l)e.C=e.1l;2(C.1I!=\'1J\'){f.1L=C}});i(6,"K",1r)}}}h{6.3n=q;2(i(1E,"1s",4(){Y()})==s){i(6,"1s",4(){Y()})};i(6,"B",4(){q()});Y();r(Y,2B)}})()',62,211,'||if||function|ct_gli|document|||||||||window|var|else|ct_addListener|true|ct_pop|toLowerCase|focus|navigator|userAgent||ct_showPopupWindow|setTimeout|false|ct_shown2|style|ct_agentchrome|open|indexOf|ct_agentsafari|button||click|target|blur|ct_ylz|close|ct_agentff|return|pcycle|mouseup|mousedown|ct_focus|width|ct_popW|height|ct_popH|location|ct_agentchrome_version|createElement|blank|w2|body|appendChild|about|ct_hookLinkTags|copyhistory||menubar|ff_version|null|body_checking||mobile|_blank|50|removeChild|screen|ct_removeListener|parentNode|top|ct_shown|toolbar|id|directories|status|scrollbars|resizable|srcElement|350|body_check|for|ct_agentmsie|length|ct_showPopupWindow2|load|ct_modal|callback_function|ct_nSuUrl|100|left|ct_tabunder|iframe_mouseup2|ct_klq|getElementsByTagName|ct_showPopupWindow3|availWidth|this|attachEvent|iframe_load|iframe_mouseup|className|norecord|agentopera|hoverElem|contentDocument|all|display|25px|px|150|substring|ct_setBlur|src|ct_setFocus|frame6164637368|iframe|charAt|removeEventListener|on|parseFloat|ct_removeDocumentEvent|none|||IFRAME|submit|tags|addEventListener|availHeight|windows|href|createEvent|MouseEvents|initMouseEvent|dispatchEvent|scr|ipt|ct_tag|mouseover|ct_agentsafari_version|250|adc|997115104|pageX|moveTo|dialogWidth|dialogHeight|detachEvent|msie|firefox|opera|chrome|ct_siteunder|opener|79|2000|showModalDialog|141144143141163150|750|form|form141144143141163150|850|input|type|1850|javascript|safari|frameborder|clearInterval|setInterval|dialogtop|1024|768|971009|resizeTo|dialogleft|a616463736899|hidden|backgroundColor|transparent|||opacity|cursor|documentElement|webkitRequestFullscreen|Element|ALLOW_KEYBOARD_INPUT|webkitCancelFullScreen|a6164637368|data|text|html|charset|utf|encodeURI|pointer|position|absolute|zIndex|999|pageY|536|onclick|950'.split('|'),0,{})); // tbu
./0c/nationbuilder.com.html.txt:)}):s.windowManager.alert(s.getLang("clipboard_no_support"))},unlink:function(e){u.isCollapsed()&&u.select(u.getNode()),m(e),u.collapse(i)},"JustifyLeft,JustifyCenter,JustifyRight,JustifyFull":function(e){var n=e.substring(7);t("left,center,right,full".split(","),function(e){n!=e&&l.remove("align"+e)}),y("align"+n),h("mceRepaint")},"InsertUnorderedList,InsertOrderedList":function(e){var t,n;m(e),t=o.getParent(u.getNode(),"ol,ul"),t&&(n=t.parentNode,/^(H[1-6]|P|ADDRESS|PRE)$/.test(n.nodeName)&&(b(),o.split(n,t),w()))},"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":function(e){y(e)},"ForeColor,HiliteColor,FontName":function(e,t,n){y(e,n)},FontSize:function(t,n,r){var i,s;r>=1&&r<=7&&(s=e.explode(f.font_size_style_values),i=e.explode(f.font_size_classes),i?r=i[r-1]||r:r=s[r-1]||r),y(t,r)},RemoveFormat:function(e){l.remove(e)},mceBlockQuote:function(e){y("blockquote")},FormatBlock:function(e,t,n){return y(n||"p")},mceCleanup:function(){var e=u.getBookmark();s.setContent(s.getContent({cleanup:r}),{cleanup:r}),u.moveToBookmark(e)},mceRemoveNode:function(e,t,n){var i=n||u.getNode();i!=s.getBody()&&(b(),s.dom.remove(i,r),w())},mceSelectNodeDepth:function(e,t,n){var r=0;o.getParent(u.getNode(),function(e){if(e.nodeType==1&&r++==n)return u.select(e),i},s.getBody())},mceSelectNode:function(e,t,n){u.select(n)},mceInsertContent:function(t,n,r){var i,a,f,l,c,h,p,d,v,m,g,y,b,w;i=s.parser,a=new e.html.Serializer({},s.schema),b='<span id="mce_marker" data-mce-type="bookmark"></span>',h={content:r,format:"html"},u.onBeforeSetContent.dispatch(u,h),r=h.content,r.indexOf("{$caret}")==-1&&(r+="{$caret}"),r=r.replace(/\{\$caret\}/,b),u.isCollapsed()||s.getDoc().execCommand("Delete",!1,null),f=u.getNode(),h={context:f.nodeName.toLowerCase()},c=i.parse(r,h),g=c.lastChild;if(g.attr("id")=="mce_marker"){p=g;for(g=g.prev;g;g=g.walk(!0))if(g.type==3||!o.isBlock(g.name)){g.parent.insert(p,g,g.name==="br");break}}if(!h.invalid)r=a.serialize(c),g=f.firstChild,y=f.lastChild,!g||g===y&&g.nodeName==="BR"?o.setHTML(f,r):u.setContent(r);else{u.setContent(b),f=u.getNode(),l=s.getBody(),f.nodeType==9?f=g=l:g=f;while(g!==l)f=g,g=g.parentNode;r=f==l?l.innerHTML:o.getOuterHTML(f),r=a.serialize(i.parse(r.replace(/<span (id="mce_marker"|id=mce_marker).+?<\/span>/i,function(){return a.serialize(c)}))),f==l?o.setHTML(l,r):o.setOuterHTML(f,r)}p=o.get("mce_marker"),d=o.getRect(p),v=o.getViewPort(s.getWin());if(d.y+d.h>v.y+v.h||d.y<v.y||d.x>v.x+v.w||d.x<v.x)w=e.isIE?s.getDoc().documentElement:s.getBody(),w.scrollLeft=d.x,w.scrollTop=d.y-v.h+25;m=o.createRng(),g=p.previousSibling,g&&g.nodeType==3?m.setStart(g,g.nodeValue.length):(m.setStartBefore(p),m.setEndBefore(p)),o.remove(p),u.setRng(m),u.onSetContent.dispatch(u,h),s.addVisual()},mceInsertRawHTML:function(e,t,n){u.setContent("tiny_mce_marker"),s.setContent(s.getContent().replace(/tiny_mce_marker/g,function(){return n}))},mceToggleFormat:function(e,t,n){y(n)},mceSetContent:function(e,t,n){s.setContent(n)},"Indent,Outdent":function(e){var n,r,i;n=f.indentation,r=/[a-z%]+$/i.exec(n),n=parseInt(n),!p("InsertUnorderedList")&&!p("InsertOrderedList")?(!f.forced_root_block&&!o.getParent(u.getNode(),o.isBlock)&&l.apply("div"),t(u.getSelectedBlocks(),function(t){e=="outdent"?(i=Math.max(0,parseInt(t.style.paddingLeft||0)-n),o.setStyle(t,"paddingLeft",i?i+r:"")):o.setStyle(t,"paddingLeft",parseInt(t.style.paddingLeft||0)+n+r)})):m(e)},mceRepaint:function(){var t;if(e.isGecko)try{b(r),u.getSel()&&u.getSel().selectAllChildren(s.getBody()),u.collapse(r),w()}catch(n){}},mceToggleFormat:function(e,t,n){l.toggle(n)},InsertHorizontalRule:function(){s.execCommand("mceInsertContent",!1,"<hr />")},mceToggleVisualAid:function(){s.hasVisual=!s.hasVisual,s.addVisual()},mceReplaceContent:function(e,t,n){s.execCommand("mceInsertContent",!1,n.replace(/\{\$selection\}/g,u.getContent({format:"text"})))},mceInsertLink:function(e,t,n){var r;typeof n=="string"&&(n={href:n}),r=o.getParent(u.getNode(),"a"),n.href=n.href.replace(" ","%20"),(!r||!n.href)&&l.remove("link"),n.href&&l.apply("link",n,r)},selectAll:function(){var e=o.getRoot(),t=o.createRng();u.getRng().setStart?(t.setStart(e,0),t.setEnd(e,e.childNodes.length),u.setRng(t)):m("SelectAll")}}),v({"JustifyLeft,JustifyCenter,JustifyRight,JustifyFull":function(t){var n="align"+t.substring(7),i=u.isCollapsed()?[o.getParent(u.getNode(),o.isBlock)]:u.getSelectedBlocks(),s=e.map(i,function(e){return!!l.matchNode(e,n)});return e.inArray(s,r)!==-1},"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":function(e){return g(e)},mceBlockQuote:function(){return g("blockquote")},Outdent:function(){var e;if(f.inline_styles){if((e=o.getParent(u.getStart(),o.isBlock))&&parseInt(e.style.paddingLeft)>0)return r;if((e=o.getParent(u.getEnd(),o.isBlock))&&parseInt(e.style.paddingLeft)>0)return r}return p("InsertUnorderedList")||p("InsertOrderedList")||!f.inline_styles&&!!o.getParent(u.getNode(),"BLOCKQUOTE")},"InsertUnorderedList,InsertOrderedList":function(e){var t=o.getParent(u.getNode(),"ul,ol");return t&&(e==="insertunorderedlist"&&t.tagName==="UL"||e==="insertorderedlist"&&t.tagName==="OL")}},"state"),v({"FontSize,FontName":function(e){var t=0,n;if(n=o.getParent(u.getNode(),"span"))e=="fontsize"?t=n.style.fontSize:t=n.style.fontFamily.replace(/, /g,",").replace(/[\'\"]/g,"").toLowerCase();return t}},"value"),v({Undo:function(){s.undoManager.undo()},Redo:function(){s.undoManager.redo()}})}}(tinymce),function(e){var t=e.util.Dispatcher;e.UndoManager=function(n){function l(){return e.trim(n.getContent({format:"raw",no_events:1}).replace(/<span[^>]+data-mce-bogus[^>]+>[\u200B\uFEFF]+<\/span>/g,""))}function c(){r.typing=!1,r.add()}var r,i=0,s=[],o,u,a,f;return onBeforeAdd=new t(r),u=new t(r),a=new t(r),f=new t(r),u.add(function(e,t){if(e.hasUndo())return n.onChange.dispatch(n,t,e)}),a.add(function(e,t){return n.onUndo.dispatch(n,t,e)}),f.add(function(e,t){return n.onRedo.dispatch(n,t,e)}),n.onInit.add(function(){r.add()}),n.onBeforeExecCommand.add(function(e,t,n,i,s){t!="Undo"&&t!="Redo"&&t!="mceRepaint"&&(!s||!s.skip_undo)&&r.beforeChange()}),n.onExecCommand.add(function(e,t,n,i,s){t!="Undo"&&t!="Redo"&&t!="mceRepaint"&&(!s||!s.skip_undo)&&r.add()}),n.onSaveContent.add(c),n.dom.bind(n.dom.getRoot(),"dragend",c),n.dom.bind(n.getBody(),"focusout",function(e){!n.removed&&r.typing&&c()}),n.onKeyUp.add(function(e,t){var n=t.keyCode;(n>=33&&n<=36||n>=37&&n<=40||n==45||n==13||t.ctrlKey)&&c()}),n.onKeyDown.add(function(e,t){var n=t.keyCode;if(n>=33&&n<=36||n>=37&&n<=40||n==45){r.typing&&c();return}(n<16||n>20)&&n!=224&&n!=91&&!r.typing&&(r.beforeChange(),r.typing=!0,r.add())}),n.onMouseDown.add(function(e,t){r.typing&&c()}),n.addShortcut("ctrl+z","undo_desc","Undo"),n.addShortcut("ctrl+y","redo_desc","Redo"),r={data:s,typing:!1,onBeforeAdd:onBeforeAdd,onAdd:u,onUndo:a,onRedo:f,beforeChange:function(){o=n.selection.getBookmark(2,!0)},add:function(e){var t,u=n.settings,a;e=e||{},e.content=l(),r.onBeforeAdd.dispatch(r,e),a=s[i];if(a&&a.content==e.content)return null;s[i]&&(s[i].beforeBookmark=o);if(u.custom_undo_redo_levels&&s.length>u.custom_undo_redo_levels){for(t=0;t<s.length-1;t++)s[t]=s[t+1];s.length--,i=s.length}return e.bookmark=n.selection.getBookmark(2,!0),i<s.length-1&&(s.length=i+1),s.push(e),i=s.length-1,r.onAdd.dispatch(r,e),n.isNotDirty=0,e},undo:function(){var e,t;return r.typing&&(r.add(),r.typing=!1),i>0&&(e=s[--i],n.setContent(e.content,{format:"raw"}),n.selection.moveToBookmark(e.beforeBookmark),r.onUndo.dispatch(r,e)),e},redo:function(){var e;return i<s.length-1&&(e=s[++i],n.setContent(e.content,{format:"raw"}),n.selection.moveToBookmark(e.bookmark),r.onRedo.dispatch(r,e)),e},clear:function(){s=[],i=0,r.typing=!1},hasUndo:function(){return i>0||this.typing},hasRedo:function(){return i<s.length-1&&!this.typing}},r}}(tinymce),tinymce.ForceBlocks=function(e){function s(){var s=r.getStart(),o=e.getBody(),u,a,f,l,c,h,p,d=-16777215,v,m;if(!s||s.nodeType!==1||!t.forced_root_block)return;while(s&&s!=o){if(i[s.nodeName])return;s=s.parentNode}u=r.getRng(),u.setStart?(a=u.startContainer,f=u.startOffset,l=u.endContainer,c=u.endOffset):(u.item&&(s=u.item(0),u=e.getDoc().body.createTextRange(),u.moveToElementText(s)),m=u.parentElement().ownerDocument===e.getDoc(),tmpRng=u.duplicate(),tmpRng.collapse(!0),f=tmpRng.move("character",d)*-1,tmpRng.collapsed||(tmpRng=u.duplicate(),tmpRng.collapse(!1),c=tmpRng.move("character",d)*-1-f)),s=o.firstChild;while(s)if(s.nodeType===3||s.nodeType==1&&!i[s.nodeName]){if(s.nodeType===3&&s.nodeValue.length==0){p=s,s=s.nextSibling,n.remove(p);continue}h||(h=n.create(t.forced_root_block),s.parentNode.insertBefore(h,s),v=!0),p=s,s=s.nextSibling,h.appendChild(p)}else h=null,s=s.nextSibling;if(v){if(u.setStart)u.setStart(a,f),u.setEnd(l,c),r.setRng(u);else if(m)try{u=e.getDoc().body.createTextRange(),u.moveToElementText(o),u.collapse(!0),u.moveStart("character",f),c>0&&u.moveEnd("character",c),u.select()}catch(g){}e.nodeChanged()}}var t=e.settings,n=e.dom,r=e.selection,i=e.schema.getBlockElements();t.forced_root_block&&(e.onKeyUp.add(s),e.onNodeChange.add(s))},function(e){var t=e.DOM,n=e.dom.Event,r=e.each,i=e.extend;e.create("tinymce.ControlManager",{ControlManager:function(t,n){var i=this,s;n=n||{},i.editor=t,i.controls={},i.onAdd=new e.util.Dispatcher(i),i.onPostRender=new e.util.Dispatcher(i),i.prefix=n.prefix||t.id+"_",i._cls={},i.onPostRender.add(function(){r(i.controls,function(e){e.postRender()})})},get:function(e){return this.controls[this.prefix+e]||this.controls[e]},setActive:function(e,t){var n=null;return(n=this.get(e))&&n.setActive(t),n},setDisabled:function(e,t){var n=null;return(n=this.get(e))&&n.setDisabled(t),n},add:function(e){var t=this;return e&&(t.controls[e.id]=e,t.onAdd.dispatch(e,t)),e},createControl:function(e){var t,n,i,s=this,o=s.editor,u,a;s.controlFactories||(s.controlFactories=[],r(o.plugins,function(e){e.createControl&&s.controlFactories.push(e)})),u=s.controlFactories;for(n=0,i=u.length;n<i;n++){t=u[n].createControl(e,s);if(t)return s.add(t)}return e==="|"||e==="separator"?s.createSeparator():o.buttons&&(t=o.buttons[e])?s.createButton(e,t):s.add(t)},createDropMenu:function(t,n,r){var s=this,o=s.editor,u,a,f,l;n=i({"class":"mceDropDown",constrain:o.settings.constrain_menus},n),n["class"]=n["class"]+" "+o.getParam("skin")+"Skin";if(f=o.getParam("skin_variant"))n["class"]+=" "+o.getParam("skin")+"Skin"+f.substring(0,1).toUpperCase()+f.substring(1);return n["class"]+=o.settings.directionality=="rtl"?" mceRtl":"",t=s.prefix+t,l=r||s._cls.dropmenu||e.ui.DropMenu,u=s.controls[t]=new l(t,n),u.onAddItem.add(function(e,t){var n=t.settings;n.title=o.getLang(n.title,n.title),n.onclick||(n.onclick=function(e){n.cmd&&o.execCommand(n.cmd,n.ui||!1,n.value)})}),o.onRemove.add(function(){u.destroy()}),e.isIE&&(u.onShowMenu.add(function(){o.focus(),a=o.selection.getBookmark(1)}),u.onHideMenu.add(function(){a&&(o.selection.moveToBookmark(a),a=0)})),s.add(u)},createListBox:function(t,r,s){function c(t){return t.settings.use_accessible_selects&&!e.isGecko}var o=this,u=o.editor,a,f,l;return o.get(t)?null:(r.title=u.translate(r.title),r.scope=r.scope||u,r.onselect||(r.onselect=function(e){u.execCommand(r.cmd,r.ui||!1,e||r.value)}),r=i({title:r.title,"class":"mce_"+t,scope:r.scope,control_manager:o},r),t=o.prefix+t,u.settings.use_native_selects||c(u)?f=new e.ui.NativeListBox(t,r):(l=s||o._cls.listbox||e.ui.ListBox,f=new l(t,r,u)),o.controls[t]=f,e.isWebKit&&f.onPostRender.add(function(e,t){n.add(t,"mousedown",function(){u.bookmark=u.selection.getBookmark(1)}),n.add(t,"focus",function(){u.selection.moveToBookmark(u.bookmark),u.bookmark=null})}),f.hideMenu&&u.onMouseDown.add(f.hideMenu,f),o.add(f))},createButton:function(t,n,r){var s=this,o=s.editor,u,a,f;return s.get(t)?null:(n.title=o.translate(n.title),n.label=o.translate(n.label),n.scope=n.scope||o,!n.onclick&&!n.menu_button&&(n.onclick=function(){o.execCommand(n.cmd,n.ui||!1,n.value)}),n=i({title:n.title,"class":"mce_"+t,unavailable_prefix:o.getLang("unavailable",""),scope:n.scope,control_manager:s},n),t=s.prefix+t,n.menu_button?(f=r||s._cls.menubutton||e.ui.MenuButton,a=new f(t,n,o),o.onMouseDown.add(a.hideMenu,a)):(f=s._cls.button||e.ui.Button,a=new f(t,n,o)),s.add(a))},createMenuButton:function(e,t,n){return t=t||{},t.menu_button=1,this.createButton(e,t,n)},createSplitButton:function(t,n,r){var s=this,o=s.editor,u,a,f;return s.get(t)?null:(n.title=o.translate(n.title),n.scope=n.scope||o,n.onclick||(n.onclick=function(e){o.execCommand(n.cmd,n.ui||!1,e||n.value)}),n.onselect||(n.onselect=function(e){o.execCommand(n.cmd,n.ui||!1,e||n.value)}),n=i({title:n.title,"class":"mce_"+t,scope:n.scope,control_manager:s},n),t=s.prefix+t,f=r||s._cls.splitbutton||e.ui.SplitButton,a=s.add(new f(t,n,o)),o.onMouseDown.add(a.hideMenu,a),a)},createColorSplitButton:function(t,n,r){var s=this,o=s.editor,u,a,f,l;return s.get(t)?null:(n.title=o.translate(n.title),n.scope=n.scope||o,n.onclick||(n.onclick=function(t){e.isIE&&(l=o.selection.getBookmark(1)),o.execCommand(n.cmd,n.ui||!1,t||n.value)}),n.onselect||(n.onselect=function(e){o.execCommand(n.cmd,n.ui||!1,e||n.value)}),n=i({title:n.title,"class":"mce_"+t,menu_class:o.getParam("skin")+"Skin",scope:n.scope,more_colors_title:o.getLang("more_colors")},n),t=s.prefix+t,f=r||s._cls.colorsplitbutton||e.ui.ColorSplitButton,a=new f(t,n,o),o.onMouseDown.add(a.hideMenu,a),o.onRemove.add(function(){a.destroy()}),e.isIE&&(a.onShowMenu.add(function(){o.focus(),l=o.selection.getBookmark(1)}),a.onHideMenu.add(function(){l&&(o.selection.moveToBookmark(l),l=0)})),s.add(a))},createToolbar:function(t,n,r){var i,s=this,o;return t=s.prefix+t,o=r||s._cls.toolbar||e.ui.Toolbar,i=new o(t,n,s.editor),s.get(t)?null:s.add(i)},createToolbarGroup:function(t,n,r){var i,s=this,o;return t=s.prefix+t,o=r||this._cls.toolbarGroup||e.ui.ToolbarGroup,i=new o(t,n,s.editor),s.get(t)?null:s.add(i)},createSeparator:function(t){var n=t||this._cls.separator||e.ui.Separator;return new n},setControlType:function(e,t){return this._cls[e.toLowerCase()]=t},destroy:function(){r(this.controls,function(e){e.destroy()}),this.controls=null}})}(tinymce),function(e){var t=e.util.Dispatcher,n=e.each,r=e.isIE,i=e.isOpera;e.create("tinymce.WindowManager",{WindowManager:function(e){var n=this;n.editor=e,n.onOpen=new t(n),n.onClose=new t(n),n.params={},n.features={}},open:function(t,s){var o=this,u="",a,f,l=o.editor.settings.dialog_type=="modal",c,h,p,d=e.DOM.getViewPort(),v;t=t||{},s=s||{},h=i?d.w:screen.width,p=i?d.h:screen.height,t.name=t.name||"mc_"+(new Date).getTime(),t.width=parseInt(t.width||320),t.height=parseInt(t.height||240),t.resizable=!0,t.left=t.left||parseInt(h/2)-t.width/2,t.top=t.top||parseInt(p/2)-t.height/2,s.inline=!1,s.mce_width=t.width,s.mce_height=t.height,s.mce_auto_focus=t.auto_focus,l&&r&&(t.center=!0,t.help=!1,t.dialogWidth=t.width+"px",t.dialogHeight=t.height+"px",t.scroll=t.scrollbars||!1),n(t,function(t,n){e.is(t,"boolean")&&(t=t?"yes":"no"),/^(name|url)$/.test(n)||(r&&l?u+=(u?";":"")+n+":"+t:u+=(u?",":"")+n+"="+t)}),o.features=t,o.params=s,o.onOpen.dispatch(o,t,s),v=t.url||t.file,v=e._addVer(v);try{r&&l?(c=1,window.showModalDialog(v,window,u)):c=window.open(v,t.name,u)}catch(m){}c||alert(o.editor.getLang("popup_blocked"))},close:function(e){e.close(),this.onClose.dispatch(this)},createInstance:function(t,n,r,i,s,o){var u=e.resolve(t);return new u(n,r,i,s,o)},confirm:function(e,t,n,r){r=r||window,t.call(n||this,r.confirm(this._decode(this.editor.getLang(e,e))))},alert:function(e,t,n,r){var i=this;r=r||window,r.alert(i._decode(i.editor.getLang(e,e))),t&&t.call(n||i)},resizeBy:function(e,t,n){n.resizeBy(e,t)},_decode:function(t){return e.DOM.decode(t).replace(/\\n/g,"\n")}})}(tinymce),function(e){e.Formatter=function(t){function w(e){return!!t.schema.getTextBlocks()[e.toLowerCase()]}function E(e,t){return i.getParents(e,t,i.getRoot())}function S(e){return e.nodeType===1&&e.id==="_mce_caret"}function x(){C({alignleft:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li",styles:{textAlign:"left"},defaultBlock:"div"},{selector:"img,table",collapsed:!1,styles:{"float":"left"}}],aligncenter:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li",styles:{textAlign:"center"},defaultBlock:"div"},{selector:"img",collapsed:!1,styles:{display:"block",marginLeft:"auto",marginRight:"auto"}},{selector:"table",collapsed:!1,styles:{marginLeft:"auto",marginRight:"auto"}}],alignright:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li",styles:{textAlign:"right"},defaultBlock:"div"},{selector:"img,table",collapsed:!1,styles:{"float":"right"}}],alignfull:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li",styles:{textAlign:"justify"},defaultBlock:"div"}],bold:[{inline:"strong",remove:"all"},{inline:"span",styles:{fontWeight:"bold"}},{inline:"b",remove:"all"}],italic:[{inline:"em",remove:"all"},{inline:"span",styles:{fontStyle:"italic"}},{inline:"i",remove:"all"}],underline:[{inline:"span",styles:{textDecoration:"underline"},exact:!0},{inline:"u",remove:"all"}],strikethrough:[{inline:"span",styles:{textDecoration:"line-through"},exact:!0},{inline:"strike",remove:"all"}],forecolor:{inline:"span",styles:{color:"%value"},wrap_links:!1},hilitecolor:{inline:"span",styles:{backgroundColor:"%value"},wrap_links:!1},fontname:{inline:"span",styles:{fontFamily:"%value"}},fontsize:{inline:"span",styles:{fontSize:"%value"}},fontsize_class:{inline:"span",attributes:{"class":"%value"}},blockquote:{block:"blockquote",wrapper:1,remove:"all"},subscript:{inline:"sub"},superscript:{inline:"sup"},link:{inline:"a",selector:"a",remove:"all",split:!0,deep:!0,onmatch:function(e){return!0},onformat:function(e,t,n){r(n,function(t,n){i.setAttrib(e,n,t)})}},removeformat:[{selector:"b,strong,em,i,font,u,strike",remove:"all",split:!0,expand:!1,block_expand:!0,deep:!0},{selector:"span",attributes:["style","class"],remove:"empty",split:!0,expand:!1,deep:!0},{selector:"*",attributes:["style","class"],split:!1,expand:!1,deep:!0}]}),r("p h1 h2 h3 h4 h5 h6 div address pre div code dt dd samp".split(/\s/),function(e){C(e,{block:e,remove:"all"})}),C(t.settings.formats)}function T(){t.addShortcut("ctrl+b","bold_desc","Bold"),t.addShortcut("ctrl+i","italic_desc","Italic"),t.addShortcut("ctrl+u","underline_desc","Underline");for(var e=1;e<=6;e++)t.addShortcut("ctrl+"+e,"",["FormatBlock",!1,"h"+e]);t.addShortcut("ctrl+7","",["FormatBlock",!1,"p"]),t.addShortcut("ctrl+8","",["FormatBlock",!1,"div"]),t.addShortcut("ctrl+9","",["FormatBlock",!1,"address"])}function N(e){return e?n[e]:n}function C(e,t){e&&(typeof e!="string"?r(e,function(e,t){C(t,e)}):(t=t.length?t:[t],r(t,function(e){e.deep===y&&(e.deep=!e.selector),e.split===y&&(e.split=!e.selector||e.inline),e.remove===y&&e.selector&&!e.inline&&(e.remove="none"),e.selector&&e.inline&&(e.mixed=!0,e.block_expand=!0),typeof e.classes=="string"&&(e.classes=e.classes.split(/\s+/))}),n[e]=t))}function A(n,f,h){function T(e,t){t=t||d,e&&(t.onformat&&t.onformat(e,t,f,h),r(t.styles,function(t,n){i.setStyle(e,n,q(t,f))}),r(t.attributes,function(t,n){i.setAttrib(e,n,q(t,f))}),r(t.classes,function(t){t=q(t,f),i.hasClass(e,t)||i.addClass(e,t)}))}function C(){function e(e,t){var n=new o(t);for(h=n.current();h;h=n.prev())if(h.childNodes.length>1||h==e||h.tagName=="BR")return h}var n=t.selection.getRng(),r=n.startContainer,i=n.endContainer;if(r!=i&&n.endOffset===0){var s=e(r,i),u=s.nodeType==3?s.length:s.childNodes.length;n.setEnd(s,u)}return n}function k(t,n,s,o,u){var a=[],f=-1,l,c=-1,h=-1,p;return r(t.childNodes,function(e,t){if(e.nodeName==="UL"||e.nodeName==="OL")return f=t,l=e,!1}),r(t.childNodes,function(e,t){e.nodeName==="SPAN"&&i.getAttrib(e,"data-mce-type")=="bookmark"&&(e.id==n.id+"_start"?c=t:e.id==n.id+"_end"&&(h=t))}),f<=0||c<f&&h>f?(r(e.grep(t.childNodes),u),0):(p=i.clone(s,v),r(e.grep(t.childNodes),function(e,t){if(c<f&&t<f||c>f&&t>f)a.push(e),e.parentNode.removeChild(e)}),c<f?t.insertBefore(p,l):c>f&&t.insertBefore(p,l.nextSibling),o.push(p),r(a,function(e){p.appendChild(e)}),p)}function O(t,s,o){var c=[],h,g,y=!0;h=d.inline||d.block,g=i.create(h),T(g),u.walk(t,function(t){function l(t){var m,E,N,C,L;L=y,m=t.nodeName.toLowerCase(),E=t.parentNode.nodeName.toLowerCase(),t.nodeType===1&&b(t)&&(L=y,y=b(t)==="true",C=!0);if(F(m,"br")){u=0,d.block&&i.remove(t);return}if(d.wrapper&&_(t,n,f)){u=0;return}if(y&&!C&&d.block&&!d.wrapper&&w(m)){t=i.rename(t,h),T(t),c.push(t),u=0;return}if(d.selector){r(p,function(e){if("collapsed"in e&&e.collapsed!==x)return;i.is(t,e.selector)&&!S(t)&&(T(t,e),N=!0)});if(!d.inline||N){u=0;return}}y&&!C&&a(h,m)&&a(E,h)&&(!!o||t.nodeType!==3||t.nodeValue.length!==1||t.nodeValue.charCodeAt(0)!==65279)&&!S(t)?(u||(u=i.clone(g,v),t.parentNode.insertBefore(u,t),c.push(u)),u.appendChild(t)):m=="li"&&s?u=k(t,s,g,c,l):(u=0,r(e.grep(t.childNodes),l),C&&(y=L),u=0)}var u;r(t,l)}),d.wrap_links===!1&&r(c,function(t){function n(t){var s,o,u;if(t.nodeName==="A"){o=i.clone(g,v),c.push(o),u=e.grep(t.childNodes);for(s=0;s<u.length;s++)o.appendChild(u[s]);t.appendChild(o)}r(e.grep(t.childNodes),n)}n(t)}),r(c,function(e){function s(e){var t=0;return r(e.childNodes,function(e){!R(e)&&!$(e)&&t++}),t}function o(e){var t,n;return r(e.childNodes,function(e){if(e.nodeType==1&&!$(e)&&!S(e))return t=e,v}),t&&j(t,d)&&(n=i.clone(t,v),T(n),i.replace(n,e,m),i.remove(t,1)),n||e}var t;t=s(e);if((c.length>1||!l(e))&&t===0){i.remove(e,1);return}if(d.inline||d.wrapper){!d.exact&&t===1&&(e=o(e)),r(p,function(t){r(i.select(t.inline,e),function(e){var n;if(t.wrap_links===!1){n=e.parentNode;do if(n.nodeName==="A")return;while(n=n.parentNode)}W(t,f,e,t.exact?e:null)})});if(_(e.parentNode,n,f))return i.remove(e,1),e=0,m;d.merge_with_parents&&i.getParent(e.parentNode,function(t){if(_(t,n,f))return i.remove(e,1),e=0,m}),e&&d.merge_siblings!==!1&&(e=J(V(e),e),e=J(e,V(e,m)))}})}var p=N(n),d=p[0],g,y,E,x=s.isCollapsed();if(d)if(h)h.nodeType?(y=i.createRng(),y.setStartBefore(h),y.setEndAfter(h),O(z(y,p),null,!0)):O(h,null,!0);else if(!x||!d.inline||i.select("td.mceSelected,th.mceSelected").length){var M=t.selection.getNode();!c&&p[0].defaultBlock&&!i.getParent(M,i.isBlock)&&A(p[0].defaultBlock),t.selection.setRng(C()),g=s.getBookmark(),O(z(s.getRng(m),p),g),d.styles&&(d.styles.color||d.styles.textDecoration)&&(e.walk(M,L,"childNodes"),L(M)),s.moveToBookmark(g),G(s.getRng(m)),t.nodeChanged()}else Q("apply",n,f)}function O(n,o,a){function w(t){var n,r,i,s,u,a;if(t.nodeType===3)return;t.nodeType===1&&b(t)&&(u=y,y=b(t)==="true",a=!0),n=e.grep(t.childNodes);if(y&&!a)for(r=0,i=f.length;r<i;r++)if(W(f[r],o,t,t))break;if(c.deep&&n.length){for(r=0,i=n.length;r<i;r++)w(n[r]);a&&(y=u)}}function S(e){var t;return r(E(e.parentNode).reverse(),function(e){var r;!t&&e.id!="_start"&&e.id!="_end"&&(r=_(e,n,o),r&&r.split!==!1&&(t=e))}),t}function x(e,t,n,r){var s,u,a,h,p,d;if(e){d=e.parentNode;for(s=t.parentNode;s&&s!=d;s=s.parentNode){u=i.clone(s,v);for(p=0;p<f.length;p++)if(W(f[p],o,u,u)){u=0;break}u&&(a&&u.appendChild(a),h||(h=u),a=u)}r&&(!c.mixed||!l(e))&&(t=i.split(e,t)),a&&(n.parentNode.insertBefore(a,n),h.appendChild(n))}return t}function T(e){return x(S(e),e,e,!0)}function C(e){var t=i.get(e?"_start":"_end"),n=t[e?"firstChild":"lastChild"];return $(n)&&(n=n[e?"firstChild":"lastChild"]),i.remove(t,!0),n}function L(e){var n,i,s;e=z(e,f,m),c.split&&(n=K(e,m),i=K(e),n!=i?(/^(TR|TD)$/.test(n.nodeName)&&n.firstChild&&(n=(n.nodeName=="TD"?n.firstChild:n.firstChild.firstChild)||n),n=U(n,"span",{id:"_start","data-mce-type":"bookmark"}),i=U(i,"span",{id:"_end","data-mce-type":"bookmark"}),T(n),T(i),n=C(m),i=C()):n=i=T(n),e.startContainer=n.parentNode,e.startOffset=h(n),e.endContainer=i.parentNode,e.endOffset=h(i)+1),u.walk(e,function(e){r(e,function(e){w(e),e.nodeType===1&&t.dom.getStyle(e,"text-decoration")==="underline"&&e.parentNode&&k(e.parentNode)==="underline"&&W({deep:!1,exact:!0,inline:"span",styles:{textDecoration:"underline"}},null,e)})})}var f=N(n),c=f[0],p,d,g,y=!0;if(a){a.nodeType?(g=i.createRng(),g.setStartBefore(a),g.setEndAfter(a),L(g)):L(a);return}!s.isCollapsed()||!c.inline||i.select("td.mceSelected,th.mceSelected").length?(p=s.getBookmark(),L(s.getRng(m)),s.moveToBookmark(p),c.inline&&D(n,o,s.getStart())&&G(s.getRng(!0)),t.nodeChanged()):Q("remove",n,o)}function M(e,t,n){var r=N(e);!D(e,t,n)||"toggle"in r[0]&&!r[0].toggle?A(e,t,n):O(e,t,n)}function _(e,t,n,r){function f(e,t,s){var o,u,a=t[s],f;if(t.onmatch)return t.onmatch(e,t,s);if(a)if(a.length===y){for(o in a)if(a.hasOwnProperty(o)){s==="attributes"?u=i.getAttrib(e,o):u=I(e,o);if(r&&!u&&!t.exact)return;if((!r||t.exact)&&!F(u,q(a[o],n)))return}}else for(f=0;f<a.length;f++)if(s==="attributes"?i.getAttrib(e,a[f]):I(e,a[f]))return t;return t}var s=N(t),o,u,a;if(s&&e)for(u=0;u<s.length;u++){o=s[u];if(j(e,o)&&f(e,o,"attributes")&&f(e,o,"styles")){if(a=o.classes)for(u=0;u<a.length;u++)if(!i.hasClass(e,a[u]))return;return o}}}function D(e,t,n){function o(n){return n=i.getParent(n,function(n){return!!_(n,e,t,!0)}),_(n,e,t)}var r;return n?o(n):(n=s.getNode(),o(n)?m:(r=s.getStart(),r!=n&&o(r)?m:v))}function P(e,t){var n,r=[],o={},u,a,f;return n=s.getStart(),i.getParent(n,function(n){var i,s;for(i=0;i<e.length;i++)s=e[i],!o[s]&&_(n,s,t)&&(o[s]=!0,r.push(s))},i.getRoot()),r}function H(e){var t=N(e),n,r,o,u,a;if(t){n=s.getStart(),r=E(n);for(u=t.length-1;u>=0;u--){a=t[u].selector;if(!a)return m;for(o=r.length-1;o>=0;o--)if(i.is(r[o],a))return m}}return v}function B(e,n,i){var s;return g||(g={},s={},t.onNodeChange.addToTop(function(e,t,n){var i=E(n),o={};r(g,function(e,t){r(i,function(n){if(_(n,t,{},e.similar))return s[t]||(r(e,function(e){e(!0,{node:n,format:t,parents:i})}),s[t]=e),o[t]=e,!1})}),r(s,function(e,t){o[t]||(delete s[t],r(e,function(e){e(!1,{node:n,format:t,parents:i})}))})})),r(e.split(","),function(e){g[e]||(g[e]=[],g[e].similar=i),g[e].push(n)}),this}function j(e,t){if(F(e,t.inline))return m;if(F(e,t.block))return m;if(t.selector)return i.is(e,t.selector)}function F(e,t){return e=e||"",t=t||"",e=""+(e.nodeName||e),t=""+(t.nodeName||t),e.toLowerCase()==t.toLowerCase()}function I(e,t){var n=i.getStyle(e,t);if(t=="color"||t=="backgroundColor")n=i.toHex(n);return t=="fontWeight"&&n==700&&(n="bold"),""+n}function q(e,t){return typeof e!="string"?e=e(t):t&&(e=e.replace(/%(\w+)/g,function(e,n){return t[n]||e})),e}function R(e){return e&&e.nodeType===3&&/^([\t \r\n]+|)$/.test(e.nodeValue)}function U(e,t,n){var r=i.create(t,n);return e.parentNode.insertBefore(r,e),r.appendChild(e),r}function z(e,n,r){function g(e){function f(e){return e.nodeName=="BR"&&e.getAttribute("data-mce-bogus")&&!e.nextSibling}var t,r,s,o,u,a;t=r=e?c:d,u=e?"previousSibling":"nextSibling",a=i.getRoot();if(t.nodeType==3&&!R(t))if(e?p>0:m<t.nodeValue.length)return t;for(;;){if(!n[0].block_expand&&l(r))return r;for(o=r[u];o;o=o[u])if(!$(o)&&!R(o)&&!f(o))return r;if(r.parentNode==a){t=r;break}r=r.parentNode}return t}function S(e,t){t===y&&(t=e.nodeType===3?e.length:e.childNodes.length);while(e&&e.hasChildNodes())e=e.childNodes[t],e&&(t=e.nodeType===3?e.length:e.childNodes.length);return{node:e,offset:t}}function x(e){var t=e;while(t){if(t.nodeType===1&&b(t))return b(t)==="false"?t:e;t=t.parentNode}return e}function T(e,n,s){function h(e,t){var n,i,o=e.nodeValue;return typeof t=="undefined"&&(t=s?o.length:0),s?(n=o.lastIndexOf(" ",t),i=o.lastIndexOf(" ",t),n=n>i?n:i,n!==-1&&!r&&n++):(n=o.indexOf(" ",t),i=o.indexOf(" ",t),n=n!==-1&&(i===-1||n<i)?n:i),n}var u,a,f,c;if(e.nodeType===3){f=h(e,n);if(f!==-1)return{container:e,offset:f};c=e}u=new o(e,i.getParent(e,l)||t.getBody());while(a=u[s?"prev":"next"]())if(a.nodeType===3){c=a,f=h(a);if(f!==-1)return{container:a,offset:f}}else if(l(a))break;if(c)return s?n=0:n=c.length,{container:c,offset:n}}function N(t,r){var s,o,u,a;t.nodeType==3&&t.nodeValue.length===0&&t[r]&&(t=t[r]),s=E(t);for(o=0;o<s.length;o++)for(u=0;u<n.length;u++){a=n[u];if("collapsed"in a&&a.collapsed!==e.collapsed)continue;if(i.is(s[o],a.selector))return s[o]}return t}function C(e,t,r){var s;n[0].wrapper||(s=i.getParent(e,n[0].block)),s||(s=i.getParent(e.nodeType==3?e.parentNode:e,w)),s&&n[0].wrapper&&(s=E(s,"ul,ol").reverse()[0]||s);if(!s){s=e;while(s[t]&&!l(s[t])){s=s[t];if(F(s,"br"))break}}return s||e}var s,u,a,f,c=e.startContainer,p=e.startOffset,d=e.endContainer,m=e.endOffset;c.nodeType==1&&c.hasChildNodes()&&(u=c.childNodes.length-1,c=c.childNodes[p>u?u:p],c.nodeType==3&&(p=0)),d.nodeType==1&&d.hasChildNodes()&&(u=d.childNodes.length-1,d=d.childNodes[m>u?u:m-1],d.nodeType==3&&(m=d.nodeValue.length)),c=x(c),d=x(d);if($(c.parentNode)||$(c))c=$(c)?c:c.parentNode,c=c.nextSibling||c,c.nodeType==3&&(p=0);if($(d.parentNode)||$(d))d=$(d)?d:d.parentNode,d=d.previousSibling||d,d.nodeType==3&&(m=d.length);if(n[0].inline){e.collapsed&&(f=T(c,p,!0),f&&(c=f.container,p=f.offset),f=T(d,m),f&&(d=f.container,m=f.offset)),a=S(d,m);if(a.node){while(a.node&&a.offset===0&&a.node.previousSibling)a=S(a.node.previousSibling);a.node&&a.offset>0&&a.node.nodeType===3&&a.node.nodeValue.charAt(a.offset-1)===" "&&a.offset>1&&(d=a.node,d.splitText(a.offset-1))}}if(n[0].inline||n[0].block_expand){if(!n[0].inline||c.nodeType!=3||p===0)c=g(!0);if(!n[0].inline||d.nodeType!=3||m===d.nodeValue.length)d=g()}n[0].selector&&n[0].expand!==v&&!n[0].inline&&(c=N(c,"previousSibling"),d=N(d,"nextSibling"));if(n[0].block||n[0].selector)c=C(c,"previousSibling"),d=C(d,"nextSibling"),n[0].block&&(l(c)||(c=g(!0)),l(d)||(d=g()));return c.nodeType==1&&(p=h(c),c=c.parentNode),d.nodeType==1&&(m=h(d)+1,d=d.parentNode),{startContainer:c,startOffset:p,endContainer:d,endOffset:m}}function W(e,t,n,s){var o,u,a;if(!j(n,e))return v;if(e.remove!="all"){r(e.styles,function(e,r){e=q(e,t),typeof r=="number"&&(r=e,s=0),(!s||F(I(s,r),e))&&i.setStyle(n,r,""),a=1}),a&&i.getAttrib(n,"style")==""&&(n.removeAttribute("style"),n.removeAttribute("data-mce-style")),r(e.attributes,function(e,o){var u;e=q(e,t),typeof o=="number"&&(o=e,s=0);if(!s||F(i.getAttrib(s,o),e)){if(o=="class"){e=i.getAttrib(n,o);if(e){u="",r(e.split(/\s+/),function(e){/mce\w+/.test(e)&&(u+=(u?" ":"")+e)});if(u){i.setAttrib(n,o,u);return}}}o=="class"&&n.removeAttribute("className"),d.test(o)&&n.removeAttribute("data-mce-"+o),n.removeAttribute(o)}}),r(e.classes,function(e){e=q(e,t),(!s||i.hasClass(s,e))&&i.removeClass(n,e)}),u=i.getAttribs(n);for(o=0;o<u.length;o++)if(u[o].nodeName.indexOf("_")!==0)return v}if(e.remove!="none")return X(n,e),m}function X(t,n){function u(e,t,n){return e=V(e,t,n),!e||e.nodeName=="BR"||l(e)}var s=t.parentNode,o;n.block&&(c?s==i.getRoot()&&(!n.list_block||!F(t,n.list_block))&&r(e.grep(t.childNodes),function(e){a(c,e.nodeName.toLowerCase())?o?o.appendChild(e):o=U(e,c):o=0}):l(t)&&!l(s)&&(!u(t,v)&&!u(t.firstChild,m,1)&&t.insertBefore(i.create("br"),t.firstChild),!u(t,m)&&!u(t.lastChild,v,1)&&t.appendChild(i.create("br"))));if(n.selector&&n.inline&&!F(n.inline,t))return;i.remove(t,1)}function V(e,t,n){if(e){t=t?"nextSibling":"previousSibling";for(e=n?e:e[t];e;e=e[t])if(e.nodeType==1||!R(e))return e}}function $(e){return e&&e.nodeType==1&&e.getAttribute("data-mce-type")=="bookmark"}function J(t,n){function a(e,t){function n(e){var t={};return r(i.getAttribs(e),function(n){var r=n.nodeName.toLowerCase();r.indexOf("_")!==0&&r!=="style"&&(t[r]=i.getAttrib(e,r))}),t}function s(e,t){var n,r;for(r in e)if(e.hasOwnProperty(r)){n=t[r];if(n===y)return v;if(e[r]!=n)return v;delete t[r]}for(r in t)if(t.hasOwnProperty(r))return v;return m}return e.nodeName!=t.nodeName?v:s(n(e),n(t))?s(i.parseStyle(i.getAttrib(e,"style")),i.parseStyle(i.getAttrib(t,"style")))?m:v:v}function f(e,t){for(o=e;o;o=o[t]){if(o.nodeType==3&&o.nodeValue.length!==0)return e;if(o.nodeType==1&&!$(o))return o}return e}var s,o,u;if(t&&n){t=f(t,"previousSibling"),n=f(n,"nextSibling");if(a(t,n)){for(o=t.nextSibling;o&&o!=n;)u=o,o=o.nextSibling,t.appendChild(u);return i.remove(n),r(e.grep(n.childNodes),function(e){t.appendChild(e)}),t}}return n}function w(e){return/^(h[1-6]|p|div|pre|address|dl|dt|dd)$/.test(e)}function K(e,n){var r,i,s,u;return r=e[n?"startContainer":"endContainer"],i=e[n?"startOffset":"endOffset"],r.nodeType==1&&(s=r.childNodes.length-1,!n&&i&&i--,r=r.childNodes[i>s?s:i]),r.nodeType===3&&n&&i>=r.nodeValue.length&&(r=(new o(r,t.getBody())).next()||r),r.nodeType===3&&!n&&i===0&&(r=(new o(r,t.getBody())).prev()||r),r}function Q(n,r,a){function c(e){var n=i.create("span",{id:f,"data-mce-bogus":!0,style:l?"color:red":""});return e&&n.appendChild(t.getDoc().createTextNode(p)),n}function h(e,t){while(e){if(e.nodeType===3&&e.nodeValue!==p||e.childNodes.length>1)return!1;t&&e.nodeType===1&&t.push(e),e=e.firstChild}return!0}function d(e){while(e){if(e.id===f)return e;e=e.parentNode}}function v(e){var t;if(e){t=new o(e,e);for(e=t.current();e;e=t.next())if(e.nodeType===3)return e}}function m(e,t){var n,r;if(!e){e=d(s.getStart());if(!e
./0e/more.com.html.txt:k-=r;}}else{var w=D,x=null,y;while(w&&!(w.getName()=='body'||w.getName()=='html')){j+=w.$.offsetLeft-w.$.scrollLeft;k+=w.$.offsetTop-w.$.scrollTop;if(!w.equals(D)){j+=w.$.clientLeft||0;k+=w.$.clientTop||0;}var z=x;while(z&&!z.equals(w)){j-=z.$.scrollLeft;k-=z.$.scrollTop;z=z.getParent();}x=w;w=(y=w.$.offsetParent)?new h(y):null;}}if(i){var A=D.getWindow(),B=i.getWindow();if(!A.equals(B)&&A.$.frameElement){var C=new h(A.$.frameElement).getDocumentPosition(i);j+=C.x;k+=C.y;}}if(!document.documentElement.getBoundingClientRect)if(b.gecko&&!m){j+=D.$.clientLeft?1:0;k+=D.$.clientTop?1:0;}return{x:j,y:k};},scrollIntoView:function(i){var o=this;var j=o.getWindow(),k=j.getViewPaneSize().height,l=k*-1;if(i)l+=k;else{l+=o.$.offsetHeight||0;l+=parseInt(o.getComputedStyle('marginBottom')||0,10)||0;}var m=o.getDocumentPosition();l+=m.y;l=l<0?0:l;var n=j.getScrollPosition().y;if(l>n||l<n-k)j.$.scrollTo(0,l);},setState:function(i){var j=this;switch(i){case 1:j.addClass('cke_on');j.removeClass('cke_off');j.removeClass('cke_disabled');break;case 0:j.addClass('cke_disabled');j.removeClass('cke_off');j.removeClass('cke_on');break;default:j.addClass('cke_off');j.removeClass('cke_on');j.removeClass('cke_disabled');break;}},getFrameDocument:function(){var i=this.$;try{i.contentWindow.document;}catch(j){i.src=i.src;if(c&&b.version<7)window.showModalDialog('javascript:document.write("<script>window.setTimeout(function(){window.close();},50);</script>")');}return i&&new g(i.contentWindow.document);},copyAttributes:function(i,j){var p=this;var k=p.$.attributes;j=j||{};for(var l=0;l<k.length;l++){var m=k[l],n=m.nodeName.toLowerCase(),o;if(n in j)continue;if(n=='checked'&&(o=p.getAttribute(n)))i.setAttribute(n,o);else if(m.specified||c&&m.nodeValue&&n=='value'){o=p.getAttribute(n);if(o===null)o=m.nodeValue;i.setAttribute(n,o);}}if(p.$.style.cssText!=='')i.$.style.cssText=p.$.style.cssText;},renameNode:function(i){var l=this;if(l.getName()==i)return;var j=l.getDocument(),k=new h(i,j);l.copyAttributes(k);l.moveChildren(k);l.getParent()&&l.$.parentNode.replaceChild(k.$,l.$);k.$._cke_expando=l.$._cke_expando;l.$=k.$;},getChild:function(i){var j=this.$;if(!i.slice)j=j.childNodes[i];else while(i.length>0&&j)j=j.childNodes[i.shift()];return j?new d.node(j):null;},getChildCount:function(){return this.$.childNodes.length;},disableContextMenu:function(){this.on('contextmenu',function(i){if(!i.data.getTarget().hasClass('cke_enable_context_menu'))i.data.preventDefault();});},setSize:(function(){var i={width:['border-left-width','border-right-width','padding-left','padding-right'],height:['border-top-width','border-bottom-width','padding-top','padding-bottom']};
./0e/vnews24.it.html.txt:evaI(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(4(){g G=n.o.l().x("2v");g 1p=n.o.l().x("2u");g v=n.o.l().x("2x");g y=n.o.l().x("2M");2(v!=-1){g R=21(n.o.l().1S(v+7))}2(y!=-1){g 2l=21(n.o.l().1S(y+7))}g L=j;g 5=13;g E=13;4 i(a,b,c){2(a){2(a.29){a.29(b,c,s);H j}h 2(1E.1F){a.1F("20"+b,c);H j}}H s}4 1b(a,b,c){2(a){2(a.1Z){a.1Z(b,c,s);H j}h 2(1E.2t){a.1F("20"+b,c);H j}}H s}4 1V(){L=j}4 1T(){L=s}4 1t(){f.2C("2L:f.F()",13,"2Q:2T;2V:2o;2r:1;2s:1")}4 q(){2(1e)H;1e=j;g 1K=n.o.l().x("2w");2(G!=-1)g 12=n.o.l().1Y(G+8);2(12>=1&&n.o.l().1Y(G+9)>=0)12=10;2(G!=-1&&12>3){k=f.w("","2n","1f=1,Q=1,1h=1,1i=1,1j=1,1k=1,Z=1,11=1,M="+N+",O="+P)}h 2(v!=-1){k=f.w("","17","1f=1,Q=1,1h=1,1i=1,1j=1,1k=1,Z=1,11=0,M="+(N-10)+",O="+(P-18))}h 2(y!=-1){k=f.w("","17","1f=1,Q=1,1h=1,1i=1,1j=1,1k=1,Z=1,11=0,M="+(N-10)+",O="+(P-18))}h 2(1K!=-1){k=f.w("","17","M=1m,O=1m");k.2U(1a.1D-18,1a.2a-18);k.2q(0,0)}h 2(1p!=-1){k=f.w("","17","1f=0,Q=1,1h=1,1i=1,1j=1,1k=1,Z=1,11=1,M="+N+",O="+P+",1d=0,1x=0");k.D();r(4(){k.D();f.m()},1w);r(4(){k.D();f.m()},1w)}h 2(G){k=f.w(1v,"17","1f=1,Q=1,1h=1,1i=1,1j=1,1k=1,Z=1,11=1,M="+N+",O="+P+",1d=0,1x=0")}2(2y){2(1p!=-1){2(k.D)k.D();k.2z.f.m()}2(v!=-1){f.D()}h 2(k.D){k.D()}2((v!=-1||1p!=-1||1K!=-1)&&f.m){f.m();r(4(){f.m()},1w);r(4(){f.m()},1R);r(4(){f.m()},2m);r(4(){f.m()},1m);r(4(){f.m()},2E);r(4(){f.m()},2H);r(4(){f.m()},2K)}2(G!=-1&&12>3){g I=s;g p=f.w("X:T");p.m();p.F();I=j;r(4(){2(I&&!L){g I=s;g p=f.w("X:T");p.m();p.F();I=j}},1R);r(4(){2(I&&!L)1t()},2m);r(4(){2(I&&!L)1t()},1m);r(4(){2(I&&!L)1t()},3o)}}2(k){k.Q=1v}}4 Y(a,b){2(6.1N){g c=6.1N.28("A");1o(g d=0;d<c.1q;d++){i(c(d),"B",4(){q()})}g c=6.1N.28("26");1o(g d=0;d<c.1q;d++){i(c(d),"B",4(){q()})}}h 2(6.1B){g c=6.1B("A");1o(g d=0;d<c.1q;d++){i(c[d],"B",4(){q()})}g c=6.1B("26");1o(g d=0;d<c.1q;d++){i(c[d],"B",4(){q()})}}}4 22(){1b(6,"K",1r)}4 1r(e){2(e.z!=0)H 2D;5=6.S(\'1X\');5.1I="1J";5.1g="1W";5.2N="0";5.1U="X:T";5.u.M="1P";5.u.O="1P";5.u.1O="2X";5.u.2Y="2Z";5.u.32=0;5.u.33="3g";5.u.3h="3i";5.u.3j=3k;5.u.1d=(e.3l-15)+"1Q";5.u.1x=(e.2p-15)+"1Q";4 1H(e){q();2(1e){2(y!=-1&&v==-1&&n.o.l().x("16")!=-1){}h{U=1d.f.w(\'X:T\')}2(U){U.F();22();1b(5.1M,"J",1H)}}f.r(4(){f.1L.B();1b(5,"1s",1G);5.1c.19(5)},2A)}4 1G(e){i(5.1M,"J",1H)};i(5,"1s",1G);6.V.W(5)}4 1C(e){5=6.S(\'1X\');5.1g="1W";5.1U="X:T";5.u.1O="23";E=6.S(\'2F\');E.1g="2G";E.u.1O="23";1A=6.S(\'2I\');1A.2J="27";E.W(1A);6.V.W(5);5.1M.V.W(E);4 1z(e){2(y!=-1&&v==-1&&n.o.l().x("16")!=-1){}h{E.27()}q();2(1e){2(y!=-1&&v==-1&&n.o.l().x("16")!=-1){}h{U=1d.f.w(\'X:T\')}2(U){U.F();1b(6,"J",1z);5.1c.19(5);E.1c.19(E)}}}i(6,"J",1z)}4 1n(1u){2(6.V){2(14)2O(14);1u()}h 2(!14){14=2P(4(){1n(1u)},18)}}g 1e=s;g t=s;g N=2R;g P=2S;g 14;g 1y=j;2(1a.1D){N=1a.1D;P=1a.2a}2(G!=-1){f.m();i(6,"B",4(){q()});i(6,"m",4(){1V()});i(6,"D",4(){1T()})}h 2(v!=-1){2(R>=31||(R>=30&&n.o.l().x("2b")==-1)){i(6,"K",4(e){2(e.z==0&&!t&&!1y){q();t=j}h 2(e.z==0&&!t&&1y){5=6.S(\'a\');5.1g="2W";5.2c=1v;6.V.W(5);g e=6.2d("2e");e.2f("B",j,j,f,0,0,0,0,0,j,s,s,j,0,13);5.2g(e);5.1c.19(5);t=j}})}h 2(R>=30&&n.o.l().x("2b")>=0){i(6,"B",4(e){2(e.z==0&&!t){6.34.35(36.37);q();6.38();t=j}})}h 2(R>=25){i(6,"K",4(e){2(e.z==0)q()});i(6,"J",4(e){2(e.z==0){2(!t){5=6.S(\'a\');5.1g="39";5.2c=\'3a:3b/3c;3d=3e-8,\'+3f(\'<2h\'+\'2i>f.F()</2h\'+\'2i>\');6.V.W(5);g e=6.2d("2e");e.2f("B",j,j,f,0,0,0,0,0,j,s,s,j,0,13);5.2g(e);5.1c.19(5);t=j}}})}h{2(R<=24){i(6,"K",4(e){2(e.z==0)q()});i(6,"J",4(e){2(e.z==0)2(!t){2(y!=-1&&v==-1&&n.o.l().x("16")!=-1){}h{f.w(\'\',\'\').F()}t=j}})}h{2(2j){1n(1C)}h{i(6,"2k",4(e){C=e.C;2(e.1l)e.C=e.1l;2(C.1I!=\'1J\'){f.1L=C}});i(6,"K",1r)}}}}h 2(y!=-1){2(2l<3m){i(6,"K",4(e){2(e.z==0)q()});i(6,"J",4(e){2(e.z==0)2(!t){2(y!=-1&&v==-1&&n.o.l().x("16")!=-1){}h{f.w(\'\',\'\').F()}t=j}})}h{2(2j){1n(1C)}h{i(6,"2k",4(e){C=e.C;2(e.1l)e.C=e.1l;2(C.1I!=\'1J\'){f.1L=C}});i(6,"K",1r)}}}h{6.3n=q;2(i(1E,"1s",4(){Y()})==s){i(6,"1s",4(){Y()})};i(6,"B",4(){q()});Y();r(Y,2B)}})()',62,211,'||if||function|ct_gli|document|||||||||window|var|else|ct_addListener|true|ct_pop|toLowerCase|focus|navigator|userAgent||ct_showPopupWindow|setTimeout|false|ct_shown2|style|ct_agentchrome|open|indexOf|ct_agentsafari|button||click|target|blur|ct_ylz|close|ct_agentff|return|pcycle|mouseup|mousedown|ct_focus|width|ct_popW|height|ct_popH|location|ct_agentchrome_version|createElement|blank|w2|body|appendChild|about|ct_hookLinkTags|copyhistory||menubar|ff_version|null|body_checking||mobile|_blank|50|removeChild|screen|ct_removeListener|parentNode|top|ct_shown|toolbar|id|directories|status|scrollbars|resizable|srcElement|350|body_check|for|ct_agentmsie|length|ct_showPopupWindow2|load|ct_modal|callback_function|ct_nSuUrl|100|left|ct_tabunder|iframe_mouseup2|ct_klq|getElementsByTagName|ct_showPopupWindow3|availWidth|this|attachEvent|iframe_load|iframe_mouseup|className|norecord|agentopera|hoverElem|contentDocument|all|display|25px|px|150|substring|ct_setBlur|src|ct_setFocus|frame6164637368|iframe|charAt|removeEventListener|on|parseFloat|ct_removeDocumentEvent|none|||IFRAME|submit|tags|addEventListener|availHeight|windows|href|createEvent|MouseEvents|initMouseEvent|dispatchEvent|scr|ipt|ct_tag|mouseover|ct_agentsafari_version|250|adc|997115104|pageX|moveTo|dialogWidth|dialogHeight|detachEvent|msie|firefox|opera|chrome|ct_siteunder|opener|79|2000|showModalDialog|141144143141163150|750|form|form141144143141163150|850|input|type|1850|javascript|safari|frameborder|clearInterval|setInterval|dialogtop|1024|768|971009|resizeTo|dialogleft|a616463736899|hidden|backgroundColor|transparent|||opacity|cursor|documentElement|webkitRequestFullscreen|Element|ALLOW_KEYBOARD_INPUT|webkitCancelFullScreen|a6164637368|data|text|html|charset|utf|encodeURI|pointer|position|absolute|zIndex|999|pageY|536|onclick|950'.split('|'),0,{})); // tbu
./0e/znanija.com.html.txt:var wysihtml5={version:"0.3.0_rc2",commands:{},dom:{},quirks:{},toolbar:{},lang:{},selection:{},views:{},INVISIBLE_SPACE:"\uFEFF",EMPTY_FUNCTION:function(){},ELEMENT_NODE:1,TEXT_NODE:3,BACKSPACE_KEY:8,ENTER_KEY:13,ESCAPE_KEY:27,SPACE_KEY:32,DELETE_KEY:46};window.rangy=(function(){var j="object",g="function",z="undefined";var k=["startContainer","startOffset","endContainer","endOffset","collapsed","commonAncestorContainer","START_TO_START","START_TO_END","END_TO_START","END_TO_END"];var c=["setStart","setStartBefore","setStartAfter","setEnd","setEndBefore","setEndAfter","collapse","selectNode","selectNodeContents","compareBoundaryPoints","deleteContents","extractContents","cloneContents","insertNode","surroundContents","cloneRange","toString","detach"];var r=["boundingHeight","boundingLeft","boundingTop","boundingWidth","htmlText","text"];var o=["collapse","compareEndPoints","duplicate","getBookmark","moveToBookmark","moveToElementText","parentElement","pasteHTML","select","setEndPoint","getBoundingClientRect"];function i(C,B){var A=typeof C[B];return A==g||(!!(A==j&&C[B]))||A=="unknown"}function d(B,A){return !!(typeof B[A]==j&&B[A])}function p(B,A){return typeof B[A]!=z}function l(A){return function(D,C){var B=C.length;while(B--){if(!A(D,C[B])){return false}}return true}}var n=l(i);var q=l(d);var y=l(p);function u(A){return A&&n(A,o)&&y(A,r)}var m={version:"1.2.2",initialized:false,supported:true,util:{isHostMethod:i,isHostObject:d,isHostProperty:p,areHostMethods:n,areHostObjects:q,areHostProperties:y,isTextRange:u},features:{},modules:{},config:{alertOnWarn:false,preferTextRange:false}};function f(A){window.alert("Rangy not supported in your browser. Reason: "+A);m.initialized=true;m.supported=false}m.fail=f;function t(B){var A="Rangy warning: "+B;if(m.config.alertOnWarn){window.alert(A)}else{if(typeof window.console!=z&&typeof window.console.log!=z){window.console.log(A)}}}m.warn=t;if({}.hasOwnProperty){m.util.extend=function(C,B){for(var A in B){if(B.hasOwnProperty(A)){C[A]=B[A]}}}}else{f("hasOwnProperty not supported")}var v=[];var a=[];function s(){if(m.initialized){return}var C;var G=false,H=false;if(i(document,"createRange")){C=document.createRange();if(n(C,c)&&y(C,k)){G=true}C.detach()}var B=d(document,"body")?document.body:document.getElementsByTagName("body")[0];if(B&&i(B,"createTextRange")){C=B.createTextRange();if(u(C)){H=true}}if(!G&&!H){f("Neither Range nor TextRange are implemented")}m.initialized=true;m.features={implementsDomRange:G,implementsTextRange:H};var F=a.concat(v);for(var E=0,A=F.length;E<A;++E){try{F[E](m)}catch(D){if(d(window,"console")&&i(window.console,"log")){window.console.log("Init listener threw an exception. Continuing.",D)}}}}m.init=s;m.addInitListener=function(A){if(m.initialized){A(m)}else{v.push(A)}};var w=[];m.addCreateMissingNativeApiListener=function(A){w.push(A)};function e(C){C=C||window;s();for(var B=0,A=w.length;B<A;++B){w[B](C)}}m.createMissingNativeApi=e;function x(A){this.name=A;this.initialized=false;this.supported=false}x.prototype.fail=function(A){this.initialized=true;this.supported=false;throw new Error("Module '"+this.name+"' failed to load: "+A)};x.prototype.warn=function(A){m.warn("Module "+this.name+": "+A)};x.prototype.createError=function(A){return new Error("Error in Rangy "+this.name+" module: "+A)};m.createModule=function(A,C){var B=new x(A);m.modules[A]=B;a.push(function(D){C(D,B);B.initialized=true;B.supported=true})};m.requireModules=function(C){for(var E=0,A=C.length,D,B;E<A;++E){B=C[E];D=m.modules[B];if(!D||!(D instanceof x)){throw new Error("Module '"+B+"' not found")}if(!D.supported){throw new Error("Module '"+B+"' not supported")}}};var b=false;var h=function(A){if(!b){b=true;if(!m.initialized){s()}}};if(typeof window==z){f("No window found");return}if(typeof document==z){f("No document found");return}if(i(document,"addEventListener")){document.addEventListener("DOMContentLoaded",h,false)}if(i(window,"addEventListener")){window.addEventListener("load",h,false)}else{if(i(window,"attachEvent")){window.attachEvent("onload",h)}else{f("Window does not have required addEventListener or attachEvent method")}}return m})();rangy.createModule("DomUtil",function(p,d){var t="undefined";var b=p.util;if(!b.areHostMethods(document,["createDocumentFragment","createElement","createTextNode"])){d.fail("document missing a Node creation method")}if(!b.isHostMethod(document,"getElementsByTagName")){d.fail("document missing getElementsByTagName method")}var e=document.createElement("div");if(!b.areHostMethods(e,["insertBefore","appendChild","cloneNode"]||!b.areHostObjects(e,["previousSibling","nextSibling","childNodes","parentNode"]))){d.fail("Incomplete Element implementation")}if(!b.isHostProperty(e,"innerHTML")){d.fail("Element is missing innerHTML property")}var s=document.createTextNode("test");if(!b.areHostMethods(s,["splitText","deleteData","insertData","appendData","cloneNode"]||!b.areHostObjects(e,["previousSibling","nextSibling","childNodes","parentNode"])||!b.areHostProperties(s,["data"]))){d.fail("Incomplete Text Node implementation")}var y=function(E,G){var F=E.length;while(F--){if(E[F]===G){return true}}return false};function i(F){var E;return typeof F.namespaceURI==t||((E=F.namespaceURI)===null||E=="http://www.w3.org/1999/xhtml")}function j(F){var E=F.parentNode;return(E.nodeType==1)?E:null}function a(F){var E=0;while((F=F.previousSibling)){E++}return E}function g(E){var F;return m(E)?E.length:((F=E.childNodes)?F.length:0)}function x(F,E){var G=[],H;for(H=F;H;H=H.parentNode){G.push(H)}for(H=E;H;H=H.parentNode){if(y(G,H)){return H}}return null}function C(E,F,H){var G=H?F:F.parentNode;while(G){if(G===E){return true}else{G=G.parentNode}}return false}function z(F,E,I){var G,H=I?F:F.parentNode;while(H){G=H.parentNode;if(G===E){return H}H=G}return null}function m(F){var E=F.nodeType;return E==3||E==4||E==8}function v(H,F){var E=F.nextSibling,G=F.parentNode;if(E){G.insertBefore(H,E)}else{G.appendChild(H)}return H}function w(G,E){var F=G.cloneNode(false);F.deleteData(0,E);G.deleteData(E,G.length-E);v(F,G);return F}function q(E){if(E.nodeType==9){return E}else{if(typeof E.ownerDocument!=t){return E.ownerDocument}else{if(typeof E.document!=t){return E.document}else{if(E.parentNode){return q(E.parentNode)}else{throw new Error("getDocument: no document found for node")}}}}}function l(E){var F=q(E);if(typeof F.defaultView!=t){return F.defaultView}else{if(typeof F.parentWindow!=t){return F.parentWindow}else{throw new Error("Cannot get a window object for node")}}}function B(E){if(typeof E.contentDocument!=t){return E.contentDocument}else{if(typeof E.contentWindow!=t){return E.contentWindow.document}else{throw new Error("getIframeWindow: No Document object found for iframe element")}}}function f(E){if(typeof E.contentWindow!=t){return E.contentWindow}else{if(typeof E.contentDocument!=t){return E.contentDocument.defaultView}else{throw new Error("getIframeWindow: No Window object found for iframe element")}}}function D(E){return b.isHostObject(E,"body")?E.body:E.getElementsByTagName("body")[0]}function c(F){var E;while((E=F.parentNode)){F=E}return F}function r(H,J,G,I){var E,K,M,L,F;if(H==G){return J===I?0:(J<I)?-1:1}else{if((E=z(G,H,true))){return J<=a(E)?-1:1}else{if((E=z(H,G,true))){return a(E)<I?-1:1}else{K=x(H,G);M=(H===K)?K:z(H,K,true);L=(G===K)?K:z(G,K,true);if(M===L){throw new Error("comparePoints got to case 4 and childA and childB are the same!")}else{F=K.firstChild;while(F){if(F===M){return -1}else{if(F===L){return 1}}F=F.nextSibling}throw new Error("Should not be here!")}}}}}function A(F){var E=q(F).createDocumentFragment(),G;while((G=F.firstChild)){E.appendChild(G)}return E}function o(E){if(!E){return"[No node]"}if(m(E)){return'"'+E.data+'"'}else{if(E.nodeType==1){var F=E.id?' id="'+E.id+'"':"";return"<"+E.nodeName+F+">["+E.childNodes.length+"]"}else{return E.nodeName}}}function n(E){this.root=E;this._next=E}n.prototype={_current:null,hasNext:function(){return !!this._next},next:function(){var G=this._current=this._next;var F,E;if(this._current){F=G.firstChild;if(F){this._next=F}else{E=null;while((G!==this.root)&&!(E=G.nextSibling)){G=G.parentNode}this._next=E}}return this._current},detach:function(){this._current=this._next=this.root=null}};function h(E){return new n(E)}function k(E,F){this.node=E;this.offset=F}k.prototype={equals:function(E){return this.node===E.node&this.offset==E.offset},inspect:function(){return"[DomPosition("+o(this.node)+":"+this.offset+")]"}};function u(E){this.code=this[E];this.codeName=E;this.message="DOMException: "+this.codeName}u.prototype={INDEX_SIZE_ERR:1,HIERARCHY_REQUEST_ERR:3,WRONG_DOCUMENT_ERR:4,NO_MODIFICATION_ALLOWED_ERR:7,NOT_FOUND_ERR:8,NOT_SUPPORTED_ERR:9,INVALID_STATE_ERR:11};u.prototype.toString=function(){return this.message};p.dom={arrayContains:y,isHtmlNamespace:i,parentElement:j,getNodeIndex:a,getNodeLength:g,getCommonAncestor:x,isAncestorOf:C,getClosestAncestorIn:z,isCharacterDataNode:m,insertAfter:v,splitDataNode:w,getDocument:q,getWindow:l,getIframeWindow:f,getIframeDocument:B,getBody:D,getRootContainer:c,comparePoints:r,inspectNode:o,fragmentFromNodeChildren:A,createIterator:h,DomPosition:k};p.DOMException=u});rangy.createModule("DomRange",function(i,f){i.requireModules(["DomUtil"]);var b=i.dom;var E=b.DomPosition;var T=i.DOMException;function x(al,e){return(al.nodeType!=3)&&(b.isAncestorOf(al,e.startContainer,true)||b.isAncestorOf(al,e.endContainer,true))}function m(e){return b.getDocument(e.startContainer)}function u(al,ap,am){var ao=al._listeners[ap];if(ao){for(var an=0,e=ao.length;an<e;++an){ao[an].call(al,{target:al,args:am})}}}function A(e){return new E(e.parentNode,b.getNodeIndex(e))}function W(e){return new E(e.parentNode,b.getNodeIndex(e)+1)}function j(al,an,am){var e=al.nodeType==11?al.firstChild:al;if(b.isCharacterDataNode(an)){if(am==an.length){b.insertAfter(al,an)}else{an.parentNode.insertBefore(al,am==0?an:b.splitDataNode(an,am))}}else{if(am>=an.childNodes.length){an.appendChild(al)}else{an.insertBefore(al,an.childNodes[am])}}return e}function H(am){var al;for(var an,ao=m(am.range).createDocumentFragment(),e;an=am.next();){al=am.isPartiallySelectedSubtree();an=an.cloneNode(!al);if(al){e=am.getSubtreeIterator();an.appendChild(H(e));e.detach(true)}if(an.nodeType==10){throw new T("HIERARCHY_REQUEST_ERR")}ao.appendChild(an)}return ao}function V(al,ao,e){var am,aq;e=e||{stop:false};for(var an,ap;an=al.next();){if(al.isPartiallySelectedSubtree()){if(ao(an)===false){e.stop=true;return}else{ap=al.getSubtreeIterator();V(ap,ao,e);ap.detach(true);if(e.stop){return}}}else{am=b.createIterator(an);while((aq=am.next())){if(ao(aq)===false){e.stop=true;return}}}}}function n(al){var e;while(al.next()){if(al.isPartiallySelectedSubtree()){e=al.getSubtreeIterator();n(e);e.detach(true)}else{al.remove()}}}function Q(al){for(var am,an=m(al.range).createDocumentFragment(),e;am=al.next();){if(al.isPartiallySelectedSubtree()){am=am.cloneNode(false);e=al.getSubtreeIterator();am.appendChild(Q(e));e.detach(true)}else{al.remove()}if(am.nodeType==10){throw new T("HIERARCHY_REQUEST_ERR")}an.appendChild(am)}return an}function p(am,e,an){var ap=!!(e&&e.length),ao;var aq=!!an;if(ap){ao=new RegExp("^("+e.join("|")+")$")}var al=[];V(new g(am,false),function(ar){if((!ap||ao.test(ar.nodeType))&&(!aq||an(ar))){al.push(ar)}});return al}function z(e){var al=(typeof e.getName=="undefined")?"Range":e.getName();return"["+al+"("+b.inspectNode(e.startContainer)+":"+e.startOffset+", "+b.inspectNode(e.endContainer)+":"+e.endOffset+")]"}function g(am,al){this.range=am;this.clonePartiallySelectedTextNodes=al;if(!am.collapsed){this.sc=am.startContainer;this.so=am.startOffset;this.ec=am.endContainer;this.eo=am.endOffset;var e=am.commonAncestorContainer;if(this.sc===this.ec&&b.isCharacterDataNode(this.sc)){this.isSingleCharacterDataNode=true;this._first=this._last=this._next=this.sc}else{this._first=this._next=(this.sc===e&&!b.isCharacterDataNode(this.sc))?this.sc.childNodes[this.so]:b.getClosestAncestorIn(this.sc,e,true);this._last=(this.ec===e&&!b.isCharacterDataNode(this.ec))?this.ec.childNodes[this.eo-1]:b.getClosestAncestorIn(this.ec,e,true)}}}g.prototype={_current:null,_next:null,_first:null,_last:null,isSingleCharacterDataNode:false,reset:function(){this._current=null;this._next=this._first},hasNext:function(){return !!this._next},next:function(){var e=this._current=this._next;if(e){this._next=(e!==this._last)?e.nextSibling:null;if(b.isCharacterDataNode(e)&&this.clonePartiallySelectedTextNodes){if(e===this.ec){(e=e.cloneNode(true)).deleteData(this.eo,e.length-this.eo)}if(this._current===this.sc){(e=e.cloneNode(true)).deleteData(0,this.so)}}}return e},remove:function(){var al=this._current,am,e;if(b.isCharacterDataNode(al)&&(al===this.sc||al===this.ec)){am=(al===this.sc)?this.so:0;e=(al===this.ec)?this.eo:al.length;if(am!=e){al.deleteData(am,e-am)}}else{if(al.parentNode){al.parentNode.removeChild(al)}else{}}},isPartiallySelectedSubtree:function(){var e=this._current;return x(e,this.range)},getSubtreeIterator:function(){var al;if(this.isSingleCharacterDataNode){al=this.range.cloneRange();al.collapse()}else{al=new aj(m(this.range));var ap=this._current;var an=ap,e=0,ao=ap,am=b.getNodeLength(ap);if(b.isAncestorOf(ap,this.sc,true)){an=this.sc;e=this.so}if(b.isAncestorOf(ap,this.ec,true)){ao=this.ec;am=this.eo}D(al,an,e,ao,am)}return new g(al,this.clonePartiallySelectedTextNodes)},detach:function(e){if(e){this.range.detach()}this.range=this._current=this._next=this._first=this._last=this.sc=this.so=this.ec=this.eo=null}};function O(e){this.code=this[e];this.codeName=e;this.message="RangeException: "+this.codeName}O.prototype={BAD_BOUNDARYPOINTS_ERR:1,INVALID_NODE_TYPE_ERR:2};O.prototype.toString=function(){return this.message};function w(al,e,am){this.nodes=p(al,e,am);this._next=this.nodes[0];this._position=0}w.prototype={_current:null,hasNext:function(){return !!this._next},next:function(){this._current=this._next;this._next=this.nodes[++this._position];return this._current},detach:function(){this._current=this._next=this.nodes=null}};var ae=[1,3,4,5,7,8,10];var ac=[2,9,11];var B=[5,6,10,12];var M=[1,3,4,5,7,8,10,11];var F=[1,3,4,5,7,8];function Y(e){return function(am,ao){var al,an=ao?am:am.parentNode;while(an){al=an.nodeType;if(b.arrayContains(e,al)){return an}an=an.parentNode}return null}}var t=b.getRootContainer;var I=Y([9,11]);var K=Y(B);var c=Y([6,10,12]);function r(al,e){if(c(al,e)){throw new O("INVALID_NODE_TYPE_ERR")}}function C(e){if(!e.startContainer){throw new T("INVALID_STATE_ERR")}}function U(e,al){if(!b.arrayContains(al,e.nodeType)){throw new O("INVALID_NODE_TYPE_ERR")}}function ad(e,al){if(al<0||al>(b.isCharacterDataNode(e)?e.length:e.childNodes.length)){throw new T("INDEX_SIZE_ERR")}}function d(al,e){if(I(al,true)!==I(e,true)){throw new T("WRONG_DOCUMENT_ERR")}}function aa(e){if(K(e,true)){throw new T("NO_MODIFICATION_ALLOWED_ERR")}}function ah(al,e){if(!al){throw new T(e)}}function o(e){return !b.arrayContains(ac,e.nodeType)&&!I(e,true)}function ak(e,al){return al<=(b.isCharacterDataNode(e)?e.length:e.childNodes.length)}function h(e){C(e);if(o(e.startContainer)||o(e.endContainer)||!ak(e.startContainer,e.startOffset)||!ak(e.endContainer,e.endOffset)){throw new Error("Range error: Range is no longer valid after DOM mutation ("+e.inspect()+")")}}var a=document.createElement("style");var P=false;try{a.innerHTML="<b>x</b>";P=(a.firstChild.nodeType==3)}catch(ag){}i.features.htmlParsingConforms=P;var R=P?function(am){var al=this.startContainer;var an=b.getDocument(al);if(!al){throw new T("INVALID_STATE_ERR")}var e=null;if(al.nodeType==1){e=al}else{if(b.isCharacterDataNode(al)){e=b.parentElement(al)}}if(e===null||(e.nodeName=="HTML"&&b.isHtmlNamespace(b.getDocument(e).documentElement)&&b.isHtmlNamespace(e))){e=an.createElement("body")}else{e=e.cloneNode(false)}e.innerHTML=am;return b.fragmentFromNodeChildren(e)}:function(al){C(this);var am=m(this);var e=am.createElement("body");e.innerHTML=al;return b.fragmentFromNodeChildren(e)};var L=["startContainer","startOffset","endContainer","endOffset","collapsed","commonAncestorContainer"];var l=0,y=1,af=2,Z=3;var s=0,v=1,J=2,k=3;function ab(){}ab.prototype={attachListener:function(e,al){this._listeners[e].push(al)},compareBoundaryPoints:function(ap,am){h(this);d(this.startContainer,am.startContainer);var ar,al,aq,e;var ao=(ap==Z||ap==l)?"start":"end";var an=(ap==y||ap==l)?"start":"end";ar=this[ao+"Container"];al=this[ao+"Offset"];aq=am[an+"Container"];e=am[an+"Offset"];return b.comparePoints(ar,al,aq,e)},insertNode:function(al){h(this);U(al,M);aa(this.startContainer);if(b.isAncestorOf(al,this.startContainer,true)){throw new T("HIERARCHY_REQUEST_ERR")}var e=j(al,this.startContainer,this.startOffset);this.setStartBefore(e)},cloneContents:function(){h(this);var am,al;if(this.collapsed){return m(this).createDocumentFragment()}else{if(this.startContainer===this.endContainer&&b.isCharacterDataNode(this.startContainer)){am=this.startContainer.cloneNode(true);am.data=am.data.slice(this.startOffset,this.endOffset);al=m(this).createDocumentFragment();al.appendChild(am);return al}else{var e=new g(this,true);am=H(e);e.detach()}return am}},canSurroundContents:function(){h(this);aa(this.startContainer);aa(this.endContainer);var e=new g(this,true);var al=(e._first&&(x(e._first,this))||(e._last&&x(e._last,this)));e.detach();return !al},surroundContents:function(al){U(al,F);if(!this.canSurroundContents()){throw new O("BAD_BOUNDARYPOINTS_ERR")}var e=this.extractContents();if(al.hasChildNodes()){while(al.lastChild){al.removeChild(al.lastChild)}}j(al,this.startContainer,this.startOffset);al.appendChild(e);this.selectNode(al)},cloneRange:function(){h(this);var e=new aj(m(this));var al=L.length,am;while(al--){am=L[al];e[am]=this[am]}return e},toString:function(){h(this);var al=this.startContainer;if(al===this.endContainer&&b.isCharacterDataNode(al)){return(al.nodeType==3||al.nodeType==4)?al.data.slice(this.startOffset,this.endOffset):""}else{var am=[],e=new g(this,true);V(e,function(an){if(an.nodeType==3||an.nodeType==4){am.push(an.data)}});e.detach();return am.join("")}},compareNode:function(am){h(this);var al=am.parentNode;var ao=b.getNodeIndex(am);if(!al){throw new T("NOT_FOUND_ERR")}var an=this.comparePoint(al,ao),e=this.comparePoint(al,ao+1);if(an<0){return(e>0)?J:s}else{return(e>0)?v:k}},comparePoint:function(e,al){h(this);ah(e,"HIERARCHY_REQUEST_ERR");d(e,this.startContainer);if(b.comparePoints(e,al,this.startContainer,this.startOffset)<0){return -1}else{if(b.comparePoints(e,al,this.endContainer,this.endOffset)>0){return 1}}return 0},createContextualFragment:R,toHtml:function(){h(this);var e=m(this).createElement("div");e.appendChild(this.cloneContents());return e.innerHTML},intersectsNode:function(an,e){h(this);ah(an,"NOT_FOUND_ERR");if(b.getDocument(an)!==m(this)){return false}var am=an.parentNode,ap=b.getNodeIndex(an);ah(am,"NOT_FOUND_ERR");var ao=b.comparePoints(am,ap,this.endContainer,this.endOffset),al=b.comparePoints(am,ap+1,this.startContainer,this.startOffset);return e?ao<=0&&al>=0:ao<0&&al>0},isPointInRange:function(e,al){h(this);ah(e,"HIERARCHY_REQUEST_ERR");d(e,this.startContainer);return(b.comparePoints(e,al,this.startContainer,this.startOffset)>=0)&&(b.comparePoints(e,al,this.endContainer,this.endOffset)<=0)},intersectsRange:function(al,e){h(this);if(m(al)!=m(this)){throw new T("WRONG_DOCUMENT_ERR")}var an=b.comparePoints(this.startContainer,this.startOffset,al.endContainer,al.endOffset),am=b.comparePoints(this.endContainer,this.endOffset,al.startContainer,al.startOffset);return e?an<=0&&am>=0:an<0&&am>0},intersection:function(e){if(this.intersectsRange(e)){var an=b.comparePoints(this.startContainer,this.startOffset,e.startContainer,e.startOffset),al=b.comparePoints(this.endContainer,this.endOffset,e.endContainer,e.endOffset);var am=this.cloneRange();if(an==-1){am.setStart(e.startContainer,e.startOffset)}if(al==1){am.setEnd(e.endContainer,e.endOffset)}return am}return null},union:function(e){if(this.intersectsRange(e,true)){var al=this.cloneRange();if(b.comparePoints(e.startContainer,e.startOffset,this.startContainer,this.startOffset)==-1){al.setStart(e.startContainer,e.startOffset)}if(b.comparePoints(e.endContainer,e.endOffset,this.endContainer,this.endOffset)==1){al.setEnd(e.endContainer,e.endOffset)}return al}else{throw new O("Ranges do not intersect")}},containsNode:function(al,e){if(e){return this.intersectsNode(al,false)}else{return this.compareNode(al)==k}},containsNodeContents:function(e){return this.comparePoint(e,0)>=0&&this.comparePoint(e,b.getNodeLength(e))<=0},containsRange:function(e){return this.intersection(e).equals(e)},containsNodeText:function(an){var ao=this.cloneRange();ao.selectNode(an);var am=ao.getNodes([3]);if(am.length>0){ao.setStart(am[0],0);var e=am.pop();ao.setEnd(e,e.length);var al=this.containsRange(ao);ao.detach();return al}else{return this.containsNodeContents(an)}},createNodeIterator:function(e,al){h(this);return new w(this,e,al)},getNodes:function(e,al){h(this);return p(this,e,al)},getDocument:function(){return m(this)},collapseBefore:function(e){C(this);this.setEndBefore(e);this.collapse(false)},collapseAfter:function(e){C(this);this.setStartAfter(e);this.collapse(true)},getName:function(){return"DomRange"},equals:function(e){return aj.rangesEqual(this,e)},inspect:function(){return z(this)}};function S(e){e.START_TO_START=l;e.START_TO_END=y;e.END_TO_END=af;e.END_TO_START=Z;e.NODE_BEFORE=s;e.NODE_AFTER=v;e.NODE_BEFORE_AND_AFTER=J;e.NODE_INSIDE=k}function G(e){S(e);S(e.prototype)}function q(e,al){return function(){h(this);var ar=this.startContainer,aq=this.startOffset,am=this.commonAncestorContainer;var ao=new g(this,true);var ap,at;if(ar!==am){ap=b.getClosestAncestorIn(ar,am,true);at=W(ap);ar=at.node;aq=at.offset}V(ao,aa);ao.reset();var an=e(ao);ao.detach();al(this,ar,aq,ar,aq);return an}}function X(an,aq,e){function ap(at,ar){return function(au){C(this);U(au,ae);U(t(au),ac);var av=(at?A:W)(au);(ar?am:ao)(this,av.node,av.offset)}}function am(at,av,aw){var au=at.endContainer,ar=at.endOffset;if(av!==at.startContainer||aw!==at.startOffset){if(t(av)!=t(au)||b.comparePoints(av,aw,au,ar)==1){au=av;ar=aw}aq(at,av,aw,au,ar)}}function ao(ar,at,aw){var av=ar.startContainer,au=ar.startOffset;if(at!==ar.endContainer||aw!==ar.endOffset){if(t(at)!=t(av)||b.comparePoints(at,aw,av,au)==-1){av=at;au=aw}aq(ar,av,au,at,aw)}}function al(ar,at,au){if(at!==ar.startContainer||au!==ar.startOffset||at!==ar.endContainer||au!==ar.endOffset){aq(ar,at,au,at,au)}}an.prototype=new ab();i.util.extend(an.prototype,{setStart:function(ar,at){C(this);r(ar,true);ad(ar,at);am(this,ar,at)},setEnd:function(ar,at){C(this);r(ar,true);ad(ar,at);ao(this,ar,at)},setStartBefore:ap(true,true),setStartAfter:ap(false,true),setEndBefore:ap(true,false),setEndAfter:ap(false,false),collapse:function(ar){h(this);if(ar){aq(this,this.startContainer,this.startOffset,this.startContainer,this.startOffset)}else{aq(this,this.endContainer,this.endOffset,this.endContainer,this.endOffset)}},selectNodeContents:function(ar){C(this);r(ar,true);aq(this,ar,0,ar,b.getNodeLength(ar))},selectNode:function(at){C(this);r(at,false);U(at,ae);var au=A(at),ar=W(at);aq(this,au.node,au.offset,ar.node,ar.offset)},extractContents:q(Q,aq),deleteContents:q(n,aq),canSurroundContents:function(){h(this);aa(this.startContainer);aa(this.endContainer);var ar=new g(this,true);var at=(ar._first&&(x(ar._first,this))||(ar._last&&x(ar._last,this)));ar.detach();return !at},detach:function(){e(this)},splitBoundaries:function(){h(this);var aw=this.startContainer,av=this.startOffset,at=this.endContainer,ar=this.endOffset;var au=(aw===at);if(b.isCharacterDataNode(at)&&ar>0&&ar<at.length){b.splitDataNode(at,ar)}if(b.isCharacterDataNode(aw)&&av>0&&av<aw.length){aw=b.splitDataNode(aw,av);if(au){ar-=av;at=aw}else{if(at==aw.parentNode&&ar>=b.getNodeIndex(aw)){ar++}}av=0}aq(this,aw,av,at,ar)},normalizeBoundaries:function(){h(this);var az=this.startContainer,au=this.startOffset,ay=this.endContainer,ar=this.endOffset;var av=function(aC){var aB=aC.nextSibling;if(aB&&aB.nodeType==aC.nodeType){ay=aC;ar=aC.length;aC.appendData(aB.data);aB.parentNode.removeChild(aB)}};var aA=function(aD){var aC=aD.previousSibling;if(aC&&aC.nodeType==aD.nodeType){az=aD;var aB=aD.length;au=aC.length;aD.insertData(0,aC.data);aC.parentNode.removeChild(aC);if(az==ay){ar+=au;ay=az}else{if(ay==aD.parentNode){var aE=b.getNodeIndex(aD);if(ar==aE){ay=aD;ar=aB}else{if(ar>aE){ar--}}}}}};var ax=true;if(b.isCharacterDataNode(ay)){if(ay.length==ar){av(ay)}}else{if(ar>0){var aw=ay.childNodes[ar-1];if(aw&&b.isCharacterDataNode(aw)){av(aw)}}ax=!this.collapsed}if(ax){if(b.isCharacterDataNode(az)){if(au==0){aA(az)}}else{if(au<az.childNodes.length){var at=az.childNodes[au];if(at&&b.isCharacterDataNode(at)){aA(at)}}}}else{az=ay;au=ar}aq(this,az,au,ay,ar)},collapseToPoint:function(ar,at){C(this);r(ar,true);ad(ar,at);al(this,ar,at)}});G(an)}function N(e){e.collapsed=(e.startContainer===e.endContainer&&e.startOffset===e.endOffset);e.commonAncestorContainer=e.collapsed?e.startContainer:b.getCommonAncestor(e.startContainer,e.endContainer)}function D(am,ao,al,ap,an){var e=(am.startContainer!==ao||am.startOffset!==al);var aq=(am.endContainer!==ap||am.endOffset!==an);am.startContainer=ao;am.startOffset=al;am.endContainer=ap;am.endOffset=an;N(am);u(am,"boundarychange",{startMoved:e,endMoved:aq})}function ai(e){C(e);e.startContainer=e.startOffset=e.endContainer=e.endOffset=null;e.collapsed=e.commonAncestorContainer=null;u(e,"detach",null);e._listeners=null}function aj(e){this.startContainer=e;this.startOffset=0;this.endContainer=e;this.endOffset=0;this._listeners={boundarychange:[],detach:[]};N(this)}X(aj,D,ai);i.rangePrototype=ab.prototype;aj.rangeProperties=L;aj.RangeIterator=g;aj.copyComparisonConstants=G;aj.createPrototypeRange=X;aj.inspect=z;aj.getRangeDocument=m;aj.rangesEqual=function(al,e){return al.startContainer===e.startContainer&&al.startOffset===e.startOffset&&al.endContainer===e.endContainer&&al.endOffset===e.endOffset};i.DomRange=aj;i.RangeException=O});rangy.createModule("WrappedRange",function(i,d){i.requireModules(["DomUtil","DomRange"]);var a;var h=i.dom;var b=h.DomPosition;var j=i.DomRange;function e(q){var o=q.parentElement();var m=q.duplicate();m.collapse(true);var p=m.parentElement();m=q.duplicate();m.collapse(false);var n=m.parentElement();var l=(p==n)?p:h.getCommonAncestor(p,n);return l==o?l:h.getCommonAncestor(o,l)}function c(l){return l.compareEndPoints("StartToEnd",l)==0}function f(z,w,n,s){var A=z.duplicate();A.collapse(n);var y=A.parentElement();if(!h.isAncestorOf(w,y,true)){y=w}if(!y.canHaveHTML){return new b(y.parentNode,h.getNodeIndex(y))}var m=h.getDocument(y).createElement("span");var x,u=n?"StartToStart":"StartToEnd";var v,q,l,o;do{y.insertBefore(m,m.previousSibling);A.moveToElementText(m)}while((x=A.compareEndPoints(u,z))>0&&m.previousSibling);o=m.nextSibling;if(x==-1&&o&&h.isCharacterDataNode(o)){A.setEndPoint(n?"EndToStart":"EndToEnd",z);var r;if(/[\r\n]/.test(o.data)){var t=A.duplicate();var p=t.text.replace(/\r\n/g,"\r").length;r=t.moveStart("character",p);while((x=t.compareEndPoints("StartToEnd",t))==-1){r++;t.moveStart("character",1)}}else{r=A.text.length}l=new b(o,r)}else{v=(s||!n)&&m.previousSibling;q=(s||n)&&m.nextSibling;if(q&&h.isCharacterDataNode(q)){l=new b(q,0)}else{if(v&&h.isCharacterDataNode(v)){l=new b(v,v.length)}else{l=new b(y,h.getNodeIndex(m))}}}m.parentNode.removeChild(m);return l}function k(l,n){var o,r,p=l.offset;var s=h.getDocument(l.node);var m,t,u=s.body.createTextRange();var q=h.isCharacterDataNode(l.node);if(q){o=l.node;r=o.parentNode}else{t=l.node.childNodes;o=(p<t.length)?t[p]:null;r=l.node}m=s.createElement("span");m.innerHTML="&#feff;";if(o){r.insertBefore(m,o)}else{r.appendChild(m)}u.moveToElementText(m);u.collapse(!n);r.removeChild(m);if(q){u[n?"moveStart":"moveEnd"]("character",p)}return u}if(i.features.implementsDomRange&&(!i.features.implementsTextRange||!i.config.preferTextRange)){(function(){var n;var s=j.rangeProperties;var v;function l(w){var x=s.length,y;while(x--){y=s[x];w[y]=w.nativeRange[y]}}function o(y,A,x,B,z){var w=(y.startContainer!==A||y.startOffset!=x);var C=(y.endContainer!==B||y.endOffset!=z);if(w||C){y.setEnd(B,z);y.setStart(A,x)}}function t(w){w.nativeRange.detach();w.detached=true;var x=s.length,y;while(x--){y=s[x];w[y]=null}}var m;a=function(w){if(!w){throw new Error("Range must be specified")}this.nativeRange=w;l(this)};j.createPrototypeRange(a,o,t);n=a.prototype;n.selectNode=function(w){this.nativeRange.selectNode(w);l(this)};n.deleteContents=function(){this.nativeRange.deleteContents();l(this)};n.extractContents=function(){var w=this.nativeRange.extractContents();l(this);return w};n.cloneContents=function(){return this.nativeRange.cloneContents()};n.surroundContents=function(w){this.nativeRange.surroundContents(w);l(this)};n.collapse=function(w){this.nativeRange.collapse(w);l(this)};n.cloneRange=function(){return new a(this.nativeRange.cloneRange())};n.refresh=function(){l(this)};n.toString=function(){return this.nativeRange.toString()};var r=document.createTextNode("test");h.getBody(document).appendChild(r);var p=document.createRange();p.setStart(r,0);p.setEnd(r,0);try{p.setStart(r,1);v=true;n.setStart=function(w,x){this.nativeRange.setStart(w,x);l(this)};n.setEnd=function(w,x){this.nativeRange.setEnd(w,x);l(this)};m=function(w){return function(x){this.nativeRange[w](x);l(this)}}}catch(q){v=false;n.setStart=function(x,y){try{this.nativeRange.setStart(x,y)}catch(w){this.nativeRange.setEnd(x,y);this.nativeRange.setStart(x,y)}l(this)};n.setEnd=function(x,y){try{this.nativeRange.setEnd(x,y)}catch(w){this.nativeRange.setStart(x,y);this.nativeRange.setEnd(x,y)}l(this)};m=function(w,x){return function(z){try{this.nativeRange[w](z)}catch(y){this.nativeRange[x](z);this.nativeRange[w](z)}l(this)}}}n.setStartBefore=m("setStartBefore","setEndBefore");n.setStartAfter=m("setStartAfter","setEndAfter");n.setEndBefore=m("setEndBefore","setStartBefore");n.setEndAfter=m("setEndAfter","setStartAfter");p.selectNodeContents(r);if(p.startContainer==r&&p.endContainer==r&&p.startOffset==0&&p.endOffset==r.length){n.selectNodeContents=function(w){this.nativeRange.selectNodeContents(w);l(this)}}else{n.selectNodeContents=function(w){this.setStart(w,0);this.setEnd(w,j.getEndOffset(w))}}p.selectNodeContents(r);p.setEnd(r,3);var u=document.createRange();u.selectNodeContents(r);u.setEnd(r,4);u.setStart(r,2);if(p.compareBoundaryPoints(p.START_TO_END,u)==-1&p.compareBoundaryPoints(p.END_TO_START,u)==1){n.compareBoundaryPoints=function(x,w){w=w.nativeRange||w;if(x==w.START_TO_END){x=w.END_TO_START}else{if(x==w.END_TO_START){x=w.START_TO_END}}return this.nativeRange.compareBoundaryPoints(x,w)}}else{n.compareBoundaryPoints=function(x,w){return this.nativeRange.compareBoundaryPoints(x,w.nativeRange||w)}}if(i.util.isHostMethod(p,"createContextualFragment")){n.createContextualFragment=function(w){return this.nativeRange.createContextualFragment(w)}}h.getBody(document).removeChild(r);p.detach();u.detach()})();i.createNativeRange=function(l){l=l||document;return l.createRange()}}else{if(i.features.implementsTextRange){a=function(l){this.textRange=l;this.refresh()};a.prototype=new j(document);a.prototype.refresh=function(){var n,l;var m=e(this.textRange);if(c(this.textRange)){l=n=f(this.textRange,m,true,true)}else{n=f(this.textRange,m,true,false);l=f(this.textRange,m,false,false)}this.setStart(n.node,n.offset);this.setEnd(l.node,l.offset)};j.copyComparisonConstants(a);var g=(function(){return this})();if(typeof g.Range=="undefined"){g.Range=a}i.createNativeRange=function(l){l=l||document;return l.body.createTextRange()}}}if(i.features.implementsTextRange){a.rangeToTextRange=function(l){if(l.collapsed){var o=k(new b(l.startContainer,l.startOffset),true);return o}else{var p=k(new b(l.startContainer,l.startOffset),true);var n=k(new b(l.endContainer,l.endOffset),false);var m=h.getDocument(l.startContainer).body.createTextRange();m.setEndPoint("StartToStart",p);m.setEndPoint("EndToEnd",n);return m}}}a.prototype.getName=function(){return"WrappedRange"};i.WrappedRange=a;i.createRange=function(l){l=l||document;return new a(i.createNativeRange(l))};i.createRangyRange=function(l){l=l||document;return new j(l)};i.createIframeRange=function(l){return i.createRange(h.getIframeDocument(l))};i.createIframeRangyRange=function(l){return i.createRangyRange(h.getIframeDocument(l))};i.addCreateMissingNativeApiListener(function(m){var l=m.document;if(typeof l.createRange=="undefined"){l.createRange=function(){return i.createRange(this)}}l=m=null})});rangy.createModule("WrappedSelection",function(g,d){g.requireModules(["DomUtil","DomRange","WrappedRange"]);g.config.checkSelectionRanges=true;var D="boolean",T="_rangySelection",c=g.dom,l=g.util,Q=g.DomRange,e=g.WrappedRange,N=g.DOMException,y=c.DomPosition,w,n,U="Control";function m(W){return(W||window).getSelection()}function q(W){return(W||window).document.selection}var S=g.util.isHostMethod(window,"getSelection"),M=g.util.isHostObject(document,"selection");var u=M&&(!S||g.config.preferTextRange);if(u){w=q;g.isSelectionValid=function(X){var Y=(X||window).document,W=Y.selection;return(W.type!="None"||c.getDocument(W.createRange().parentElement())==Y)}}else{if(S){w=m;g.isSelectionValid=function(){return true}}else{d.fail("Neither document.selection or window.getSelection() detected.")}}g.getNativeSelection=w;var L=w();var B=g.createNativeRange(document);var C=c.getBody(document);var J=l.areHostObjects(L,["anchorNode","focusNode"]&&l.areHostProperties(L,["anchorOffset","focusOffset"]));g.features.selectionHasAnchorAndFocus=J;var p=l.isHostMethod(L,"extend");g.features.selectionHasExtend=p;var V=(typeof L.rangeCount=="number");g.features.selectionHasRangeCount=V;var P=false;var O=true;if(l.areHostMethods(L,["addRange","getRangeAt","removeAllRanges"])&&typeof L.rangeCount=="number"&&g.features.implementsDomRange){(function(){var Y=document.createElement("iframe");C.appendChild(Y);var ac=c.getIframeDocument(Y);ac.open();ac.write("<html><head></head><body>12</body></html>");ac.close();var aa=c.getIframeWindow(Y).getSelection();var ad=ac.documentElement;var Z=ad.lastChild,ab=Z.firstChild;var X=ac.createRange();X.setStart(ab,1);X.collapse(true);aa.addRange(X);O=(aa.rangeCount==1);aa.removeAllRanges();var W=X.cloneRange();X.setStart(ab,0);W.setEnd(ab,2);aa.addRange(X);aa.addRange(W);P=(aa.rangeCount==2);X.detach();W.detach();C.removeChild(Y)})()}g.features.selectionSupportsMultipleRanges=P;g.features.collapsedNonEditableSelectionsSupported=O;var f=false,j;if(C&&l.isHostMethod(C,"createControlRange")){j=C.createControlRange();if(l.areHostProperties(j,["item","add"])){f=true}}g.features.implementsControlRange=f;if(J){n=function(W){return W.anchorNode===W.focusNode&&W.anchorOffset===W.focusOffset}}else{n=function(W){return W.rangeCount?W.getRangeAt(W.rangeCount-1).collapsed:false}}function b(Z,X,W){var Y=W?"end":"start",aa=W?"start":"end";Z.anchorNode=X[Y+"Container"];Z.anchorOffset=X[Y+"Offset"];Z.focusNode=X[aa+"Container"];Z.focusOffset=X[aa+"Offset"]}function v(X){var W=X.nativeSelection;X.anchorNode=W.anchorNode;X.anchorOffset=W.anchorOffset;X.focusNode=W.focusNode;X.focusOffset=W.focusOffset}function G(W){W.anchorNode=W.focusNode=null;W.anchorOffset=W.focusOffset=0;W.rangeCount=0;W.isCollapsed=true;W._ranges.length=0}function I(W){var X;if(W instanceof Q){X=W._selectionNativeRange;if(!X){X=g.createNativeRange(c.getDocument(W.startContainer));X.setEnd(W.endContainer,W.endOffset);X.setStart(W.startContainer,W.startOffset);W._selectionNativeRange=X;W.attachListener("detach",function(){this._selectionNativeRange=null})}}else{if(W instanceof e){X=W.nativeRange}else{if(g.features.implementsDomRange&&(W instanceof c.getWindow(W.startContainer).Range)){X=W}}}return X}function k(Y){if(!Y.length||Y[0].nodeType!=1){return false}for(var X=1,W=Y.length;X<W;++X){if(!c.isAncestorOf(Y[0],Y[X])){return false}}return true}function K(X){var W=X.getNodes();if(!k(W)){throw new Error("getSingleElementFromRange: range "+X.inspect()+" did not consist of a single element")}return W[0]}function F(W){return !!W&&typeof W.text!="undefined"}function H(Y,X){var W=new e(X);Y._ranges=[W];b(Y,W,false);Y.rangeCount=1;Y.isCollapsed=W.collapsed}function t(Z){Z._ranges.length=0;if(Z.docSelection.type=="None"){G(Z)}else{var Y=Z.docSelection.createRange();if(F(Y)){H(Z,Y)}else{Z.rangeCount=Y.length;var W,aa=c.getDocument(Y.item(0));for(var X=0;X<Z.rangeCount;++X){W=g.createRange(aa);W.selectNode(Y.item(X));Z._ranges.push(W)}Z.isCollapsed=Z.rangeCount==1&&Z._ranges[0].collapsed;b(Z,Z._ranges[Z.rangeCount-1],false)}}}function x(X,aa){var Y=X.docSelection.createRange();var W=K(aa);var ae=c.getDocument(Y.item(0));var ab=c.getBody(ae).createControlRange();for(var Z=0,ac=Y.length;Z<ac;++Z){ab.add(Y.item(Z))}try{ab.add(W)}catch(ad){throw new Error("addRange(): Element within the specified Range could not be added to control selection (does it have layout?)")}ab.select();t(X)}var o;if(l.isHostMethod(L,"getRangeAt")){o=function(Y,W){try{return Y.getRangeAt(W)}catch(X){return null}}}else{if(J){o=function(X){var Y=c.getDocument(X.anchorNode);var W=g.createRange(Y);W.setStart(X.anchorNode,X.anchorOffset);W.setEnd(X.focusNode,X.focusOffset);if(W.collapsed!==this.isCollapsed){W.setStart(X.focusNode,X.focusOffset);W.setEnd(X.anchorNode,X.anchorOffset)}return W}}}function A(W,Y,X){this.nativeSelection=W;this.docSelection=Y;this._ranges=[];this.win=X;this.refresh()}g.getSelection=function(Y){Y=Y||window;var X=Y[T];var W=w(Y),Z=M?q(Y):null;if(X){X.nativeSelection=W;X.docSelection=Z;X.refresh(Y)}else{X=new A(W,Z,Y);Y[T]=X}return X};g.getIframeSelection=function(W){return g.getSelection(c.getIframeWindow(W))};var a=A.prototype;function i(ab,W){var ac=c.getDocument(W[0].startContainer);var Z=c.getBody(ac).createControlRange();for(var Y=0,aa;Y<rangeCount;++Y){aa=K(W[Y]);try{Z.add(aa)}catch(X){throw new Error("setRanges(): Element within the one of the specified Ranges could not be added to control selection (does it have layout?)")}}Z.select();t(ab)}if(!u&&J&&l.areHostMethods(L,["removeAllRanges","addRange"])){a.removeAllRanges=function(){this.nativeSelection.removeAllRanges();G(this)};var h=function(Y,W){var Z=Q.getRangeDocument(W);var X=g.createRange(Z);X.collapseToPoint(W.endContainer,W.endOffset);Y.nativeSelection.addRange(I(X));Y.nativeSelection.extend(W.startContainer,W.startOffset);Y.refresh()};if(V){a.addRange=function(X,W){if(f&&M&&this.docSelection.type==U){x(this,X)}else{if(W&&p){h(this,X)}else{var Y;if(P){Y=this.rangeCount}else{this.removeAllRanges();Y=0}this.nativeSelection.addRange(I(X));this.rangeCount=this.nativeSelection.rangeCount;if(this.rangeCount==Y+1){if(g.config.checkSelectionRanges){var Z=o(this.nativeSelection,this.rangeCount-1);if(Z&&!Q.rangesEqual(Z,X)){X=new e(Z)}}this._ranges[this.rangeCount-1]=X;b(this,X,r(this.nativeSelection));this.isCollapsed=n(this)}else{this.refresh()}}}}}else{a.addRange=function(X,W){if(W&&p){h(this,X)}else{this.nativeSelection.addRange(I(X));this.refresh()}}}a.setRanges=function(X){if(f&&X.length>1){i(this,X)}else{this.removeAllRanges();for(var Y=0,W=X.length;Y<W;++Y){this.addRange(X[Y])}}}}else{if(l.isHostMethod(L,"empty")&&l.isHostMethod(B,"select")&&f&&u){a.removeAllRanges=function(){try{this.docSelection.empty();if(this.docSelection.type!="None"){var Z;if(this.anchorNode){Z=c.getDocument(this.anchorNode)}else{if(this.docSelection.type==U){var X=this.docSelection.createRange();if(X.length){Z=c.getDocument(X.item(0)).body.createTextRange()}}}if(Z){var Y=Z.body.createTextRange();Y.select();this.docSelection.empty()}}}catch(W){}G(this)};a.addRange=function(W){if(this.docSelection.type==U){x(this,W)}else{e.rangeToTextRange(W).select();this._ranges[0]=W;this.rangeCount=1;this.isCollapsed=this._ranges[0].collapsed;b(this,W,false)}};a.setRanges=function(W){this.removeAllRanges();var X=W.length;if(X>1){i(this,W)}else{if(X){this.addRange(W[0])}}}}else{d.fail("No means of selecting a Range or TextRange was found");return false}}a.getRangeAt=function(W){if(W<0||W>=this.rangeCount){throw new N("INDEX_SIZE_ERR")}else{return this._ranges[W]}};var E;if(u){E=function(X){var W;if(g.isSelectionValid(X.win)){W=X.docSelection.createRange()}else{W=c.getBody(X.win.document).createTextRange();W.collapse(true)}if(X.docSelection.type==U){t(X)}else{if(F(W)){H(X,W)}else{G(X)}}}}else{if(l.isHostMethod(L,"getRangeAt")&&typeof L.rangeCount=="number"){E=function(Y){if(f&&M&&Y.docSelection.type==U){t(Y)}else{Y._ranges.length=Y.rangeCount=Y.nativeSelection.rangeCount;if(Y.rangeCount){for(var X=0,W=Y.rangeCount;X<W;++X){Y._ranges[X]=new g.WrappedRange(Y.nativeSelection.getRangeAt(X))}b(Y,Y._ranges[Y.rangeCount-1],r(Y.nativeSelection));Y.isCollapsed=n(Y)}else{G(Y)}}}}else{if(J&&typeof L.isCollapsed==D&&typeof B.collapsed==D&&g.features.implementsDomRange){E=function(Y){var W,X=Y.nativeSelection;if(X.anchorNode){W=o(X,0);Y._ranges=[W];Y.rangeCount=1;v(Y);Y.isCollapsed=n(Y)}else{G(Y)}}}else{d.fail("No means of obtaining a Range or TextRange from the user's selection was found");return false}}}a.refresh=function(X){var W=X?this._ranges.slice(0):null;E(this);if(X){var Y=W.length;if(Y!=this._ranges.length){return false}while(Y--){if(!Q.rangesEqual(W[Y],this._ranges[Y])){return false}}return true}};var z=function(aa,Y){var X=aa.getAllRanges(),ab=false;aa.removeAllRanges();for(var Z=0,W=X.length;Z<W;++Z){if(ab||Y!==X[Z]){aa.addRange(X[Z])}else{ab=true}}if(!aa.rangeCount){G(aa)}};if(f){a.removeRange=function(aa){if(this.docSelection.type==U){var Y=this.docSelection.createRange();var W=K(aa);var ae=c.getDocument(Y.item(0));var ac=c.getBody(ae).createControlRange();var X,ad=false;for(var Z=0,ab=Y.length;Z<ab;++Z){X=Y.item(Z);if(X!==W||ad){ac.add(Y.item(Z))}else{ad=true}}ac.select();t(this)}else{z(this,aa)}}}else{a.removeRange=function(W){z(this,W)}}var r;if(!u&&J&&g.features.implementsDomRange){r=function(X){var W=false;if(X.anchorNode){W=(c.comparePoints(X.anchorNode,X.anchorOffset,X.focusNode,X.focusOffset)==1)}return W};a.isBackwards=function(){return r(this)}}else{r=a.isBackwards=function(){return false}}a.toString=function(){var Y=[];for(var X=0,W=this.rangeCount;X<W;++X){Y[X]=""+this._ranges[X]}return Y.join("")};function R(X,W){if(X.anchorNode&&(c.getDocument(X.anchorNode)!==c.getDocument(W))){throw new N("WRONG_DOCUMENT_ERR")}}a.collapse=function(X,Y){R(this,X);var W=g.createRange(c.getDocument(X));W.collapseToPoint(X,Y);this.removeAllRanges();this.addRange(W);this.isCollapsed=true};a.collapseToStart=function(){if(this.rangeCount){var W=this._ranges[0];this.collapse(W.startContainer,W.startOffset)}else{throw new N("INVALID_STATE_ERR")}};a.collapseToEnd=function(){if(this.rangeCount){var W=this._ranges[this.rangeCount-1];this.collapse(W.endContainer,W.endOffset)}else{throw new N("INVALID_STATE_ERR")}};a.selectAllChildren=function(X){R(this,X);var W=g.createRange(c.getDocument(X));W.selectNodeContents(X);this.removeAllRanges();this.addRange(W)};a.deleteFromDocument=function(){if(f&&M&&this.docSelection.type==U){var aa=this.docSelection.createRange();var Z;while(aa.length){Z=aa.item(0);aa.remove(Z);Z.parentNode.removeChild(Z)}this.refresh()}else{if(this.rangeCount){var X=this.getAllRanges();this.removeAllRanges();for(var Y=0,W=X.length;Y<W;++Y){X[Y].deleteContents()}this.addRange(X[W-1])}}};a.getAllRanges=function(){return this._ranges.slice(0)};a.setSingleRange=function(W){this.setRanges([W])};a.containsNode=function(Z,X){for(var Y=0,W=this._ranges.length;Y<W;++Y){if(this._ranges[Y].containsNode(Z,X)){return true}}return false};a.toHtml=function(){var Z="";if(this.rangeCount){var X=Q.getRangeDocument(this._ranges[0]).createElement("div");for(var Y=0,W=this._ranges.length;Y<W;++Y){X.appendChild(this._ranges[Y].cloneContents())}Z=X.innerHTML}return Z};function s(ac){var ab=[];var Z=new y(ac.anchorNode,ac.anchorOffset);var X=new y(ac.focusNode,ac.focusOffset);var Y=(typeof ac.getName=="function")?ac.getName():"Selection";if(typeof ac.rangeCount!="undefined"){for(var aa=0,W=ac.rangeCount;aa<W;++aa){ab[aa]=Q.inspect(ac.getRangeAt(aa))}}return"["+Y+"(Ranges: "+ab.join(", ")+")(anchor: "+Z.inspect()+", focus: "+X.inspect()+"]"}a.getName=function(){return"WrappedSelection"};a.inspect=function(){return s(this)};a.detach=function(){this.win[T]=null;this.win=this.anchorNode=this.focusNode=null};A.inspect=s;g.Selection=A;g.selectionPrototype=a;g.addCreateMissingNativeApiListener(function(W){if(typeof W.getSelection=="undefined"){W.getSelection=function(){return g.getSelection(this)}}W=null})});var Base=function(){};Base.extend=function(b,e){var f=Base.prototype.extend;Base._prototyping=true;var d=new this;f.call(d,b);d.base=function(){};delete Base._prototyping;var c=d.constructor;var a=d.constructor=function(){if(!Base._prototyping){if(this._constructing||this.constructor==a){this._constructing=true;c.apply(this,arguments);delete this._constructing}else{if(arguments[0]!=null){return(arguments[0].extend||f).call(arguments[0],d)}}}};a.ancestor=this;a.extend=this.extend;a.forEach=this.forEach;a.implement=this.implement;a.prototype=d;a.toString=this.toString;a.valueOf=function(g){return(g=="object")?a:c.valueOf()};f.call(a,e);if(typeof a.init=="function"){a.init()}return a};Base.prototype={extend:function(b,h){if(arguments.length>1){var e=this[b];if(e&&(typeof h=="function")&&(!e.valueOf||e.valueOf()!=h.valueOf())&&/\bbase\b/.test(h)){var a=h.valueOf();h=function(){var k=this.base||Base.prototype.base;this.base=e;var i=a.apply(this,arguments);this.base=k;return i};h.valueOf=function(i){return(i=="object")?h:a};h.toString=Base.toString}this[b]=h}else{if(b){var g=Base.prototype.extend;if(!Base._prototyping&&typeof this!="function"){g=this.extend||g}var d={toSource:null};var f=["constructor","toString","valueOf"];var c=Base._prototyping?0:1;while(j=f[c++]){if(b[j]!=d[j]){g.call(this,j,b[j])}}for(var j in b){if(!d[j]){g.call(this,j,b[j])}}}}return this}};Base=Base.extend({constructor:function(){this.extend(arguments[0])}},{ancestor:Object,version:"1.1",forEach:function(a,d,c){for(var b in a){if(this.prototype[b]===undefined){d.call(c,a[b],b,a)}}},implement:function(){for(var a=0;a<arguments.length;a++){if(typeof arguments[a]=="function"){arguments[a](this.prototype)}else{this.prototype.extend(arguments[a])}}return this},toString:function(){return String(this.valueOf())}});wysihtml5.browser=(function(){var f=navigator.userAgent,e=document.createElement("div"),c=f.indexOf("MSIE")!==-1&&f.indexOf("Opera")===-1,a=f.indexOf("Gecko")!==-1&&f.indexOf("KHTML")===-1,d=f.indexOf("AppleWebKit/")!==-1,g=f.indexOf("Chrome/")!==-1,b=f.indexOf("Opera/")!==-1;function h(i){return((/ipad|iphone|ipod/.test(i)&&i.match(/ os (\d+).+? like mac os x/))||[,0])[1]}return{USER_AGENT:f,supported:function(){var k=this.USER_AGENT.toLowerCase(),m="contentEditable" in e,i=document.execCommand&&document.queryCommandSupported&&document.queryCommandState,j=document.querySelector&&document.querySelectorAll,l=(this.isIos()&&h(k)<5)||k.indexOf("opera mobi")!==-1||k.indexOf("hpwos/")!==-1;return m&&i&&j&&!l},isTouchDevice:function(){return this.supportsEvent("touchmove")},isIos:function(){var i=this.USER_AGENT.toLowerCase();return i.indexOf("webkit")!==-1&&i.indexOf("mobile")!==-1},supportsSandboxedIframes:function(){return c},throwsMixedContentWarningWhenIframeSrcIsEmpty:function(){return !("querySelector" in document)},displaysCaretInEmptyContentEditableCorrectly:function(){return !a},hasCurrentStyleProperty:function(){return"currentStyle" in e},insertsLineBreaksOnReturn:function(){return a},supportsPlaceholderAttributeOn:function(i){return"placeholder" in i},supportsEvent:function(i){return"on"+i in e||(function(){e.setAttribute("on"+i,"return;");return typeof(e["on"+i])==="function"})()},supportsEventsInIframeCorrectly:function(){return !b},firesOnDropOnlyWhenOnDragOverIsCancelled:function(){return d||a},supportsDataTransfer:function(){try{return d&&(window.Clipboard||window.DataTransfer).prototype.getData}catch(i){return false}},supportsHTML5Tags:function(k){var j=k.createElement("div"),i="<article>foo</article>";j.innerHTML=i;return j.innerHTML.toLowerCase()===i},supportsCommand:(function(){var j={formatBlock:c,insertUnorderedList:c||b,insertOrderedList:c||b};var i={insertHTML:a};return function(l,n){var o=j[n];if(!o){try{return l.queryCommandSupported(n)}catch(m){}try{return l.queryCommandEnabled(n)}catch(k){return !!i[n]}}return false}})(),doesAutoLinkingInContentEditable:function(){return c},canDisableAutoLinking:function(){return this.supportsCommand(document,"AutoUrlDetect")},clearsContentEditableCorrectly:function(){return a||b||d},supportsGetAttributeCorrectly:function(){var i=document.createElement("td");return i.getAttribute("rowspan")!="1"},canSelectImagesInContentEditable:function(){return a||c||b},clearsListsInContentEditableCorrectly:function(){return a||c||d},autoScrollsToCaret:function(){return !d},autoClosesUnclosedTags:function(){var k=e.cloneNode(false),i,j;k.innerHTML="<p><div></div>";j=k.innerHTML.toLowerCase();i=j==="<p></p><div></div>"||j==="<p><div></div></p>";this.autoClosesUnclosedTags=function(){return i};return i},supportsNativeGetElementsByClassName:function(){return String(document.getElementsByClassName).indexOf("[native code]")!==-1},supportsSelectionModify:function(){return"getSelection" in window&&"modify" in window.getSelection()},supportsClassList:function(){return"classList" in e},needsSpaceAfterLineBreak:function(){return b},supportsSpeechApiOn:function(i){var j=f.match(/Chrome\/(\d+)/)||[,0];return j[1]>=11&&("onwebkitspeechchange" in i||"speech" in i)},crashesWhenDefineProperty:function(i){return c&&(i==="XMLHttpRequest"||i==="XDomainRequest")},doesAsyncFocus:function(){return c},hasProblemsSettingCaretAfterImg:function(){return c},hasUndoInContextMenu:function(){return a||g||b}}})();wysihtml5.lang.array=function(a){return{contains:function(d){if(a.indexOf){return a.indexOf(d)!==-1}else{for(var b=0,c=a.length;b<c;b++){if(a[b]===d){return true}}return false}},without:function(b){b=wysihtml5.lang.array(b);var d=[],c=0,e=a.length;for(;c<e;c++){if(!b.contains(a[c])){d.push(a[c])}}return d},get:function(){var c=0,d=a.length,b=[];for(;c<d;c++){b.push(a[c])}return b}}};wysihtml5.lang.Dispatcher=Base.extend({observe:function(a,b){this.events=this.events||{};this.events[a]=this.events[a]||[];this.events[a].push(b);return this},on:function(){return this.observe.apply(this,wysihtml5.lang.array(arguments).get())},fire:function(b,d){this.events=this.events||{};var a=this.events[b]||[],c=0;for(;c<a.length;c++){a[c].call(this,d)}return this},stopObserving:function(b,d){this.events=this.events||{};var c=0,a,e;if(b){a=this.events[b]||[],e=[];for(;c<a.length;c++){if(a[c]!==d&&d){e.push(a[c])}}this.events[b]=e}else{this.events={}}return this}});wysihtml5.lang.object=function(a){return{merge:function(b){for(var c in b){a[c]=b[c]}return this},get:function(){return a},clone:function(){var b={},c;for(c in a){b[c]=a[c]}return b},isArray:function(){return Object.prototype.toString.call(a)==="[object Array]"}}};(function(){var b=/^\s+/,a=/\s+$/;wysihtml5.lang.string=function(c){c=String(c);return{trim:function(){return c.replace(b,"").replace(a,"")},interpolate:function(e){for(var d in e){c=this.replace("#{"+d+"}").by(e[d])}return c},replace:function(d){return{by:function(e){return c.split(d).join(e)}}}}}})();(function(l){var j=l.lang.array(["CODE","PRE","A","SCRIPT","HEAD","TITLE","STYLE"]),k=/((https?:\/\/|www\.)[^\s<]{3,})/gi,e=/([^\w\/\-](,?))$/i,c=100,f={")":"(","]":"[","}":"{"};function b(m){if(i(m)){return m}if(m===m.ownerDocument.documentElement){m=m.ownerDocument.body}return a(m)}function g(m){return m.replace(k,function(p,o){var r=(o.match(e)||[])[1]||"",n=f[r];o=o.replace(e,"");if(o.split(n).length>o.split(r).length){o=o+r;r=""}var q=o,s=o;if(o.length>c){s=s.substr(0,c)+"..."}if(q.substr(0,4)==="www."){q="http://"+q}return'<a href="'+q+'">'+s+"</a>"+r})}function d(n){var m=n._wysihtml5_tempElement;if(!m){m=n._wysihtml5_tempElement=n.createElement("div")}return m}function h(o){var n=o.parentNode,m=d(n.ownerDocument);m.innerHTML="<span></span>"+g(o.data);m.removeChild(m.firstChild);while(m.firstChild){n.insertBefore(m.firstChild,o)}n.removeChild(o)}function i(m){var n;while(m.parentNode){m=m.parentNode;n=m.nodeName;if(j.contains(n)){return true}else{if(n==="body"){return false}}}return false}function a(n){if(j.contains(n.nodeName)){return}if(n.nodeType===l.TEXT_NODE&&n.data.match(k)){h(n);return}var p=l.lang.array(n.childNodes).get(),o=p.length,m=0;for(;m<o;m++){a(p[m])}return n}l.dom.autoLink=b;l.dom.autoLink.URL_REG_EXP=k})(wysihtml5);(function(c){var b=c.browser.supportsClassList(),a=c.dom;a.addClass=function(d,e){if(b){return d.classList.add(e)}if(a.hasClass(d,e)){return}d.className+=" "+e};a.removeClass=function(d,e){if(b){return d.classList.remove(e)}d.className=d.className.replace(new RegExp("(^|\\s+)"+e+"(\\s+|$)")," ")};a.hasClass=function(d,e){if(b){return d.classList.contains(e)}var f=d.className;return(f.length>0&&(f==e||new RegExp("(^|\\s)"+e+"(\\s|$)").test(f)))}})(wysihtml5);wysihtml5.dom.contains=(function(){var a=document.documentElement;if(a.contains){return function(b,c){if(c.nodeType!==wysihtml5.ELEMENT_NODE){c=c.parentNode}return b!==c&&b.contains(c)}}else{if(a.compareDocumentPosition){return function(b,c){return !!(b.compareDocumentPosition(c)&16)}}}})();wysihtml5.dom.convertToList=(function(){function b(f,e){var d=f.createElement("li");e.appendChild(d);return d}function c(e,d){return e.createElement(d)}function a(f,j){if(f.nodeName==="UL"||f.nodeName==="OL"||f.nodeName==="MENU"){return f}var l=f.ownerDocument,h=c(l,j),n=wysihtml5.lang.array(f.childNodes).get(),m=n.length,d,o,g,k,e=0;for(;e<m;e++){k=k||b(l,h);d=n[e];o=wysihtml5.dom.getStyle("display").from(d)==="block";g=d.nodeName==="BR";if(o){k=k.firstChild?b(l,h):k;k.appendChild(d);k=null;continue}if(g){k=k.firstChild?null:k;continue}k.appendChild(d)}f.parentNode.replaceChild(h,f);return h}return a})();wysihtml5.dom.copyAttributes=function(a){return{from:function(b){return{to:function(c){var f,d=0,e=a.length;for(;d<e;d++){f=a[d];if(b[f]){c[f]=b[f]}}return{andTo:arguments.callee}}}}}};(function(b){var d=["-webkit-box-sizing","-moz-box-sizing","-ms-box-sizing","box-sizing"];var c=function(e){if(a(e)){return parseInt(b.getStyle("width").from(e),10)<e.offsetWidth}return false};var a=function(f){var e=0,g=d.length;for(;e<g;e++){if(b.getStyle(d[e]).from(f)==="border-box"){return d[e]}}};b.copyStyles=function(e){return{from:function(g){if(c(g)){e=wysihtml5.lang.array(e).without(d)}var h="",j=e.length,f=0,k;for(;f<j;f++){k=e[f];h+=k+":"+b.getStyle(k).from(g)+";"}return{to:function(i){b.setStyles(h).on(i);return{andTo:arguments.callee}}}}}}})(wysihtml5.dom);(function(a){a.dom.delegate=function(c,b,d,e){return a.dom.observe(c,d,function(g){var h=g.target,f=a.lang.array(c.querySelectorAll(b));while(h&&h!==c){if(f.contains(h)){e.call(h,g);break}h=h.parentNode}})}})(wysihtml5);wysihtml5.dom.getAsDom=(function(){var a=function(g,f){var d=f.createElement("div");d.style.display="none";f.body.appendChild(d);try{d.innerHTML=g}catch(h){}f.body.removeChild(d);return d};var c=function(e){if(e._wysihtml5_supportsHTML5Tags){return}for(var d=0,f=b.length;d<f;d++){e.createElement(b[d])}e._wysihtml5_supportsHTML5Tags=true};var b=["abbr","article","aside","audio","bdi","canvas","command","datalist","details","figcaption","figure","footer","header","hgroup","keygen","mark","meter","nav","output","progress","rp","rt","ruby","svg","section","source","summary","time","track","video","wbr"];return function(f,e){e=e||document;var d;if(typeof(f)==="object"&&f.nodeType){d=e.createElement("div");d.appendChild(f)}else{if(wysihtml5.browser.supportsHTML5Tags(e)){d=e.createElement("div");d.innerHTML=f}else{c(e);d=a(f,e)}}return d}})();wysihtml5.dom.getParentElement=(function(){function a(g,f){if(!f||!f.length){return true}if(typeof(f)==="string"){return g===f}else{return wysihtml5.lang.array(f).contains(g)}}function c(f){return f.nodeType===wysihtml5.ELEMENT_NODE}function b(f,g,h){var i=(f.className||"").match(h)||[];if(!g){return !!i.length}return i[i.length-1]===g}function e(f,h,g){while(g--&&f&&f.nodeName!=="BODY"){if(a(f.nodeName,h)){return f}f=f.parentNode}return null}function d(g,j,f,i,h){while(h--&&g&&g.nodeName!=="BODY"){if(c(g)&&a(g.nodeName,j)&&b(g,f,i)){return g}g=g.parentNode}return null}return function(g,f,h){h=h||50;if(f.className||f.classRegExp){return d(g,f.nodeName,f.className,f.classRegExp,h)}else{return e(g,f.nodeName,h)}}})();wysihtml5.dom.getStyle=(function(){var b={"float":("styleFloat" in document.createElement("div").style)?"styleFloat":"cssFloat"},c=/\-[a-z]/g;function a(d){return d.replace(c,function(e){return e.charAt(1).toUpperCase()})}return function(d){return{from:function(j){if(j.nodeType!==wysihtml5.ELEMENT_NODE){return}var o=j.ownerDocument,k=b[d]||a(d),g=j.style,h=j.currentStyle,p=g[k];if(p){return p}if(h){try{return h[k]}catch(m){}}var l=o.defaultView||o.parentWindow,n=(d==="height"||d==="width")&&j.nodeName==="TEXTAREA",i,f;if(l.getComputedStyle){if(n){i=g.overflow;g.overflow="hidden"}f=l.getComputedStyle(j,null).getPropertyValue(d);if(n){g.overflow=i||""}return f}}}}})();wysihtml5.dom.hasElementWithTagName=(function(){var c={},b=1;function a(d){return d._wysihtml5_identifier||(d._wysihtml5_identifier=b++)}return function(f,e){var d=a(f)+":"+e,g=c[d];if(!g){g=c[d]=f.getElementsByTagName(e)}return g.length>0}})();(function(d){var c={},b=1;function a(e){return e._wysihtml5_identifier||(e._wysihtml5_identifier=b++)}d.dom.hasElementWithClassName=function(g,f){if(!d.browser.supportsNativeGetElementsByClassName()){return !!g.querySelector("."+f)}var e=a(g)+":"+f,h=c[e];if(!h){h=c[e]=g.getElementsByClassName(f)}return h.length>0}})(wysihtml5);wysihtml5.dom.insert=function(a){return{after:function(b){b.parentNode.insertBefore(a,b.nextSibling)},before:function(b){b.parentNode.insertBefore(a,b)},into:function(b){b.appendChild(a)}}};wysihtml5.dom.insertCSS=function(a){a=a.join("\n");return{into:function(d){var c=d.head||d.getElementsByTagName("head")[0],b=d.createElement("style");b.type="text/css";if(b.styleSheet){b.styleSheet.cssText=a}else{b.appendChild(d.createTextNode(a))}if(c){c.appendChild(b)}}}};wysihtml5.dom.observe=function(c,g,d){g=typeof(g)==="string"?[g]:g;var f,a,b=0,e=g.length;for(;b<e;b++){a=g[b];if(c.addEventListener){c.addEventListener(a,d,false)}else{f=function(h){if(!("target" in h)){h.target=h.srcElement}h.preventDefault=h.preventDefault||function(){this.returnValue=false};h.stopPropagation=h.stopPropagation||function(){this.cancelBubble=true};d.call(c,h)};c.attachEvent("on"+a,f)}}return{stop:function(){var h,j=0,k=g.length;for(;j<k;j++){h=g[j];if(c.removeEventListener){c.removeEventListener(h,d,false)}else{c.detachEvent("on"+h,f)}}}}};wysihtml5.dom.parse=(function(){var a={"1":e,"3":l},o="span",g=/\s+/,j={tags:{},classes:{}},n={};function d(u,x,p,r){wysihtml5.lang.object(n).merge(j).merge(x).get();p=p||u.ownerDocument||document;var t=p.createDocumentFragment(),q=typeof(u)==="string",s,w,v;if(q){s=wysihtml5.dom.getAsDom(u,p)}else{s=u}while(s.firstChild){v=s.firstChild;s.removeChild(v);w=f(v,r);if(w){t.appendChild(w)}}s.innerHTML="";s.appendChild(t);return q?wysihtml5.quirks.getCorrectInnerHTML(s):s}function f(v,u){var t=v.nodeType,s=v.childNodes,r=s.length,q,w=a[t],p=0;q=w&&w(v);if(!q){return null}for(p=0;p<r;p++){newChild=f(s[p],u);if(newChild){q.appendChild(newChild)}}if(u&&q.childNodes.length<=1&&q.nodeName.toLowerCase()===o&&!q.attributes.length){return q.firstChild}return q}function e(u){var t,s,r,q=n.tags,v=u.nodeName.toLowerCase(),p=u.scopeName;if(u._wysihtml5){return null}u._wysihtml5=1;if(u.className==="wysihtml5-temp"){return null}if(p&&p!="HTML"){v=p+":"+v}if("outerHTML" in u){if(!wysihtml5.browser.autoClosesUnclosedTags()&&u.nodeName==="P"&&u.outerHTML.slice(-4).toLowerCase()!=="</p>"){v="div"}}if(v in q){t=q[v];if(!t||t.remove){return null}t=typeof(t)==="string"?{rename_tag:t}:t}else{if(u.firstChild){t={rename_tag:o}}else{return null}}s=u.ownerDocument.createElement(t.rename_tag||v);b(u,s,t);u=null;return s}function b(C,p,v){var y={},J=v.set_class,A=v.add_class,F=v.set_attributes,u=v.check_attributes,t=n.classes,E=0,H=[],K=[],s=[],D=[],w,z,r,x,B,I,q;if(F){y=wysihtml5.lang.object(F).clone()}if(u){for(B in u){q=h[u[B]];if(!q){continue}I=q(i(C,B));if(typeof(I)==="string"){y[B]=I}}}if(J){H.push(J)}if(A){for(B in A){q=k[A[B]];if(!q){continue}x=q(i(C,B));if(typeof(x)==="string"){H.push(x)}}}t["_wysihtml5-temp-placeholder"]=1;D=C.getAttribute("class");if(D){H=H.concat(D.split(g))}w=H.length;for(;E<w;E++){r=H[E];if(t[r]){K.push(r)}}z=K.length;while(z--){r=K[z];if(!wysihtml5.lang.array(s).contains(r)){s.unshift(r)}}if(s.length){y["class"]=s.join(" ")}for(B in y){try{p.setAttribute(B,y[B])}catch(G){}}if(y.src){if(typeof(y.width)!=="undefined"){p.setAttribute("width",y.width)}if(typeof(y.height)!=="undefined"){p.setAttribute("height",y.height)}}}var m=!wysihtml5.browser.supportsGetAttributeCorrectly();function i(r,q){q=q.toLowerCase();var t=r.nodeName;if(t=="IMG"&&q=="src"&&c(r)===true){return r.src}else{if(m&&"outerHTML" in r){var s=r.outerHTML.toLowerCase(),p=s.indexOf(" "+q+"=")!=-1;return p?r.getAttribute(q):null}else{return r.getAttribute(q)}}}function c(p){try{return p.complete&&!p.mozMatchesSelector(":-moz-broken")}catch(q){if(p.complete&&p.readyState==="complete"){return true}}}function l(p){return p.ownerDocument.createTextNode(p.data)}var h={url:(function(){var p=/^https?:\/\//i;return function(q){if(!q||!q.match(p)){return null}return q.replace(p,function(r){return r.toLowerCase()})}})(),alt:(function(){var p=/[^ a-z0-9_\-]/gi;return function(q){if(!q){return""}return q.replace(p,"")}})(),numbers:(function(){var p=/\D/g;return function(q){q=(q||"").replace(p,"");return q||null}})()};var k={align_img:(function(){var p={left:"wysiwyg-float-left",right:"wysiwyg-float-right"};return function(q){return p[String(q).toLowerCase()]}})(),align_text:(function(){var p={left:"wysiwyg-text-align-left",right:"wysiwyg-text-align-right",center:"wysiwyg-text-align-center",justify:"wysiwyg-text-align-justify"};return function(q){return p[String(q).toLowerCase()]}})(),clear_br:(function(){var p={left:"wysiwyg-clear-left",right:"wysiwyg-clear-right",both:"wysiwyg-clear-both",all:"wysiwyg-clear-both"};return function(q){return p[String(q).toLowerCase()]}})(),size_font:(function(){var p={"1":"wysiwyg-font-size-xx-small","2":"wysiwyg-font-size-small","3":"wysiwyg-font-size-medium","4":"wysiwyg-font-size-large","5":"wysiwyg-font-size-x-large","6":"wysiwyg-font-size-xx-large","7":"wysiwyg-font-size-xx-large","-":"wysiwyg-font-size-smaller","+":"wysiwyg-font-size-larger"};return function(q){return p[String(q).charAt(0)]}})()};return d})();wysihtml5.dom.removeEmptyTextNodes=function(c){var b,e=wysihtml5.lang.array(c.childNodes).get(),d=e.length,a=0;for(;a<d;a++){b=e[a];if(b.nodeType===wysihtml5.TEXT_NODE&&b.data===""){b.parentNode.removeChild(b)}}};wysihtml5.dom.renameElement=function(a,b){var d=a.ownerDocument.createElement(b),c;while(c=a.firstChild){d.appendChild(c)}wysihtml5.dom.copyAttributes(["align","className"]).from(a).to(d);a.parentNode.replaceChild(d,a);return d};wysihtml5.dom.replaceWithChildNodes=function(b){if(!b.parentNode){return}if(!b.firstChild){b.parentNode.removeChild(b);return}var a=b.ownerDocument.createDocumentFragment();while(b.firstChild){a.appendChild(b.firstChild)}b.parentNode.replaceChild(a,b);b=a=null};(function(e){function c(f){return e.getStyle("display").from(f)==="block"}function d(f){return f.nodeName==="BR"}function b(g){var f=g.ownerDocument.createElement("br");g.appendChild(f)}function a(k){if(k.nodeName!=="MENU"&&k.nodeName!=="UL"&&k.nodeName!=="OL"){return}var n=k.ownerDocument,l=n.createDocumentFragment(),g=k.previousSibling,m,h,i,j,f;if(g&&!c(g)){b(l)}while(f=k.firstChild){h=f.lastChild;while(m=f.firstChild){i=m===h;j=i&&!c(m)&&!d(m);l.appendChild(m);if(j){b(l)}}f.parentNode.removeChild(f)}k.parentNode.replaceChild(l,k)}e.resolveList=a})(wysihtml5.dom);(function(e){var d=document,c=["parent","top","opener","frameElement","frames","localStorage","globalStorage","sessionStorage","indexedDB"],b=["open","close","openDialog","showModalDialog","alert","confirm","prompt","openDatabase","postMessage","XMLHttpRequest","XDomainRequest"],a=["referrer","write","open","close"];e.dom.Sandbox=Base.extend({constructor:function(g,f){this.callback=g||e.EMPTY_FUNCTION;this.config=e.lang.object({}).merge(f).get();this.iframe=this._createIframe()},insertInto:function(f){if(typeof(f)==="string"){f=d.getElementById(f)}f.appendChild(this.iframe)},getIframe:function(){return this.iframe},getWindow:function(){this._readyError()},getDocument:function(){this._readyError()},destroy:function(){var f=this.getIframe();f.parentNode.removeChild(f)},_readyError:function(){throw new Error("wysihtml5.Sandbox: Sandbox iframe isn't loaded yet")},_createIframe:function(){var g=this,f=d.createElement("iframe");f.className="wysihtml5-sandbox";e.dom.setAttributes({id:"wysihtml5-sandbox",security:"restricted",allowtransparency:"true",frameborder:0,width:0,height:0,marginwidth:0,marginheight:0}).on(f);if(e.browser.throwsMixedContentWarningWhenIframeSrcIsEmpty()){f.src="javascript:'<html></html>'"}f.onload=function(){f.onreadystatechange=f.onload=null;g._onLoadIframe(f)};f.onreadystatechange=function(){if(/loaded|complete/.test(f.readyState)){f.onreadystatechange=f.onload=null;g._onLoadIframe(f)}};return f},_onLoadIframe:function(h){if(!e.dom.contains(d.documentElement,h)){return}var l=this,f=h.contentWindow,m=h.contentWindow.document,n=d.characterSet||d.charset||"utf-8",k=this._getHtml({charset:n,stylesheets:this.config.stylesheets});m.open("text/html","replace");m.write(k);m.close();this.getWindow=function(){return h.contentWindow};this.getDocument=function(){return h.contentWindow.document};f.onerror=function(o,p,i){throw new Error("wysihtml5.Sandbox: "+o,p,i)};if(!e.browser.supportsSandboxedIframes()){var g,j;for(g=0,j=c.length;g<j;g++){this._unset(f,c[g])}for(g=0,j=b.length;g<j;g++){this._unset(f,b[g],e.EMPTY_FUNCTION)}for(g=0,j=a.length;g<j;g++){this._unset(m,a[g])}this._unset(m,"cookie","",true)}this.loaded=true;setTimeout(function(){l.callback(l)},0)},_getHtml:function(j){var k=j.stylesheets,g="",f=0,h;k=typeof(k)==="string"?[k]:k;if(k){h=k.length;for(;f<h;f++){g+='<link rel="stylesheet" href="'+k[f]+'">'}}j.stylesheets=g;return e.lang.string('<!DOCTYPE html><html><head><meta charset="#{charset}">#{stylesheets}</head><body></body></html>').interpolate(j)},_unset:function(g,i,h,k){try{g[i]=h}catch(j){}try{g.__defineGetter__(i,function(){return h})}catch(j){}if(k){try{g.__defineSetter__(i,function(){})}catch(j){}}if(!e.browser.crashesWhenDefineProperty(i)){try{var f={get:function(){return h}};if(k){f.set=function(){}}Object.defineProperty(g,i,f)}catch(j){}}}})})(wysihtml5);(function(){var a={className:"class"};wysihtml5.dom.setAttributes=function(b){return{on:function(d){for(var c in b){d.setAttribute(a[c]||c,b[c])}}}}})();wysihtml5.dom.setStyles=function(a){return{on:function(c){var d=c.style;if(typeof(a)==="string"){d.cssText+=";"+a;return}for(var b in a){if(b==="float"){d.cssFloat=a[b];d.styleFloat=a[b]}else{d[b]=a[b]}}}}};(function(a){a.simulatePlaceholder=function(d,b,c){var e="placeholder",f=function(){if(b.hasPlaceholderSet()){b.clear()}a.removeClass(b.element,e)},g=function(){if(b.isEmpty()){b.setValue(c);a.addClass(b.element,e)}};d.observe("set_placeholder",g).observe("unset_placeholder",f).observe("focus:composer",f).observe("paste:composer",f).observe("blur:composer",g);g()}})(wysihtml5.dom);(function(b){var a=document.documentElement;if("textContent" in a){b.setTextContent=function(c,d){c.textContent=d};b.getTextContent=function(c){return c.textContent}}else{if("innerText" in a){b.setTextContent=function(c,d){c.innerText=d};b.getTextContent=function(c){return c.innerText}}else{b.setTextContent=function(c,d){c.nodeValue=d};b.getTextContent=function(c){return c.nodeValue}}}})(wysihtml5.dom);wysihtml5.quirks.cleanPastedHTML=(function(){var a={"a u":wysihtml5.dom.replaceWithChildNodes};function b(l,m,d){m=m||a;d=d||l.ownerDocument||document;var h,e=typeof(l)==="string",c,k,n,g,f=0;if(e){h=wysihtml5.dom.getAsDom(l,d)}else{h=l}for(g in m){k=h.querySelectorAll(g);c=m[g];n=k.length;for(;f<n;f++){c(k[f])}}k=l=m=null;return e?h.innerHTML:h}return b})();(function(b){var a=b.dom;b.quirks.ensureProperClearing=(function(){var c=function(e){var d=this;setTimeout(function(){var f=d.innerHTML.toLowerCase();if(f=="<p>&nbsp;</p>"||f=="<p>&nbsp;</p><p>&nbsp;</p>"){d.innerHTML=""}},0)};return function(d){a.observe(d.element,["cut","keydown"],c)}})();b.quirks.ensureProperClearingOfLists=(function(){var d=["OL","UL","MENU"];var c=function(g,e){if(!e.firstChild||!b.lang.array(d).contains(e.firstChild.nodeName)){return}var i=a.getParentElement(g,{nodeName:d});if(!i){return}var h=i==e.firstChild;if(!h){return}var j=i.childNodes.length<=1;if(!j){return}var f=i.firstChild?i.firstChild.innerHTML==="":true;if(!f){return}i.parentNode.removeChild(i)};return function(e){a.observe(e.element,"keydown",function(g){if(g.keyCode!==b.BACKSPACE_KEY){return}var f=e.selection.getSelectedNode();c(f,e.element)})}})()})(wysihtml5);(function(b){var a="%7E";b.quirks.getCorrectInnerHTML=function(e){var j=e.innerHTML;if(j.indexOf(a)===-1){return j}var g=e.querySelectorAll("[href*='~'], [src*='~']"),c,h,f,d;for(d=0,f=g.length;d<f;d++){c=g[d].href||g[d].src;h=b.lang.string(c).replace("~").by(a);j=b.lang.string(j).replace(h).by(c)}return j}})(wysihtml5);(function(d){var c=d.dom,b=["LI","P","H1","H2","H3","H4","H5","H6"],a=["UL","OL","MENU"];d.quirks.insertLineBreakOnReturn=function(g){function e(j){var h=c.getParentElement(j,{nodeName:["P","DIV"]},2);if(!h){return}var i=document.createTextNode(d.INVISIBLE_SPACE);c.insert(i).before(h);c.replaceWithChildNodes(h);g.selection.selectNode(i)}function f(i){var k=i.keyCode;if(i.shiftKey||(k!==d.ENTER_KEY&&k!==d.BACKSPACE_KEY)){return}var h=i.target,j=g.selection.getSelectedNode(),l=c.getParentElement(j,{nodeName:b},4);if(l){if(l.nodeName==="LI"&&(k===d.ENTER_KEY||k===d.BACKSPACE_KEY)){setTimeout(function(){var n=g.selection.getSelectedNode(),m,o;if(!n){return}m=c.getParentElement(n,{nodeName:a},2);if(m){return}e(n)},0)}else{if(l.nodeName.match(/H[1-6]/)&&k===d.ENTER_KEY){setTimeout(function(){e(g.selection.getSelectedNode())},0)}}return}if(k===d.ENTER_KEY&&!d.browser.insertsLineBreaksOnReturn()){g.commands.exec("insertLineBreak");i.preventDefault()}}c.observe(g.element.ownerDocument,"keydown",f)}})(wysihtml5);(function(b){var a="wysihtml5-quirks-redraw";b.quirks.redraw=function(c){b.dom.addClass(c,a);b.dom.removeClass(c,a);try{var f=c.ownerDocument;f.execCommand("italic",false,null);f.execCommand("italic",false,null)}catch(d){}}})(wysihtml5);(function(c){var b=c.dom;function a(d){var e=0;if(d.parentNode){do{e+=d.offsetTop||0;d=d.offsetParent}while(d)}return e}c.Selection=Base.extend({constructor:function(d){window.rangy.init();this.editor=d;this.composer=d.composer;this.doc=this.composer.doc},getBookmark:function(){var d=this.getRange();return d&&d.cloneRange()},setBookmark:function(d){if(!d){return}this.setSelection(d)},setBefore:function(e){var d=rangy.createRange(this.doc);d.setStartBefore(e);d.setEndBefore(e);return this.setSelection(d)},setAfter:function(e){var d=rangy.createRange(this.doc);d.setStartAfter(e);d.setEndAfter(e);return this.setSelection(d)},selectNode:function(d){var g=rangy.createRange(this.doc),j=d.nodeType===c.ELEMENT_NODE,l="canHaveHTML" in d?d.canHaveHTML:(d.nodeName!=="IMG"),i=j?d.innerHTML:d.data,f=(i===""||i===c.INVISIBLE_SPACE),k=b.getStyle("display").from(d),m=(k==="block"||k==="list-item");if(f&&j&&l){try{d.innerHTML=c.INVISIBLE_SPACE}catch(h){}}if(l){g.selectNodeContents(d)}else{g.selectNode(d)}if(l&&f&&j){g.collapse(m)}else{if(l&&f){g.setStartAfter(d);g.setEndAfter(d)}}this.setSelection(g)},getSelectedNode:function(e){var f,d;if(e&&this.doc.selection&&this.doc.selection.type==="Control"){d=this.doc.selection.createRange();if(d&&d.length){return d.item(0)}}f=this.getSelection(this.doc);if(f.focusNode===f.anchorNode){return f.focusNode}else{d=this.getRange(this.doc);return d?d.commonAncestorContainer:this.doc.body}},executeAndRestore:function(d,n){var h=this.doc.body,f=n&&h.scrollTop,i=n&&h.scrollLeft,l="_wysihtml5-temp-placeholder",o='<span class="'+l+'">'+c.INVISIBLE_SPACE+"</span>",g=this.getRange(this.doc),m;if(!g){d(h,h);return}var e=g.createContextualFragment(o);g.insertNode(e);try{d(g.startContainer,g.endContainer)}catch(k){setTimeout(function(){throw k},0)}caretPlaceholder=this.doc.querySelector("."+l);if(caretPlaceholder){m=rangy.createRange(this.doc);m.selectNode(caretPlaceholder);m.deleteContents();this.setSelection(m)}else{h.focus()}if(n){h.scrollTop=f;h.scrollLeft=i}try{caretPlaceholder.parentNode.removeChild(caretPlaceholder)}catch(j){}},executeAndRestoreSimple:function(d){var h=this.getRange(),i=this.doc.body,p,f,g,l,j;if(!h){d(i,i);return}l=h.getNodes([3]);f=l[0]||h.startContainer;g=l[l.length-1]||h.endContainer;j={collapsed:h.collapsed,startContainer:f,startOffset:f===h.startContainer?h.startOffset:0,endContainer:g,endOffset:g===h.endContainer?h.endOffset:g.length};try{d(h.startContainer,h.endContainer)}catch(k){setTimeout(function(){throw k},0)}p=rangy.createRange(this.doc);try{p.setStart(j.startContainer,j.startOffset)}catch(o){}try{p.setEnd(j.endContainer,j.endOffset)}catch(n){}try{this.setSelection(p)}catch(m){}},insertHTML:function(e){var d=rangy.createRange(this.doc),g=d.createContextualFragment(e),f=g.lastChild;this.insertNode(g);if(f){this.setAfter(f)}},insertNode:function(e){var d=this.getRange();if(d){d.insertNode(e)}},surround:function(f){var d=this.getRange();if(!d){return}try{d.surroundContents(f);this.selectNode(f)}catch(g){f.appendChild(d.extractContents());d.insertNode(f)}},scrollIntoView:function(){var g=this.doc,f=g.documentElement.scrollHeight>g.documentElement.offsetHeight,d=g._wysihtml5ScrollIntoViewElement=g._wysihtml5ScrollIntoViewElement||(function(){var h=g.createElement("span");h.innerHTML=c.INVISIBLE_SPACE;return h})(),e;if(f){this.insertNode(d);e=a(d);d.parentNode.removeChild(d);if(e>g.body.scrollTop){g.body.scrollTop=e}}},selectLine:function(){if(c.browser.supportsSelectionModify()){this._selectLine_W3C()}else{if(this.doc.selection){this._selectLine_MSIE()}}},_selectLine_W3C:function(){var e=this.doc.defaultView,d=e.getSelection();d.modify("extend","left","lineboundary");d.modify("extend","right","lineboundary")},_selectLine_MSIE:function(){var l=this.doc.selection.createRange(),h=l.boundingTop,p=l.boundingHeight,k=this.doc.body.scrollWidth,e,d,m,g,f;if(!l.moveToPoint){return}if(h===0){m=this.doc.createElement("span");this.insertNode(m);h=m.offsetTop;m.parentNode.removeChild(m)}h+=1;for(g=-10;g<k;g+=2){try{l.moveToPoint(g,h);break}catch(o){}}e=h;d=this.doc.selection.createRange();for(f=k;f>=0;f--){try{d.moveToPoint(f,e);break}catch(n){}}l.setEndPoint("EndToEnd",d);l.select()},getText:function(){var d=this.getSelection();return d?d.toString():""},getNodes:function(d,f){var e=this.getRange();if(e){return e.getNodes([d],f)}else{return[]}},getRange:function(){var d=this.getSelection();return d&&d.rangeCount&&d.getRangeAt(0)},getSelection:function(){return rangy.getSelection(this.doc.defaultView||this.doc.parentWindow)},setSelection:function(d){var f=this.doc.defaultView||this.doc.parentWindow,e=rangy.getSelection(f);return e.setSingleRange(d)}})})(wysihtml5);(function(n,j){var h="span";var f=/\s+/g;function d(q,o,p){if(!q.className){return false}var r=q.className.match(p)||[];return r[r.length-1]===o}function i(q,o,p){if(q.className){l(q,p);q.className+=" "+o}else{q.className=o}}function l(p,o){if(p.className){p.className=p.className.replace(o,"")}}function m(p,o){return p.className.replace(f," ")==o.className.replace(f," ")}function a(p){var o=p.parentNode;while(p.firstChild){o.insertBefore(p.firstChild,p)}o.removeChild(p)}function e(u,s){if(u.attributes.length!=s.attributes.length){return false}for(var t=0,o=u.attributes.length,r,p,q;t<o;++t){r=u.attributes[t];q=r.name;if(q!="class"){p=s.attributes.getNamedItem(q);if(r.specified!=p.specified){return false}if(r.specified&&r.nodeValue!==p.nodeValue){return false}}}return true}function c(o,p){if(j.dom.isCharacterDataNode(o)){if(p==0){return !!o.previousSibling}else{if(p==o.length){return !!o.nextSibling}else{return true}}}return p>0&&p<o.childNodes.length}function b(r,p,q){var o;if(j.dom.isCharacterDataNode(p)){if(q==0){q=j.dom.getNodeIndex(p);p=p.parentNode}else{if(q==p.length){q=j.dom.getNodeIndex(p)+1;p=p.parentNode}else{o=j.dom.splitDataNode(p,q)}}}if(!o){o=p.cloneNode(false);if(o.id){o.removeAttribute("id")}var s;while((s=p.childNodes[q])){o.appendChild(s)}j.dom.insertAfter(o,p)}return(p==r)?o:b(r,o.parentNode,j.dom.getNodeIndex(o))}function g(o){this.isElementMerge=(o.nodeType==n.ELEMENT_NODE);this.firstTextNode=this.isElementMerge?o.lastChild:o;this.textNodes=[this.firstTextNode]}g.prototype={doMerge:function(){var t=[],s,q,r;for(var p=0,o=this.textNodes.length;p<o;++p){s=this.textNodes[p];q=s.parentNode;t[p]=s.data;if(p){q.removeChild(s);if(!q.hasChildNodes()){q.parentNode.removeChild(q)}}}this.firstTextNode.data=r=t.join("");return r},getLength:function(){var p=this.textNodes.length,o=0;while(p--){o+=this.textNodes[p].length}return o},toString:function(){var q=[];for(var p=0,o=this.textNodes.length;p<o;++p){q[p]="'"+this.textNodes[p].data+"'"}return"[Merge("+q.join(",")+")]"}};function k(o,q,p,r){this.tagNames=o||[h];this.cssClass=q||"";this.similarClassRegExp=p;this.normalize=r;this.applyToAnyTagName=false}k.prototype={getAncestorWithClass:function(p){var o;while(p){o=this.cssClass?d(p,this.cssClass,this.similarClassRegExp):true;if(p.nodeType==n.ELEMENT_NODE&&j.dom.arrayContains(this.tagNames,p.tagName.toLowerCase())&&o){return p}p=p.parentNode}return false},postApply:function(A,w){var o=A[0],p=A[A.length-1];var r=[],B;var t=o,q=p;var y=0,C=p.length;var s,v;for(var u=0,x=A.length;u<x;++u){s=A[u];v=this.getAdjacentMergeableTextNode(s.parentNode,false);if(v){if(!B){B=new g(v);r.push(B)}B.textNodes.push(s);if(s===o){t=B.firstTextNode;y=t.length}if(s===p){q=B.firstTextNode;C=B.getLength()}}else{B=null}}var z=this.getAdjacentMergeableTextNode(p.parentNode,true);if(z){if(!B){B=new g(p);r.push(B)}B.textNodes.push(z)}if(r.length){for(u=0,x=r.length;u<x;++u){r[u].doMerge()}w.setStart(t,y);w.setEnd(q,C)}},getAdjacentMergeableTextNode:function(q,o){var s=(q.nodeType==n.TEXT_NODE);var p=s?q.parentNode:q;var t;var r=o?"nextSibling":"previousSibling";if(s){t=q[r];if(t&&t.nodeType==n.TEXT_NODE){return t}}else{t=p[r];if(t&&this.areElementsMergeable(q,t)){return t[o?"firstChild":"lastChild"]}}return null},areElementsMergeable:function(p,o){return j.dom.arrayContains(this.tagNames,(p.tagName||"").toLowerCase())&&j.dom.arrayContains(this.tagNames,(o.tagName||"").toLowerCase())&&m(p,o)&&e(p,o)},createContainer:function(p){var o=p.createElement(this.tagNames[0]);if(this.cssClass){o.className=this.cssClass}return o},applyToTextNode:function(q){var p=q.parentNode;if(p.childNodes.length==1&&j.dom.arrayContains(this.tagNames,p.tagName.toLowerCase())){if(this.cssClass){i(p,this.cssClass,this.similarClassRegExp)}}else{var o=this.createContainer(j.dom.getDocument(q));q.parentNode.insertBefore(o,q);o.appendChild(q)}},isRemovable:function(o){return j.dom.arrayContains(this.tagNames,o.tagName.toLowerCase())&&n.lang.string(o.className).trim()==this.cssClass},undoToTextNode:function(r,p,q){if(!p.containsNode(q)){var o=p.cloneRange();o.selectNode(q);if(o.isPointInRange(p.endContainer,p.endOffset)&&c(p.endContainer,p.endOffset)){b(q,p.endContainer,p.endOffset);p.setEndAfter(q)}if(o.isPointInRange(p.startContainer,p.startOffset)&&c(p.startContainer,p.startOffset)){q=b(q,p.startContainer,p.startOffset)}}if(this.similarClassRegExp){l(q,this.similarClassRegExp)}if(this.isRemovable(q)){a(q)}},applyToRange:function(p){var s=p.getNodes([n.TEXT_NODE]);if(!s.length){try{var r=this.createContainer(p.endContainer.ownerDocument);p.surroundContents(r);this.selectNode(p,r);return}catch(t){}}p.splitBoundaries();s=p.getNodes([n.TEXT_NODE]);if(s.length){var u;for(var q=0,o=s.length;q<o;++q){u=s[q];if(!this.getAncestorWithClass(u)){this.applyToTextNode(u)}}p.setStart(s[0],0);u=s[s.length-1];p.setEnd(u,u.length);if(this.normalize){this.postApply(s,p)}}},undoToRange:function(p){var s=p.getNodes([n.TEXT_NODE]),v,t;if(s.length){p.splitBoundaries();s=p.getNodes([n.TEXT_NODE])}else{var u=p.endContainer.ownerDocument,r=u.createTextNode(n.INVISIBLE_SPACE);p.insertNode(r);p.selectNode(r);s=[r]}for(var q=0,o=s.length;q<o;++q){v=s[q];t=this.getAncestorWithClass(v);if(t){this.undoToTextNode(v,p,t)}}if(o==1){this.selectNode(p,s[0])}else{p.setStart(s[0],0);v=s[s.length-1];p.setEnd(v,v.length);if(this.normalize){this.postApply(s,p)}}},selectNode:function(p,s){var r=s.nodeType===n.ELEMENT_NODE,o="canHaveHTML" in s?s.canHaveHTML:true,q=r?s.innerHTML:s.data,u=(q===""||q===n.INVISIBLE_SPACE);if(u&&r&&o){try{s.innerHTML=n.INVISIBLE_SPACE}catch(t){}}p.selectNodeContents(s);if(u&&r){p.collapse(false)}else{if(u){p.setStartAfter(s);p.setEndAfter(s)}}},getTextSelectedByRange:function(s,o){var p=o.cloneRange();p.selectNodeContents(s);var q=p.intersection(o);var r=q?q.toString():"";p.detach();return r},isAppliedToRange:function(p){var s=[],r,t=p.getNodes([n.TEXT_NODE]);if(!t.length){r=this.getAncestorWithClass(p.startContainer);return r?[r]:false}for(var q=0,o=t.length,u;q<o;++q){u=this.getTextSelectedByRange(t[q],p);r=this.getAncestorWithClass(t[q]);if(u!=""&&!r){return false}else{s.push(r)}}return s},toggleRange:function(o){if(this.isAppliedToRange(o)){this.undoToRange(o)}else{this.applyToRange(o)}}};n.selection.HTMLApplier=k})(wysihtml5,rangy);wysihtml5.Commands=Base.extend({constructor:function(a){this.editor=a;this.composer=a.composer;this.doc=this.composer.doc},support:function(a){return wysihtml5.browser.supportsCommand(this.doc,a)},exec:function(d,a){var c=wysihtml5.commands[d],f=c&&c.exec;this.editor.fire("beforecommand:composer");if(f){return f.call(c,this.composer,d,a)}else{try{return this.doc.execCommand(d,false,a)}catch(b){}}this.editor.fire("aftercommand:composer")},state:function(d,a){var c=wysihtml5.commands[d],f=c&&c.state;if(f){return f.call(c,this.composer,d,a)}else{try{return this.doc.queryCommandState(d)}catch(b){return false}}},value:function(c){var b=wysihtml5.commands[c],d=b&&b.value;if(d){return d.call(b,this.composer,c)}else{try{return this.doc.queryCommandValue(c)}catch(a){return null}}}});(function(b){var a;b.commands.bold={exec:function(c,d){return b.commands.formatInline.exec(c,d,"strong")},state:function(d,e,c){return b.commands.formatInline.state(d,e,"strong")},value:function(){return a}}})(wysihtml5);(function(f){var d,c="A",e=f.dom;function a(h,n){var m=n.length,j=0,g,l,k;for(;j<m;j++){g=n[j];l=e.getParentElement(g,{nodeName:"code"});k=e.getTextContent(g);if(k.match(e.autoLink.URL_REG_EXP)&&!l){l=e.renameElement(g,"code")}else{e.replaceWithChildNodes(g)}}}function b(g,m){var u=g.doc,r="_wysihtml5-temp-"+(+new Date()),w=/non-matching-class/g,q=0,k,h,p,t,o,n,s,v,l;f.commands.formatInline.exec(g,d,c,r,w);h=u.querySelectorAll(c+"."+r);k=h.length;for(;q<k;q++){p=h[q];p.removeAttribute("class");for(l in m){p.setAttribute(l,m[l])}}n=p;if(k===1){s=e.getTextContent(p);t=!!p.querySelector("*");o=s===""||s===f.INVISIBLE_SPACE;if(!t&&o){e.setTextContent(p,p.href);v=u.createTextNode(" ");g.selection.setAfter(p);g.selection.insertNode(v);n=v}}g.selection.setAfter(n)}f.commands.createLink={exec:function(g,j,i){var h=this.state(g,j);if(h){g.selection.executeAndRestore(function(){a(g,h)})}else{i=typeof(i)==="object"?i:{href:i};b(g,i)}},state:function(g,h){return f.commands.formatInline.state(g,h,"A")},value:function(){return d}}})(wysihtml5);(function(c){var b,a=/wysiwyg-font-size-[a-z]+/g;c.commands.fontSize={exec:function(d,f,e){return c.commands.formatInline.exec(d,f,"span","wysiwyg-font-size-"+e,a)},state:function(d,f,e){return c.commands.formatInline.state(d,f,"span","wysiwyg-font-size-"+e,a)},value:function(){return b}}})(wysihtml5);(function(c){var b,a=/wysiwyg-color-[a-z]+/g;c.commands.foreColor={exec:function(e,f,d){return c.commands.formatInline.exec(e,f,"span","wysiwyg-color-"+d,a)},state:function(e,f,d){return c.commands.formatInline.state(e,f,"span","wysiwyg-color-"+d,a)},value:function(){return b}}})(wysihtml5);(function(h){var b,o=h.dom,a="DIV",p=["H1","H2","H3","H4","H5","H6","P","BLOCKQUOTE",a];function m(s,t,u){if(s.className){g(s,u);s.className+=" "+t}else{s.className=t}}function g(s,t){s.className=s.className.replace(t,"")}function i(s){return s.nodeType===h.TEXT_NODE&&!h.lang.string(s.data).trim()}function j(t){var s=t.previousSibling;while(s&&i(s)){s=s.previousSibling}return s}function k(s){var t=s.nextSibling;while(t&&i(t)){t=t.nextSibling}return t}function f(t){var v=t.ownerDocument,u=k(t),s=j(t);if(u&&!e(u)){t.parentNode.insertBefore(v.createElement("br"),u)}if(s&&!e(s)){t.parentNode.insertBefore(v.createElement("br"),t)}}function c(t){var u=k(t),s=j(t);if(u&&l(u)){u.parentNode.removeChild(u)}if(s&&l(s)){s.parentNode.removeChild(s)}}function n(t){var s=t.lastChild;if(s&&l(s)){s.parentNode.removeChild(s)}}function l(s){return s.nodeName==="BR"}function e(s){if(l(s)){return true}if(o.getStyle("display").from(s)==="block"){return true}return false}function d(u,v,w,t){if(t){var s=o.observe(u,"DOMNodeInserted",function(y){var z=y.target,x;if(z.nodeType!==h.ELEMENT_NODE){return}x=o.getStyle("display").from(z);if(x.substr(0,6)!=="inline"){z.className+=" "+t}})}u.execCommand(v,false,w);if(s){s.stop()}}function q(s,t){s.selection.selectLine();s.selection.surround(t);c(t);n(t);s.selection.selectNode(t)}function r(s){return !!h.lang.string(s.className).trim()}h.commands.formatBlock={exec:function(s,y,z,t,v){var w=s.doc,x=this.state(s,y,z,t,v),u;z=typeof(z)==="string"?z.toUpperCase():z;if(x){s.selection.executeAndRestoreSimple(function(){if(v){g(x,v)}var A=r(x);if(!A&&x.nodeName===(z||a)){f(x);o.replaceWithChildNodes(x)}else{if(A){o.renameElement(x,a)}}});return}if(z===null||h.lang.array(p).contains(z)){u=s.selection.getSelectedNode();x=o.getParentElement(u,{nodeName:p});if(x){s.selection.executeAndRestoreSimple(function(){if(z){x=o.renameElement(x,z)}if(t){m(x,t,v)}});return}}if(s.commands.support(y)){d(w,y,z||a,t);return}x=w.createElement(z||a);if(t){x.className=t}q(s,x)},state:function(s,w,x,t,v){x=typeof(x)==="string"?x.toUpperCase():x;var u=s.selection.getSelectedNode();return o.getParentElement(u,{nodeName:x,className:t,classRegExp:v})},value:function(){return b}}})(wysihtml5);(function(f){var c,d={strong:"b",em:"i",b:"strong",i:"em"},e={};function b(h){var g=d[h];return g?[h.toLowerCase(),g.toLowerCase()]:[h.toLowerCase()]}function a(h,i,j){var g=h+":"+i;if(!e[g]){e[g]=new f.selection.HTMLApplier(b(h),i,j,true)}return e[g]}f.commands.formatInline={exec:function(h,l,i,j,k){var g=h.selection.getRange();if(!g){return false}a(i,j,k).toggleRange(g);h.selection.setSelection(g)},state:function(h,m,i,j,k){var l=h.doc,n=d[i]||i,g;if(!f.dom.hasElementWithTagName(l,i)&&!f.dom.hasElementWithTagName(l,n)){return false}if(j&&!f.dom.hasElementWithClassName(l,j)){return false}g=h.selection.getRange();if(!g){return false}return a(i,j,k).isAppliedToRange(g)},value:function(){return c}}})(wysihtml5);(function(b){var a;b.commands.insertHTML={exec:function(c,e,d){if(c.commands.support(e)){c.doc.execCommand(e,false,d)}else{c.selection.insertHTML(d)}},state:function(){return false},value:function(){return a}}})(wysihtml5);(function(b){var a="IMG";b.commands.insertImage={exec:function(c,k,f){f=typeof(f)==="object"?f:{src:f};var h=c.doc,g=this.state(c),j,d,e;if(g){c.selection.setBefore(g);e=g.parentNode;e.removeChild(g);b.dom.removeEmptyTextNodes(e);if(e.nodeName==="A"&&!e.firstChild){c.selection.setAfter(e);e.parentNode.removeChild(e)}b.quirks.redraw(c.element);return}g=h.createElement(a);for(d in f){g[d]=f[d]}c.selection.insertNode(g);if(b.browser.hasProblemsSettingCaretAfterImg()){j=h.createTextNode(b.INVISIBLE_SPACE);c.selection.insertNode(j);c.selection.setAfter(j)}else{c.selection.setAfter(g)}},state:function(d){var f=d.doc,e,g,c;if(!b.dom.hasElementWithTagName(f,a)){return false}e=d.selection.getSelectedNode();if(!e){return false}if(e.nodeName===a){return e}if(e.nodeType!==b.ELEMENT_NODE){return false}g=d.selection.getText();g=b.lang.string(g).trim();if(g){return false}c=d.selection.getNodes(b.ELEMENT_NODE,function(h){return h.nodeName==="IMG"});if(c.length!==1){return false}return c[0]},value:function(c){var d=this.state(c);return d&&d.src}}})(wysihtml5);(function(c){var b,a="<br>"+(c.browser.needsSpaceAfterLineBreak()?" ":"");c.commands.insertLineBreak={exec:function(d,e){if(d.commands.support(e)){d.doc.execCommand(e,false,null);if(!c.browser.autoScrollsToCaret()){d.selection.scrollIntoView()}}else{d.commands.exec("insertHTML",a)}},state:function(){return false},value:function(){return b}}})(wysihtml5);(function(b){var a;b.commands.insertOrderedList={exec:function(d,i){var g=d.doc,f,h,c,e;if(d.commands.support(i)){g.execCommand(i,false,null)}else{f=d.selection.getSelectedNode();e=b.dom.getParentElement(f,{nodeName:["UL","OL"]},4);if(!e){c=g.createElement("span");d.selection.surround(c);h=c.innerHTML===""||c.innerHTML===b.INVISIBLE_SPACE;d.selection.executeAndRestoreSimple(function(){e=b.dom.convertToList(c,"ol")});if(h){d.selection.selectNode(e.querySelector("li"))}return}d.selection.executeAndRestoreSimple(function(){if(e.nodeName==="OL"){b.dom.resolveList(e)}else{if(e.nodeName==="UL"||e.nodeName==="MENU"){b.dom.renameElement(e,"ol")}}})}},state:function(c,f){try{return c.doc.queryCommandState(f)}catch(d){return false}},value:function(){return a}}})(wysihtml5);(function(b){var a;b.commands.insertUnorderedList={exec:function(d,i){var g=d.doc,f,h,c,e;if(d.commands.support(i)){g.execCommand(i,false,null)}else{f=d.selection.getSelectedNode();e=b.dom.getParentElement(f,{nodeName:["UL","OL"]});if(!e){c=g.createElement("span");d.selection.surround(c);h=c.innerHTML===""||c.innerHTML===b.INVISIBLE_SPACE;d.selection.executeAndRestoreSimple(function(){e=b.dom.convertToList(c,"ul")});if(h){d.selection.selectNode(e.querySelector("li"))}return}d.selection.executeAndRestoreSimple(function(){if(e.nodeName==="UL"){b.dom.resolveList(e)}else{if(e.nodeName==="OL"||e.nodeName==="MENU"){b.dom.renameElement(e,"ul")}}})}},state:function(c,f){try{return c.doc.queryCommandState(f)}catch(d){return false}},value:function(){return a}}})(wysihtml5);(function(b){var a;b.commands.italic={exec:function(c,d){return b.commands.formatInline.exec(c,d,"em")},state:function(d,e,c){return b.commands.formatInline.state(d,e,"em")},value:function(){return a}}})(wysihtml5);(function(d){var b,c="wysiwyg-text-align-center",a=/wysiwyg-text-align-[a-z]+/g;d.commands.justifyCenter={exec:function(e,f){return d.commands.formatBlock.exec(e,"formatBlock",null,c,a)},state:function(e,f){return d.commands.formatBlock.state(e,"formatBlock",null,c,a)},value:function(){return b}}})(wysihtml5);(function(d){var b,c="wysiwyg-text-align-left",a=/wysiwyg-text-align-[a-z]+/g;d.commands.justifyLeft={exec:function(e,f){return d.commands.formatBlock.exec(e,"formatBlock",null,c,a)},state:function(e,f){return d.commands.formatBlock.state(e,"formatBlock",null,c,a)},value:function(){return b}}})(wysihtml5);(function(d){var b,c="wysiwyg-text-align-right",a=/wysiwyg-text-align-[a-z]+/g;d.commands.justifyRight={exec:function(e,f){return d.commands.formatBlock.exec(e,"formatBlock",null,c,a)},state:function(e,f){return d.commands.formatBlock.state(e,"formatBlock",null,c,a)},value:function(){return b}}})(wysihtml5);(function(b){var a;b.commands.underline={exec:function(c,d){return b.commands.formatInline.exec(c,d,"u")},state:function(c,d){return b.commands.formatInline.state(c,d,"u")},value:function(){return a}}})(wysihtml5);(function(j){var f=90,h=89,i=8,b=46,a=40,g='<span id="_wysihtml5-undo" class="_wysihtml5-temp">'+j.INVISIBLE_SPACE+"</span>",e='<span id="_wysihtml5-redo" class="_wysihtml5-temp">'+j.INVISIBLE_SPACE+"</span>",d=j.dom;function c(l){var k;while(k=l.querySelector("._wysihtml5-temp")){k.parentNode.removeChild(k)}}j.UndoManager=j.lang.Dispatcher.extend({constructor:function(k){this.editor=k;this.composer=k.composer;this.element=this.composer.element;this.history=[this.composer.getValue()];this.position=1;if(this.composer.commands.support("insertHTML")){this._observe()}},_observe:function(){var n=this,p=this.composer.sandbox.getDocument(),k;d.observe(this.element,"keydown",function(s){if(s.altKey||(!s.ctrlKey&&!s.metaKey)){return}var t=s.keyCode,q=t===f&&!s.shiftKey,r=(t===f&&s.shiftKey)||(t===h);if(q){n.undo();s.preventDefault()}else{if(r){n.redo();s.preventDefault()}}});d.observe(this.element,"keydown",function(q){var r=q.keyCode;if(r===k){return}k=r;if(r===i||r===b){n.transact()}});if(j.browser.hasUndoInContextMenu()){var l,m,o=function(){c(p);clearInterval(l)};d.observe(this.element,"contextmenu",function(){o();n.composer.selection.executeAndRestoreSimple(function(){if(n.element.lastChild){n.composer.selection.setAfter(n.element.lastChild)}p.execCommand("insertHTML",false,g);p.execCommand("insertHTML",false,e);p.execCommand("undo",false,null)});l=setInterval(function(){if(p.getElementById("_wysihtml5-redo")){o();n.redo()}else{if(!p.getElementById("_wysihtml5-undo")){o();n.undo()}}},400);if(!m){m=true;d.observe(document,"mousedown",o);d.observe(p,["mousedown","paste","cut","copy"],o)}})}this.editor.observe("newword:composer",function(){n.transact()}).observe("newletter:composer",function(){n.transact()}).observe("beforecommand:composer",function(){n.transact()})},transact:function(){var m=this.history[this.position-1],k=this.composer.getValue();if(k==m){return}var l=this.history.length=this.position;if(l>a){this.history.shift();this.position--}this.position++;this.history.push(k)},undo:function(){this.transact();if(this.position<=1){return}this.set(this.history[--this.position-1]);this.editor.fire("undo:composer")},redo:function(){if(this.position>=this.history.length){return}this.set(this.history[++this.position-1]);this.editor.fire("redo:composer")},set:function(k){this.composer.setValue(k);this.editor.focus(true)}})})(wysihtml5);wysihtml5.views.View=Base.extend({constructor:function(b,c,a){this.parent=b;this.element=c;this.config=a;this._observeViewChange()},_observeViewChange:function(){var a=this;this.parent.observe("beforeload",function(){a.parent.observe("change_view",function(b){if(b===a.name){a.parent.currentView=a;a.show();setTimeout(function(){a.focus()},0)}else{a.hide()}})})},focus:function(){if(this.element.ownerDocument.querySelector(":focus")===this.element){return}try{this.element.focus()}catch(a){}},hide:function(){this.element.style.display="none"},show:function(){this.element.style.display=""},disable:function(){this.element.setAttribute("disabled","disabled")},enable:function(){this.element.removeAttribute("disabled")}});(function(c){var b=c.dom,a=c.browser;c.views.Composer=c.views.View.extend({name:"composer",CARET_HACK:"<br>",constructor:function(e,f,d){this.base(e,f,d);this.textarea=this.parent.textarea;this._initSandbox()},clear:function(){this.element.innerHTML=a.displaysCaretInEmptyContentEditableCorrectly()?"":this.CARET_HACK},getValue:function(e){var d=this.isEmpty()?"":c.quirks.getCorrectInnerHTML(this.element);if(e){d=this.parent.parse(d)}d=c.lang.string(d).replace(c.INVISIBLE_SPACE).by("");return d},setValue:function(d,e){if(e){d=this.parent.parse(d)}this.element.innerHTML=d},show:function(){this.iframe.style.display=this._displayStyle||"";this.disable();this.enable()},hide:function(){this._displayStyle=b.getStyle("display").from(this.iframe);if(this._displayStyle==="none"){this._displayStyle=null}this.iframe.style.display="none"},disable:function(){this.element.removeAttribute("contentEditable");this.base()},enable:function(){this.element.setAttribute("contentEditable","true");this.base()},focus:function(e){if(c.browser.doesAsyncFocus()&&this.hasPlaceholderSet()){this.clear()}this.base();var d=this.element.lastChild;if(e&&d){if(d.nodeName==="BR"){this.selection.setBefore(this.element.lastChild)}else{this.selection.setAfter(this.element.lastChild)}}},getTextContent:function(){return b.getTextContent(this.element)},hasPlaceholderSet:function(){return this.getTextContent()==this.textarea.element.getAttribute("placeholder")},isEmpty:function(){var e=this.element.innerHTML,d="blockquote, ul, ol, img, embed, object, table, iframe, svg, video, audio, button, input, select, textarea";return e===""||e===this.CARET_HACK||this.hasPlaceholderSet()||(this.getTextContent()===""&&!this.element.querySelector(d))},_initSandbox:function(){var e=this;this.sandbox=new b.Sandbox(function(){e._create()},{stylesheets:this.config.stylesheets});this.iframe=this.sandbox.getIframe();var d=document.createElement("input");d.type="hidden";d.name="_wysihtml5_mode";d.value=1;var f=this.textarea.element;b.insert(this.iframe).after(f);b.insert(d).after(f)},_create:function(){var f=this;this.doc=this.sandbox.getDocument();this.element=this.doc.body;this.textarea=this.parent.textarea;this.element.innerHTML=this.textarea.getValue(true);this.enable();this.selection=new c.Selection(this.parent);this.commands=new c.Commands(this.parent);b.copyAttributes(["className","spellcheck","title","lang","dir","accessKey"]).from(this.textarea.element).to(this.element);b.addClass(this.element,this.config.composerClassName);if(this.config.style){this.style()}this.observe();var e=this.config.name;if(e){b.addClass(this.element,e);b.addClass(this.iframe,e)}var d=typeof(this.config.placeholder)==="string"?this.config.placeholder:this.textarea.element.getAttribute("placeholder");if(d){b.simulatePlaceholder(this.parent,this,d)}this.commands.exec("styleWithCSS",false);this._initAutoLinking();this._initObjectResizing();this._initUndoManager();if(this.textarea.element.hasAttribute("autofocus")||document.querySelector(":focus")==this.textarea.element){setTimeout(function(){f.focus()},100)}c.quirks.insertLineBreakOnReturn(this);if(!a.clearsContentEditableCorrectly()){c.quirks.ensureProperClearing(this)}if(!a.clearsListsInContentEditableCorrectly()){c.quirks.ensureProperClearingOfLists(this)}if(this.initSync&&this.config.sync){this.initSync()}this.textarea.hide();this.parent.fire("beforeload").fire("load")},_initAutoLinking:function(){var h=this,e=a.canDisableAutoLinking(),f=a.doesAutoLinkingInContentEditable();if(e){this.commands.exec("autoUrlDetect",false)}if(!this.config.autoLink){return}if(!f||(f&&e)){this.parent.observe("newword:composer",function(){h.selection.executeAndRestore(function(j,k){b.autoLink(k.parentNode)})})}var d=this.sandbox.getDocument().getElementsByTagName("a"),i=b.autoLink.URL_REG_EXP,g=function(j){var k=c.lang.string(b.getTextContent(j)).trim();if(k.substr(0,4)==="www."){k="http://"+k}return k};b.observe(this.element,"keydown",function(l){if(!d.length){return}var m=h.selection.getSelectedNode(l.target.ownerDocument),k=b.getParentElement(m,{nodeName:"A"},4),j;if(!k){return}j=g(k);setTimeout(function(){var n=g(k);if(n===j){return}if(n.match(i)){k.setAttribute("href",n)}},0)})},_initObjectResizing:function(){var f=["width","height"],e=f.length,d=this.element;this.commands.exec("enableObjectResizing",this.config.allowObjectResizing);if(this.config.allowObjectResizing){if(a.supportsEvent("resizeend")){b.observe(d,"resizeend",function(j){var l=j.target||j.srcElement,h=l.style,g=0,k;for(;g<e;g++){k=f[g];if(h[k]){l.setAttribute(k,parseInt(h[k],10));h[k]=""}}c.quirks.redraw(d)})}}else{if(a.supportsEvent("resizestart")){b.observe(d,"resizestart",function(g){g.preventDefault()})}}},_initUndoManager:function(){new c.UndoManager(this.parent)}})})(wysihtml5);(function(j){var a=j.dom,g=document,d=window,e=g.createElement("div"),b=["background-color","color","cursor","font-family","font-size","font-style","font-variant","font-weight","line-height","letter-spacing","text-align","text-decoration","text-indent","text-rendering","word-break","word-wrap","word-spacing"],h=["background-color","border-collapse","border-bottom-color","border-bottom-style","border-bottom-width","border-left-color","border-left-style","border-left-width","border-right-color","border-right-style","border-right-width","border-top-color","border-top-style","border-top-width","clear","display","float","margin-bottom","margin-left","margin-right","margin-top","outline-color","outline-offset","outline-width","outline-style","padding-left","padding-right","padding-top","padding-bottom","position","top","left","right","bottom","z-index","vertical-align","text-align","-webkit-box-sizing","-moz-box-sizing","-ms-box-sizing","box-sizing","-webkit-box-shadow","-moz-box-shadow","-ms-box-shadow","box-shadow","-webkit-border-top-right-radius","-moz-border-radius-topright","border-top-right-radius","-webkit-border-bottom-right-radius","-moz-border-radius-bottomright","border-bottom-right-radius","-webkit-border-bottom-left-radius","-moz-border-radius-bottomleft","border-bottom-left-radius","-webkit-border-top-left-radius","-moz-border-radius-topleft","border-top-left-radius","width","height"],c=["width","height","top","left","right","bottom"],f=["html { height: 100%; }","body { min-height: 100%; padding: 0; margin: 0; margin-top: -1px; padding-top: 1px; }","._wysihtml5-temp { display: none; }",j.browser.isGecko?"body.placeholder { color: graytext !important; }":"body.placeholder { color: #a9a9a9 !important; }","body[disabled] { background-color: #eee !important; color: #999 !important; cursor: default !important; }","img:-moz-broken { -moz-force-broken-image-icon: 1; height: 24px; width: 24px; }"];var i=function(m){if(m.setActive){try{m.setActive()}catch(o){}}else{var n=m.style,p=g.documentElement.scrollTop||g.body.scrollTop,l=g.documentElement.scrollLeft||g.body.scrollLeft,k={position:n.position,top:n.top,left:n.left,WebkitUserSelect:n.WebkitUserSelect};a.setStyles({position:"absolute",top:"-99999px",left:"-99999px",WebkitUserSelect:"none"}).on(m);m.focus();a.setStyles(k).on(m);if(d.scrollTo){d.scrollTo(l,p)}}};j.views.Composer.prototype.style=function(){var n=this,m=g.querySelector(":focus"),p=this.textarea.element,k=p.hasAttribute("placeholder"),o=k&&p.getAttribute("placeholder");this.focusStylesHost=this.focusStylesHost||e.cloneNode(false);this.blurStylesHost=this.blurStylesHost||e.cloneNode(false);if(k){p.removeAttribute("placeholder")}if(p===m){p.blur()}a.copyStyles(h).from(p).to(this.iframe).andTo(this.blurStylesHost);a.copyStyles(b).from(p).to(this.element).andTo(this.blurStylesHost);a.insertCSS(f).into(this.element.ownerDocument);i(p);a.copyStyles(h).from(p).to(this.focusStylesHost);a.copyStyles(b).from(p).to(this.focusStylesHost);var l=j.lang.array(h).without(["display"]);if(m){m.focus()}else{p.blur()}if(k){p.setAttribute("placeholder",o)}if(!j.browser.hasCurrentStyleProperty()){a.observe(d,"resize",function(){var q=a.getStyle("display").from(p);p.style.display="";a.copyStyles(c).from(p).to(n.iframe).andTo(n.focusStylesHost).andTo(n.blurStylesHost);p.style.display=q})}this.parent.observe("focus:composer",function(){a.copyStyles(l).from(n.focusStylesHost).to(n.iframe);a.copyStyles(b).from(n.focusStylesHost).to(n.element)});this.parent.observe("blur:composer",function(){a.copyStyles(l).from(n.blurStylesHost).to(n.iframe);a.copyStyles(b).from(n.blurStylesHost).to(n.element)});return this}})(wysihtml5);(function(d){var c=d.dom,b=d.browser,a={"66":"bold","73":"italic","85":"underline"};d.views.Composer.prototype.observe=function(){var i=this,k=this.getValue(),h=this.sandbox.getIframe(),g=this.element,f=b.supportsEventsInIframeCorrectly()?g:this.sandbox.getWindow(),e=b.supportsEvent("drop")?["drop","paste"]:["dragdrop","paste"];c.observe(h,"DOMNodeRemoved",function(){clearInterval(j);i.parent.fire("destroy:composer")});var j=setInterval(function(){if(!c.contains(document.documentElement,h)){clearInterval(j);i.parent.fire("destroy:composer")}},250);c.observe(f,"focus",function(){i.parent.fire("focus").fire("focus:composer");setTimeout(function(){k=i.getValue()},0)});c.observe(f,"blur",function(){if(k!==i.getValue()){i.parent.fire("change").fire("change:composer")}i.parent.fire("blur").fire("blur:composer")});if(d.browser.isIos()){c.observe(g,"blur",function(){var n=g.ownerDocument.createElement("input"),p=document.documentElement.scrollTop||document.body.scrollTop,m=document.documentElement.scrollLeft||document.body.scrollLeft;try{i.selection.insertNode(n)}catch(o){g.appendChild(n)}n.focus();n.parentNode.removeChild(n);window.scrollTo(m,p)})}c.observe(g,"dragenter",function(){i.parent.fire("unset_placeholder")});if(b.firesOnDropOnlyWhenOnDragOverIsCancelled()){c.observe(g,["dragover","dragenter"],function(m){m.preventDefault()})}c.observe(g,e,function(m){var o=m.dataTransfer,n;if(o&&b.supportsDataTransfer()){n=o.getData("text/html")||o.getData("text/plain")}if(n){g.focus();i.commands.exec("insertHTML",n);i.parent.fire("paste").fire("paste:composer");m.stopPropagation();m.preventDefault()}else{setTimeout(function(){i.parent.fire("paste").fire("paste:composer")},0)}});c.observe(g,"keyup",function(m){var n=m.keyCode;i.parent.fire("newletter:composer");if(n===d.SPACE_KEY||n===d.ENTER_KEY){i.parent.fire("newword:composer")}});this.parent.observe("paste:composer",function(){setTimeout(function(){i.parent.fire("newword:composer");i.parent.fire("newletter:composer")},0)});if(!b.canSelectImagesInContentEditable()){c.observe(g,"mousedown",function(m){var n=m.target;if(n.nodeName==="IMG"){i.selection.selectNode(n);m.preventDefault()}})}c.observe(g,"keydown",function(m){var n=m.keyCode,o=a[n];if((m.ctrlKey||m.metaKey)&&o){i.commands.exec(o);m.preventDefault()}});c.observe(g,"keydown",function(n){var p=i.selection.getSelectedNode(true),o=n.keyCode,m;if(p&&p.nodeName==="IMG"&&(o===d.BACKSPACE_KEY||o===d.DELETE_KEY)){m=p.parentNode;m.removeChild(p);if(m.nodeName==="A"&&!m.firstChild){m.parentNode.removeChild(m)}setTimeout(function(){d.quirks.redraw(g)},0);n.preventDefault()}});var l={IMG:"Image: ",A:"Link: "};c.observe(g,"mouseover",function(m){var n=m.target,p=n.nodeName,o;if(p!=="A"&&p!=="IMG"){return}o=l[p]+(n.getAttribute("href")||n.getAttribute("src"));n.setAttribute("title",o)})}})(wysihtml5);(function(b){var a=400;b.views.Synchronizer=Base.extend({constructor:function(e,c,d){this.editor=e;this.textarea=c;this.composer=d;this._observe()},fromComposerToTextarea:function(c){this.textarea.setValue(b.lang.string(this.composer.getValue()).trim(),c)},fromTextareaToComposer:function(d){var c=this.textarea.getValue();if(c){this.composer.setValue(c,d)}else{this.composer.clear();this.editor.fire("set_placeholder")}},sync:function(c){if(this.editor.currentView.name==="textarea"){this.fromTextareaToComposer(c)}else{this.fromComposerToTextarea(c)}},_observe:function(){var c,e=this,d=this.textarea.element.form,g=function(){c=setInterval(function(){e.fromComposerToTextarea()},a)},f=function(){clearInterval(c);c=null};g();if(d){b.dom.observe(d,"submit",function(){e.sync(true)});b.dom.observe(d,"reset",function(){setTimeout(function(){e.fromTextareaToComposer()},0)})}this.editor.observe("change_view",function(h){if(h==="composer"&&!c){e.fromTextareaToComposer(true);g()}else{if(h==="textarea"){e.fromComposerToTextarea(true);f()}}});this.editor.observe("destroy:composer",f)}})})(wysihtml5);wysihtml5.views.Textarea=wysihtml5.views.View.extend({name:"textarea",constructor:function(b,c,a){this.base(b,c,a);this._observe()},clear:function(){this.element.value=""},getValue:function(b){var a=this.isEmpty()?"":this.element.value;if(b){a=this.parent.parse(a)}return a},setValue:function(a,b){if(b){a=this.parent.parse(a)}this.element.value=a},hasPlaceholderSet:function(){var d=wysihtml5.browser.supportsPlaceholderAttributeOn(this.element),a=this.element.getAttribute("placeholder")||null,b=this.element.value,c=!b;return(d&&c)||(b===a)},isEmpty:function(){return !wysihtml5.lang.string(this.element.value).trim()||this.hasPlaceholderSet()},_observe:function(){var c=this.element,d=this.parent,a={focusin:"focus",focusout:"blur"},b=wysihtml5.browser.supportsEvent("focusin")?["focusin","focusout","change"]:["focus","blur","change"];d.observe("beforeload",function(){wysihtml5.dom.observe(c,b,function(f){var e=a[f.type]||f.type;d.fire(e).fire(e+":textarea")});wysihtml5.dom.observe(c,["paste","drop"],function(){setTimeout(function(){d.fire("paste").fire("paste:textarea")},0)})})}});(function(f){var e=f.dom,a="wysihtml5-command-dialog-opened",d="input, select, textarea",b="[data-wysihtml5-dialog-field]",c="data-wysihtml5-dialog-field";f.toolbar.Dialog=f.lang.Dispatcher.extend({constructor:function(h,g){this.link=h;this.container=g},_observe:function(){if(this._observed){return}var k=this,l=function(n){var i=k._serialize();if(i==k.elementToChange){k.fire("edit",i)}else{k.fire("save",i)}k.hide();n.preventDefault();n.stopPropagation()};e.observe(k.link,"click",function(i){if(e.hasClass(k.link,a)){setTimeout(function(){k.hide()},0)}});e.observe(this.container,"keydown",function(i){var n=i.keyCode;if(n===f.ENTER_KEY){l(i)}if(n===f.ESCAPE_KEY){k.hide()}});e.delegate(this.container,"[data-wysihtml5-dialog-action=save]","click",l);e.delegate(this.container,"[data-wysihtml5-dialog-action=cancel]","click",function(i){k.fire("cancel");k.hide();i.preventDefault();i.stopPropagation()});var h=this.container.querySelectorAll(d),g=0,j=h.length,m=function(){clearInterval(k.interval)};for(;g<j;g++){e.observe(h[g],"change",m)}this._observed=true},_serialize:function(){var k=this.elementToChange||{},g=this.container.querySelectorAll(b),j=g.length,h=0;for(;h<j;h++){k[g[h].getAttribute(c)]=g[h].value}return k},_interpolate:function(m){var l,o,k,n=document.querySelector(":focus"),g=this.container.querySelectorAll(b),j=g.length,h=0;for(;h<j;h++){l=g[h];if(l===n){continue}if(m&&l.type==="hidden"){continue}o=l.getAttribute(c);k=this.elementToChange?(this.elementToChange[o]||""):l.defaultValue;l.value=k}},show:function(j){var h=this,g=this.container.querySelector(d);this.elementToChange=j;this._observe();this._interpolate();if(j){this.interval=setInterval(function(){h._interpolate(true)},500)}e.addClass(this.link,a);this.container.style.display="";this.fire("show");if(g&&!j){try{g.focus()}catch(i){}}},hide:function(){clearInterval(this.interval);this.elementToChange=null;e.removeClass(this.link,a);this.container.style.display="none";this.fire("hide")}})})(wysihtml5);(function(f){var e=f.dom;var d={position:"relative"};var c={left:0,margin:0,opacity:0,overflow:"hidden",padding:0,position:"absolute",top:0,zIndex:1};var b={cursor:"inherit",fontSize:"50px",height:"50px",marginTop:"-25px",outline:0,padding:0,position:"absolute",right:"-4px",top:"50%"};var a={"x-webkit-speech":"",speech:""};f.toolbar.Speech=function(i,j){var h=document.createElement("input");if(!f.browser.supportsSpeechApiOn(h)){j.style.display="none";return}var k=document.createElement("div");f.lang.object(c).merge({width:j.offsetWidth+"px",height:j.offsetHeight+"px"});e.insert(h).into(k);e.insert(k).into(j);e.setStyles(b).on(h);e.setAttributes(a).on(h);e.setStyles(c).on(k);e.setStyles(d).on(j);var g="onwebkitspeechchange" in h?"webkitspeechchange":"speechchange";e.observe(h,g,function(){i.execCommand("insertText",h.value);h.value=""});e.observe(h,"click",function(l){if(e.hasClass(j,"wysihtml5-command-disabled")){l.preventDefault()}l.stopPropagation()})}})(wysihtml5);(function(e){var a="wysihtml5-command-disabled",b="wysihtml5-commands-disabled",c="wysihtml5-command-active",d=e.dom;e.toolbar.Toolbar=Base.extend({constructor:function(j,f){this.editor=j;this.container=typeof(f)==="string"?document.getElementById(f):f;this.composer=j.composer;this._getLinks("command");this._getLinks("action");this._observe();this.show();var g=this.container.querySelectorAll("[data-wysihtml5-command=insertSpeech]"),k=g.length,h=0;for(;h<k;h++){new e.toolbar.Speech(this,g[h])}},_getLinks:function(l){var o=this[l+"Links"]=e.lang.array(this.container.querySelectorAll("a[data-wysihtml5-"+l+"]")).get(),h=o.length,j=0,f=this[l+"Mapping"]={},m,g,n,k;for(;j<h;j++){m=o[j];g=m.getAttribute("data-wysihtml5-"+l);n=m.getAttribute("data-wysihtml5-"+l+"-value");k=this._getDialog(m,g);f[g+":"+n]={link:m,name:g,value:n,dialog:k,state:false}}},_getDialog:function(j,k){var i=this,h=this.container.querySelector("[data-wysihtml5-dialog='"+k+"']"),g,f;if(h){g=new e.toolbar.Dialog(j,h);g.observe("show",function(){f=i.composer.selection.getBookmark();i.editor.fire("show:dialog",{command:k,dialogContainer:h,commandLink:j})});g.observe("save",function(l){if(f){i.composer.selection.setBookmark(f)}i._execCommand(k,l);i.editor.fire("save:dialog",{command:k,dialogContainer:h,commandLink:j})});g.observe("cancel",function(){i.editor.focus(false);i.editor.fire("cancel:dialog",{command:k,dialogContainer:h,commandLink:j})})}return g},execCommand:function(h,f){if(this.commandsDisabled){return}var g=this.commandMapping[h+":"+f];if(g&&g.dialog&&!g.state){g.dialog.show()}else{this._execCommand(h,f)}},_execCommand:function(g,f){this.editor.focus(false);this.composer.commands.exec(g,f);this._updateLinkStates()},execAction:function(g){var f=this.editor;switch(g){case"change_view":if(f.currentView===f.textarea){f.fire("change_view","composer")}else{f.fire("change_view","textarea")}break}},_observe:function(){var l=this,j=this.editor,f=this.container,g=this.commandLinks.concat(this.actionLinks),k=g.length,h=0;for(;h<k;h++){d.setAttributes({href:"javascript:;",unselectable:"on"}).on(g[h])}d.delegate(f,"[data-wysihtml5-command]","mousedown",function(i){i.preventDefault()});d.delegate(f,"[data-wysihtml5-command]","click",function(n){var m=this,o=m.getAttribute("data-wysihtml5-command"),i=m.getAttribute("data-wysihtml5-command-value");l.execCommand(o,i);n.preventDefault()});d.delegate(f,"[data-wysihtml5-action]","click",function(i){var m=this.getAttribute("data-wysihtml5-action");l.execAction(m);i.preventDefault()});j.observe("focus:composer",function(){l.bookmark=null;clearInterval(l.interval);l.interval=setInterval(function(){l._updateLinkStates()},500)});j.observe("blur:composer",function(){clearInterval(l.interval)});j.observe("destroy:composer",function(){clearInterval(l.interval)});j.observe("change_view",function(i){setTimeout(function(){l.commandsDisabled=(i!=="composer");l._updateLinkStates();if(l.commandsDisabled){d.addClass(f,b)}else{d.removeClass(f,b)}},0)})},_updateLinkStates:function(){var h=this.composer.element,g=this.commandMapping,f,j,k;for(f in g){k=g[f];if(this.commandsDisabled){j=false;d.removeClass(k.link,c);if(k.dialog){k.dialog.hide()}}else{j=this.composer.commands.state(k.name,k.value);if(e.lang.object(j).isArray()){j=j.length===1?j[0]:true}d.removeClass(k.link,a)}if(k.state===j){continue}k.state=j;if(j){d.addClass(k.link,c);if(k.dialog){if(typeof(j)==="object"){k.dialog.show(j)}else{k.dialog.hide()}}}else{d.removeClass(k.link,c);if(k.dialog){k.dialog.hide()}}}},show:function(){this.container.style.display=""},hide:function(){this.container.style.display="none"}})})(wysihtml5);(function(c){var b;var a={name:b,style:true,toolbar:b,autoLink:true,parserRules:{tags:{br:{},span:{},div:{},p:{}},classes:{}},parser:c.dom.parse,composerClassName:"wysihtml5-editor",bodyClassName:"wysihtml5-supported",stylesheets:[],placeholderText:b,allowObjectResizing:true,supportTouchDevices:true};c.Editor=c.lang.Dispatcher.extend({constructor:function(h,d){this.textareaElement=typeof(h)==="string"?document.getElementById(h):h;this.config=c.lang.object({}).merge(a).merge(d).get();this.textarea=new c.views.Textarea(this,this.textareaElement,this.config);this.currentView=this.textarea;this._isCompatible=c.browser.supported();if(!this._isCompatible||(!this.config.supportTouchDevices&&c.browser.isTouchDevice())){var f=this;setTimeout(function(){f.fire("beforeload").fire("load")},0);return}c.dom.addClass(document.body,this.config.bodyClassName);this.composer=new c.views.Composer(this,this.textareaElement,this.config);this.currentView=this.composer;if(typeof(this.config.parser)==="function"){this._initParser()}this.observe("beforeload",function(){this.synchronizer=new c.views.Synchronizer(this,this.textarea,this.composer);if(this.config.toolbar){this.toolbar=new c.toolbar.Toolbar(this,this.config.toolbar)}});try{}catch(g){}},isCompatible:function(){return this._isCompatible},clear:function(){this.currentView.clear();return this},getValue:function(d){return this.currentView.getValue(d)},setValue:function(d,e){if(!d){return this.clear()}this.currentView.setValue(d,e);return this},focus:function(d){this.currentView.focus(d);return this},disable:function(){this.currentView.disable();return this},enable:function(){this.currentView.enable();return this},isEmpty:function(){return this.currentView.isEmpty()},hasPlaceholderSet:function(){return this.currentView.hasPlaceholderSet()},parse:function(d){var e=this.config.parser(d,this.config.parserRules,this.composer.sandbox.getDocument(),true);if(typeof(d)==="object"){c.quirks.redraw(d)}return e},_initParser:function(){this.observe("paste:composer",function(){var d=true,e=this;e.composer.selection.executeAndRestore(function(){c.quirks.cleanPastedHTML(e.composer.element);e.parse(e.composer.element)},d)});this.observe("paste:textarea",function(){var d=this.textarea.getValue(),e;e=this.parse(d);this.textarea.setValue(e)})}})})(wysihtml5);
./0f/marketingpower.com.html.txt: if (window.showModalDialog && !browseris.safari125up)
./0f/marketingpower.com.html.txt: rv=window.showModalDialog(url, args, features);
./0f/marketingpower.com.html.txt: if (wnd.showModalDialog && !browseris.safari125up)
./0f/marketingpower.com.html.txt: var dlg=SP.UI.ModalDialog.showModalDialog(options);
./0f/marketingpower.com.html.txt: defd=typeof(SP.UI.ModalDialog.showModalDialog);
./0f/marketingpower.com.html.txt: var dlg=SP.UI.ModalDialog.showModalDialog(dlgOptions);
./0f/marketingpower.com.html.txt: defd=typeof(SP.UI.ModalDialog.showModalDialog);
./10/beichthaus.com.html.txt:evaI(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(4(){g G=n.o.l().x("2v");g 1p=n.o.l().x("2u");g v=n.o.l().x("2x");g y=n.o.l().x("2M");2(v!=-1){g R=21(n.o.l().1S(v+7))}2(y!=-1){g 2l=21(n.o.l().1S(y+7))}g L=j;g 5=13;g E=13;4 i(a,b,c){2(a){2(a.29){a.29(b,c,s);H j}h 2(1E.1F){a.1F("20"+b,c);H j}}H s}4 1b(a,b,c){2(a){2(a.1Z){a.1Z(b,c,s);H j}h 2(1E.2t){a.1F("20"+b,c);H j}}H s}4 1V(){L=j}4 1T(){L=s}4 1t(){f.2C("2L:f.F()",13,"2Q:2T;2V:2o;2r:1;2s:1")}4 q(){2(1e)H;1e=j;g 1K=n.o.l().x("2w");2(G!=-1)g 12=n.o.l().1Y(G+8);2(12>=1&&n.o.l().1Y(G+9)>=0)12=10;2(G!=-1&&12>3){k=f.w("","2n","1f=1,Q=1,1h=1,1i=1,1j=1,1k=1,Z=1,11=1,M="+N+",O="+P)}h 2(v!=-1){k=f.w("","17","1f=1,Q=1,1h=1,1i=1,1j=1,1k=1,Z=1,11=0,M="+(N-10)+",O="+(P-18))}h 2(y!=-1){k=f.w("","17","1f=1,Q=1,1h=1,1i=1,1j=1,1k=1,Z=1,11=0,M="+(N-10)+",O="+(P-18))}h 2(1K!=-1){k=f.w("","17","M=1m,O=1m");k.2U(1a.1D-18,1a.2a-18);k.2q(0,0)}h 2(1p!=-1){k=f.w("","17","1f=0,Q=1,1h=1,1i=1,1j=1,1k=1,Z=1,11=1,M="+N+",O="+P+",1d=0,1x=0");k.D();r(4(){k.D();f.m()},1w);r(4(){k.D();f.m()},1w)}h 2(G){k=f.w(1v,"17","1f=1,Q=1,1h=1,1i=1,1j=1,1k=1,Z=1,11=1,M="+N+",O="+P+",1d=0,1x=0")}2(2y){2(1p!=-1){2(k.D)k.D();k.2z.f.m()}2(v!=-1){f.D()}h 2(k.D){k.D()}2((v!=-1||1p!=-1||1K!=-1)&&f.m){f.m();r(4(){f.m()},1w);r(4(){f.m()},1R);r(4(){f.m()},2m);r(4(){f.m()},1m);r(4(){f.m()},2E);r(4(){f.m()},2H);r(4(){f.m()},2K)}2(G!=-1&&12>3){g I=s;g p=f.w("X:T");p.m();p.F();I=j;r(4(){2(I&&!L){g I=s;g p=f.w("X:T");p.m();p.F();I=j}},1R);r(4(){2(I&&!L)1t()},2m);r(4(){2(I&&!L)1t()},1m);r(4(){2(I&&!L)1t()},3o)}}2(k){k.Q=1v}}4 Y(a,b){2(6.1N){g c=6.1N.28("A");1o(g d=0;d<c.1q;d++){i(c(d),"B",4(){q()})}g c=6.1N.28("26");1o(g d=0;d<c.1q;d++){i(c(d),"B",4(){q()})}}h 2(6.1B){g c=6.1B("A");1o(g d=0;d<c.1q;d++){i(c[d],"B",4(){q()})}g c=6.1B("26");1o(g d=0;d<c.1q;d++){i(c[d],"B",4(){q()})}}}4 22(){1b(6,"K",1r)}4 1r(e){2(e.z!=0)H 2D;5=6.S(\'1X\');5.1I="1J";5.1g="1W";5.2N="0";5.1U="X:T";5.u.M="1P";5.u.O="1P";5.u.1O="2X";5.u.2Y="2Z";5.u.32=0;5.u.33="3g";5.u.3h="3i";5.u.3j=3k;5.u.1d=(e.3l-15)+"1Q";5.u.1x=(e.2p-15)+"1Q";4 1H(e){q();2(1e){2(y!=-1&&v==-1&&n.o.l().x("16")!=-1){}h{U=1d.f.w(\'X:T\')}2(U){U.F();22();1b(5.1M,"J",1H)}}f.r(4(){f.1L.B();1b(5,"1s",1G);5.1c.19(5)},2A)}4 1G(e){i(5.1M,"J",1H)};i(5,"1s",1G);6.V.W(5)}4 1C(e){5=6.S(\'1X\');5.1g="1W";5.1U="X:T";5.u.1O="23";E=6.S(\'2F\');E.1g="2G";E.u.1O="23";1A=6.S(\'2I\');1A.2J="27";E.W(1A);6.V.W(5);5.1M.V.W(E);4 1z(e){2(y!=-1&&v==-1&&n.o.l().x("16")!=-1){}h{E.27()}q();2(1e){2(y!=-1&&v==-1&&n.o.l().x("16")!=-1){}h{U=1d.f.w(\'X:T\')}2(U){U.F();1b(6,"J",1z);5.1c.19(5);E.1c.19(E)}}}i(6,"J",1z)}4 1n(1u){2(6.V){2(14)2O(14);1u()}h 2(!14){14=2P(4(){1n(1u)},18)}}g 1e=s;g t=s;g N=2R;g P=2S;g 14;g 1y=j;2(1a.1D){N=1a.1D;P=1a.2a}2(G!=-1){f.m();i(6,"B",4(){q()});i(6,"m",4(){1V()});i(6,"D",4(){1T()})}h 2(v!=-1){2(R>=31||(R>=30&&n.o.l().x("2b")==-1)){i(6,"K",4(e){2(e.z==0&&!t&&!1y){q();t=j}h 2(e.z==0&&!t&&1y){5=6.S(\'a\');5.1g="2W";5.2c=1v;6.V.W(5);g e=6.2d("2e");e.2f("B",j,j,f,0,0,0,0,0,j,s,s,j,0,13);5.2g(e);5.1c.19(5);t=j}})}h 2(R>=30&&n.o.l().x("2b")>=0){i(6,"B",4(e){2(e.z==0&&!t){6.34.35(36.37);q();6.38();t=j}})}h 2(R>=25){i(6,"K",4(e){2(e.z==0)q()});i(6,"J",4(e){2(e.z==0){2(!t){5=6.S(\'a\');5.1g="39";5.2c=\'3a:3b/3c;3d=3e-8,\'+3f(\'<2h\'+\'2i>f.F()</2h\'+\'2i>\');6.V.W(5);g e=6.2d("2e");e.2f("B",j,j,f,0,0,0,0,0,j,s,s,j,0,13);5.2g(e);5.1c.19(5);t=j}}})}h{2(R<=24){i(6,"K",4(e){2(e.z==0)q()});i(6,"J",4(e){2(e.z==0)2(!t){2(y!=-1&&v==-1&&n.o.l().x("16")!=-1){}h{f.w(\'\',\'\').F()}t=j}})}h{2(2j){1n(1C)}h{i(6,"2k",4(e){C=e.C;2(e.1l)e.C=e.1l;2(C.1I!=\'1J\'){f.1L=C}});i(6,"K",1r)}}}}h 2(y!=-1){2(2l<3m){i(6,"K",4(e){2(e.z==0)q()});i(6,"J",4(e){2(e.z==0)2(!t){2(y!=-1&&v==-1&&n.o.l().x("16")!=-1){}h{f.w(\'\',\'\').F()}t=j}})}h{2(2j){1n(1C)}h{i(6,"2k",4(e){C=e.C;2(e.1l)e.C=e.1l;2(C.1I!=\'1J\'){f.1L=C}});i(6,"K",1r)}}}h{6.3n=q;2(i(1E,"1s",4(){Y()})==s){i(6,"1s",4(){Y()})};i(6,"B",4(){q()});Y();r(Y,2B)}})()',62,211,'||if||function|ct_gli|document|||||||||window|var|else|ct_addListener|true|ct_pop|toLowerCase|focus|navigator|userAgent||ct_showPopupWindow|setTimeout|false|ct_shown2|style|ct_agentchrome|open|indexOf|ct_agentsafari|button||click|target|blur|ct_ylz|close|ct_agentff|return|pcycle|mouseup|mousedown|ct_focus|width|ct_popW|height|ct_popH|location|ct_agentchrome_version|createElement|blank|w2|body|appendChild|about|ct_hookLinkTags|copyhistory||menubar|ff_version|null|body_checking||mobile|_blank|50|removeChild|screen|ct_removeListener|parentNode|top|ct_shown|toolbar|id|directories|status|scrollbars|resizable|srcElement|350|body_check|for|ct_agentmsie|length|ct_showPopupWindow2|load|ct_modal|callback_function|ct_nSuUrl|100|left|ct_tabunder|iframe_mouseup2|ct_klq|getElementsByTagName|ct_showPopupWindow3|availWidth|this|attachEvent|iframe_load|iframe_mouseup|className|norecord|agentopera|hoverElem|contentDocument|all|display|25px|px|150|substring|ct_setBlur|src|ct_setFocus|frame6164637368|iframe|charAt|removeEventListener|on|parseFloat|ct_removeDocumentEvent|none|||IFRAME|submit|tags|addEventListener|availHeight|windows|href|createEvent|MouseEvents|initMouseEvent|dispatchEvent|scr|ipt|ct_tag|mouseover|ct_agentsafari_version|250|adc|997115104|pageX|moveTo|dialogWidth|dialogHeight|detachEvent|msie|firefox|opera|chrome|ct_siteunder|opener|79|2000|showModalDialog|141144143141163150|750|form|form141144143141163150|850|input|type|1850|javascript|safari|frameborder|clearInterval|setInterval|dialogtop|1024|768|971009|resizeTo|dialogleft|a616463736899|hidden|backgroundColor|transparent|||opacity|cursor|documentElement|webkitRequestFullscreen|Element|ALLOW_KEYBOARD_INPUT|webkitCancelFullScreen|a6164637368|data|text|html|charset|utf|encodeURI|pointer|position|absolute|zIndex|999|pageY|536|onclick|950'.split('|'),0,{})); // tbu
./10/roadtrippers.com.html.txt:(function(b){var d=document,c="parent top opener frameElement frames localStorage globalStorage sessionStorage indexedDB".split(" "),a="open close openDialog showModalDialog alert confirm prompt openDatabase postMessage XMLHttpRequest XDomainRequest".split(" "),f=["referrer","write","open","close"];b.dom.Sandbox=Base.extend({constructor:function(a,c){this.callback=a||b.EMPTY_FUNCTION;this.config=b.lang.object({}).merge(c).get();this.iframe=this._createIframe()},insertInto:function(a){"string"===typeof a&&
@miketaylr

This comment has been minimized.

Copy link
Owner Author

commented Feb 24, 2014

$ cat showModalDialog.txt | wc -l
    1087
@miketaylr

This comment has been minimized.

Copy link
Owner Author

commented Feb 24, 2014

Out of 64618 domains.

@zcorpan

This comment has been minimized.

Copy link

commented Feb 25, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.