text: import"../../CommonImports";import"../../Core/core.css";import"./ProgressBar.css";import*as React from"react";import{Observer}from"../../Observer";import{css}from"../../Util";export var ProgressBar=function(r){return React.createElement(Observer,{currentValue:r.currentValue},function(e){var a=r.transitionDuration,s=void 0===a?150:a;return React.createElement("span",{className:css(r.className,"bolt-progress-bar-container flex-row flex-noshrink flex-grow scroll-hidden")},React.createElement("span",{"aria-valuemin":0,"aria-valuemax":r.maxValue,"aria-valuenow":e.currentValue,className:css(r.progressBarClassName,"bolt-progress-bar-bar"),role:"progressbar",style:{transitionDuration:s+"ms",transform:"scaleX("+e.currentValue/r.maxValue+")"}}))})};