1129. Araxis Merge File Comparison Report

Produced by Araxis Merge on 2/1/2017 2:57:46 PM Eastern Standard Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

1129.1 Files compared

# Location File Last Modified
1 C:\Araxis_Merge_Comprasion\Pub_un\BTSSS_CIF_122016.zip\BTSSS_CIF_12_20_16\clean\CRM Portal\trunk\BTSSSPortal\js\ckeditor\plugins\bbcode plugin.js Tue Dec 20 19:50:50 2016 UTC
2 Wed Feb 1 19:57:46 2017 UTC

1129.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 0 0
Changed 0 0
Inserted 0 0
Removed 1 22

1129.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

1129.4 Active regular expressions

No regular expressions were active.

1129.5 Comparison detail

1   /*        
2    Copyright  (c) 2003- 2015, CKSo urce - Fre derico Kna bben. All  rights res erved.        
3    This soft ware is co vered by C KEditor Co mmercial L icense. Us age withou t proper l icense is  prohibited .        
4   */        
5   (function( ){CKEDITOR .on("dialo gDefinitio n",functio n(a){var b ;b=a.data. name;a=a.d ata.defini tion;"link "==b?(a.re moveConten ts("target "),a.remov eContents( "upload"), a.removeCo ntents("ad vanced"),b =a.getCont ents("info "),b.remov e("emailSu bject"),b. remove("em ailBody")) :"image"== b&&(a.remo veContents ("advanced "),b=a.get Contents(" Link"),b.r emove("cmb Target"),b =a.getCont ents("info "),b.remov e("txtAlt" ),b.remove ("basic")) });var l={ b:"strong" ,u:"u",i:" em",color: "span",siz e:"span",q uote:"bloc kquote",co de:"code", url:"a",        
6   email:"spa n",img:"sp an","*":"l i",list:"o l"},x={str ong:"b",b: "b",u:"u", em:"i",i:" i",code:"c ode",li:"* "},m={stro ng:"b",em: "i",u:"u", li:"*",ul: "list",ol: "list",cod e:"code",a :"link",im g:"img",bl ockquote:" quote"},y= {color:"co lor",size: "font-size "},z={url: "href",ema il:"mailhr ef",quote: "cite",lis t:"listTyp e"},n=CKED ITOR.dtd,A =CKEDITOR. tools.exte nd({table: 1},n.$bloc k,n.$listI tem,n.$tab leContent, n.$list),C =/\s*(?:;\ s*|$)/,q={ smiley:":) ",sad:":(" ,wink:";)" ,laugh:":D ",cheeky:" :P",blush: ":*)",surp rise:":-o" ,        
7   indecision :":|",angr y:"\x3e:(" ,angel:"o: )",cool:"8 -)",devil: "\x3e:-)", crying:";( ",kiss:":- *"},B={},r =[],t;for( t in q)B[q [t]]=t,r.p ush(q[t].r eplace(/\( |\)|\:|\/| \*|\-|\|/g ,function( a){return" \\"+a}));v ar r=new R egExp(r.jo in("|"),"g "),D=funct ion(){var  a=[],b={nb sp:" ",shy :"­"},c;fo r(c in b)a .push(c);a =new RegEx p("\x26("+ a.join("|" )+");","g" );return f unction(c) {return c. replace(a, function(a ,c){return  b[c]})}}( );CKEDITOR .BBCodePar ser=functi on(){this. _={bbcPart sRegex:/(? :\[([^\/\] =]*?)(?:=( [^\]]*?))? \])|(?:\[\ /([a-z]{1, 16})\])/ig }};        
8   CKEDITOR.B BCodeParse r.prototyp e={parse:f unction(a) {for(var b ,c,h=0;b=t his._.bbcP artsRegex. exec(a);)i f(c=b.inde x,c>h&&(h= a.substrin g(h,c),thi s.onText(h ,1)),h=thi s._.bbcPar tsRegex.la stIndex,(c =(b[1]||b[ 3]||"").to LowerCase( ))&&!l[c]) this.onTex t(b[0]);el se if(b[1] ){var f=l[ c],k={},g= {};if(b=b[ 2])if("lis t"==c&&(is NaN(b)?/^[ a-z]+$/.te st(b)?b="l ower-alpha ":/^[A-Z]+ $/.test(b) &&(b="uppe r-alpha"): b="decimal "),y[c]){" size"==c&& (b+="%");g [y[c]]=b;b =k;var e=" ",d=void 0 ;for(d in  g)var u=(d +":"+g[d]) .replace(C ,        
9   ";"),e=e+u ;b.style=e }else z[c] &&(k[z[c]] =CKEDITOR. tools.html Decode(b)) ;if("email "==c||"img "==c)k.bbc ode=c;this .onTagOpen (f,k,CKEDI TOR.dtd.$e mpty[f])}e lse if(b[3 ])this.onT agClose(l[ c]);if(a.l ength>h)th is.onText( a.substrin g(h,a.leng th),1)}};C KEDITOR.ht mlParser.f ragment.fr omBBCode=f unction(a) {function  b(a){if(0< g.length)f or(var f=0 ;f<g.lengt h;f++){var  b=g[f],c= b.name,k=C KEDITOR.dt d[c],e=d.n ame&&CKEDI TOR.dtd[d. name];e&&! e[c]||a&&k &&!k[a]&&C KEDITOR.dt d[a]||(b=b .clone(),b .parent=d, d=b,g.spli ce(f,1),f- -)}}        
10   function c (a,f){var  b=d.childr en.length, c=0<b&&d.c hildren[b- 1],b=!c&&v .getRule(m [d.name]," breakAfter Open"),c=c &&c.type== CKEDITOR.N ODE_ELEMEN T&&v.getRu le(m[c.nam e],"breakA fterClose" ),k=a&&v.g etRule(m[a ],f?"break BeforeClos e":"breakB eforeOpen" );e&&(b||c ||k)&&e--; e&&a in A& &e++;for(; e&&e--;)d. children.p ush(new CK EDITOR.htm lParser.el ement("br" ))}functio n h(a,f){c (a.name,1) ;f=f||d||k ;var b=f.c hildren.le ngth;a.pre vious=0<b& &f.childre n[b-1]||nu ll;a.paren t=f;f.chil dren.push( a);a.retur nPoint&&(d =a.returnP oint,        
11   delete a.r eturnPoint )}var f=ne w CKEDITOR .BBCodePar ser,k=new  CKEDITOR.h tmlParser. fragment,g =[],e=0,d= k,u;f.onTa gOpen=func tion(a,k){ var e=new  CKEDITOR.h tmlParser. element(a, k);if(CKED ITOR.dtd.$ removeEmpt y[a])g.pus h(e);else{ var w=d.na me,p=w&&(C KEDITOR.dt d[w]||(d._ .isBlockLi ke?CKEDITO R.dtd.div: CKEDITOR.d td.span)); if(p&&!p[a ]){var p=! 1,l;a==w?h (d,d.paren t):(a in C KEDITOR.dt d.$listIte m?(f.onTag Open("ul", {}),l=d):( h(d,d.pare nt),g.unsh ift(d)),p= !0);d=l?l: d.returnPo int||d.par ent;if(p){ f.onTagOpe n.apply(th is,        
12   arguments) ;return}}b (a);c(a);e .parent=d; e.returnPo int=u;u=0; e.isEmpty? h(e):d=e}} ;f.onTagCl ose=functi on(a){for( var f=g.le ngth-1;0<= f;f--)if(a ==g[f].nam e){g.splic e(f,1);ret urn}for(va r b=[],c=[ ],e=d;e.ty pe&&e.name !=a;)e._.i sBlockLike ||c.unshif t(e),b.pus h(e),e=e.p arent;if(e .type){for (f=0;f<b.l ength;f++) a=b[f],h(a ,a.parent) ;d=e;h(e,e .parent);e ==d&&(d=d. parent);g= g.concat(c )}};f.onTe xt=functio n(a){var f =CKEDITOR. dtd[d.name ];if(!f||f ["#"])c(), b(),a.repl ace(/(\r\n |[\r\n])|[ ^\r\n]*/g, function(a ,f){if(voi d 0!==        
13   f&&f.lengt h)e++;else  if(a.leng th){var b= 0;a.replac e(r,functi on(f,c){h( new CKEDIT OR.htmlPar ser.text(a .substring (b,c)),d); h(new CKED ITOR.htmlP arser.elem ent("smile y",{desc:B [f]}),d);b =c+f.lengt h});b!=a.l ength&&h(n ew CKEDITO R.htmlPars er.text(a. substring( b,a.length )),d)}})}; for(f.pars e(CKEDITOR .tools.htm lEncode(a) );d.type!= CKEDITOR.N ODE_DOCUME NT_FRAGMEN T;)a=d.par ent,h(d,a) ,d=a;retur n k};var v =new (CKED ITOR.tools .createCla ss({$:func tion(){thi s._={outpu t:[],rules :[]};this. setRules(" list",{bre akBeforeOp en:1,        
14   breakAfter Open:1,bre akBeforeCl ose:1,brea kAfterClos e:1});this .setRules( "*",{break BeforeOpen :1,breakAf terOpen:0, breakBefor eClose:1,b reakAfterC lose:0});t his.setRul es("quote" ,{breakBef oreOpen:1, breakAfter Open:0,bre akBeforeCl ose:0,brea kAfterClos e:1})},pro to:{setRul es:functio n(a,b){var  c=this._. rules[a];c ?CKEDITOR. tools.exte nd(c,b,!0) :this._.ru les[a]=b}, getRule:fu nction(a,b ){return t his._.rule s[a]&&this ._.rules[a ][b]},open Tag:functi on(a){a in  l&&(this. getRule(a, "breakBefo reOpen")&& this.lineB reak(1),th is.write(" [",        
15   a))},openT agClose:fu nction(a){ "br"==a?th is._.outpu t.push("\n "):a in l& &(this.wri te("]"),th is.getRule (a,"breakA fterOpen") &&this.lin eBreak(1)) },attribut e:function (a,b){"opt ion"==a&&t his.write( "\x3d",b)} ,closeTag: function(a ){a in l&& (this.getR ule(a,"bre akBeforeCl ose")&&thi s.lineBrea k(1),"*"!= a&&this.wr ite("[/",a ,"]"),this .getRule(a ,"breakAft erClose")& &this.line Break(1))} ,text:func tion(a){th is.write(a )},comment :function( ){},lineBr eak:functi on(){!this ._.hasLine Break&&thi s._.output .length&&( this.write ("\n"),        
16   this._.has LineBreak= 1)},write: function() {this._.ha sLineBreak =0;var a=A rray.proto type.join. call(argum ents,"");t his._.outp ut.push(a) },reset:fu nction(){t his._.outp ut=[];this ._.hasLine Break=0},g etHtml:fun ction(a){v ar b=this. _.output.j oin("");a& &this.rese t();return  D(b)}}})) ;CKEDITOR. plugins.ad d("bbcode" ,{requires :"entities ",beforeIn it:functio n(a){CKEDI TOR.tools. extend(a.c onfig,{ent erMode:CKE DITOR.ENTE R_BR,basic Entities:! 1,entities :!1,fillEm ptyBlocks: !1},!0);a. filter.dis able();a.a ctiveEnter Mode=a.ent erMode=        
17   CKEDITOR.E NTER_BR},i nit:functi on(a){func tion b(a){ var b=a.da ta;a=CKEDI TOR.htmlPa rser.fragm ent.fromBB Code(a.dat a.dataValu e);var c=n ew CKEDITO R.htmlPars er.basicWr iter;a.wri teHtml(c,h );a=c.getH tml(!0);b. dataValue= a}var c=a. config,h=n ew CKEDITO R.htmlPars er.filter; h.addRules ({elements :{blockquo te:functio n(a){var b =new CKEDI TOR.htmlPa rser.eleme nt("div"); b.children =a.childre n;a.childr en=[b];if( b=a.attrib utes.cite) {var c=new  CKEDITOR. htmlParser .element(" cite");c.a dd(new CKE DITOR.html Parser.tex t(b.replac e(/^"|"$/g ,        
18   "")));dele te a.attri butes.cite ;a.childre n.unshift( c)}},span: function(a ){var b;if (b=a.attri butes.bbco de)"img"== b?(a.name= "img",a.at tributes.s rc=a.child ren[0].val ue,a.child ren=[]):"e mail"==b&& (a.name="a ",a.attrib utes.href= "mailto:"+ a.children [0].value) ,delete a. attributes .bbcode},o l:function (a){a.attr ibutes.lis tType?"dec imal"!=a.a ttributes. listType&& (a.attribu tes.style= "list-styl e-type:"+a .attribute s.listType ):a.name=" ul";delete  a.attribu tes.listTy pe},a:func tion(a){a. attributes .href||(a. attributes .href=        
19   a.children [0].value) },smiley:f unction(a) {a.name="i mg";var b= a.attribut es.desc,g= c.smiley_i mages[CKED ITOR.tools .indexOf(c .smiley_de scriptions ,b)],g=CKE DITOR.tool s.htmlEnco de(c.smile y_path+g); a.attribut es={src:g, "data-cke- saved-src" :g,title:b ,alt:b}}}} );a.dataPr ocessor.ht mlFilter.a ddRules({e lements:{$ :function( b){var c=b .attribute s,g=CKEDIT OR.tools.p arseCssTex t(c.style, 1),e,d=b.n ame;if(d i n x)d=x[d] ;else if(" span"==d)i f(e=g.colo r)d="color ",e=CKEDIT OR.tools.c onvertRgbT oHex(e);el se{if(e=g[ "font-size "])if(c=        
20   e.match(/( \d+)%$/))e =c[1],d="s ize"}else  if("ol"==d ||"ul"==d) {if(e=g["l ist-style- type"])swi tch(e){cas e "lower-a lpha":e="a ";break;ca se "upper- alpha":e=" A"}else"ol "==d&&(e=1 );d="list" }else if(" blockquote "==d){try{ var h=b.ch ildren[0], l=b.childr en[1],m="c ite"==h.na me&&h.chil dren[0].va lue;m&&(e= '"'+m+'"', b.children =l.childre n)}catch(n ){}d="quot e"}else if ("a"==d){i f(e=c.href )-1!==e.in dexOf("mai lto:")?(d= "email",b. children=[ new CKEDIT OR.htmlPar ser.text(e .replace(" mailto:"," "))],e="") :((d=1==b. children.l ength&&        
21   b.children [0])&&d.ty pe==CKEDIT OR.NODE_TE XT&&d.valu e==e&&(e=" "),d="url" )}else if( "img"==d){ b.isEmpty= 0;g=c["dat a-cke-save d-src"]||c .src;c=c.a lt;if(g&&- 1!=g.index Of(a.confi g.smiley_p ath)&&c)re turn new C KEDITOR.ht mlParser.t ext(q[c]); b.children =[new CKED ITOR.htmlP arser.text (g)]}b.nam e=d;e&&(b. attributes .option=e) ;return nu ll},br:fun ction(a){i f((a=a.nex t)&&a.name  in A)retu rn!1}}},1) ;a.dataPro cessor.wri ter=v;if(a .elementMo de==CKEDIT OR.ELEMENT _MODE_INLI NE)a.once( "contentDo m",functio n(){a.on(" setData",b )});        
22   else a.on( "setData", b)},afterI nit:functi on(a){var  b;a._.elem entsPath&& (b=a._.ele mentsPath. filters)&& b.push(fun ction(b){v ar h=b.get Name(),f=m [h]||!1;"l ink"==f&&0 ===b.getAt tribute("h ref").inde xOf("mailt o:")?f="em ail":"span "==h?b.get Style("fon t-size")?f ="size":b. getStyle(" color")&&( f="color") :"img"==f& &(b=b.data ("cke-save d-src")||b .getAttrib ute("src") )&&0===b.i ndexOf(a.c onfig.smil ey_path)&& (f="smiley ");return  f})}})})() ;