'use strict';

var index = require('./index-p7cvUYAE.js');
var configState = require('./config-state-BIgGhhe9.js');
require('./index-W-zoNiyM.js');

const JustifiConfigProvider = class {
    constructor(hostRef) {
        index.registerInstance(this, hostRef);
        this.apiOrigin = "https://wc-proxy.justifi.ai";
        this.iframeOrigin = "https://components.justifi.ai";
        this.accountId = '';
    }
    componentWillLoad() {
        configState.setConfigState({
            apiOrigin: this.apiOrigin,
            iframeOrigin: this.iframeOrigin,
            accountId: this.accountId
        });
    }
    render() {
        return null;
    }
};

exports.justifi_config_provider = JustifiConfigProvider;
