'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

const index$1 = require('./index-0b1e2673.js');
require('./_commonjsHelpers-937cd5b3.js');
const index = require('./index-36cf3884.js');

const sv = {};

function create(language) {
  return index.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) {
    index$1.registerInstance(this, hostRef);
  }
  componentWillLoad() {
    this.t = create(this.element);
  }
  render() {
    return [
      index$1.h("section", null, this.items
        ? this.items.map((item, index) => (index$1.h("payfunc-display-item", { item: item, currency: this.currency, index: index })))
        : ""),
    ];
  }
  get element() { return index$1.getElement(this); }
};
PayfuncItemList.style = styleCss;

exports.payfunc_item_list = PayfuncItemList;
