text: //>>built
  define("dobolo/Affix","dojo/_base/declare dojo/_base/lang dojo/_base/window dojo/on dojo/dom-class dojo/dom-style dojo/dom-geometry".split(" "),function(h,k,c,l,g,m,n){return h([],{offsetTop:0,offsetBottom:0,affixed:null,unpin:null,scroller:null,constructor:function(a,b){a=a||{};this.node=b;this.offsetTop=a.offsetTop||0;this.offsetBottom=a.offsetBottom||0;this.scroller=l(c.doc,"scroll",k.hitch(this,"checkPosition"));this.checkPosition()},checkPosition:function(){if("none"!==m.get(this.node,"display")){var a=
  n.position(this.node,!1),b=c.doc.height,d=c.global.scrollY,e,f;e="function"===typeof this.offsetTop?this.offsetTop():this.offsetTop;f="function"===typeof this.offsetBottom?this.offsetBottom():this.offsetBottom;b=null!==this.unpin&&d+this.unpin<=a.y?!1:null!==f&&a.y+a.h>=b-f?"bottom":null!==e&&d<=e?"top":!1;this.affixed!==b&&(this.affixed=b,this.unpin="bottom"===b?a.y-d:null,g.remove(this.node,"affix affix-top affix-bottom"),g.add(this.node,"affix"+(b?"-"+b:"")))}},destroy:function(){this.scroller&&
  this.scroller.remove&&this.scroller.remove()}})});
  //@ sourceMappingURL=Affix.js.map