'use strict';

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

const index = require('./index-9c866aeb.js');
const consumer = require('./consumer-3f5ce850.js');

const scOrderManualInstructionsCss = ":host{display:block}";

const ScOrderManualInstructions = class {
  constructor(hostRef) {
    index.registerInstance(this, hostRef);
  }
  render() {
    if (!this.manualPaymentInstructions || !this.manualPaymentTitle) {
      return index.h(index.Host, { style: { display: 'none' } });
    }
    return (index.h("sc-alert", { type: "info", open: true }, index.h("span", { slot: "title" }, this.manualPaymentTitle), this.manualPaymentInstructions.split('\n').map(i => {
      return index.h("p", null, i);
    })));
  }
};
consumer.openWormhole(ScOrderManualInstructions, ['manualPaymentTitle', 'manualPaymentInstructions'], false);
ScOrderManualInstructions.style = scOrderManualInstructionsCss;

exports.sc_order_manual_instructions = ScOrderManualInstructions;
