export default class ElementsSidebarPane extends UI.VBox{constructor(delegatesFocus){super(true,delegatesFocus);this.element.classList.add('flex-none');this._computedStyleModel=new Elements.ComputedStyleModel();this._computedStyleModel.addEventListener(Elements.ComputedStyleModel.Events.ComputedStyleChanged,this.onCSSModelChanged,this);this._updateThrottler=new Common.Throttler(100);this._updateWhenVisible=false;} node(){return this._computedStyleModel.node();} cssModel(){return this._computedStyleModel.cssModel();} doUpdate(){return Promise.resolve();} update(){this._updateWhenVisible=!this.isShowing();if(this._updateWhenVisible){return;} this._updateThrottler.schedule(innerUpdate.bind(this));function innerUpdate(){return this.isShowing()?this.doUpdate():Promise.resolve();}} wasShown(){super.wasShown();if(this._updateWhenVisible){this.update();}} onCSSModelChanged(event){}} self.Elements=self.Elements||{};Elements=Elements||{};Elements.ElementsSidebarPane=ElementsSidebarPane;