a},setCssText:function(a,b){if(null!=a&&null!=b){b=b.split(";");for(var c=0;c<b.length;c++){var d=b[c].split(":");1<d.length&&(d[0]=mxUtils.trim(d[0].replace(/-([a-z])/gi,function(e,f){return f.toUpperCase()})),a[d[0]]=mxUtils.trim(d[1]))}}},setStyle:function(a,b,c){var d=null!=c&&("undefined"==typeof c.length||0<c.length);if(null==a||0==a.length)d&&(a=b+"="+c+";");else if(a.substring(0,b.length+1)==b+"="){var e=a.indexOf(";");a=d?b+"="+c+(0>e?";":a.substring(e)):0>e||e==a.length-1?"":a.substring(e+