var h,k=this,l=function(a){return"string"==typeof a},m=function(a){return"number"==typeof a},aa=function(){},n=function(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"== c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";else if("function"==b&&"undefined"==typeof a.call)return"object";return b},ba=function(a){var b=n(a);return"array"==b||"object"==b&&"number"==typeof a.length},p=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b},ca=Date.now||function(){return+new Date},q=function(a,b){a=a.split(".");var c=k;a[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+ a[0]);for(var d;a.length&&(d=a.shift());)a.length||void 0===b?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=b},r=function(a,b){function c(){}c.prototype=b.prototype;a.aa=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.va=function(a,c,f){for(var d=Array(arguments.length-2),e=2;e")&&(a=a.replace(na,">"));-1!=a.indexOf('"')&&(a=a.replace(oa,"""));-1!=a.indexOf("'")&&(a=a.replace(pa,"'"));-1!=a.indexOf("\x00")&&(a=a.replace(qa,"�"));return a},la=/&/g,ma=//g,oa=/"/g,pa=/'/g,qa=/\x00/g,ka= /[\x00&<>"']/,sa=function(a){return Array.prototype.join.call(arguments,"")},ta=function(a,b){return ab?1:0},ua=function(a){return String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()})},va=function(a){var b=l(void 0)?"undefined".replace(/([-()\[\]{}+?*.$\^|,:#parseFloat(Ka)){Ja=String(Ma);break a}}Ja=Ka} var Na=Ja,Da={},Oa=function(){return Ea(function(){for(var a=0,b=ja(String(Na)).split("."),c=ja("9").split("."),d=Math.max(b.length,c.length),e=0;0==a&&e");f=f.join("")}f=e.createElement(f);g&&(l(g)?f.className=g:"array"==n(g)?f.className=g.join(" "):cb(f,g));2=a.keyCode)a.keyCode=-1}catch(b){}};var rb="closure_listenable_"+(1E6*Math.random()|0),L=function(a){return!(!a||!a[rb])},sb=0;var tb=function(a,b,c,d,e){this.listener=a;this.F=null;this.src=b;this.type=c;this.capture=!!d;this.C=e;this.key=++sb;this.l=this.B=!1},ub=function(a){a.l=!0;a.listener=null;a.F=null;a.src=null;a.C=null};var M=function(a){this.src=a;this.c={};this.G=0};M.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.c[f];a||(a=this.c[f]=[],this.G++);var g=vb(a,b,d,e);-1d.keyCode||void 0!=d.returnValue)){a:{var e=!1;if(0==d.keyCode)try{d.keyCode=-1;break a}catch(g){e=!0}if(e||void 0==d.returnValue)d.returnValue=!0}d=[];for(e=b.currentTarget;e;e=e.parentNode)d.push(e);a=a.type;for(e=d.length-1;!b.h&&0<=e;e--){b.currentTarget=d[e];var f=Kb(d[e],a,!0,b);c=c&&f}for(e=0;!b.h&&e>>0),Bb=function(a){v(a,"Listener can not be null.");if("function"==n(a))return a;v(a.handleEvent,"An object listener must have handleEvent method.");a[Mb]||(a[Mb]=function(b){return a.handleEvent(b)});return a[Mb]};var P=function(){this.f=new M(this);this.ga=this;this.X=null};r(P,mb);P.prototype[rb]=!0;P.prototype.addEventListener=function(a,b,c,d){N(this,a,b,c,d)};P.prototype.removeEventListener=function(a,b,c,d){Hb(this,a,b,c,d)}; P.prototype.dispatchEvent=function(a){Cb(this);var b=this.X;if(b){var c=[];for(var d=1;b;b=b.X)c.push(b),v(1E3>++d,"infinite loop")}b=this.ga;d=a.type||a;if(l(a))a=new J(a,b);else if(a instanceof J)a.target=a.target||b;else{var e=a;a=new J(d,b);Ba(a,e)}e=!0;if(c)for(var f=c.length-1;!a.h&&0<=f;f--){var g=a.currentTarget=c[f];e=Q(g,d,!0,a)&&e}a.h||(g=a.currentTarget=b,e=Q(g,d,!0,a)&&e,a.h||(e=Q(g,d,!1,a)&&e));if(c)for(f=0;!a.h&&f=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1}; h.expand=function(a,b,c,d){p(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return this};h.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this}; h.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};h.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this}; h.translate=function(a,b){a instanceof H?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(ea(a),this.left+=a,this.right+=a,m(b)&&(this.top+=b,this.bottom+=b));return this};h.scale=function(a,b){b=m(b)?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this};var S=function(a,b,c){if(l(b))(b=Nb(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=Nb(c,d);f&&(c.style[f]=e)}},Ob={},Nb=function(a,b){var c=Ob[b];if(!c){var d=ua(b);c=d;void 0===a.style[d]&&(d=(A?"Webkit":Ha?"Moz":z?"ms":Fa?"O":null)+va(d),void 0!==a.style[d]&&(c=d));Ob[b]=c}return c},T=function(a,b){var c=gb(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""},Pb=function(a,b){if(/^\d+px?$/.test(b))return parseInt(b, 10);var c=a.style.left,d=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;a.style.left=b;b=a.style.pixelLeft;a.style.left=c;a.runtimeStyle.left=d;return+b},U=function(a,b){return(b=a.currentStyle?a.currentStyle[b]:null)?Pb(a,b):0},Qb=function(a,b){if(z){var c=U(a,b+"Left"),d=U(a,b+"Right"),e=U(a,b+"Top");a=U(a,b+"Bottom");return new R(e,d,a,c)}c=T(a,b+"Left");d=T(a,b+"Right");e=T(a,b+"Top");a=T(a,b+"Bottom");return new R(parseFloat(e),parseFloat(d),parseFloat(a),parseFloat(c))},Rb={thin:2, medium:4,thick:6},Sb=function(a,b){if("none"==(a.currentStyle?a.currentStyle[b+"Style"]:null))return 0;b=a.currentStyle?a.currentStyle[b+"Width"]:null;return b in Rb?Rb[b]:Pb(a,b)},Tb=function(a){if(z&&!(9<=Number(B))){var b=Sb(a,"borderLeft"),c=Sb(a,"borderRight"),d=Sb(a,"borderTop");a=Sb(a,"borderBottom");return new R(d,c,a,b)}b=T(a,"borderLeftWidth");c=T(a,"borderRightWidth");d=T(a,"borderTopWidth");a=T(a,"borderBottomWidth");return new R(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))};var V=function(a,b,c,d){P.call(this);this.w=a;this.ma=b;this.ra=c;this.ha=d;this.b=null;this.U=new I(0,0);S(this.w,"overflow","hidden");this.b=document.createElement("img");this.b.src=this.ma;S(this.b,"position","inherit");N(this.b,"load",this.na,!1,this);N(this.b,"error",this.la,!1,this)};r(V,P);q("ddab.layouts.utils.DynamicImageFit",V);V.addEventListener=V.prototype.addEventListener;V.removeEventListener=V.prototype.removeEventListener;V.prototype.ja=function(){return this.b}; V.prototype.getImage=V.prototype.ja; V.prototype.na=function(){this.U=new I(this.b.width,this.b.height);var a=new I(this.w.clientWidth,this.w.clientHeight);var b=this.U;var c=this.ra;if("none"==c||"shrink_to_fit"==c&&b.width<=a.width&&b.height<=a.height)c=b;else{b=b.aspectRatio();var d=a.aspectRatio();c="fit"==c&&b>d||"fill"==c&&bd?new I(Math.floor(a.width),Math.floor(a.width/b)):new I(Math.floor(a.height*b),Math.floor(a.height))}b=c;d=this.ha;var e=new H((a.width-b.width)/2,(a.height-b.height)/2);if("center"!= d){if("top"==d||"top_left"==d||"top_right"==d)e.y=0;if("bottom"==d||"bottom_left"==d||"bottom_right"==d)e.y=a.height-b.height;if("left"==d||"top_left"==d||"bottom_left"==d)e.x=0;if("right"==d||"top_right"==d||"bottom_right"==d)e.x=a.width-b.width}this.b.width=c.width;this.b.height=c.height;S(this.b,"left",e.x+"px");S(this.b,"top",e.y+"px");fb(this.w);this.w.appendChild(this.b);Lb(this,"image_load")};V.prototype.la=function(){this.b.width=0;this.b.height=0;Lb(this,"image_load_error")};var Ub=function(a,b,c){this.reset(a,b,c,void 0,void 0)};Ub.prototype.S=null;var Vb=0;Ub.prototype.reset=function(a,b,c,d,e){"number"==typeof e||Vb++;d||ca();this.u=a;delete this.S};Ub.prototype.$=function(a){this.u=a};var W=function(a){this.W=a;this.T=this.H=this.u=this.D=null},Wb=function(a,b){this.name=a;this.value=b};Wb.prototype.toString=function(){return this.name};var Xb=new Wb("INFO",800),Yb=new Wb("CONFIG",700);W.prototype.getName=function(){return this.W};W.prototype.getParent=function(){return this.D};W.prototype.$=function(a){this.u=a};var Zb=function(a){if(a.u)return a.u;if(a.D)return Zb(a.D);w("Root logger has no level set.");return null}; W.prototype.log=function(a,b,c){if(a.value>=Zb(this).value)for("function"==n(b)&&(b=b()),a=new Ub(a,String(b),this.W),c&&(a.S=c),c=this;c;){var d=c,e=a;if(d.T)for(var f=0;b=d.T[f];f++)b(e);c=c.getParent()}};W.prototype.info=function(a,b){this.log(Xb,a,b)};var $b={},ac=null,bc=function(a){ac||(ac=new W(""),$b[""]=ac,ac.$(Yb));var b;if(!(b=$b[a])){b=new W(a);var c=a.lastIndexOf("."),d=a.substr(c+1);c=bc(a.substr(0,c));c.H||(c.H={});c.H[d]=b;b.D=c;$b[a]=b}return b};q("ddab.layouts.utils.simpleUnicode.CharacterSet",{ua:"cjk"});var dc=function(a,b){switch(b){case "cjk":var c=cc}return c?c.test(a):!1};q("ddab.layouts.utils.simpleUnicode.matchesCharacterSet",dc);for(var ec=[/\u3000-\u303f/,/\u3040-\u309f/,/\u30a0-\u30ff/,/\uff00-\uffef/,/\u4e00-\u9fff/,/\u3400-\u4dff/,/\uf900-\ufaff/,/\uac00-\ud7a3/],fc="",gc=0,hc=ec.length;gc=Number(c.height.toFixed(4)):e.scrollWidth<= a.K;e&&e.parentNode&&e.parentNode.removeChild(e);return a},lc=function(a,b,c,d){for(;!Z(a,b,c,d)&&c>a.v;)c--,S(a.a,"font-size",c+"px");return c},oc=function(a,b){T(a.a,"line-height");a=Math.floor(a.J/b);return isNaN(a)?-1:a},pc=function(a){S(a.a,{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"})},nc=function(a,b,c){if(a.R)S(a.a,"word-wrap","break-word");else return pc(a),b;a.i=0;for(var d=b,e=6;!Z(a,[b],c,Y.m,!0)&&0oc(a,c))return pc(a),b;var f=parseInt(.8*b.length,10); f={O:b.substring(0,f),Y:b.substring(f,b.length)};b=f.O;e--;a.i++}for(e=16;!Z(a,[b],c,Y.m,!0);){if(2>oc(a,c)||0==e)return pc(a),b;6