'use strict';

var index = require('./index-p7cvUYAE.js');
var utils = require('./utils-8RGQVADu.js');
require('./parts-BXshb_S-.js');

const JustifiDetails = class {
    constructor(hostRef) {
        index.registerInstance(this, hostRef);
    }
    render() {
        return (index.h("div", { key: 'b91f85e2f62f1ea80409367208117f805299c397' }, this.errorMessage ?
            utils.ErrorState(this.errorMessage)
            :
                index.h("main", { class: "p-2" }, index.h("slot", { name: "head-info" }), index.h("slot", { name: 'detail-sections' }))));
    }
};

exports.justifi_details = JustifiDetails;
