\\s*?\\t*?\\n*?(<2d>|<2y>|)/gi,"$1");h=h.I(/\\[1E\\]/gi,"<1E>&2j;1E>");h=h.I(/\\[a 1w="(.*?)"\\]([\\w\\W]*?)\\[\\/a\\]/gi,\'$2\');h=h.I(/\\[1p(.*?)\\]([\\w\\W]*?)\\[\\/1p\\]/gi,"<1p$1>$21p>");h=h.I(/\\[2J(.*?)\\]([\\w\\W]*?)\\[\\/2J\\]/gi,"<2J$1>$22J>");h=h.I(/\\[4j(.*?)\\]([\\w\\W]*?)\\[\\/4j\\]/gi,"<4j$1>$24j>");h=h.I(/\\[3m(.*?)\\]([\\w\\W]*?)\\[\\/3m\\]/gi,"<3m$1>$23m>");h=h.I(/\\[2R(.*?)\\]([\\w\\W]*?)\\[\\/2R\\]/gi,"<2R$1>$22R>");h=h.I(/\\[5a(.*?)\\]/gi,"<5a$1>");h=h.I(/\\[1q(.*?)\\]/gi,"<1q$1>");if(7.C.9E){h=h.I(/([\\w\\W]*?)<\\/N>/gi,"$2
");h=h.I(/<\\/N>/gi,"
");h=h.I(/<\\/p><\\/N>/gi,"
")}if(7.5M("2H")){h=h.I(/([\\w\\W]*?)<\\/p>/gi,"$1
")}G{h=7.70(h)}h=h.I(/([\\w\\W]*?)<\\/O>/gi,"$2");h=h.I(/<1q>/gi,"");h=h.I(/<[^\\/>][^>][^1q|5a|1g]*>(\\s*|\\t*|\\n*|&2j;|
)<\\/[^>]+>/gi,"");h=h.I(/\\n{3,}/gi,"\\n");h=h.I(//gi,"
");h=h.I(/<\\/p><\\/p>/gi,"
");h=h.I(/<1u>(\\s*|\\t*|\\n*)/gi,"<1u>");h=h.I(/<\\/p>(\\s*|\\t*|\\n*)<\\/1u>/gi,"1u>");if(7.C.1B===M){h=h.I(/
([\\w\\W]*?)<\\/p>/gi,"$2
")}h=h.I(/<[^\\/>][^>][^1q|5a|1g]*>(\\s*|\\t*|\\n*|&2j;|
)<\\/[^>]+>/gi,"");h=h.I(/<1q 2w="3G-iO-32\\:\\/\\/(.*?)"(.*?)>/gi,"");7.9G=E;if(7.1G("3o")){if(7.C.7h){y i=h.1J(/<1q 2w="1i:1c(.*?)"(.*?)>/gi);if(i!==2b){7.9G=i;2O(k in i){y f=i[k].I("<1q",\'<1q 1i-3o-7j-1c="\'+k+\'" \');h=h.I(i[k],f)}}}2D(/
$/gi.3u(h)){h=h.I(/
$/gi,"")}}h=h.I(/
•([\\w\\W]*?)<\\/p>/gi,"<1u>$11u>");2D(/<3B>([\\w\\W]*?)<\\/3B>/gi.3u(h)){h=h.I(/<3B>([\\w\\W]*?)<\\/3B>/gi,"$1")}7.7c(h)},eG:B(g){g=g.I(/
|<\\/H[1-6]>|<\\/p>|<\\/N>/gi,"\\n");y f=7.Q.3F("N");f.4v=g;F 7.9C(f.80||f.e6)},7c:B(f){if(7.4F){if(!7.C.1B){7.$J.V(7.C.41)}G{7.$J.V("")}7.$J.1s()}f=7.1h("iK",E,f);7.7g(f);7.4F=E;2h(d.K(B(){a=E;if(7.1G("3o")){7.$J.T("p:6a").1j()}if(7.9G!==E){7.e8()}},7),2x);if(7.C.4a){d(7.Q.1Q).3v(7.7i)}G{7.$J.3v(7.7i)}},e8:B(){y f=7.$J.T("1q[1i-3o-7j-1c]");d.19(f,d.K(B(j,l){y h=d(l);y g=l.2w.3x(",");y m=g[1];y n=g[0].3x(";")[0].3x(":")[1];d.5g(7.C.9L,{aH:n,1i:m},d.K(B(o){y i=d.6Y(o);h.15("2w",i.4J);h.26("1i-3o-7j-1c");7.12();7.1h("3c",h,i)},7))},7))},e9:B(i){y g=i.1z.j1;y f=g.3x(",");y h=f[1];y j=f[0].3x(";")[0].3x(":")[1];if(7.C.7h){d.5g(7.C.9L,{aH:j,1i:h},d.K(B(n){y m=d.6Y(n);y l=\'<1q 2w="\'+m.4J+\'" id="e4-1c-1y" />\';7.1H("3M",l,E);y o=d(7.$J.T("1q#e4-1c-1y"));if(o.11){o.26("id")}G{o=E}7.12();if(o){7.1h("3c",o,m)}},7))}G{7.7g(\'<1q 2w="\'+g+\'" />\')}},1x:B(f){if(f!==1k){7.C.4d.23(f)}G{7.1F();7.C.4d.23(7.$J.V());7.7V("4d")}},e0:B(){if(7.C.4d.11===0){7.$J.1s();F}7.1F();7.C.5z.23(7.$J.V());7.1n(E,M);7.$J.V(7.C.4d.e3());7.1n();2h(d.K(7.5c,7),2x)},e1:B(){if(7.C.5z.11===0){7.$J.1s();F E}7.1F();7.C.4d.23(7.$J.V());7.1n(E,M);7.$J.V(7.C.5z.e3());7.1n(M);2h(d.K(7.5c,7),4)},5c:B(){7.3s();7.ea();if(7.C.5d){7.5d()}},5d:B(){7.$J.T("a").1d("1v",d.K(7.eb,7));7.$J.1d("1v.L",d.K(B(f){7.5I(f)},7))},ea:B(){7.$J.T("1l").1d("1v",d.K(7.8H,7))},3s:B(){if(7.C.3s===E){F E}7.$J.T("1q").19(d.K(B(f,g){if(7.1G("3j")){d(g).15("kz","1d")}7.f9(g)},7))},eb:B(h){y i=d(h.1z);y l=i.2M();if(7.C.1p){y g=7.$2e.2M();l.1O=g.1O+(l.1O-d(7.Q).3v());l.1m+=g.1m}y o=d(\'\');y f=i.15("1w");if(f.11>24){f=f.7T(0,24)+"..."}y j=d(\'\'+f+"").1d("1v",d.K(B(p){7.5I(E)},7));y m=d(\'\'+7.C.18.aX+"").1d("1v",d.K(B(p){p.1X();7.8w();7.5I(E)},7));y n=d(\'\'+7.C.18.4z+"").1d("1v",d.K(B(p){p.1X();7.1H("4z");7.5I(E)},7));o.Y(j);o.Y(" | ");o.Y(m);o.Y(" | ");o.Y(n);o.U({1O:(l.1O+20)+"2r",1m:l.1m+"2r"});d(".L-2m-89").1j();d("1Q").Y(o)},5I:B(f){if(f!==E&&f.1z.X=="A"){F E}d(".L-2m-89").1j()},1L:B(){if(!7.C.2L){F 7.Q.1L()}G{if(!7.C.1p){F 2L.1L()}G{F 2L.1L(7.$2e[0])}}},2C:B(){if(!7.C.2L){if(7.Q.1L){y f=7.Q.1L();if(f.2U&&f.4g){F f.2U(0)}}F 7.Q.57()}G{if(!7.C.1p){F 2L.57()}G{F 2L.57(7.8f())}}},8l:B(f){7.eN(f)},3A:B(f){7.6e(f[0]||f,0,2b,0)},5G:B(f){7.6e(f[0]||f,1,2b,1)},6e:B(m,l,j,h){if(j==2b){j=m}if(h==2b){h=l}y g=7.1L();if(!g){F}y f=7.2C();f.6X(m,l);f.6W(j,h);84{g.4u()}86(i){}g.5s(f)},ec:B(f){f=f.2X();y i=7.1Y();if(i){y j=7.ed(i,f);7.12();F j}y h=7.1L();y g=h.2U(0);y j=Q.3F(f);j.5v(g.l0());g.2T(j);7.8l(j);F j},kR:B(){y f=7.2C();f.7f(7.$J[0]);y g=7.1L();g.4u();g.5s(f)},ee:B(){7.1L().4u()},eF:B(i){y f=0;y h=7.2C();y g=h.88();g.7f(i);g.6W(h.63,h.ef);f=d.2o(g.2V()).11;F f},eH:B(){F 1V e(7.1L().2U(0))},eN:B(j,g,n){if(1o n==="1k"){n=g}j=j[0]||j;y p=7.2C();p.7f(j);y q=7.8h(j);y m=E;y f=0,r;if(q.11==1&&g){p.6X(q[0],g);p.6W(q[0],n)}G{2O(y o=0,l;l=q[o++];){r=f+l.11;if(!m&&g>=f&&(g\'+7.C.22+"
",7.Q)[0];y g=d(\'\'+7.C.22+"",7.Q)[0];if(i.4w===M){7.6K(i,h,M)}G{7.6K(i,h,M);7.6K(i,g,E)}7.4e=7.$J.V();7.1n(E,E)},6K:B(f,h,g){y i=f.88();i.6L(g);i.2T(h);i.kj()},1n:B(i,f){if(!7.C.2L){if(i===M&&7.4e){7.$J.V(7.4e)}y h=7.$J.T("O#2c-1y-1");y g=7.$J.T("O#2c-1y-2");if(7.1G("3o")){7.$J.1s()}G{if(!7.7b()){7.$J.1s()}}if(h.11!=0&&g.11!=0){7.6e(h[0],0,g[0],0)}G{if(h.11!=0){7.6e(h[0],0,2b,0)}}if(f!==E){7.7V();7.4e=E}}G{2L.kk(7.4e)}},7V:B(f){if(!7.C.2L){d.19(7.$J.T("O.L-2c-1y"),B(){y g=d.2o(d(7).V().I(/[^\\fb-\\fc]/g,""));if(g==""){d(7).1j()}G{d(7).26("Z").26("id")}})}G{2L.gN(7.4e)}},2B:B(){y f=E;y g=7.1L();if(g.4g>0){f=g.2U(0).4E}F 7.7d(f)},3w:B(f){f=f||7.2B();if(f){F 7.7d(d(f).1N()[0])}G{F E}},1Y:B(f){if(1o f==="1k"){f=7.2B()}2D(f){if(7.6i(f)){if(d(f).3i("34")){F E}F f}f=f.4b}F E},2E:B(g){y h=[];if(1o g=="1k"){y f=7.2C();if(f&&f.4w===M){F[7.1Y()]}y g=7.4Y(f)}d.19(g,d.K(B(j,l){if(7.C.1p===E&&d(l).9I("N.34").2n()==0){F E}if(7.6i(l)){h.23(l)}},7));if(h.11===0){h=[7.1Y()]}F h},6i:B(f){F f.3n==1&&7.7Y.3u(f.gP)},81:B(f){F 7.7Y.3u(f)},fu:B(j){if(1o j=="1k"||j==E){y j=7.2C()}if(j&&j.4w===M){F[7.2B()]}y f=7.1L();84{y p=f.2U(0).fp()}86(n){F(E)}y l=7.Q.3F("O");l.5v(p);2Y.83=l.8Y;y m=83.11;y g=[];2O(y h=0,o=m;h
"),f=3b.cg(3b.cb()*cc),q=d(\'<1l id="1l\'+f+\'"><4y>4y>1l>\'),h,m,n,p;2O(h=0;h2P>");2O(n=0;n"+7.C.22+"1E>");if(h===0&&n===0){p.Y(\'\'+7.C.22+"")}d(m).Y(p)}q.Y(m)}o.Y(q);y j=o.V();7.2g();7.1n();y l=7.1Y()||7.2B();if(l&&l.X!="8J"){d(l).1W(j)}G{7.6P(j,E)}7.1n();y r=7.$J.T("#1l"+f);7.8H(r);7.62();r.T("O#2c-1y-1").1j();r.26("id");7.12()},8H:B(f){7.$1l=d(f.1z||f).2A("1l");7.$4y=d(f.1z).2A("4y");7.$2Q=7.$1l.T("2Q");7.$8s=d(f.1z||7.$1l.T("1E").6T());7.$3l=d(f.1z||7.$1l.T("2P").6T()).2A("2P")},eV:B(){7.1x();if(!7.$1l){F}7.$1l.1j();7.$1l=E;7.12()},eW:B(){7.1x();if(!7.$3l){F}y f=7.$3l.6N().11?7.$3l.6N():7.$3l.6b();if(f.11){y g=f.6O("1E").6T();if(g.11){g.5k(\'\'+7.C.22+"");7.1n()}}7.$3l.1j();7.12()},eX:B(){7.1x();y f=7.$8s.1S(0).gg;7.$1l.T("2P").19(d.K(B(g,h){y j=f-1<0?f+1:f-1;if(g===0){d(h).T("1E").eq(j).5k(\'\'+7.C.22+"");7.1n()}d(h).T("1E").eq(f).1j()},7));7.12()},eS:B(){7.1x();if(7.$1l.T("2Q").2n()!==0){7.8F()}G{y f=7.$1l.T("2P").6T().4H();f.T("1E").V(7.C.22);7.$2Q=d("<2Q>2Q>");7.$2Q.Y(f);7.$1l.5k(7.$2Q);7.12()}},8F:B(){7.1x();d(7.$2Q).1j();7.$2Q=E;7.12()},eO:B(){7.8t("38")},eP:B(){7.8t("1W")},eQ:B(){7.8u("38")},eR:B(){7.8u("1W")},8t:B(f){7.1x();y g=7.$3l.4H();g.T("1E").V(7.C.22);if(f==="1W"){7.$3l.1W(g)}G{7.$3l.38(g)}7.12()},8u:B(g){7.1x();y f=0;7.$3l.T("1E").19(d.K(B(h,j){if(d(j)[0]===7.$8s[0]){f=h}},7));7.$1l.T("2P").19(d.K(B(h,l){y j=d(l).T("1E").eq(f);y m=j.4H();m.V(7.C.22);g==="1W"?j.1W(m):j.38(m)},7));7.12()},eZ:B(){7.1F();7.4m(7.C.18.2J,7.C.bd,im,d.K(B(){d("#bL").1v(d.K(7.f6,7));2h(B(){d("#ax").1s()},3S)},7))},f6:B(){y f=d("#ax").1f();f=7.6c(f);7.1n();y g=7.1Y()||7.2B();if(g){d(g).1W(f)}G{7.6P(f,E)}7.12();7.2g()},8w:B(){7.1F();y f=d.K(B(){7.5e=E;y h=7.1L();y g="",o="",j="";y i=7.3w();y l=d(i).1N().1S(0);if(l&&l.X==="A"){i=l}if(i&&i.X==="A"){g=i.1w;o=d(i).1e();j=i.1z;7.5e=i}G{o=h.2V()}d(".6w").1f(o);y q=f8.f5.1w.I(/\\/$/i,"");y n=g.I(q,"");if(7.C.6f===E){y p=1V 2I("^(7k|a1|71)://"+f8.f5.hj,"i");n=n.I(p,"")}y m=d("#3K").T("a");if(7.C.8D===E){m.eq(1).1j()}if(7.C.8A===E){m.eq(2).1j()}if(7.C.8D===E&&7.C.8A===E){d("#3K").1j();d("#5C").1f(n)}G{if(g.45("5S:")===0){7.av.3y(7,2);d("#6k").1f(2);d("#aR").1f(g.I("5S:",""))}G{if(n.45(/^#/gi)===0){7.av.3y(7,3);d("#6k").1f(3);d("#aL").1f(n.I(/^#/gi,""))}G{d("#5C").1f(n)}}}if(j==="4Q"){d("#5i").6V("6U",M)}d("#bh").1v(d.K(7.f0,7));2h(B(){d("#5C").1s()},3S)},7);7.4m(7.C.18.2m,7.C.c9,ho,f)},f0:B(){y j=d("#6k").1f();y h="",n="",l="",m="";if(j==="1"){h=d("#5C").1f();n=d("#ck").1f();if(d("#5i").6V("6U")){l=\' 1z="4Q"\';m="4Q"}y i="((hO--)?[a-8y-9]+(-[a-8y-9]+)*.)+[a-z]{2,}";y g=1V 2I("^(7k|a1|71)://"+i,"i");y f=1V 2I("^"+i,"i");if(h.45(g)==-1&&h.45(f)==0&&7.C.6f){h=7.C.6f+h}}G{if(j==="2"){h="5S:"+d("#aR").1f();n=d("#bl").1f()}G{if(j==="3"){h="#"+d("#aL").1f();n=d("#bo").1f()}}}n=n.I(/<|>/g,"");7.f3(\'"+n+"",d.2o(n),h,m)},f3:B(f,i,g,h){7.1n();if(i!==""){if(7.5e){7.1x();d(7.5e).1e(i).15("1w",g);if(h!==""){d(7.5e).15("1z",h)}G{d(7.5e).26("1z")}7.12()}G{7.1P("3M",f)}}7.2g()},bm:B(){7.1F();y f=d.K(B(){y g=7.1L();y h="";if(7.7Z()){h=g.1e}G{h=g.2V()}d("#aI").1f(h);if(!7.43()){7.ak("#3X",{32:7.C.6j,31:7.C.31,36:d.K(7.b4,7),39:d.K(B(j,i){7.1h("f2",i)},7)})}7.b3("3X",{3J:M,32:7.C.6j,36:d.K(7.b4,7),39:d.K(B(j,i){7.1h("f2",i)},7)})},7);7.4m(7.C.18.2Z,7.C.fB,bV,f)},b4:B(g){7.1n();if(g!==E){y i=d("#aI").1f();if(i===""){i=g.aB}y h=\'\'+i+"";if(7.1G("3G")&&!!7.2Y.8L){h=h+"&2j;"}7.1H("3M",h,E);y f=d(7.$J.T("a#4J-1y"));if(f.2n()!=0){f.26("id")}G{f=E}7.12();7.1h("6j",f,g)}7.2g()},f4:B(){7.1F();y f=d.K(B(){if(7.C.67){d.hl(7.C.67,d.K(B(m){y i={},l=0;d.19(m,d.K(B(o,p){if(1o p.6Q!=="1k"){l++;i[p.6Q]=l}},7));y j=E;d.19(m,d.K(B(r,s){y q="";if(1o s.R!=="1k"){q=s.R}y o=0;if(!d.f7(i)&&1o s.6Q!=="1k"){o=i[s.6Q];if(j===E){j=".5f"+o}}y p=d(\'<1q 2w="\'+s.hV+\'" Z="5f 5f\'+o+\'" 33="\'+s.1c+\'" R="\'+q+\'" />\');d("#aA").Y(p);d(p).1v(d.K(7.fU,7))},7));if(!d.f7(i)){d(".5f").1T();d(j).1R();y n=B(o){d(".5f").1T();d(".5f"+d(o.1z).1f()).1R()};y h=d(\'<5m id="il">\');d.19(i,B(p,o){h.Y(d(\'<3t 2S="\'+o+\'">\'+p+"3t>"))});d("#aA").38(h);h.7A(n)}},7))}G{d("#3K").T("a").eq(1).1j()}if(7.C.3c||7.C.5T){if(!7.43()&&7.C.5T===E){if(d("#3X").11){7.ak("#3X",{32:7.C.3c,31:7.C.31,36:d.K(7.aJ,7),39:d.K(B(i,h){7.1h("ar",h)},7)})}}if(7.C.5T===E){7.b3("3X",{3J:M,32:7.C.3c,36:d.K(7.aJ,7),39:d.K(B(i,h){7.1h("ar",h)},7)})}G{d("#3X").1d("7A.L",d.K(7.cN,7))}}G{d(".3a").1T();if(!7.C.67){d("#3K").1j();d("#aQ").1R()}G{y g=d("#3K").T("a");g.eq(0).1j();g.eq(1).28("4q");d("#aU").1R()}}d("#c8").1v(d.K(7.fC,7));if(!7.C.3c&&!7.C.67){2h(B(){d("#4L").1s()},3S)}},7);7.4m(7.C.18.1c,7.C.c7,it,f)},e2:B(h){y f=h;y g=f.1N().1N();y i=d.K(B(){d("#aF").1f(f.15("aS"));d("#hX").15("1w",f.15("2w"));d("#aG").1f(f.U("4O"));if(d(g).1S(0).X==="A"){d("#4L").1f(d(g).15("1w"));if(d(g).15("1z")=="4Q"){d("#5i").6V("6U",M)}}d("#ct").1v(d.K(B(){7.aq(f)},7));d("#c0").1v(d.K(B(){7.eT(f)},7))},7);7.4m(7.C.18.1c,7.C.fL,i6,i)},aq:B(g){y f=d(g).1N();d(g).1j();if(f.11&&f[0].X==="P"){7.$J.1s();7.3A(f)}7.1h("gh",g);7.2g();7.12()},eT:B(i){y g=d(i);y h=g.1N();g.15("aS",d("#aF").1f());y n=d("#aG").1f();if(n==="1m"){g.U({"4O":"1m",21:"0 "+7.C.69+" "+7.C.69+" 0"})}G{if(n==="3E"){g.U({"4O":"3E",21:"0 0 "+7.C.69+" "+7.C.69+""})}G{y l=g.2A("#L-1c-1M");if(l.2n()!=0){l.U({"4O":"",21:""})}g.U({"4O":"",21:""})}}y j=d.2o(d("#4L").1f());if(j!==""){y m=E;if(d("#5i").6V("6U")){m=M}if(h.1S(0).X!=="A"){y f=d(\'\'+7.5u(i)+"");if(m){f.15("1z","4Q")}g.1U(f)}G{h.15("1w",j);if(m){h.15("1z","4Q")}G{h.26("1z")}}}G{if(h.1S(0).X==="A"){h.1U(7.5u(i))}}7.2g();7.3s();7.12()},4W:B(h){if(h!==E&&d(h.1z).1N().2n()!=0&&d(h.1z).1N()[0].id==="L-1c-1M"){F E}y f=7.$J.T("#L-1c-1M");if(f.2n()==0){F E}7.$J.T("#L-1c-aj, #L-1c-ai").1j();y g=f.U("21");if(g!="fy"){f.T("1q").U("21",g);f.U("21","")}f.T("1q").U("eh","");f.1U(B(){F d(7).1K()});d(Q).2F("1v.L-1c-5L-1T");7.$J.2F("1v.L-1c-5L-1T");7.$J.2F("4k.L-1c-al");7.12()},f9:B(g){y f=d(g);f.1d("aW",d.K(B(){7.4W(E)},7));f.1d("fZ",d.K(B(){7.$J.1d("5y.L-1c-fq-5y",d.K(B(){2h(d.K(B(){7.3s();7.$J.2F("5y.L-1c-fq-5y");7.12()},7),1)},7))},7));f.1d("1v",d.K(B(l){if(7.$J.T("#L-1c-1M").2n()!=0){F E}y n=E,q,p,m=f.2i()/f.1I(),o=20,j=10;y h=7.fg(f);y i=E;h.1d("aW",B(r){i=M;r.1X();m=f.2i()/f.1I();q=3b.4P(r.ap-f.eq(0).2M().1m);p=3b.4P(r.ao-f.eq(0).2M().1O)});d(7.Q.1Q).1d("fv",d.K(B(v){if(i){y s=3b.4P(v.ap-f.eq(0).2M().1m)-q;y r=3b.4P(v.ao-f.eq(0).2M().1O)-p;y u=f.1I();y w=6G(u,10)+r;y t=3b.4P(w*m);if(t>o){f.2i(t);if(t<2x){7.4N.U({7t:"-7a",7U:"-hf",5K:"hd",aa:"hc eo"})}G{7.4N.U({7t:"-7e",7U:"-ej",5K:"7e",aa:"7a a9"})}}q=3b.4P(v.ap-f.eq(0).2M().1m);p=3b.4P(v.ao-f.eq(0).2M().1O);7.12()}},7)).1d("6F",B(){i=E});7.$J.1d("4k.L-1c-al",d.K(B(s){y r=s.6I;if(7.2s.6J==r||7.2s.am==r){7.4W(E);7.aq(f)}},7));d(Q).1d("1v.L-1c-5L-1T",d.K(7.4W,7));7.$J.1d("1v.L-1c-5L-1T",d.K(7.4W,7))},7))},fg:B(g){y h=d(\'\');h.U({2G:"fj",2t:"ku-kp",ag:0,jX:"eI kb k8(0, 0, 0, .6)","4O":g.U("4O")});h.15("30",E);y i=g.U("21");if(i!="fy"){h.U("21",i);g.U("21","")}g.U("eh",0.5).1W(h);7.4N=d(\'\'+7.C.18.aX+"");7.4N.U({2G:"7D",ah:2,1O:"50%",1m:"50%",7t:"-7e",7U:"-ej",ag:1,et:"#ew",5J:"#eC",5K:"7e",aa:"7a a9",ae:"kG"});7.4N.15("30",E);7.4N.1d("1v",d.K(B(){7.e2(g)},7));h.Y(7.4N);y f=d(\'\');f.U({2G:"7D",ah:2,ag:1,ae:"jf-5L",j9:"-iE",3E:"-eo",iP:"eI jJ #eC",et:"#ew",2i:"ez",1I:"ez"});f.15("30",E);h.Y(f);h.Y(g);F f},fU:B(g){y f=\'<1q id="1c-1y" 2w="\'+d(g.1z).15("33")+\'" aS="\'+d(g.1z).15("R")+\'" />\';if(7.C.4I){f=""+f+"
"}7.78(f,M)},fC:B(){y g=d("#4L").1f();if(g!==""){y f=\'<1q id="1c-1y" 2w="\'+g+\'" />\';if(7.C.1B===E){f=""+f+"
"}7.78(f,M)}G{7.2g()}},aJ:B(f){7.78(f)},78:B(g,h){7.1n();if(g!==E){y f="";if(h!==M){f=\'<1q id="1c-1y" 2w="\'+g.4J+\'" />\';if(7.C.4I){f=""+f+"
"}}G{f=g}7.1H("3M",f,E);y i=d(7.$J.T("1q#1c-1y"));if(i.11){i.26("id")}G{i=E}7.12();h!==M&&7.1h("3c",i,g)}7.2g();7.3s()},fA:B(){d.3P(7.C,{fB:3z()+\'<1D><1C id="gQ" 5x="5g" 4s="" 7J="7I/1C-1i"><1t>\'+7.C.18.aB+\'1t><1A 1r="1e" id="aI" Z="3p" /><1A 1r="2Z" id="3X" 2q="2Z" />1C>1D>\',fL:3z()+"<1D><1t>"+7.C.18.R+\'1t><1A id="aF" Z="3p" /><1t>\'+7.C.18.2m+\'1t><1A id="4L" Z="3p" /><1t><1A 1r="cj" id="5i"> \'+7.C.18.aT+"1t><1t>"+7.C.18.bq+\'1t><5m id="aG"><3t 2S="25">\'+7.C.18.25+\'3t><3t 2S="1m">\'+7.C.18.1m+\'3t><3t 2S="3E">\'+7.C.18.3E+\'3t>5m>1D><35><2f id="ct" Z="3f">\'+7.C.18.c1+\'2f>&2j;&2j;&2j;<2f Z="3f 5r">\'+7.C.18.5j+\'2f><1A 1r="2f" 2q="aE" Z="3f" id="c0" 2S="\'+7.C.18.aE+\'" />35>\',c7:3z()+\'<1D>\'+7.C.18.4M+\'\'+7.C.18.aD+\'\'+7.C.18.2m+\'<1C id="gX" 5x="5g" 4s="" 7J="7I/1C-1i"><1A 1r="2Z" id="3X" 2q="2Z" />1C><1t>\'+7.C.18.bU+\'1t><1A 1r="1e" 2q="4L" id="4L" Z="3p" />1D><35><2f Z="3f 5r">\'+7.C.18.5j+\'2f><1A 1r="2f" 2q="4M" Z="3f" id="c8" 2S="\'+7.C.18.6l+\'" />35>\',c9:3z()+\'<1D><1C id="kw" 5x="5g" 4s="">aCaV\'+7.C.18.aM+\'<1A 1r="7E" id="6k" 2S="1" /><1t>aC1t><1A 1r="1e" id="5C" Z="3p" /><1t>\'+7.C.18.1e+\'1t><1A 1r="1e" Z="3p 6w" id="ck" /><1t><1A 1r="cj" id="5i"> \'+7.C.18.aT+\'1t><1t>aV1t><1A 1r="1e" id="aR" Z="3p" /><1t>\'+7.C.18.1e+\'1t><1A 1r="1e" Z="3p 6w" id="bl" /><1t>\'+7.C.18.aM+\'1t><1A 1r="1e" Z="3p" id="aL" /><1t>\'+7.C.18.1e+\'1t><1A 1r="1e" Z="3p 6w" id="bo" />1C>1D><35><2f Z="3f 5r">\'+7.C.18.5j+\'2f><1A 1r="2f" Z="3f" id="bh" 2S="\'+7.C.18.6l+\'" />35>\',bg:3z()+"<1D><1t>"+7.C.18.b9+\'1t><1A 1r="1e" 2n="5" 2S="2" id="aO" /><1t>\'+7.C.18.b7+\'1t><1A 1r="1e" 2n="5" 2S="3" id="b6" />1D><35><2f Z="3f 5r">\'+7.C.18.5j+\'2f><1A 1r="2f" 2q="4M" Z="3f" id="bb" 2S="\'+7.C.18.6l+\'" />35>\',bd:3z()+\'<1D><1C id="jy"><1t>\'+7.C.18.bc+\'1t><3W id="ax" 16="2i: 99%; 1I: jj;">3W>1C>1D><35><2f Z="3f 5r">\'+7.C.18.5j+\'2f><1A 1r="2f" Z="3f" id="bL" 2S="\'+7.C.18.6l+\'" />35>\'})},4m:B(m,i,g,n){y f=d("#ab");if(!f.11){7.$bw=f=d(\'\');d("1Q").5k(7.$bw)}if(7.C.a7){f.1R().1d("1v",d.K(7.2g,7))}y j=d("#ac");if(!j.11){7.$bA=j=d(\'&iR;<68 id="7S">68>\');d("1Q").Y(7.$bA)}d("#ad").1d("1v",d.K(7.2g,7));7.5P=d.K(B(o){if(o.2s===7.2s.af){7.2g();F E}},7);d(Q).3D(7.5P);7.$J.3D(7.5P);7.4p=E;if(i.3r("#")==0){7.4p=d(i);d("#7v").6a().Y(7.4p.V());7.4p.V("")}G{d("#7v").6a().Y(i)}j.T("#7S").V(m);if(1o d.fn.du!=="1k"){j.du({iW:"#7S"});j.T("#7S").U("ae","jb")}y l=d("#3K");if(l.11){y h=7;l.T("a").19(B(o,p){o++;d(p).1d("1v",B(r){r.1X();l.T("a").2k("4q");d(7).28("4q");d(".3a").1T();d("#3a"+o).1R();d("#6k").1f(o);if(h.43()===E){y q=j.dh();j.U("21-1O","-"+(q+10)/2+"2r")}})})}j.T(".5r").1d("1v",d.K(7.2g,7));if(7.C.4a===M){7.as=7.Q.1Q.3v}if(7.43()===E){j.U({2G:"7L",1O:"-aZ",1m:"50%",2i:g+"2r",7U:"-"+(g+60)/2+"2r"}).1R();7.au=d(Q.1Q).U("at");d(Q.1Q).U("at","7E")}G{j.U({2G:"7L",2i:"2x%",1I:"2x%",1O:"0",1m:"0",21:"0",5B:"jU"}).1R()}if(1o n==="B"){n()}if(7.43()===E){2h(B(){y o=j.dh();j.U({1O:"50%",1I:"3J",5B:"3J",7t:"-"+(o+10)/2+"2r"})},10)}},2g:B(){d("#ad").2F("1v",7.2g);d("#ac").5w("kJ",d.K(B(){y f=d("#7v");if(7.4p!==E){7.4p.V(f.V());7.4p=E}f.V("");if(7.C.a7){d("#ab").1T().2F("1v",7.2g)}d(Q).dO("3D",7.5P);7.$J.dO("3D",7.5P);7.1n();if(7.C.4a&&7.as){d(7.Q.1Q).3v(7.as)}},7));if(7.43()===E){d(Q.1Q).U("at",7.au?7.au:"de")}F E},av:B(f){d(".3a").1T();d("#3K").T("a").2k("4q").eq(f-1).28("4q");d("#3a"+f).1R()},cN:B(l){y h=l.1z.6x;2O(y g=0,j;j=h[g];g++){7.cw(j)}},cw:B(f){7.cv(f,d.K(B(g){7.d1(f,g)},7))},cv:B(f,h){y g=1V d8();g.7q("gO",7.C.5T+"?2q="+f.2q+"&1r="+f.1r,M);g.gJ("1e/gC; gA=x-gD-gE");g.gH=B(i){if(7.d3==4&&7.b5==3S){d("#L-1Z").bj();h(gF(7.gR))}G{if(7.d3==4&&7.b5!=3S){}}};g.b8()},cT:B(h,f){y g=1V d8();if("h8"in g){g.7q(h,f,M)}G{if(1o d2!="1k"){g=1V d2();g.7q(h,f)}G{g=2b}}F g},d1:B(g,f){y h=7.cT("g8",f);if(!h){}G{h.d9=d.K(B(){if(h.b5==3S){d("#L-1Z").1T();y l=f.3x("?");if(!l[0]){F E}7.1n();y i="";i=\'<1q id="1c-1y" 2w="\'+l[0]+\'" />\';if(7.C.4I){i=""+i+"
"}7.1H("3M",i,E);y j=d(7.$J.T("1q#1c-1y"));if(j.11){j.26("id")}G{j=E}7.12();7.1h("3c",j,E);7.2g();7.3s()}G{}},7);h.i8=B(){};h.4M.i7=B(i){};h.bs("ia-iv",g.1r);h.bs("x-iz-iB","iA-iu");h.b8(g)}},b3:B(h,f){7.2z={32:E,36:E,39:E,4X:E,b1:E,3J:E,1A:E};d.3P(7.2z,f);y g=d("#"+h);if(g.11&&g[0].X==="ik"){7.2z.1A=g;7.el=d(g[0].1C)}G{7.el=g}7.cI=7.el.15("4s");if(7.2z.3J){d(7.2z.1A).7A(d.K(B(i){7.el.b2(B(j){F E});7.aY(i)},7))}G{if(7.2z.b1){d("#"+7.2z.b1).1v(d.K(7.aY,7))}}},aY:B(f){d("#L-1Z").bj();7.bM(7.44,7.bO())},bO:B(){7.id="f"+3b.cg(3b.cb()*cc);y g=7.Q.3F("N");y f=\'<1p 16="2t:25" id="\'+7.id+\'" 2q="\'+7.id+\'">1p>\';g.4v=f;d(g).7C("1Q");if(7.2z.4X){7.2z.4X()}d("#"+7.id).bn(d.K(7.dg,7));F 7.id},bM:B(j,i){if(7.2z.1A){y l="hU"+7.id,g="hw"+7.id;7.1C=d(\'<1C 4s="\'+7.2z.32+\'" 5x="aK" 1z="\'+i+\'" 2q="\'+l+\'" id="\'+l+\'" 7J="7I/1C-1i" />\');if(7.C.31!==E&&1o 7.C.31==="2R"){d.19(7.C.31,d.K(B(n,f){if(f!=2b&&f.2V().3r("#")===0){f=d(f).1f()}y o=d("<1A/>",{1r:"7E",2q:n,2S:f});d(7.1C).Y(o)},7))}y h=7.2z.1A;y m=d(h).4H();d(h).15("id",g).38(m).7C(7.1C);d(7.1C).U("2G","7D").U("1O","-aZ").U("1m","-aZ").7C("1Q");7.1C.b2()}G{j.15("1z",i).15("5x","aK").15("7J","7I/1C-1i").15("4s",7.2z.32);7.44.b2()}},dg:B(){y j=d("#"+7.id)[0],l;if(j.df){l=j.df}G{if(j.b0){l=j.b0.Q}G{l=2Y.gL[7.id].Q}}if(7.2z.36){d("#L-1Z").1T();if(1o l!=="1k"){y h=l.1Q.4v;y g=h.1J(/\\{(.|\\n)*\\}/)[0];g=g.I(/^\\[/,"");g=g.I(/\\]$/,"");y f=d.6Y(g);if(1o f.39=="1k"){7.2z.36(f)}G{7.2z.39(7,f);7.2g()}}G{7.2g();kg("cH kt!")}}7.el.15("4s",7.cI);7.el.15("1z","")},ak:B(g,f){7.4R=d.3P({32:E,36:E,39:E,l6:E,31:E,1e:7.C.18.dV,cf:7.C.18.dk},f);if(2Y.ay===1k){F E}7.aw=d(\'\');7.3C=d(\'\'+7.4R.1e+"");7.bE=d(\'\'+7.4R.cf+"");7.aw.Y(7.3C);d(g).38(7.aw);d(g).38(7.bE);7.3C.1d("jD",d.K(B(){F 7.ff()},7));7.3C.1d("jA",d.K(B(){F 7.fl()},7));7.3C.1S(0).ji=d.K(B(h){h.1X();7.3C.2k("an").28("5y");7.aN(7.4R.32,h.aP.6x[0],E)},7)},aN:B(h,j,f,g,l){if(!f){y m=d.jN.bQ();if(m.4M){m.4M.kU("1Z",d.K(7.fm,7),E)}d.kl({bQ:B(){F m}})}y i=1V ay();i.Y("2Z",j);if(7.C.31!==E&&1o 7.C.31==="2R"){d.19(7.C.31,d.K(B(o,n){if(n!=2b&&n.2V().3r("#")===0){n=d(n).1f()}i.Y(o,n)},7))}d.c5({32:h,gZ:"V",1i:i,hh:E,aH:E,hT:E,1r:"aK",36:d.K(B(p){p=p.I(/^\\[/,"");p=p.I(/\\]$/,"");y o=d.6Y(p);if(f){g.5w("j5",B(){d(7).1j()});y n=d("<1q>");n.15("2w",o.4J).15("id","a8-1c-1y");7.e5(l,n[0]);y q=d(7.$J.T("1q#a8-1c-1y"));if(q.11){q.26("id")}G{q=E}7.12();7.3s();if(q){7.1h("3c",q,o)}if(1o o.39!=="1k"){7.1h("ar",o)}}G{if(1o o.39=="1k"){7.4R.36(o)}G{7.4R.39(7,o);7.4R.36(E)}}},7)})},ff:B(){7.3C.28("an");F E},fl:B(){7.3C.2k("an");F E},fm:B(g,h){y f=g.eU?6G(g.eU/g.gy*2x,10):g;7.3C.1e("gu "+f+"% "+(h||""))},43:B(){F/(gv|gj|gk|iq)/.3u(8E.8P)},6R:B(f){if(1o(f)==="1k"){F 0}F 6G(f.I("2r",""),10)},5u:B(f){F d("").Y(d(f).eq(0).4H()).V()},f1:B(f){F hQ.4l.2V.3y(f)=="[2R 3z]"},8p:B(f){f=f.I(/S;|
|
|&2j;/gi,"");f=f.I(/\\s/g,"");f=f.I(/^[^\\W\\w\\D\\d]*?<\\/p>$/i,"");F f==""},1G:B(g){y h=8E.8P.2X();y f=/(8L)[ \\/]([\\w.]+)/.1P(h)||/(3G)[ \\/]([\\w.]+)/.1P(h)||/(6H)(?:.*6M|)[ \\/]([\\w.]+)/.1P(h)||/(3j) ([\\w.]+)/.1P(h)||h.3r("g4")<0&&/(3o)(?:.*? gU:([\\w.]+)|)/.1P(h)||[];if(g=="6M"){F f[2]}if(g=="3G"){F(f[1]=="8L"||f[1]=="3G")}F f[1]==g},7Z:B(){if(7.1G("3j")&&6G(7.1G("6M"),10)<9){F M}F E},fk:B(g){y f=g.k0(M);y h=7.Q.3F("N");h.5v(f);F h.4v},8a:B(){y f=7.$J[0];y h=7.Q.ek();y g;2D((g=f.8V)){h.5v(g)}F h},7d:B(f){if(!f){F E}if(7.C.1p){F f}if(d(f).9I("N.34").11==0||d(f).3i("34")){F E}G{F f}},5M:B(f){y g=7.3w(),h=7.2B();F g&&g.X===f?g:h&&h.X===f?h:E},e7:B(){y g=7.1Y();y i=7.eF(g);y h=d.2o(d(g).1e()).I(/\\n\\r\\n/g,"");y f=h.11;if(i==f){F M}G{F E}},7b:B(){y f,g=7.1L();if(g&&g.4g&&g.4g>0){f=g.2U(0).4E}if(!f){F E}if(7.C.1p){if(7.eH().eL()){F!7.$J.is(f)}G{F M}}F d(f).2A("N.34").11!=0},3Q:B(g,f){if(d(g).15(f)==""){d(g).26(f)}},eJ:B(h,g){y f=2b;2D((f=h.3r(g))!==-1){h.6E(f,1)}F h}};c.4l.5t.4l=c.4l;d.3V.fn.9H=B(x,u,m,r){y s=/(^|&6d;|\\s)(9F\\..+?\\..+?)(\\s|>|$)/g,q=/(^|&6d;|\\s)(((71?|a1):\\/\\/|5S:).+?)(\\s|>|$)/g,f=/(71?:\\/\\/.*\\.(?:fP|hW|fK|eg))/gi,w=/^.*(hR.be\\/|v\\/|u\\/\\w\\/|3m\\/|gs\\?v=|\\&v=)([^#\\&\\?]*).*/,t=/7k:\\/\\/(9F\\.)?bJ.8v\\/(\\d+)($|\\/)/;y v=(7.$J?7.$J.1S(0):7).8Y,l=v.11;2D(l--){y j=v[l];if(j.3n===3){y p=j.5U;if(r&&p){y o=\'<1p 2i="bV" 1I="kY" 2w="\',h=\'" cm="0" l2>1p>\';if(p.1J(w)){p=p.I(w,o+"//9F.iI.8v/3m/$2"+h);d(j).1W(p).1j()}G{if(p.1J(t)){p=p.I(t,o+"//jm.bJ.8v/2J/$2"+h);d(j).1W(p).1j()}}}if(m&&p&&p.1J(f)){p=p.I(f,\'<1q 2w="$1">\');d(j).1W(p).1j()}if(u&&p&&(p.1J(s)||p.1J(q))){y g=(p.1J(s)||p.1J(q));g=g[0];if(g.11>50){g=g.7T(0,50)+"..."}p=p.I(/&/g,"&7Q;").I(/
/g,">").I(s,\'$1\'+g+"$3").I(q,\'$1\'+g+"$5");d(j).1W(p).1j()}}G{if(j.3n===1&&!/^(a|2f|3W)$/i.3u(j.X)){d.3V.fn.9H.3y(j,x,u,m,r)}}}}})(kd);',62,1311,'|||||||this|||||||||||||||||||||||||||var|||function|opts||false|return|else||replace|editor|proxy|redactor|true|div|span||document|title||find|css|html||tagName|append|class||length|sync|||attr|style||curLang|each|toolbar|func|image|on|text|val|source|callback|data|remove|undefined|table|left|selectionRestore|typeof|iframe|img|type|focus|label|li|click|href|bufferSet|marker|target|input|linebreaks|form|section|td|selectionSave|browser|execCommand|height|match|contents|getSelection|box|parent|top|exec|body|show|get|hide|replaceWith|new|after|preventDefault|getBlock|progress||margin|invisibleSpace|push||none|removeAttr||addClass||air|null|selection|ul|frame|button|modalClose|setTimeout|width|nbsp|removeClass|pre|link|size|trim|script|name|px|keyCode|display|blockquote|buttonGet|src|100|ol|uploadOptions|closest|getCurrent|getRange|while|getBlocks|off|position|LI|RegExp|video|verified|rangy|offset|dropdown|for|tr|thead|object|value|insertNode|getRangeAt|toString|fullpage|toLowerCase|window|file|contenteditable|uploadFields|url|rel|redactor_editor|footer|success||before|error|redactor_tab|Math|imageUpload|italic|buttons|redactor_modal_btn|className|bold|hasClass|msie|php|current_tr|embed|nodeType|mozilla|redactor_input|substr|indexOf|observeImages|option|test|scrollTop|getParent|split|call|String|selectionStart|font|dropareabox|keyup|right|createElement|webkit|content|placeholder|auto|redactor_tabs|tag|inserthtml|formatBlocks|strong|extend|removeEmptyAttr|inArray|200|shiftKey|shortcutsLoad|Redactor|textarea|redactor_file|toolbarFixed|alignmentTags||emptyHtml|charAt|isMobile|element|search||shortcutsLoadFormat|||autoresize|parentNode|deleted|buffer|savedSel|visual|rangeCount|inlineMethods|buttonActive|audio|keydown|prototype|modalInit|direction|redactor_placeholder|modalcontent|redactor_tabs_act|dir|action|indent|removeAllRanges|innerHTML|collapsed|unorderedlist|tbody|unlink|Insert|range|PRE|BLOCKQUOTE|startContainer|selectall|orderedlist|clone|paragraphy|filelink|formatting|redactor_file_link|upload|imageEditter|float|round|_blank|draguploadOptions|textareamode|join|underline|isFunction|imageResizeHide|start|getNodes|not||||||code|allowedTags|createRange|cleanGetTabs|formatBlock|param|justify|observeStart|observeLinks|insert_link_node|redactorfolder|post|autosave|redactor_link_blank|cancel|prepend|bar|select|outdent|buttonBuild|redactor_act|dropact|redactor_btn_modal_close|addRange|init|outerHtml|appendChild|fadeOut|method|drop|rebuffer|cleanlevel|minHeight|redactor_link_url|deniedTags|tabindex|phpTags|selectionEnd|modified|linkObserverTooltipClose|color|fontSize|resize|currentOrParentIs|line|Header|hdlModalClose|tagblock|shortcuts|mailto|s3|nodeValue|alignmentSet|Add|buttonSeparator|Delete|enter||cleanRemoveSpaces|buttonActiveObserver|endContainer|getElement|||imageGetJson|header|imageFloatMargin|empty|next|cleanStripTags|lt|selectionSet|linkProtocol|insertunorderedlist|break|nodeTestBlocks|fileUpload|redactor_tab_selected|insert|horizontalrule|alignright|background|activeButtonsAdd|placeTag|activeButtons|insertorderedlist|TD|head|indentValue|redactor_link_text|files|cleanConvertInlineTags|del|alignleft|strike|template|aligncenter|splice|mouseup|parseInt|opera|which|BACKSPACE|selectionSetMarker|collapse|version|prev|children|insertHtmlAdvanced|folder|normalize|x200b|first|checked|prop|setEnd|setStart|parseJSON|insertAfterLastElement|cleanParagraphy|https|||||||imageInsert|align|7px|isFocused|pasteInsert|isParentRedactor|11px|selectNodeContents|insertHtml|clipboardUpload|saveScroll|paste|http|javascript|ENTER|redactor_btn_|createTextNode|DIV|open|buildCodearea|insertAfter|marginTop|toolbarFixedBox|redactor_modal_inner|autosaveInterval|set|ARTICLE|ASIDE|change|alignment|appendTo|absolute|hidden|ADDRESS|SECTION|FOOTER|multipart|enctype|HEADER|fixed|convertImageLinks|dropdownHideAll|one|separator|amp|airBindMousemoveHide|redactor_modal_header|substring|marginLeft|selectionRemoveMarkers|buttonInactive|align_justify|rTestBlock|oldIE|textContent|tagTestBlock|align_left|selnodes|try|align_center|catch|align_right|cloneRange|tooltip|extractContent|dnbImageTypes|clipboardData|rBlockTest|DOWN|iframeDoc|sourceHeight|getTextNodesIn|redactor_btn|case|buildEnable|selectionElement|activeButtonsStates|getRangeSelectedNodes|insert_row_below|isEmpty|insert_row_above|insert_column_left|current_td|tableAddRow|tableAddColumn|com|linkShow|contOwnLine|z0|ownLine|linkAnchor|insert_table|redactor_button_disabled|linkEmail|navigator|tableDeleteHead|fontcolor|tableObserver|delete_table|BODY|syncClean|chrome|backcolor|link_insert|delete_row|userAgent|insert_column_right|add_head|delete_head|redactor_btn_right|delete_column|firstChild|FIGCAPTION|cleanTag|childNodes|setFullpageOnInit|||cleanFinish|insideOutdent|filter|buildBindKeyboard|toggle|focusSet|alignmentJustify||altKey|buildAfter|alignmentCenter|alignmentRight|cleannewLevel|alignmentLeft|Table|uuid|merge|toolbarObserveScroll|meta|toolbarFixedTarget|Column|cleanConvertProtected|cleanConverters|cleanEmpty|th|cleanSavePreCode|airShow|toolbarExternal|Row|boldTag|italicTag|buildOptions|tfoot|convertLinks|indentingStart|buildEventKeydownInsertLineBreak|cleanEncodeEntities|convertVideoLinks|convertDivs|www|pasteClipboardMozilla|formatLinkify|parents|templateVars|ctrlKey|clipboardUploadUrl|tabSpaces|indentingOutdent|plugins|RedactorPlugins|inlineRemoveFormatReplace|cleanRemoveEmptyTags|iframeLoad|SPAN|inlineEachNodes|iframeAddCss|blockLevelElements|iframePage|redactor_air|sourceOld|insertLineBreak|ftp|iframeAppend|address|parseHTML|indentingIndent|pasteHTML|modalOverlay|drag|10px|padding|redactor_modal_overlay|redactor_modal|redactor_modal_close|cursor|ESC|lineHeight|zIndex|resizer|editter|draguploadInit|delete|DELETE|hover|pageY|pageX|imageRemove|imageUploadError|saveModalScroll|overflow|modalSaveBodyOveflow|modalSetTab|droparea|redactor_insert_video_area|FormData|striped|redactor_image_box|filename|URL|choose|save|redactor_file_alt|redactor_form_image_align|contentType|redactor_filename|imageCallback|POST|redactor_link_anchor|anchor|dragUploadAjax|redactor_table_rows|dataTransfer|redactor_tab3|redactor_link_mailto|alt|link_new_tab|redactor_tab2|Email|mousedown|edit|uploadSubmit|2000px|contentWindow|trigger|submit|uploadInit|fileCallback|status|redactor_table_columns|columns|send|rows|inserthorizontalrule|redactor_insert_table_btn|video_html_code|modal_video||formattingPre|modal_table|redactor_insert_link_btn|center|fadeIn|cleanReConvertProtected|redactor_link_mailto_text|fileShow|load|redactor_link_anchor_text|Edit|image_position||setRequestHeader|setEditor|buttonActiveVisual|buttonInactiveVisual|overlay|redactor_btn_html|dropdownBuild|redactor_dropdown_box_|modal|dropdownShow|redactor_dropdown|setCodeIframe|dropalternative|buttonActiveToggle|link_edit|redactor_dropdown_link|buttonInactiveAll|vimeo|List|redactor_insert_video_btn|uploadForm|double|uploadFrame|header1|xhr|transparent|quote|header2|image_web_link|500|quot|cleanUnverified|langs|cleanHtml|redactorSaveBtn|_delete|cleanlineAfter|cleanlineBefore|lang|ajax|paragraph|modal_image|redactor_upload_btn|modal_link|removeEmptyTags|random|99999|Color|buffer_|atext|floor|newLevel|cleanReplacer|checkbox|redactor_link_url_text|header3|frameborder|redactor_tab1|fieldset|header4|map|area|header5|redactor_image_delete_btn|dropdownHide|s3executeOnSignedUrl|s3uploadFile|iframeCreate|write|the|dragUpload|buildPlugins|focusCallback|iframeStart|textareaKeydownCallback|close|clearInterval|Upload|element_action|placeholderFocus|placeholderRemove|Align|initToolbar|s3handleFileSelect|documentElement|to|blur|blurCallback|buildEventKeydown|s3createCORSRequest|LEFT_WIN|metaKey|clipboardFilePaste|items|cleanup|buildEventClipboardUpload|originalEvent|s3uploadToS3|XDomainRequest|readyState|buildEventDrop|8203|buildEventKeyup|Array|XMLHttpRequest|onload|TAB|tabFocus|placeholderRemoveFromCode||visible|contentDocument|uploadLoaded|outerHeight|toolbarFixedTopOffset|buildStart|or_choose||buttonsAdd|buildMobile|formattingTags|mobile|visibility|toolbar_fixed_box|tidyHtml||draggable|buildEventPaste|getCodeIframe|airBindHide|linkNofollow|airEnable|nofollow|innerWidth|buttonsCustom|buttonSource|Left|Head|redactor_editor_wym|wym|Right|Image|Code|Video|Link|buildAddClasses|unbind|formatEmpty|toolbarBuild|buildContent|airButtons|buildFromTextarea|buildFromElement|drop_file_here|indenting|setInterval|returnValue|placeholderStart|bufferUndo|bufferRedo|imageEdit|pop|clipboard|insertNodeToCaretPositionFromPoint|innerText|isEndOfElement|pasteClipboardUploadMozilla|pasteClipboardUpload|observeTables|linkObserver|selectionWrap|formatChangeTag|selectionRemove|endOffset|gif|opacity|H5|18px|createDocumentFragment||||5px|H6||pasteClean|pastePlainText|backgroundColor|internal|replaceLineBreak|000|createTextRange|moveToPoint|8px|last|OUTPUT|fff|DL|DD|getCaretOffset|pastePre|getCaretOffsetRange|1px|removeFromArrayByValue|DT|equals|H4|setCaret|tableAddRowAbove|tableAddRowBelow|tableAddColumnLeft|tableAddColumnRight|tableAddHead|imageSave|loaded|tableDeleteTable|tableDeleteRow|tableDeleteColumn|H1|videoShow|linkProcess|isString|fileUploadError|linkInsert|imageShow|location|videoInsert|isEmptyObject|self|imageResize|tableInsert|u0000|u1C7F|H3|H2|draguploadOndrag|imageResizeControls|apply|selectionCreateMarker|relative|getFragmentHtml|draguploadOndragleave|uploadProgress||getSelectionText|cloneContents|inside|tableShow|nextSibling|nextNode|getSelectedNodes|mousemove|unshift|caretRangeFromPoint|0px|HTML|modalTemplatesInit|modal_file|imageCallbackLink|aside|focusEnd|article|unwrap|inlineUnwrapSpan|formatQuote|formatblock|jpeg|modal_image_edit|inlineSetMethods|BR|deleteContents|png|caretPositionFromPoint|setStartAfter|clientY|clientX|imageThumbClick|Quote|inlineRemoveClass|blockSetClass|blockRemoveClass|dragstart|Chrome|300|536|getAsFile|compatible|FileReader|readAsDataURL|inlineSetStyle|PUT|inlineSetClass|getSelectionHtml|inlineRemoveStyle|blockSetStyle|enableInlineTableEditing|EndToEnd|blockRemoveAttr|cellIndex|imageDelete||iPod|BlackBerry|redactor_box|TEXTAREA|blockSetAttr|redactor_|blockRemoveStyle|enableObjectResizing|hasChildNodes|watch||Loading|iPhone|min|VERSION|total|Horizontal|charset|attributes|plain|user|defined|decodeURIComponent|cite|onreadystatechange|Justify|overrideMimeType|small|frames|Bold|removeMarkers|GET|nodeName|redactorUploadFileForm|responseText|charCodeAt|TH|rv|such|commonAncestorContainer|redactorInsertImageForm|undo|dataType|redo|||||||use|withCredentials|strict|isCollapsed|u00a0|3px|9px|inlineSetAttr|13px|inlineRemoveAttr|cache|redactor_format_h4|host|redactor_format_h5|getJSON|redactor_format_h3|redactor_format_h1|460|redactor_format_h2|Open||strikethrough|separator_drop1|JustifyFull|Normal|redactorUploadFile|Rule|Anchor|bull|Deleted|duplicate|redactor_format_pre|META|LEFT|Underline|Alignment|CTRL|redactor_separator|optional|Name|tab|dropdowns|applet|xn|redactor_format_blockquote|Object|youtu|sourceWidth|processData|redactorUploadForm|thumb|jpg|redactor_image_edit_src|about|blank|frameset|getToolbar|getEditor|getBox|getIframe|Formatting|380|onprogress|onerror|sup|Content|JustifyRight|syncBefore||syncAfter||ltr|getObject|removeData|setEndPoint|INPUT|redactor_image_box_select|600||separator_drop3|separator_drop2|Android|JustifyCenter||610|read|Type|Callback|destroy|noscript|amz|public|acl|JustifyLeft|sub|4px|Back|math|Indent|youtube|Cancel|pasteAfter|stopPropagation|u200B|pasteBefore|fake|border|u200D|times|Outdent|colgroup|col|caption|handle|Save|hgroup|Below|focusNode|result|redactor_dropareabox|1005|nav|slow|slice|redactor_dropalternative|redactor_separator_drop|bottom|redactor_dropdown_|move|collapseToStart|legend|Above|nw|replaced|comment|ondrop|160px|arguments|docs|player|concat|guid|UL|sid|switch|Unordered|MsoListParagraphCxSpFirst|OL|MsoListParagraphCxSpLast|Ordered|uFEFF|redactorInsertVideoForm|default|dragleave|buttonRemove|buttonAddSeparatorBefore|dragover|buttonRemoveSeparatorAfter|buttonAddSeparatorAfter|buttonAddSeparator|buttonChangeIcon|buttonRemoveIcon|solid|buttonRemoveSeparatorBefore|buttonSetRight|buttonAddBefore|ajaxSettings|insertText|buttonAddAfter|buttonAddFirst|buttonSetLeft|buttonAdd|Unlink|300px|download|File|outline|Download|Choose|cloneNode|Or|removeFormat|superscript|Embed|Web|No|redactor_droparea|rgba|Text|subscript|dashed|web|jQuery|Drop|isArray|alert|offsetNode|stylesheet|detach|restoreSelection|ajaxSetup|removeChild|ownerDocument|defaultView|block|here|inlineFormat|saveSelection|failed|inline|Center|redactorInsertLinkForm|inlineRemoveFormat|hasOwnProperty|unselectable|ns|setEndAfter|Font|Rows|Italic|1000|pointer|summary|menu|fast|details|redactor_air_|redactor_toolbar_|redactor_toolbar|scroll|None|encodeURIComponent|selectionAll|string|startOffset|addEventListener|figure|Position|Title|281|innerHeight|extractContents|weight|allowfullscreen|escape|Columns|insertDoubleLineBreak|preview|toUpperCase|figcaption'.split('|'),0,{}))
\ No newline at end of file
+(function(c){var a=0;"use strict";var d=function(e){this[0]=e.startOffset;this[1]=e.endOffset;this.range=e;return this;};d.prototype.equals=function(){return this[0]===this[1];};c.fn.redactor=function(f){var g=[];var e=Array.prototype.slice.call(arguments,1);if(typeof f==="string"){this.each(function(){var j=c.data(this,"redactor");if(typeof j!=="undefined"&&c.isFunction(j[f])){var h=j[f].apply(j,e);if(h!==undefined&&h!==j){g.push(h);}}else{return c.error('No such method "'+f+'" for Redactor');}});}else{this.each(function(){if(!c.data(this,"redactor")){c.data(this,"redactor",b(this,f));}});}if(g.length===0){return this;}else{if(g.length===1){return g[0];}else{return g;}}};function b(f,e){return new b.prototype.init(f,e);}c.Redactor=b;c.Redactor.VERSION="9.1.7";c.Redactor.opts={rangy:false,iframe:false,fullpage:false,css:false,lang:"en",direction:"ltr",placeholder:false,wym:false,mobile:true,cleanup:true,tidyHtml:true,pastePlainText:false,removeEmptyTags:true,templateVars:false,xhtml:false,visual:true,focus:false,tabindex:false,autoresize:true,minHeight:false,maxHeight:false,shortcuts:true,autosave:false,autosaveInterval:60,plugins:false,linkAnchor:true,linkEmail:true,linkProtocol:"http://",linkNofollow:false,linkSize:50,imageFloatMargin:"10px",imageGetJson:false,imageUpload:false,imageUploadParam:"file",fileUpload:false,fileUploadParam:"file",clipboardUpload:true,clipboardUploadUrl:false,dragUpload:true,dnbImageTypes:["image/png","image/jpeg","image/gif"],s3:false,uploadFields:false,observeImages:true,observeLinks:true,modalOverlay:true,tabSpaces:false,tabFocus:true,air:false,airButtons:["formatting","|","bold","italic","deleted","|","unorderedlist","orderedlist","outdent","indent"],toolbar:true,toolbarFixed:false,toolbarFixedTarget:document,toolbarFixedTopOffset:0,toolbarFixedBox:false,toolbarExternal:false,buttonSource:true,buttonSeparator:'',buttonsCustom:{},buttonsAdd:[],buttons:["html","|","formatting","|","bold","italic","deleted","|","unorderedlist","orderedlist","outdent","indent","|","image","video","file","table","link","|","alignment","|","horizontalrule"],activeButtons:["deleted","italic","bold","underline","unorderedlist","orderedlist","alignleft","aligncenter","alignright","justify","table"],activeButtonsStates:{b:"bold",strong:"bold",i:"italic",em:"italic",del:"deleted",strike:"deleted",ul:"unorderedlist",ol:"orderedlist",u:"underline",tr:"table",td:"table",table:"table"},activeButtonsAdd:false,formattingTags:["p","blockquote","pre","h1","h2","h3","h4","h5","h6"],linebreaks:false,paragraphy:true,convertDivs:true,convertLinks:true,convertImageLinks:false,convertVideoLinks:false,formattingPre:false,phpTags:false,allowedTags:false,deniedTags:["html","head","link","body","meta","script","style","applet"],boldTag:"strong",italicTag:"em",indentValue:20,buffer:[],rebuffer:[],textareamode:false,emptyHtml:"
",invisibleSpace:"",rBlockTest:/^(P|H[1-6]|LI|ADDRESS|SECTION|HEADER|FOOTER|ASIDE|ARTICLE)$/i,alignmentTags:["P","H1","H2","H3","H4","H5","H6","DD","DL","DT","DIV","TD","BLOCKQUOTE","OUTPUT","FIGCAPTION","ADDRESS","SECTION","HEADER","FOOTER","ASIDE","ARTICLE"],ownLine:["area","body","head","hr","i?frame","link","meta","noscript","style","script","table","tbody","thead","tfoot"],contOwnLine:["li","dt","dt","h[1-6]","option","script"],newLevel:["blockquote","div","dl","fieldset","form","frameset","map","ol","p","pre","select","td","th","tr","ul"],blockLevelElements:["P","H1","H2","H3","H4","H5","H6","DD","DL","DT","DIV","LI","BLOCKQUOTE","OUTPUT","FIGCAPTION","PRE","ADDRESS","SECTION","HEADER","FOOTER","ASIDE","ARTICLE","TD"],langs:{en:{html:"HTML",video:"Insert Video",image:"Insert Image",table:"Table",link:"Link",link_insert:"Insert link",link_edit:"Edit link",unlink:"Unlink",formatting:"Formatting",paragraph:"Normal text",quote:"Quote",code:"Code",header1:"Header 1",header2:"Header 2",header3:"Header 3",header4:"Header 4",header5:"Header 5",bold:"Bold",italic:"Italic",fontcolor:"Font Color",backcolor:"Back Color",unorderedlist:"Unordered List",orderedlist:"Ordered List",outdent:"Outdent",indent:"Indent",cancel:"Cancel",insert:"Insert",save:"Save",_delete:"Delete",insert_table:"Insert Table",insert_row_above:"Add Row Above",insert_row_below:"Add Row Below",insert_column_left:"Add Column Left",insert_column_right:"Add Column Right",delete_column:"Delete Column",delete_row:"Delete Row",delete_table:"Delete Table",rows:"Rows",columns:"Columns",add_head:"Add Head",delete_head:"Delete Head",title:"Title",image_position:"Position",none:"None",left:"Left",right:"Right",image_web_link:"Image Web Link",text:"Text",mailto:"Email",web:"URL",video_html_code:"Video Embed Code",file:"Insert File",upload:"Upload",download:"Download",choose:"Choose",or_choose:"Or choose",drop_file_here:"Drop file here",align_left:"Align text to the left",align_center:"Center text",align_right:"Align text to the right",align_justify:"Justify text",horizontalrule:"Insert Horizontal Rule",deleted:"Deleted",anchor:"Anchor",link_new_tab:"Open link in new tab",underline:"Underline",alignment:"Alignment",filename:"Name (optional)",edit:"Edit"}}};b.fn=c.Redactor.prototype={keyCode:{BACKSPACE:8,DELETE:46,DOWN:40,ENTER:13,ESC:27,TAB:9,CTRL:17,META:91,LEFT:37,LEFT_WIN:91},init:function(f,e){this.rtePaste=false;this.$element=this.$source=c(f);this.uuid=a++;var g=c.extend(true,{},c.Redactor.opts);this.opts=c.extend({},g,this.$element.data(),e);this.start=true;this.dropdowns=[];this.sourceHeight=this.$source.css("height");this.sourceWidth=this.$source.css("width");if(this.opts.fullpage){this.opts.iframe=true;}if(this.opts.linebreaks){this.opts.paragraphy=false;}if(this.opts.paragraphy){this.opts.linebreaks=false;}if(this.opts.toolbarFixedBox){this.opts.toolbarFixed=true;}this.document=document;this.window=window;this.savedSel=false;this.cleanlineBefore=new RegExp("^<(/?"+this.opts.ownLine.join("|/?")+"|"+this.opts.contOwnLine.join("|")+")[ >]");this.cleanlineAfter=new RegExp("^<(br|/?"+this.opts.ownLine.join("|/?")+"|/"+this.opts.contOwnLine.join("|/")+")[ >]");this.cleannewLevel=new RegExp("^?("+this.opts.newLevel.join("|")+")[ >]");this.rTestBlock=new RegExp("^("+this.opts.blockLevelElements.join("|")+")$","i");if(this.opts.linebreaks===false){if(this.opts.allowedTags!==false){var h=["strong","em","del"];var j=["b","i","strike"];if(c.inArray("p",this.opts.allowedTags)==="-1"){this.opts.allowedTags.push("p");}for(i in h){if(c.inArray(h[i],this.opts.allowedTags)!="-1"){this.opts.allowedTags.push(j[i]);}}}if(this.opts.deniedTags!==false){var l=c.inArray("p",this.opts.deniedTags);if(l!=="-1"){this.opts.deniedTags.splice(l,l);}}}if(this.browser("msie")||this.browser("opera")){this.opts.buttons=this.removeFromArrayByValue(this.opts.buttons,"horizontalrule");}this.opts.curLang=this.opts.langs[this.opts.lang];this.buildStart();},toolbarInit:function(e){return{html:{title:e.html,func:"toggle"},formatting:{title:e.formatting,func:"show",dropdown:{p:{title:e.paragraph,func:"formatBlocks"},blockquote:{title:e.quote,func:"formatQuote",className:"redactor_format_blockquote"},pre:{title:e.code,func:"formatBlocks",className:"redactor_format_pre"},h1:{title:e.header1,func:"formatBlocks",className:"redactor_format_h1"},h2:{title:e.header2,func:"formatBlocks",className:"redactor_format_h2"},h3:{title:e.header3,func:"formatBlocks",className:"redactor_format_h3"},h4:{title:e.header4,func:"formatBlocks",className:"redactor_format_h4"},h5:{title:e.header5,func:"formatBlocks",className:"redactor_format_h5"}}},bold:{title:e.bold,exec:"bold"},italic:{title:e.italic,exec:"italic"},deleted:{title:e.deleted,exec:"strikethrough"},underline:{title:e.underline,exec:"underline"},unorderedlist:{title:"• "+e.unorderedlist,exec:"insertunorderedlist"},orderedlist:{title:"1. "+e.orderedlist,exec:"insertorderedlist"},outdent:{title:"< "+e.outdent,func:"indentingOutdent"},indent:{title:"> "+e.indent,func:"indentingIndent"},image:{title:e.image,func:"imageShow"},video:{title:e.video,func:"videoShow"},file:{title:e.file,func:"fileShow"},table:{title:e.table,func:"show",dropdown:{insert_table:{title:e.insert_table,func:"tableShow"},separator_drop1:{name:"separator"},insert_row_above:{title:e.insert_row_above,func:"tableAddRowAbove"},insert_row_below:{title:e.insert_row_below,func:"tableAddRowBelow"},insert_column_left:{title:e.insert_column_left,func:"tableAddColumnLeft"},insert_column_right:{title:e.insert_column_right,func:"tableAddColumnRight"},separator_drop2:{name:"separator"},add_head:{title:e.add_head,func:"tableAddHead"},delete_head:{title:e.delete_head,func:"tableDeleteHead"},separator_drop3:{name:"separator"},delete_column:{title:e.delete_column,func:"tableDeleteColumn"},delete_row:{title:e.delete_row,func:"tableDeleteRow"},delete_table:{title:e.delete_table,func:"tableDeleteTable"}}},link:{title:e.link,func:"show",dropdown:{link:{title:e.link_insert,func:"linkShow"},unlink:{title:e.unlink,exec:"unlink"}}},fontcolor:{title:e.fontcolor,func:"show"},backcolor:{title:e.backcolor,func:"show"},alignment:{title:e.alignment,func:"show",dropdown:{alignleft:{title:e.align_left,func:"alignmentLeft"},aligncenter:{title:e.align_center,func:"alignmentCenter"},alignright:{title:e.align_right,func:"alignmentRight"},justify:{title:e.align_justify,func:"alignmentJustify"}}},alignleft:{title:e.align_left,func:"alignmentLeft"},aligncenter:{title:e.align_center,func:"alignmentCenter"},alignright:{title:e.align_right,func:"alignmentRight"},justify:{title:e.align_justify,func:"alignmentJustify"},horizontalrule:{exec:"inserthorizontalrule",title:e.horizontalrule}};},callback:function(e,f,g){var h=this.opts[e+"Callback"];if(c.isFunction(h)){if(f===false){return h.call(this,g);}else{return h.call(this,f,g);}}else{return g;}},destroy:function(){clearInterval(this.autosaveInterval);c(window).off(".redactor");this.$source.off("redactor-textarea");this.$element.off(".redactor").removeData("redactor");var f=this.get();if(this.opts.textareamode){this.$box.after(this.$source);this.$box.remove();this.$source.val(f).show();}else{var e=this.$editor;if(this.opts.iframe){e=this.$element;}this.$box.after(e);this.$box.remove();e.removeClass("redactor_editor").removeClass("redactor_editor_wym").removeAttr("contenteditable").html(f).show();}if(this.opts.air){c("#redactor_air_"+this.uuid).remove();}},getObject:function(){return c.extend({},this);},getEditor:function(){return this.$editor;},getBox:function(){return this.$box;},getIframe:function(){return(this.opts.iframe)?this.$frame:false;},getToolbar:function(){return(this.$toolbar)?this.$toolbar:false;},get:function(){return this.$source.val();},getCodeIframe:function(){this.$editor.removeAttr("contenteditable").removeAttr("dir");var e=this.outerHtml(this.$frame.contents().children());this.$editor.attr({contenteditable:true,dir:this.opts.direction});return e;},set:function(e,f,g){e=e.toString();if(this.opts.fullpage){this.setCodeIframe(e);}else{this.setEditor(e,f);}if(g!==false){this.placeholderRemove();}},setEditor:function(e,f){if(f!==false){e=this.cleanSavePreCode(e);e=this.cleanStripTags(e);e=this.cleanConvertProtected(e);e=this.cleanConvertInlineTags(e,true);if(this.opts.linebreaks===false){e=this.cleanConverters(e);}else{e=e.replace(/([\w\W]*?)<\/p>/gi,"$2
");}}e=this.cleanEmpty(e);this.$editor.html(e);this.setNonEditable();this.setSpansVerified();this.sync();},setCodeIframe:function(e){var f=this.iframePage();this.$frame[0].src="about:blank";e=this.cleanConvertProtected(e);e=this.cleanConvertInlineTags(e);e=this.cleanRemoveSpaces(e);f.open();f.write(e);f.close();if(this.opts.fullpage){this.$editor=this.$frame.contents().find("body").attr({contenteditable:true,dir:this.opts.direction});}this.setNonEditable();this.setSpansVerified();this.sync();},setFullpageOnInit:function(e){e=this.cleanSavePreCode(e,true);e=this.cleanConverters(e);e=this.cleanEmpty(e);this.$editor.html(e);this.setNonEditable();this.setSpansVerified();this.sync();},setSpansVerified:function(){var f=this.$editor.find("span");var e="inline";c.each(f,function(){var g=this.outerHTML;var j=new RegExp("<"+this.tagName,"i");var h=g.replace(j,"<"+e);j=new RegExp(""+this.tagName,"i");h=h.replace(j,""+e);c(this).replaceWith(h);});},setSpansVerifiedHtml:function(e){e=e.replace(//,"");return e.replace(/<\/span>/,"");},setNonEditable:function(){this.$editor.find(".noneditable").attr("contenteditable",false);},sync:function(){var e="";this.cleanUnverified();if(this.opts.fullpage){e=this.getCodeIframe();}else{e=this.$editor.html();}e=this.syncClean(e);e=this.cleanRemoveEmptyTags(e);e=e.replace(/<\/li><(ul|ol)>([\w\W]*?)<\/(ul|ol)>/gi,"<$1>$2$1>");if(c.trim(e)==="
"){e="";}if(this.opts.xhtml){var f=["br","hr","img","link","input","meta"];c.each(f,function(g,h){e=e.replace(new RegExp("<"+h+"(.*?[^/$]?)>","gi"),"<"+h+"$1 />");});}e=this.callback("syncBefore",false,e);this.$source.val(e);this.callback("syncAfter",false,e);if(this.start===false){this.callback("change",false,e);}},syncClean:function(e){if(!this.opts.fullpage){e=this.cleanStripTags(e);}e=c.trim(e);e=this.placeholderRemoveFromCode(e);e=e.replace(//gi,"");e=e.replace(//gi,"");e=e.replace(/ /gi," ");if(this.opts.linkNofollow){e=e.replace(//gi,"");e=e.replace(//gi,'');}e=e.replace("","?>");e=e.replace(/<(.*?)class="noeditable"(.*?) contenteditable="false"(.*?)>/gi,'<$1class="noeditable"$2$3>');e=e.replace(/ data-tagblock=""/gi,"");e=e.replace(/
\n?<\/(P|H[1-6]|LI|ADDRESS|SECTION|HEADER|FOOTER|ASIDE|ARTICLE)>/gi,"$1>");e=e.replace(/([\w\W]*?)
<\/span>/i,"$3
");e=e.replace(/(.*?)<\/span>/i,"");e=e.replace(/(.*?)<\/span>/i,"");e=e.replace(/([\w\W]*?)<\/font>/gi,"$2");e=e.replace(/([\w\W]*?)<\/span>/gi,"$2");e=e.replace(/([\w\W]*?)<\/inline>/gi,"$2");e=e.replace(/([\w\W]*?)<\/span>/gi,"");e=e.replace(/&/gi,"&");e=this.cleanReConvertProtected(e);return e;},buildStart:function(){this.content="";this.$box=c('');if(this.$source[0].tagName==="TEXTAREA"){this.opts.textareamode=true;}if(this.opts.mobile===false&&this.isMobile()){this.buildMobile();}else{this.buildContent();if(this.opts.iframe){this.opts.autoresize=false;this.iframeStart();}else{if(this.opts.textareamode){this.buildFromTextarea();}else{this.buildFromElement();}}if(!this.opts.iframe){this.buildOptions();this.buildAfter();}}},buildMobile:function(){if(!this.opts.textareamode){this.$editor=this.$source;this.$editor.hide();this.$source=this.buildCodearea(this.$editor);this.$source.val(this.content);}this.$box.insertAfter(this.$source).append(this.$source);},buildContent:function(){if(this.opts.textareamode){this.content=c.trim(this.$source.val());}else{this.content=c.trim(this.$source.html());}},buildFromTextarea:function(){this.$editor=c("");this.$box.insertAfter(this.$source).append(this.$editor).append(this.$source);this.buildAddClasses(this.$editor);this.buildEnable();},buildFromElement:function(){this.$editor=this.$source;this.$source=this.buildCodearea(this.$editor);this.$box.insertAfter(this.$editor).append(this.$editor).append(this.$source);this.buildEnable();},buildCodearea:function(e){return c("").attr("name",e.attr("id")).css("height",this.sourceHeight);},buildAddClasses:function(e){c.each(this.$source.get(0).className.split(/\s+/),function(f,g){e.addClass("redactor_"+g);});},buildEnable:function(){this.$editor.addClass("redactor_editor").attr({contenteditable:true,dir:this.opts.direction});this.$source.attr("dir",this.opts.direction).hide();this.set(this.content,true,false);},buildOptions:function(){var e=this.$editor;if(this.opts.iframe){e=this.$frame;}if(this.opts.tabindex){e.attr("tabindex",this.opts.tabindex);}if(this.opts.minHeight){e.css("min-height",this.opts.minHeight+"px");}if(this.opts.maxHeight){e.css("max-height",this.opts.maxHeight+"px");}if(this.opts.wym){this.$editor.addClass("redactor_editor_wym");}if(!this.opts.autoresize){e.css("height",this.sourceHeight);}},buildAfter:function(){this.start=false;if(this.opts.toolbar){this.opts.toolbar=this.toolbarInit(this.opts.curLang);this.toolbarBuild();}this.modalTemplatesInit();this.buildPlugins();this.buildBindKeyboard();if(this.opts.autosave){this.autosave();}setTimeout(c.proxy(this.observeStart,this),4);if(this.browser("mozilla")){try{this.document.execCommand("enableObjectResizing",false,false);this.document.execCommand("enableInlineTableEditing",false,false);}catch(f){}}if(this.opts.focus){setTimeout(c.proxy(this.focus,this),100);}if(!this.opts.visual){setTimeout(c.proxy(function(){this.opts.visual=true;this.toggle(false);},this),200);}this.callback("init");},buildBindKeyboard:function(){if(this.opts.dragUpload&&this.opts.imageUpload!==false){this.$editor.on("drop.redactor",c.proxy(this.buildEventDrop,this));}this.$editor.on("paste.redactor",c.proxy(this.buildEventPaste,this));this.$editor.on("keydown.redactor",c.proxy(this.buildEventKeydown,this));this.$editor.on("keyup.redactor",c.proxy(this.buildEventKeyup,this));if(c.isFunction(this.opts.textareaKeydownCallback)){this.$source.on("keydown.redactor-textarea",c.proxy(this.opts.textareaKeydownCallback,this));}if(c.isFunction(this.opts.focusCallback)){this.$editor.on("focus.redactor",c.proxy(this.opts.focusCallback,this));}var e;c(document).mousedown(function(f){e=c(f.target);});this.$editor.on("blur.redactor",c.proxy(function(f){if(!c(e).hasClass("redactor_toolbar")&&c(e).parents(".redactor_toolbar").size()==0){this.selectall=false;if(c.isFunction(this.opts.blurCallback)){this.callback("blur",f);}}},this));},buildEventDrop:function(j){j=j.originalEvent||j;if(window.FormData===undefined||!j.dataTransfer){return true;}var h=j.dataTransfer.files.length;if(h==0){return true;}j.preventDefault();var g=j.dataTransfer.files[0];if(this.opts.dnbImageTypes!==false&&this.opts.dnbImageTypes.indexOf(g.type)==-1){return true;}this.bufferSet();var f=c('');c(document.body).append(f);if(this.opts.s3===false){this.dragUploadAjax(this.opts.imageUpload,g,true,f,j,this.opts.imageUploadParam);}else{this.s3uploadFile(g);}},buildEventPaste:function(g){var h=false;if(this.browser("webkit")&&navigator.userAgent.indexOf("Chrome")===-1){var f=this.browser("version").split(".");if(f[0]<536){h=true;}}if(h){return true;}if(this.browser("opera")){return true;}if(this.opts.clipboardUpload&&this.buildEventClipboardUpload(g)){return true;}if(this.opts.cleanup){this.rtePaste=true;this.selectionSave();if(!this.selectall){if(this.opts.autoresize===true){this.$editor.height(this.$editor.height());this.saveScroll=this.document.body.scrollTop;}else{this.saveScroll=this.$editor.scrollTop();}}var j=this.extractContent();setTimeout(c.proxy(function(){var e=this.extractContent();this.$editor.append(j);this.selectionRestore();var l=this.getFragmentHtml(e);this.pasteClean(l);if(this.opts.autoresize===true){this.$editor.css("height","auto");}},this),1);}},buildEventClipboardUpload:function(j){var h=j.originalEvent||j;this.clipboardFilePaste=false;if(typeof(h.clipboardData)==="undefined"){return false;}if(h.clipboardData.items){var g=h.clipboardData.items[0].getAsFile();if(g!==null){this.bufferSet();this.clipboardFilePaste=true;var f=new FileReader();f.onload=c.proxy(this.pasteClipboardUpload,this);f.readAsDataURL(g);return true;}}return false;},buildEventKeydown:function(n){if(this.rtePaste){return false;}var f=n.which;var j=n.ctrlKey||n.metaKey;var g=this.getParent();var m=this.getCurrent();var o=this.getBlock();var l=false;this.callback("keydown",n);this.imageResizeHide(false);if((g&&c(g).get(0).tagName==="PRE")||(m&&c(m).get(0).tagName==="PRE")){l=true;if(f===this.keyCode.DOWN){this.insertAfterLastElement(o);}}if(f===this.keyCode.DOWN){if(g&&c(g)[0].tagName==="BLOCKQUOTE"){this.insertAfterLastElement(g);}if(m&&c(m)[0].tagName==="BLOCKQUOTE"){this.insertAfterLastElement(m);}if(g&&c(g)[0].tagName==="P"&&c(g).parent()[0].tagName=="BLOCKQUOTE"){this.insertAfterLastElement(g,c(g).parent()[0]);}if(m&&c(m)[0].tagName==="P"&&g&&c(g)[0].tagName=="BLOCKQUOTE"){this.insertAfterLastElement(m,g);}}if(j&&!n.shiftKey){this.shortcuts(n,f);}if(j&&f===90&&!n.shiftKey&&!n.altKey){n.preventDefault();if(this.opts.buffer.length){this.bufferUndo();}else{this.document.execCommand("undo",false,false);}return;}else{if(j&&f===90&&n.shiftKey&&!n.altKey){n.preventDefault();if(this.opts.rebuffer.length!=0){this.bufferRedo();}else{this.document.execCommand("redo",false,false);}return;}}if(j&&f===65){this.selectall=true;}else{if(f!=this.keyCode.LEFT_WIN&&!j){this.selectall=false;}}if(f==this.keyCode.ENTER&&!n.shiftKey&&!n.ctrlKey&&!n.metaKey){if(this.browser("msie")&&(g.nodeType==1&&(g.tagName=="TD"||g.tagName=="TH"))){n.preventDefault();this.bufferSet();this.insertNode(document.createElement("br"));this.callback("enter",n);return false;}if(l===true){return this.buildEventKeydownPre(n,m);}else{if(!this.opts.linebreaks){if(o&&this.opts.rBlockTest.test(o.tagName)){this.bufferSet();setTimeout(c.proxy(function(){var p=this.getBlock();if(p.tagName==="DIV"&&!c(p).hasClass("redactor_editor")){var e=c(""+this.opts.invisibleSpace+"
");c(p).replaceWith(e);this.selectionStart(e);}},this),1);}else{if(o===false){this.bufferSet();var h=c(""+this.opts.invisibleSpace+"
");this.insertNode(h[0]);this.selectionStart(h);this.callback("enter",n);return false;}}}if(this.opts.linebreaks){if(o&&this.opts.rBlockTest.test(o.tagName)){this.bufferSet();setTimeout(c.proxy(function(){var e=this.getBlock();if((e.tagName==="DIV"||e.tagName==="P")&&!c(e).hasClass("redactor_editor")){this.replaceLineBreak(e);}},this),1);}else{return this.buildEventKeydownInsertLineBreak(n);}}if(o.tagName=="BLOCKQUOTE"||o.tagName=="FIGCAPTION"){return this.buildEventKeydownInsertLineBreak(n);}}this.callback("enter",n);}else{if(f===this.keyCode.ENTER&&(n.ctrlKey||n.shiftKey)){this.bufferSet();n.preventDefault();this.insertLineBreak();}}if(f===this.keyCode.TAB&&this.opts.shortcuts){return this.buildEventKeydownTab(n,l);}if(f===this.keyCode.BACKSPACE){this.buildEventKeydownBackspace(m);}},buildEventKeydownPre:function(h,g){h.preventDefault();this.bufferSet();var f=c(g).parent().text();this.insertNode(document.createTextNode("\n"));if(f.search(/\s$/)==-1){this.insertNode(document.createTextNode("\n"));}this.sync();this.callback("enter",h);return false;},buildEventKeydownTab:function(g,f){if(!this.opts.tabFocus){return true;}if(this.isEmpty(this.get())){return true;}g.preventDefault();if(f===true&&!g.shiftKey){this.bufferSet();this.insertNode(document.createTextNode("\t"));this.sync();return false;}else{if(this.opts.tabSpaces!==false){this.bufferSet();this.insertNode(document.createTextNode(Array(this.opts.tabSpaces+1).join("\u00a0")));this.sync();return false;}else{if(!g.shiftKey){this.indentingIndent();}else{this.indentingOutdent();}}}return false;},buildEventKeydownBackspace:function(f){if(typeof f.tagName!=="undefined"&&/^(H[1-6])$/i.test(f.tagName)){var e;if(this.opts.linebreaks===false){e=c(""+this.opts.invisibleSpace+"
");}else{e=c("
"+this.opts.invisibleSpace);}c(f).replaceWith(e);this.selectionStart(e);}if(typeof f.nodeValue!=="undefined"&&f.nodeValue!==null){if(f.remove&&f.nodeType===3&&f.nodeValue.match(/[^/\u200B]/g)==null){f.remove();}}},buildEventKeydownInsertLineBreak:function(f){this.bufferSet();f.preventDefault();this.insertLineBreak();this.callback("enter",f);return;},buildEventKeyup:function(m){if(this.rtePaste){return false;}var f=m.which;var h=this.getParent();var l=this.getCurrent();if(!this.opts.linebreaks&&l.nodeType==3&&(h==false||h.tagName=="BODY")){var j=c("").append(c(l).clone());c(l).replaceWith(j);var g=c(j).next();if(typeof(g[0])!=="undefined"&&g[0].tagName=="BR"){g.remove();}this.selectionEnd(j);}if((this.opts.convertLinks||this.opts.convertImageLinks||this.opts.convertVideoLinks)&&f===this.keyCode.ENTER){this.buildEventKeyupConverters();}if(f===this.keyCode.DELETE||f===this.keyCode.BACKSPACE){return this.formatEmpty(m);}this.callback("keyup",m);this.sync();},buildEventKeyupConverters:function(){this.formatLinkify(this.opts.linkProtocol,this.opts.convertLinks,this.opts.convertImageLinks,this.opts.convertVideoLinks,this.opts.linkSize);setTimeout(c.proxy(function(){if(this.opts.convertImageLinks){this.observeImages();}if(this.opts.observeLinks){this.observeLinks();}},this),5);},buildPlugins:function(){if(!this.opts.plugins){return;}c.each(this.opts.plugins,c.proxy(function(e,f){if(RedactorPlugins[f]){c.extend(this,RedactorPlugins[f]);if(c.isFunction(RedactorPlugins[f].init)){this.init();}}},this));},iframeStart:function(){this.iframeCreate();if(this.opts.textareamode){this.iframeAppend(this.$source);}else{this.$sourceOld=this.$source.hide();this.$source=this.buildCodearea(this.$sourceOld);this.iframeAppend(this.$sourceOld);}},iframeAppend:function(e){this.$source.attr("dir",this.opts.direction).hide();this.$box.insertAfter(e).append(this.$frame).append(this.$source);},iframeCreate:function(){this.$frame=c('').one("load",c.proxy(function(){if(this.opts.fullpage){this.iframePage();if(this.content===""){this.content=this.opts.invisibleSpace;}this.$frame.contents()[0].write(this.content);this.$frame.contents()[0].close();var e=setInterval(c.proxy(function(){if(this.$frame.contents().find("body").html()){clearInterval(e);this.iframeLoad();}},this),0);}else{this.iframeLoad();}},this));},iframeDoc:function(){return this.$frame[0].contentWindow.document;},iframePage:function(){var e=this.iframeDoc();if(e.documentElement){e.removeChild(e.documentElement);}return e;},iframeAddCss:function(e){e=e||this.opts.css;if(this.isString(e)){this.$frame.contents().find("head").append('');}if(c.isArray(e)){c.each(e,c.proxy(function(g,f){this.iframeAddCss(f);},this));}},iframeLoad:function(){this.$editor=this.$frame.contents().find("body").attr({contenteditable:true,dir:this.opts.direction});if(this.$editor[0]){this.document=this.$editor[0].ownerDocument;this.window=this.document.defaultView||window;}this.iframeAddCss();if(this.opts.fullpage){this.setFullpageOnInit(this.$editor.html());}else{this.set(this.content,true,false);}this.buildOptions();this.buildAfter();},placeholderStart:function(e){if(this.isEmpty(e)){if(this.$element.attr("placeholder")){this.opts.placeholder=this.$element.attr("placeholder");}if(this.opts.placeholder===""){this.opts.placeholder=false;}if(this.opts.placeholder!==false){this.opts.focus=false;this.$editor.one("focus.redactor_placeholder",c.proxy(this.placeholderFocus,this));return c('').attr("contenteditable",false).text(this.opts.placeholder);}}return false;},placeholderFocus:function(){this.$editor.find("span.redactor_placeholder").remove();var e="";if(this.opts.linebreaks===false){e=this.opts.emptyHtml;}this.$editor.off("focus.redactor_placeholder");this.$editor.html(e);if(this.opts.linebreaks===false){this.selectionStart(this.$editor.children()[0]);}else{this.focus();}this.sync();},placeholderRemove:function(){this.opts.placeholder=false;this.$editor.find("span.redactor_placeholder").remove();this.$editor.off("focus.redactor_placeholder");},placeholderRemoveFromCode:function(e){return e.replace(/(.*?)<\/span>/i,"");},shortcuts:function(g,f){if(!this.opts.shortcuts){return;}if(!g.altKey){if(f===77){this.shortcutsLoad(g,"removeFormat");}else{if(f===66){this.shortcutsLoad(g,"bold");}else{if(f===73){this.shortcutsLoad(g,"italic");}else{if(f===74){this.shortcutsLoad(g,"insertunorderedlist");}else{if(f===75){this.shortcutsLoad(g,"insertorderedlist");}else{if(f===72){this.shortcutsLoad(g,"superscript");}else{if(f===76){this.shortcutsLoad(g,"subscript");}}}}}}}}else{if(f===48){this.shortcutsLoadFormat(g,"p");}else{if(f===49){this.shortcutsLoadFormat(g,"h1");}else{if(f===50){this.shortcutsLoadFormat(g,"h2");}else{if(f===51){this.shortcutsLoadFormat(g,"h3");}else{if(f===52){this.shortcutsLoadFormat(g,"h4");}else{if(f===53){this.shortcutsLoadFormat(g,"h5");}else{if(f===54){this.shortcutsLoadFormat(g,"h6");}}}}}}}}},shortcutsLoad:function(g,f){g.preventDefault();this.execCommand(f,false);},shortcutsLoadFormat:function(g,f){g.preventDefault();this.formatBlocks(f);},focus:function(){if(!this.browser("opera")){this.window.setTimeout(c.proxy(this.focusSet,this,true),1);}else{this.$editor.focus();}},focusEnd:function(){this.focusSet();},focusSet:function(g){this.$editor.focus();var e=this.getRange();e.selectNodeContents(this.$editor[0]);e.collapse(g||false);var f=this.getSelection();f.removeAllRanges();f.addRange(e);},toggle:function(e){if(this.opts.visual){this.toggleCode(e);}else{this.toggleVisual();}},toggleVisual:function(){var e=this.$source.hide().val();if(typeof this.modified!=="undefined"){this.modified=this.cleanRemoveSpaces(this.modified,false)!==this.cleanRemoveSpaces(e,false);}if(this.modified){if(this.opts.fullpage&&e===""){this.setFullpageOnInit(e);}else{this.set(e);if(this.opts.fullpage){this.buildBindKeyboard();}}}if(this.opts.iframe){this.$frame.show();}else{this.$editor.show();}if(this.opts.fullpage){this.$editor.attr("contenteditable",true);}this.$source.off("keydown.redactor-textarea-indenting");this.$editor.focus();this.selectionRestore();this.observeStart();this.buttonActiveVisual();this.buttonInactive("html");this.opts.visual=true;},toggleCode:function(g){if(g!==false){this.selectionSave();}var e=null;if(this.opts.iframe){e=this.$frame.height();if(this.opts.fullpage){this.$editor.removeAttr("contenteditable");}this.$frame.hide();}else{e=this.$editor.innerHeight();this.$editor.hide();}var f=this.$source.val();if(f!==""&&this.opts.tidyHtml){this.$source.val(this.cleanHtml(f));}this.modified=f;this.$source.height(e).show().focus();this.$source.on("keydown.redactor-textarea-indenting",this.textareaIndenting);this.buttonInactiveVisual();this.buttonActive("html");this.opts.visual=false;},textareaIndenting:function(g){if(g.keyCode===9){var f=c(this);var h=f.get(0).selectionStart;f.val(f.val().substring(0,h)+"\t"+f.val().substring(f.get(0).selectionEnd));f.get(0).selectionStart=f.get(0).selectionEnd=h+1;return false;}},autosave:function(){var e=false;this.autosaveInterval=setInterval(c.proxy(function(){var f=this.get();if(e!==f){c.ajax({url:this.opts.autosave,type:"post",data:this.$source.attr("name")+"="+escape(encodeURIComponent(f)),success:c.proxy(function(g){this.callback("autosave",false,g);e=f;},this)});}},this),this.opts.autosaveInterval*1000);},toolbarBuild:function(){if(this.opts.air){this.opts.buttons=this.opts.airButtons;}else{if(!this.opts.buttonSource){var f=this.opts.buttons.indexOf("html"),g=this.opts.buttons[f+1];this.opts.buttons.splice(f,1);if(g==="|"){this.opts.buttons.splice(f,1);}}}c.extend(this.opts.toolbar,this.opts.buttonsCustom);c.each(this.opts.buttonsAdd,c.proxy(function(h,j){this.opts.buttons.push(j);},this));if(this.opts.toolbar){c.each(this.opts.toolbar.formatting.dropdown,c.proxy(function(h,j){if(c.inArray(h,this.opts.formattingTags)=="-1"){delete this.opts.toolbar.formatting.dropdown[h];}},this));}if(this.opts.buttons.length===0){return false;}this.airEnable();this.$toolbar=c("").addClass("redactor_toolbar").attr("id","redactor_toolbar_"+this.uuid);if(this.opts.air){this.$air=c('').attr("id","redactor_air_"+this.uuid).hide();this.$air.append(this.$toolbar);c("body").append(this.$air);}else{if(this.opts.toolbarExternal){c(this.opts.toolbarExternal).html(this.$toolbar);}else{this.$box.prepend(this.$toolbar);}}c.each(this.opts.buttons,c.proxy(function(j,l){if(l==="|"){this.$toolbar.append(c(this.opts.buttonSeparator));}else{if(this.opts.toolbar[l]){var h=this.opts.toolbar[l];if(this.opts.fileUpload===false&&l==="file"){return true;}this.$toolbar.append(c("
- ").append(this.buttonBuild(l,h)));}}},this));this.$toolbar.find("a").attr("tabindex","-1");if(this.opts.toolbarFixed){this.toolbarObserveScroll();c(this.opts.toolbarFixedTarget).on("scroll.redactor",c.proxy(this.toolbarObserveScroll,this));}if(this.opts.activeButtons){var e=c.proxy(this.buttonActiveObserver,this);this.$editor.on("mouseup.redactor keyup.redactor",e);}},toolbarObserveScroll:function(){var j=c(this.opts.toolbarFixedTarget).scrollTop();var g=this.$box.offset().top;var h=0;var e=g+this.$box.height()+40;if(j>g){var f="100%";if(this.opts.toolbarFixedBox){h=this.$box.offset().left;f=this.$box.innerWidth();this.$toolbar.addClass("toolbar_fixed_box");}this.toolbarFixed=true;this.$toolbar.css({position:"fixed",width:f,zIndex:1005,top:this.opts.toolbarFixedTopOffset+"px",left:h});if(j');}else{g=c(''+h.title+"");g.on("click",c.proxy(function(l){if(l.preventDefault){l.preventDefault();}if(this.browser("msie")){l.returnValue=false;}if(h.callback){h.callback.call(this,j,g,h,l);}if(h.exec){this.execCommand(h.exec,j);}if(h.func){this[h.func](j);}this.buttonActiveObserver();if(this.opts.air){this.$air.fadeOut(100);}},this));}f.append(g);},this));},dropdownShow:function(m,q){if(!this.opts.visual){m.preventDefault();return false;}var n=this.$toolbar.find(".redactor_dropdown_box_"+q);var f=this.buttonGet(q);if(f.hasClass("dropact")){this.dropdownHideAll();}else{this.dropdownHideAll();this.buttonActive(q);f.addClass("dropact");var r=f.position();if(this.toolbarFixed){r=f.offset();}var o=n.width();if((r.left+o)>c(document).width()){r.left-=o;}var h=r.left+"px";var j=29;var l="absolute";var p=j+"px";if(this.opts.toolbarFixed&&this.toolbarFixed){l="fixed";}else{if(!this.opts.air){p=r.top+j+"px";}}n.css({position:l,left:h,top:p}).show();}var g=c.proxy(function(s){this.dropdownHide(s,n);},this);c(document).one("click",g);this.$editor.one("click",g);m.stopPropagation();},dropdownHideAll:function(){this.$toolbar.find("a.dropact").removeClass("redactor_act").removeClass("dropact");c(".redactor_dropdown").hide();},dropdownHide:function(g,f){if(!c(g.target).hasClass("dropact")){f.removeClass("dropact");this.dropdownHideAll();}},buttonBuild:function(h,e){var f=c('');f.on("click",c.proxy(function(j){if(j.preventDefault){j.preventDefault();}if(this.browser("msie")){j.returnValue=false;}if(f.hasClass("redactor_button_disabled")){return false;}if(this.isFocused()===false&&!e.exec){this.$editor.focus();}if(e.exec){this.$editor.focus();this.execCommand(e.exec,h);this.airBindMousemoveHide();}else{if(e.func&&e.func!=="show"){this[e.func](h);this.airBindMousemoveHide();}else{if(e.callback){e.callback.call(this,h,f,e,j);this.airBindMousemoveHide();}else{if(e.dropdown){this.dropdownShow(j,h);}}}}this.buttonActiveObserver(false,h);},this));if(e.dropdown){var g=c('
');g.appendTo(this.$toolbar);this.dropdownBuild(g,e.dropdown);}return f;},buttonGet:function(e){if(!this.opts.toolbar){return false;}return c(this.$toolbar.find("a.redactor_btn_"+e));},buttonActiveToggle:function(f){var e=this.buttonGet(f);if(e.hasClass("redactor_act")){e.removeClass("redactor_act");}else{e.addClass("redactor_act");}},buttonActive:function(e){this.buttonGet(e).addClass("redactor_act");},buttonInactive:function(e){this.buttonGet(e).removeClass("redactor_act");},buttonInactiveAll:function(e){c.each(this.opts.toolbar,c.proxy(function(f){if(f!=e){this.buttonInactive(f);}},this));},buttonActiveVisual:function(){this.$toolbar.find("a.redactor_btn").not("a.redactor_btn_html").removeClass("redactor_button_disabled");},buttonInactiveVisual:function(){this.$toolbar.find("a.redactor_btn").not("a.redactor_btn_html").addClass("redactor_button_disabled");},buttonChangeIcon:function(e,f){this.buttonGet(e).addClass("redactor_btn_"+f);},buttonRemoveIcon:function(e,f){this.buttonGet(e).removeClass("redactor_btn_"+f);},buttonAddSeparator:function(){this.$toolbar.append(c(this.opts.buttonSeparator));},buttonAddSeparatorAfter:function(e){this.buttonGet(e).parent().after(c(this.opts.buttonSeparator));},buttonAddSeparatorBefore:function(e){this.buttonGet(e).parent().before(c(this.opts.buttonSeparator));},buttonRemoveSeparatorAfter:function(e){this.buttonGet(e).parent().next().remove();},buttonRemoveSeparatorBefore:function(e){this.buttonGet(e).parent().prev().remove();},buttonSetRight:function(e){if(!this.opts.toolbar){return;}this.buttonGet(e).parent().addClass("redactor_btn_right");},buttonSetLeft:function(e){if(!this.opts.toolbar){return;}this.buttonGet(e).parent().removeClass("redactor_btn_right");},buttonAdd:function(f,g,j,h){if(!this.opts.toolbar){return;}var e=this.buttonBuild(f,{title:g,callback:j,dropdown:h});this.$toolbar.append(c("
- ").append(e));},buttonAddFirst:function(f,g,j,h){if(!this.opts.toolbar){return;}var e=this.buttonBuild(f,{title:g,callback:j,dropdown:h});this.$toolbar.prepend(c("
- ").append(e));},buttonAddAfter:function(m,f,h,l,j){if(!this.opts.toolbar){return;}var e=this.buttonBuild(f,{title:h,callback:l,dropdown:j});var g=this.buttonGet(m);if(g.size()!==0){g.parent().after(c("
- ").append(e));}else{this.$toolbar.append(c("
- ").append(e));}},buttonAddBefore:function(j,f,h,m,l){if(!this.opts.toolbar){return;}var e=this.buttonBuild(f,{title:h,callback:m,dropdown:l});var g=this.buttonGet(j);if(g.size()!==0){g.parent().before(c("
- ").append(e));}else{this.$toolbar.append(c("
- ").append(e));}},buttonRemove:function(e,g){var f=this.buttonGet(e);if(g){f.parent().next().remove();}f.parent().removeClass("redactor_btn_right");f.remove();},buttonActiveObserver:function(h,l){var f=this.getParent();this.buttonInactiveAll(l);if(h===false&&l!=="html"){if(c.inArray(l,this.opts.activeButtons)!=-1){this.buttonActiveToggle(l);}return;}if(f&&f.tagName==="A"){this.$toolbar.find("a.redactor_dropdown_link").text(this.opts.curLang.link_edit);}else{this.$toolbar.find("a.redactor_dropdown_link").text(this.opts.curLang.link_insert);}if(this.opts.activeButtonsAdd){c.each(this.opts.activeButtonsAdd,c.proxy(function(e,m){this.opts.activeButtons.push(m);},this));c.extend(this.opts.activeButtonsStates,this.opts.activeButtonsAdd);}c.each(this.opts.activeButtonsStates,c.proxy(function(e,m){if(c(f).closest(e,this.$editor.get()[0]).length!=0){this.buttonActive(m);}},this));var g=c(f).closest(this.opts.alignmentTags.toString().toLowerCase(),this.$editor[0]);if(g.length){var j=g.css("text-align");switch(j){case"right":this.buttonActive("alignright");break;case"center":this.buttonActive("aligncenter");break;case"justify":this.buttonActive("justify");break;default:this.buttonActive("alignleft");break;}}},exec:function(f,g,e){if(f==="formatblock"&&this.browser("msie")){g="<"+g+">";}if(f==="inserthtml"&&this.browser("msie")){this.$editor.focus();this.document.selection.createRange().pasteHTML(g);}else{this.document.execCommand(f,false,g);}if(e!==false){this.sync();}this.callback("execCommand",f,g);},execCommand:function(f,g,e){if(!this.opts.visual){this.$source.focus();return false;}if(f==="inserthtml"){this.insertHtml(g,e);this.callback("execCommand",f,g);return;}if(this.currentOrParentIs("PRE")&&!this.opts.formattingPre){return false;}if(f==="insertunorderedlist"||f==="insertorderedlist"){return this.execLists(f,g);}if(f==="unlink"){return this.execUnlink(f,g);}this.exec(f,g,e);if(f==="inserthorizontalrule"){this.$editor.find("hr").removeAttr("id");}},execUnlink:function(f,g){this.bufferSet();var e=this.currentOrParentIs("A");if(e){c(e).replaceWith(c(e).text());this.sync();this.callback("execCommand",f,g);return;}},execLists:function(j,h){this.bufferSet();var q=this.getParent();var n=c(q).closest("ol, ul");var m=false;if(n.length){m=true;var p=n[0].tagName;if((j==="insertunorderedlist"&&p==="OL")||(j==="insertorderedlist"&&p==="UL")){m=false;}}this.selectionSave();if(m){var f=this.getNodes();var g=this.getBlocks(f);if(typeof f[0]!="undefined"&&f.length>1&&f[0].nodeType==3){g.unshift(this.getBlock());}var l="",r="";c.each(g,c.proxy(function(v,w){if(w.tagName=="LI"){var u=c(w);var t=u.clone();t.find("ul","ol").remove();if(this.opts.linebreaks===false){l+=this.outerHtml(c("
").append(t.contents()));}else{l+=t.html()+"
";}if(v==0){u.addClass("redactor-replaced").empty();r=this.outerHtml(u);}else{u.remove();}}},this));html=this.$editor.html().replace(r,""+p+">"+l+"<"+p+">");this.$editor.html(html);this.$editor.find(p+":empty").remove();}else{var e=this.getParent();this.document.execCommand(j);var q=this.getParent();var n=c(q).closest("ol, ul");if(e&&e.tagName=="TD"){n.wrapAll("
");}if(n.length){if((this.browser("msie")||this.browser("mozilla"))&&q.tagName!=="LI"){c(q).replaceWith(c(q).html());}var o=n.parent();if(this.isParentRedactor(o)&&this.nodeTestBlocks(o[0])){o.replaceWith(o.contents());}}if(this.browser("mozilla")){this.$editor.focus();}}this.selectionRestore();this.sync();this.callback("execCommand",j,h);return;},indentingIndent:function(){this.indentingStart("indent");},indentingOutdent:function(){this.indentingStart("outdent");},indentingStart:function(h){this.bufferSet();if(h==="indent"){var j=this.getBlock();this.selectionSave();if(j&&j.tagName=="LI"){var o=this.getParent();var l=c(o).closest("ol, ul");var n=l[0].tagName;var f=this.getBlocks();c.each(f,function(t,u){if(u.tagName=="LI"){var r=c(u).prev();if(r.size()!=0&&r[0].tagName=="LI"){var q=r.children("ul, ol");if(q.size()==0){r.append(c("<"+n+">").append(u));}else{q.append(u);}}}});}else{if(j===false&&this.opts.linebreaks===true){this.exec("formatBlock","blockquote");var p=this.getBlock();var j=c('').html(c(p).html());c(p).replaceWith(j);var g=this.normalize(c(j).css("margin-left"))+this.opts.indentValue;c(j).css("margin-left",g+"px");}else{var e=this.getBlocks();c.each(e,c.proxy(function(r,s){var q=false;if(s.tagName==="TD"){return;}if(c.inArray(s.tagName,this.opts.alignmentTags)!==-1){q=c(s);}else{q=c(s).closest(this.opts.alignmentTags.toString().toLowerCase(),this.$editor[0]);}var t=this.normalize(q.css("margin-left"))+this.opts.indentValue;q.css("margin-left",t+"px");},this));}}this.selectionRestore();}else{this.selectionSave();var j=this.getBlock();if(j&&j.tagName=="LI"){var f=this.getBlocks();var m=0;this.insideOutdent(j,m,f);}else{var e=this.getBlocks();c.each(e,c.proxy(function(r,s){var q=false;if(c.inArray(s.tagName,this.opts.alignmentTags)!==-1){q=c(s);}else{q=c(s).closest(this.opts.alignmentTags.toString().toLowerCase(),this.$editor[0]);}var t=this.normalize(q.css("margin-left"))-this.opts.indentValue;if(t<=0){if(this.opts.linebreaks===true&&typeof(q.data("tagblock"))!=="undefined"){q.replaceWith(q.html());}else{q.css("margin-left","");this.removeEmptyAttr(q,"style");}}else{q.css("margin-left",t+"px");}},this));}this.selectionRestore();}this.sync();},insideOutdent:function(e,g,f){if(e&&e.tagName=="LI"){var h=c(e).parent().parent();if(h.size()!=0&&h[0].tagName=="LI"){h.after(e);}else{if(typeof f[g]!="undefined"){e=f[g];g++;this.insideOutdent(e,g,f);}else{this.execCommand("insertunorderedlist");}}}},alignmentLeft:function(){this.alignmentSet("","JustifyLeft");},alignmentRight:function(){this.alignmentSet("right","JustifyRight");},alignmentCenter:function(){this.alignmentSet("center","JustifyCenter");},alignmentJustify:function(){this.alignmentSet("justify","JustifyFull");},alignmentSet:function(f,h){this.bufferSet();if(this.oldIE()){this.document.execCommand(h,false,false);return true;}this.selectionSave();var j=this.getBlock();if(!j&&this.opts.linebreaks){this.exec("formatBlock","blockquote");var e=this.getBlock();var j=c(' ').html(c(e).html());c(e).replaceWith(j);c(j).css("text-align",f);this.removeEmptyAttr(j,"style");if(f==""&&typeof(c(j).data("tagblock"))!=="undefined"){c(j).replaceWith(c(j).html());}}else{var g=this.getBlocks();c.each(g,c.proxy(function(m,n){var l=false;if(c.inArray(n.tagName,this.opts.alignmentTags)!==-1){l=c(n);}else{l=c(n).closest(this.opts.alignmentTags.toString().toLowerCase(),this.$editor[0]);}if(l){l.css("text-align",f);this.removeEmptyAttr(l,"style");}},this));}this.selectionRestore();this.sync();},cleanEmpty:function(e){var f=this.placeholderStart(e);if(f!==false){return f;}if(this.opts.linebreaks===false){if(e===""){e=this.opts.emptyHtml;}else{if(e.search(/^
$/gi)!==-1){e="
"+this.opts.emptyHtml;}}}return e;},cleanConverters:function(e){if(this.opts.convertDivs){e=e.replace(/ ([\w\W]*?)<\/div>/gi," $2 ");}if(this.opts.paragraphy){e=this.cleanParagraphy(e);}return e;},cleanConvertProtected:function(e){if(this.opts.templateVars){e=e.replace(/\{\{(.*?)\}\}/gi,"");e=e.replace(/\{(.*?)\}/gi,"");}e=e.replace(/ |