//>>built
define("dojox/mobile/ScrollablePane","dojo/_base/array dojo/_base/declare dojo/sniff dojo/_base/window dojo/dom-construct dojo/dom-style ./common ./_ScrollableMixin ./Pane ./_maskUtils".split(" "),function(k,l,g,r,d,f,m,n,p,q){return l("dojox.mobile.ScrollablePane",[p,n],{roundCornerMask:!1,radius:0,baseClass:"mblScrollablePane",buildRendering:function(){var a=this.containerNode=d.create("div",{className:"mblScrollableViewContainer",style:{width:"v"===this.scrollDir?"100%":""}});this.inherited(arguments);
if(this.srcNodeRef)for(var b=0,c=this.srcNodeRef.childNodes.length;b<c;b++)this.containerNode.appendChild(this.srcNodeRef.firstChild);this.roundCornerMask&&g("mask-image")&&(a=this.containerNode,b=this.maskNode=d.create("div",{className:"mblScrollablePaneMask"}),b.appendChild(a),a=b);this.domNode.appendChild(a);m.setSelectable(this.containerNode,!1)},resize:function(){this.inherited(arguments);this.roundCornerMask&&this.createRoundMask();k.forEach(this.getChildren(),function(a){a.resize&&a.resize()})},
isTopLevel:function(a){a=this.getParent&&this.getParent();return!a||!a.resize},createRoundMask:function(){if(g("mask-image")&&0!=this.domNode.offsetHeight){this.maskNode.style.height=this.domNode.offsetHeight+"px";var a=this.getChildren()[0],b=this.containerNode,b=a?a.domNode:0<b.childNodes.length&&(1===b.childNodes[0].nodeType?b.childNodes[0]:b.childNodes[1]),c=this.radius;if(!c){var e=function(a){return parseInt(f.get(a,"borderTopLeftRadius"))};a?(c=e(a.domNode),c||(c=(c=a.getChildren()[0])?e(c.domNode):
0)):c=e(b)}var a=b.offsetWidth,e=this.domNode.offsetHeight,d=f.get(b,"marginTop"),h=f.get(b,"marginBottom"),b=f.get(b,"marginLeft");q.createRoundMask(this.maskNode,b,d,0,h,a,e-h-d,c,c)}}})});