$wnd.showcase.runAsyncCallback11("function $Fb(){}\nfunction aGb(){}\nfunction UFb(a,b){a.b=b}\nfunction VFb(a){if(a==KFb){return true}tA();return a==NFb}\nfunction WFb(a){if(a==JFb){return true}tA();return a==IFb}\nfunction _Fb(a){this.b=(CHb(),xHb).a;this.e=(HHb(),GHb).a;this.a=a}\nfunction TFb(a,b){var c;c=SC(a.fb,152);c.e=b.a;!!c.d&&EAb(c.d,b)}\nfunction SFb(a,b){var c;c=SC(a.fb,152);c.b=b.a;!!c.d&&rp(c.d,$bc,b.a)}\nfunction XFb(){OFb();GAb.call(this);this.b=(CHb(),xHb);this.c=(HHb(),GHb);qp(this.e,_bc,0);qp(this.e,acc,0)}\nfunction OFb(){OFb=TX;HFb=new $Fb;KFb=new $Fb;JFb=new $Fb;IFb=new $Fb;LFb=new $Fb;MFb=new $Fb;NFb=new $Fb}\nfunction PFb(a,b,c){var d;if(c==HFb){if(b==a.a){return}else if(a.a){throw new TYb('Only one CENTER widget may be added')}}Mh(b);YRb(a.j,b);c==HFb&&(a.a=b);d=new _Fb(c);b.fb=d;SFb(b,a.b);TFb(b,a.c);RFb(a);Oh(b,a)}\nfunction QFb(a,b){var c,d,e,f,g,h,i;ERb(a.hb,'',b);h=new y4b;i=new gSb(a.j);while(i.b<i.c.c){c=eSb(i);g=SC(c.fb,152).a;e=SC(h.ah(g),86);d=!e?1:e.a;f=g==LFb?'north'+d:g==MFb?'south'+d:g==NFb?'west'+d:g==IFb?'east'+d:g==KFb?'linestart'+d:g==JFb?'lineend'+d:Rbc;ERb(Kp(c.hb),b,f);h.bh(g,fZb(d+1))}}\nfunction RFb(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;b=a.d;while(b.children.length>0){Xo(b,b.children[0])}o=1;e=1;for(i=new gSb(a.j);i.b<i.c.c;){d=eSb(i);f=SC(d.fb,152).a;f==LFb||f==MFb?++o:(f==IFb||f==NFb||f==KFb||f==JFb)&&++e}p=KC(jS,U7b,259,o,0,1);for(g=0;g<o;++g){p[g]=new aGb;p[g].b=Sp($doc,Ybc);To(b,Ixb(p[g].b))}k=0;l=e-1;m=0;q=o-1;c=null;for(h=new gSb(a.j);h.b<h.c.c;){d=eSb(h);j=SC(d.fb,152);r=Sp($doc,Zbc);j.d=r;rp(j.d,$bc,j.b);Jq(j.d.style,Nbc,j.e);rp(j.d,i8b,j.f);rp(j.d,h8b,j.c);if(j.a==LFb){Exb(p[m].b,r,p[m].a);To(r,Ixb(d.hb));qp(r,Mcc,l-k+1);++m}else if(j.a==MFb){Exb(p[q].b,r,p[q].a);To(r,Ixb(d.hb));qp(r,Mcc,l-k+1);--q}else if(j.a==HFb){c=r}else if(VFb(j.a)){n=p[m];Exb(n.b,r,n.a++);To(r,Ixb(d.hb));qp(r,wdc,q-m+1);++k}else if(WFb(j.a)){n=p[m];Exb(n.b,r,n.a);To(r,Ixb(d.hb));qp(r,wdc,q-m+1);--l}}if(a.a){n=p[m];Exb(n.b,c,n.a);To(c,Ixb(a.a.hb))}}\nSX(402,1,wac);_.xc=function Jfb(){var a,b,c;j_(this.a,(a=new XFb,np(a.hb,'cw-DockPanel'),qp(a.e,_bc,4),UFb(a,(CHb(),wHb)),PFb(a,new tEb('This is the first north component'),(OFb(),LFb)),PFb(a,new tEb('This is the first south component'),MFb),PFb(a,new tEb('This is the east component'),IFb),PFb(a,new tEb('This is the west component'),NFb),PFb(a,new tEb('This is the second north component'),LFb),PFb(a,new tEb('This is the second south component'),MFb),b=new tEb(\"This is a <code>ScrollPanel<\\/code> contained at the center of a <code>DockPanel<\\/code>.  By putting some fairly large contents in the middle and setting its size explicitly, it becomes a scrollable area within the page, but without requiring the use of an IFRAME.<br><br>Here's quite a bit more meaningless text that will serve primarily to make this thing scroll off the bottom of its visible area.  Otherwise, you might have to make it really, really small in order to see the nifty scroll bars!\"),c=new HBb(b),Jq(c.hb.style,i8b,'400px'),Jq(c.hb.style,h8b,'100px'),PFb(a,c,HFb),QFb(a,'cwDockPanel'),a))};SX(866,252,p8b,XFb);_.Mb=function YFb(a){QFb(this,a)};_.dc=function ZFb(a){var b;b=Dzb(this,a);if(b){a==this.a&&(this.a=null);RFb(this)}return b};var HFb,IFb,JFb,KFb,LFb,MFb,NFb;var kS=zYb(m8b,'DockPanel',866);SX(151,1,{},$Fb);var hS=zYb(m8b,'DockPanel/DockLayoutConstant',151);SX(152,1,{152:1},_Fb);_.c='';_.f='';var iS=zYb(m8b,'DockPanel/LayoutData',152);SX(259,1,{259:1},aGb);_.a=0;var jS=zYb(m8b,'DockPanel/TmpRow',259);z7b(Cl)(11);\n//# sourceURL=showcase-11.js\n")
