'use strict';

var index = require('./index-BEF5cZxd.js');
var template = require('./template-Cj6PcLmR.js');

const CookieConsentClass = {
    root: 'gov-cookiebar',
    content: 'gov-cookiebar__content',
    actions: 'gov-cookiebar__actions',
    actionsPrimary: 'gov-cookiebar__actions--primary',
    actionsSecondary: 'gov-cookiebar__actions--secondary',
};

const GovCookiebar = class {
    constructor(hostRef) {
        index.registerInstance(this, hostRef);
        this.h = template.govHost(this.host);
    }
    render() {
        return (index.h(index.Host, { key: '7d8ea9cb10b863d70680e34a8359bb7d4b3b54af', class: this.h.classes(CookieConsentClass.root) }, index.h("div", { key: '4f2790507b522d5dc274e5ce5a5e62487a890c6d', class: CookieConsentClass.content }, index.h("slot", { key: 'aba847e24ad18dea0d9ea8fd7190bdcff108f758', name: "headline" }), index.h("slot", { key: 'd6227ad2ccf538201f2d8f1feac0db38f2633f22' })), (this.h.hasSlot('actions-primary') || this.h.hasSlot('actions-secondary')) && (index.h("div", { key: '65363bcb6e8371d3d46f6517b7e22fcde33ff2bf', class: CookieConsentClass.actions }, this.h.hasSlot('actions-primary') && (index.h("div", { key: '2c4f265a2114f493e2806af2d0956c7cd5f19a71', class: CookieConsentClass.actionsPrimary }, index.h("slot", { key: 'fa4276041012ed1828ddb788f26b1aa52f7c82a7', name: "actions-primary" }))), this.h.hasSlot('actions-secondary') && (index.h("div", { key: '1080ea743d6cbf8545c72858ac35bbac2b0b1d21', class: CookieConsentClass.actionsSecondary }, index.h("slot", { key: 'bf0d5811a3965b52943e6f842dda315b747c6845', name: "actions-secondary" })))))));
    }
    get host() { return index.getElement(this); }
};

exports.gov_cookiebar = GovCookiebar;
//# sourceMappingURL=gov-cookiebar.entry.cjs.js.map

//# sourceMappingURL=gov-cookiebar.cjs.entry.js.map