/*! topbar 0.1.4, 2020-04-27 * http://buunguyen.github.io/topbar * Copyright (c) 2020 Buu Nguyen * Licensed under the MIT License */ (function(a,b){"use strict";!function(){for(var b=0,c=["ms","moz","webkit","o"],d=0;d=0||a.indexOf("-")>=0?f:0)+parseFloat(a)),f=a>1?1:a,j(),f)},hide:function(){g&&(g=!1,null!=d&&(a.cancelAnimationFrame(d),d=null),function b(){return l.progress("+.1")>=1&&(c.style.opacity-=.05,c.style.opacity<=.05)?(c.style.display="none",void(e=null)):void(e=a.requestAnimationFrame(b))}())}};"object"==typeof module&&"object"==typeof module.exports?module.exports=l:"function"==typeof define&&define.amd?define(function(){return l}):this.topbar=l}).call(this,window,document);