import { p as proxyCustomElement, H, h, t as transformTag } from './index2.js?scv=0.14.0';

const SearchcraftErrorMessage = /*@__PURE__*/ proxyCustomElement(class SearchcraftErrorMessage extends H {
    constructor(registerHost) {
        super();
        if (registerHost !== false) {
            this.__registerHost();
        }
    }
    render() {
        return (h("div", { key: 'd42f7abf8dfb2620622b8012d868d32f04b2f354', class: 'searchcraft-error-message' }, h("slot", { key: '75a7811576ea8afe80a7ae739f5cf2d411f976df' }, "Search term is required.")));
    }
}, [260, "searchcraft-error-message"]);
function defineCustomElement() {
    if (typeof customElements === "undefined") {
        return;
    }
    const components = ["searchcraft-error-message"];
    components.forEach(tagName => { switch (tagName) {
        case "searchcraft-error-message":
            if (!customElements.get(transformTag(tagName))) {
                customElements.define(transformTag(tagName), SearchcraftErrorMessage);
            }
            break;
    } });
}

export { SearchcraftErrorMessage as S, defineCustomElement as d };
//# sourceMappingURL=searchcraft-error-message2.js.map

//# sourceMappingURL=searchcraft-error-message2.js.map