text: 'use strict';var webview_statusbar=function(){var b,a=null,d=null,e='',c,f=function(){a=document.createElement('div');a.setAttribute('class','oit-statusbar');d=document.createElement('div');a.appendChild(d);b=OIT.toolbars.add('bottom',a,{size:22});OIT.document.addEventListener('showmessage',h);OIT.document.addEventListener('progress',k);OIT.document.addEventListener('hidemessage',l);OIT.toolbars.show(b);},m=function(){OIT.document.removeEventListener('showmessage',h);OIT.document.removeEventListener('progress',
  k);OIT.document.removeEventListener('hidemessage',l);a&&(OIT.toolbars.remove(b),a=null);b=void 0;d=a=null;e='';c=void 0;},h=function(a){a.detail.progress&&(c=0);g(a.detail.message);a.preventDefault();},k=function(a){c=a.detail.percentDone;n();},l=function(a){c=void 0;g('');},g=function(a){void 0!==a&&(e=String(a)||'',n());return e;},n=function(){d&&(d.innerHTML=void 0===c?e:e+' ('+c+'%)');};OIT.document.addEventListener('load',f);OIT.document.addEventListener('unload',m);return{init:f,reset:m,show:function(){a||
  f();OIT.toolbars.show(b);},hide:function(){a&&OIT.toolbars.hide(b);},message:g};}();
  