import { r as registerInstance, h, g as getElement } from './index-08b73e9e.js';
import { d as dist } from './index-a0a71287.js';
import './_commonjsHelpers-9943807e.js';

const sv = {
  "Order creation failed": "Misslyckades skapa order",
  "Retry order creation from the start in order to proceed.": "Skapa en ny order om du vill försöka igen.",
};

function create(language) {
  return dist.create({
    sv,
  }, language);
}

const styleCss = ":host{display:block}:host[hidden]{display:none}header{height:56px;width:100%}header>h2{margin:0;color:rgb(var(--smoothly-warning-contrast));background:rgb(var(--smoothly-warning-color));padding:0.8em}p{margin:1em;margin-top:3em}";

const IntergiroRedo = class {
  constructor(hostRef) {
    registerInstance(this, hostRef);
  }
  componentWillLoad() {
    this.t = create(this.element);
  }
  render() {
    const t = this.t;
    return [
      h("header", null, h("h2", null, t("Order creation failed"))),
      h("p", null, t("Retry order creation from the start in order to proceed.")),
    ];
  }
  get element() { return getElement(this); }
};
IntergiroRedo.style = styleCss;

export { IntergiroRedo as ig_redo };
