import { r as registerInstance, h, g as getElement } from './index-aeac5cad.js';
import './_commonjsHelpers-91fffb88.js';
import { d as dist } from './index-fdd60c34.js';

const sv = {};

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

const styleCss = ".sc-payfunc-item-list-h{display:block}[hidden].sc-payfunc-item-list-h{display:none}";

const PayfuncItemList = class {
  constructor(hostRef) {
    registerInstance(this, hostRef);
  }
  componentWillLoad() {
    this.t = create(this.element);
  }
  render() {
    return [
      h("section", null, this.items
        ? this.items.map((item, index) => (h("payfunc-display-item", { item: item, currency: this.currency, index: index })))
        : ""),
    ];
  }
  get element() { return getElement(this); }
};
PayfuncItemList.style = styleCss;

export { PayfuncItemList as payfunc_item_list };
