//>>built
define("dojox/mobile/Tooltip","dojo/_base/array,dijit/registry,dojo/_base/declare,dojo/_base/lang,dojo/dom-class,dojo/dom-construct,dojo/dom-geometry,dojo/dom-style,dijit/place,dijit/_WidgetBase".split(","),function(i,k,l,m,f,b,j,n,o,p){return l("dojox.mobile.Tooltip",p,{baseClass:"mblTooltip mblTooltipHidden",buildRendering:function(){this.inherited(arguments);this.anchor=b.create("div",{"class":"mblTooltipAnchor"},this.domNode,"first");this.arrow=b.create("div",{"class":"mblTooltipArrow"},this.anchor);
this.innerArrow=b.create("div",{"class":"mblTooltipInnerArrow"},this.anchor)},show:function(b,d){var c=this.domNode;f.remove(c,["mblTooltipAfter","mblTooltipBefore","mblTooltipBelow","mblTooltipAbove"]);i.forEach(k.findWidgets(c),function(a){if("auto"==a.height&&"function"==typeof a.resize){if(!a.fixedFooterHeight)a.fixedFooterHeight=j.getPadBorderExtents(c).b;a.resize()}});d&&(d=i.map(d,function(a){return{after:"after-centered",before:"before-centered"}[a]||a}));var e=o.around(c,b,d||["below-centered",
"above-centered","after-centered","before-centered"],this.isLeftToRight()),h={MRM:"mblTooltipAfter",MLM:"mblTooltipBefore",BMT:"mblTooltipBelow",TMB:"mblTooltipAbove",BLT:"mblTooltipBelow",TLB:"mblTooltipAbove",BRT:"mblTooltipBelow",TRB:"mblTooltipAbove",TLT:"mblTooltipBefore",TRT:"mblTooltipAfter",BRB:"mblTooltipAfter",BLB:"mblTooltipBefore"}[e.corner+e.aroundCorner.charAt(0)]||"";f.add(c,h);var g=j.position(b,!0);n.set(this.anchor,"mblTooltipAbove"==h||"mblTooltipBelow"==h?{top:"",left:Math.max(0,
g.x-e.x+(g.w>>1)-(this.arrow.offsetWidth>>1))+"px"}:{left:"",top:Math.max(0,g.y-e.y+(g.h>>1)-(this.arrow.offsetHeight>>1))+"px"});f.replace(c,"mblTooltipVisible","mblTooltipHidden");this.resize=m.hitch(this,"show",b,d);return e},hide:function(){this.resize=void 0;f.replace(this.domNode,"mblTooltipHidden","mblTooltipVisible")},onBlur:function(){return!0},destroy:function(){if(this.anchor)this.anchor.removeChild(this.innerArrow),this.anchor.removeChild(this.arrow),this.domNode.removeChild(this.anchor),
this.anchor=this.arrow=this.innerArrow=void 0;this.inherited(arguments)}})});