import*as i18n from"../../core/i18n/i18n.js";import*as UI from"../../ui/legacy/legacy.js";import cssOverviewProcessingViewStyles from"./cssOverviewProcessingView.css.js";const UIStrings={cancel:"Cancel"},str_=i18n.i18n.registerUIStrings("panels/css_overview/CSSOverviewProcessingView.ts",UIStrings),i18nString=i18n.i18n.getLocalizedString.bind(void 0,str_);export class CSSOverviewProcessingView extends UI.Widget.Widget{#e;fragment;constructor(e){super(),this.#e=e,this.#s()}#s(){const e=UI.UIUtils.createTextButton(i18nString(UIStrings.cancel),(()=>this.#e.dispatchEventToListeners("RequestOverviewCancel")),"",!0);this.setDefaultFocusedElement(e),this.fragment=UI.Fragment.Fragment.build`
      <div class="vbox overview-processing-view">
        <h1>Processing page</h1>
        <div>${e}</div>
      </div>
    `,this.contentElement.appendChild(this.fragment.element()),this.contentElement.style.overflow="auto"}wasShown(){super.wasShown(),this.registerCSSFiles([cssOverviewProcessingViewStyles])}}