//>>built
define("dojox/mobile/CarouselItem","dojo/_base/declare,dojo/dom-construct,dojo/dom-geometry,dojo/dom-style,dijit/_Contained,dijit/_WidgetBase".split(","),function(e,b,c,d,f,g){return e("dojox.mobile.CarouselItem",[g,f],{alt:"",src:"",headerText:"",footerText:"",baseClass:"mblCarouselItem",buildRendering:function(){this.inherited(arguments);this.domNode.tabIndex="0";this.headerTextNode=b.create("div",{className:"mblCarouselItemHeaderText"},this.domNode);this.imageNode=b.create("img",{className:"mblCarouselItemImage"},
this.domNode);this.footerTextNode=b.create("div",{className:"mblCarouselItemFooterText"},this.domNode)},startup:function(){this._started||(this.inherited(arguments),this.resize())},resize:function(){var a=c.getMarginBox(this.domNode);if(0!==a.h){var b=c.getMarginBox(this.headerTextNode).h,d=c.getMarginBox(this.footerTextNode).h;c.setMarginBox(this.imageNode,{h:a.h-b-d})}},select:function(){var a=this.imageNode;d.set(a,"opacity",0.4);setTimeout(function(){d.set(a,"opacity",1)},1E3)},_setAltAttr:function(a){this._set("alt",
a);this.imageNode.alt=a},_setSrcAttr:function(a){this._set("src",a);this.imageNode.src=a},_setHeaderTextAttr:function(a){this._set("headerText",a);this.headerTextNode.innerHTML=this._cv?this._cv(a):a},_setFooterTextAttr:function(a){this._set("footerText",a);this.footerTextNode.innerHTML=this._cv?this._cv(a):a}})});