function BBTimeline(){TimelineMax.apply(this,arguments),this.addPosition=0,this.mode="offset",this.children=[]}var bannerboy=bannerboy||{};bannerboy.utils={dist:function(t,e,n,r){return Math.sqrt((t-n)*(t-n)+(e-r)*(e-r))},angle:function(t,e,n,r){return Math.atan2(r-e,n-t)},norm:function(t,e,n,r){var o=(t-e)/(n-e);return r?bannerboy.utils.clamp(o,0,1):o},lerp:function(t,e,n,r){var o=(n-e)*t+e;return r?bannerboy.utils.clamp(o,e,n):o},map:function(t,e,n,r,o,i){return bannerboy.utils.lerp(bannerboy.utils.norm(t,e,n,i),r,o,i)},clamp:function(t,e,n){return Math.min(Math.max(t,Math.min(e,n)),Math.max(e,n))},inRange:function(t,e,n){return t>=Math.min(e,n)&&t<=Math.max(e,n)},randomRange:function(t,e){return t+Math.random()*(e-t)},randomInt:function(t,e){return Math.floor(t+Math.random()*(e-t+1))},toDegrees:function(t){return 180*t/Math.PI},toRadians:function(t){return t*Math.PI/180},sign:function(t){return t>0?1:0===t?0:-1},roundToPlaces:function(t,e){var n=Math.pow(10,e);return Math.round(t*n)/n},roundToNearest:function(t,e){return Math.round(t/e)*e},shortestArc:function(t,e){return Math.abs(e-t)t?e-t-2*Math.PI:e-t+2*Math.PI},wrap:function(t,e){return(t%e+e)%e},lerpColor:function(t,e,n){var r=bannerboy.utils.hexToRGB(e),o=bannerboy.utils.hexToRGB(n),i={r:Math.round(bannerboy.utils.lerp(t,r.r,o.r)),g:Math.round(bannerboy.utils.lerp(t,r.g,o.g)),b:Math.round(bannerboy.utils.lerp(t,r.b,o.b))};return bannerboy.utils.rgbToHex(i.r,i.g,i.b)},rgbToHex:function(t,e,n){return"#"+((1<<24)+(t<<16)+(e<<8)+n).toString(16).slice(1)},hexToRGB:function(t){var e=/^#?([a-f\d])([a-f\d])([a-f\d])$/i;t=t.replace(e,function(t,e,n,r){return e+e+n+n+r+r});var n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return n?{r:parseInt(n[1],16),g:parseInt(n[2],16),b:parseInt(n[3],16)}:null},pad:function(t,e){for(var n=t.toString();n.length=u;++u)s.push(t.replace(e,bannerboy.utils.pad(u,o)));return s}};var bannerboy=bannerboy||{};bannerboy.image_cache={},bannerboy.defaults={},bannerboy.createElement=function(t){function e(){o.appendChildren=function(t){for(var e=0;e