var xm=I.ea(I,"AdfDhtmlCarouselItemPeer");m("AdfDhtmlCarouselItemPeer",xm);
xm.prototype.G=function(a,b){xm.h.G.call(this,a,b);var d=C.vC(b);if(d){var e=d.style;e.position="absolute";d=d.tagName;"IMG"==d||"IFRAME"==d?(e.width="100%",e.height="100%"):(e.width="auto",e.height="auto",e.top="0px",e.bottom="0px",e.left="0px",e.right="0px")}e=a.getParent().o();e.K_&&e.K_(a.g());b.setAttribute("role","option");e.pe&&b.setAttribute("aria-setsize",e.pe);e.Rf&&(d=b.parentNode)&&(d=d.getAttribute(ym.Xa),(e=e.Rf(d,!1))&&b.setAttribute("aria-posinset",e.index+1))};
r.a("AdfDhtmlCarouselItemPeer.prototype.InitDomElement",{G:xm.prototype.G});xm.prototype.ya=function(){return!0};r.a("AdfDhtmlCarouselItemPeer.prototype.needsResizeNotify",{ya:xm.prototype.ya});xm.prototype.nc=function(a){if(C.vC(this.i())==a){var b=a.style;b.position="absolute";var d=a.tagName;"IMG"==d||"IFRAME"==d?(b.width="100%",b.height="100%"):(b.width="auto",b.height="auto",b.top="0px",b.bottom="0px",b.left="0px",b.right="0px")}return a};
r.a("AdfDhtmlCarouselItemPeer.prototype.DomReplaceNotify",{nc:xm.prototype.nc});