import { r as registerInstance, h } from './index-e78ba223.js';

const eclBlockquoteEcCss = "@charset \"UTF-8\";.ecl-blockquote.sc-ecl-blockquote-ec{border-end-start-radius:0;border-inline-start:10px solid #ffd617;border-start-start-radius:0;margin:0;padding-bottom:.75rem;padding-inline-start:1.5rem;padding-top:.75rem}.ecl-blockquote__citation.sc-ecl-blockquote-ec{color:#404040;font:normal normal 400 1rem/1.5rem arial,sans-serif;font-style:italic;margin:0;max-width:65ch;quotes:\"‘\" \"’\"}.ecl-blockquote__citation.sc-ecl-blockquote-ec:before{content:open-quote}.ecl-blockquote__citation.sc-ecl-blockquote-ec:after{content:close-quote}.ecl-blockquote__citation[lang=bg].sc-ecl-blockquote-ec,.ecl-blockquote__citation[lang=cs].sc-ecl-blockquote-ec,.ecl-blockquote__citation[lang=de].sc-ecl-blockquote-ec,.ecl-blockquote__citation[lang=et].sc-ecl-blockquote-ec,.ecl-blockquote__citation[lang=lt].sc-ecl-blockquote-ec,.ecl-blockquote__citation[lang=sk].sc-ecl-blockquote-ec,.ecl-blockquote__citation[lang=sl].sc-ecl-blockquote-ec{quotes:\"„\" \"“\"}.ecl-blockquote__citation[lang=hr].sc-ecl-blockquote-ec,.ecl-blockquote__citation[lang=hu].sc-ecl-blockquote-ec,.ecl-blockquote__citation[lang=pl].sc-ecl-blockquote-ec,.ecl-blockquote__citation[lang=ro].sc-ecl-blockquote-ec{quotes:\"„\" \"”\"}.ecl-blockquote__citation[lang=da].sc-ecl-blockquote-ec{quotes:\"»\" \"«\"}.ecl-blockquote__citation[lang=el].sc-ecl-blockquote-ec,.ecl-blockquote__citation[lang=es].sc-ecl-blockquote-ec,.ecl-blockquote__citation[lang=fr].sc-ecl-blockquote-ec,.ecl-blockquote__citation[lang=it].sc-ecl-blockquote-ec,.ecl-blockquote__citation[lang=pt].sc-ecl-blockquote-ec{quotes:\"«\" \"»\"}.ecl-blockquote__citation[lang=fi].sc-ecl-blockquote-ec,.ecl-blockquote__citation[lang=sv].sc-ecl-blockquote-ec{quotes:\"”\" \"”\"}.ecl-blockquote__citation[lang=lv].sc-ecl-blockquote-ec,.ecl-blockquote__citation[lang=mt].sc-ecl-blockquote-ec,.ecl-blockquote__citation[lang=nl].sc-ecl-blockquote-ec{quotes:\"“\" \"”\"}.ecl-blockquote__quote.sc-ecl-blockquote-ec{margin:0}.ecl-blockquote__attribution.sc-ecl-blockquote-ec{margin-top:1rem;max-width:65ch}.ecl-blockquote__author.sc-ecl-blockquote-ec{color:#000;font:normal normal 400 1.125rem/1.75rem arial,sans-serif;font-weight:700}.ecl-blockquote__image.sc-ecl-blockquote-ec{aspect-ratio:1/1;height:120px;margin-top:.75rem;-o-object-fit:cover;object-fit:cover;width:120px}@media (min-width:480px){.ecl-blockquote.sc-ecl-blockquote-ec{padding-bottom:1rem;padding-inline-start:1.5rem;padding-top:1rem}.ecl-blockquote__citation.sc-ecl-blockquote-ec{font:normal normal 400 1rem/1.5rem arial,sans-serif;font-style:italic}.ecl-blockquote__attribution.sc-ecl-blockquote-ec{margin-top:1.5rem}.ecl-blockquote__author.sc-ecl-blockquote-ec{font:normal normal 400 1.125rem/1.75rem arial,sans-serif;font-weight:700}}@media (min-width:996px){.ecl-blockquote.sc-ecl-blockquote-ec{border-inline-start:0;display:flex;flex-direction:row-reverse;justify-content:flex-end;padding:0}.ecl-blockquote__body.sc-ecl-blockquote-ec{border-end-start-radius:0;border-inline-start:10px solid #ffd617;border-start-start-radius:0;display:inline-block;padding-bottom:1rem;padding-inline-start:1.5rem;padding-top:1rem}.ecl-blockquote__citation.sc-ecl-blockquote-ec{font:normal normal 400 1.125rem/1.75rem arial,sans-serif;font-style:italic}.ecl-blockquote__attribution.sc-ecl-blockquote-ec{margin-top:2rem}.ecl-blockquote__author.sc-ecl-blockquote-ec{font:normal normal 400 1.125rem/1.75rem arial,sans-serif;font-weight:700}.ecl-blockquote__image.sc-ecl-blockquote-ec{margin-inline-end:1.5rem;margin-top:0}}";

const eclBlockquoteEuCss = "@charset \"UTF-8\";.ecl-blockquote.sc-ecl-blockquote-eu{border-end-start-radius:4px;border-inline-start:8px solid #0e47cb;border-start-start-radius:4px;margin:0;padding-bottom:.75rem;padding-inline-start:1rem;padding-top:.75rem}.ecl-blockquote__citation.sc-ecl-blockquote-eu{color:#515560;font:normal normal 400 1.125rem/1.75rem arial,sans-serif;font-style:italic;margin:0;max-width:65ch;quotes:\"‘\" \"’\"}.ecl-blockquote__citation.sc-ecl-blockquote-eu:before{content:open-quote}.ecl-blockquote__citation.sc-ecl-blockquote-eu:after{content:close-quote}.ecl-blockquote__citation[lang=bg].sc-ecl-blockquote-eu,.ecl-blockquote__citation[lang=cs].sc-ecl-blockquote-eu,.ecl-blockquote__citation[lang=de].sc-ecl-blockquote-eu,.ecl-blockquote__citation[lang=et].sc-ecl-blockquote-eu,.ecl-blockquote__citation[lang=lt].sc-ecl-blockquote-eu,.ecl-blockquote__citation[lang=sk].sc-ecl-blockquote-eu,.ecl-blockquote__citation[lang=sl].sc-ecl-blockquote-eu{quotes:\"„\" \"“\"}.ecl-blockquote__citation[lang=hr].sc-ecl-blockquote-eu,.ecl-blockquote__citation[lang=hu].sc-ecl-blockquote-eu,.ecl-blockquote__citation[lang=pl].sc-ecl-blockquote-eu,.ecl-blockquote__citation[lang=ro].sc-ecl-blockquote-eu{quotes:\"„\" \"”\"}.ecl-blockquote__citation[lang=da].sc-ecl-blockquote-eu{quotes:\"»\" \"«\"}.ecl-blockquote__citation[lang=el].sc-ecl-blockquote-eu,.ecl-blockquote__citation[lang=es].sc-ecl-blockquote-eu,.ecl-blockquote__citation[lang=fr].sc-ecl-blockquote-eu,.ecl-blockquote__citation[lang=it].sc-ecl-blockquote-eu,.ecl-blockquote__citation[lang=pt].sc-ecl-blockquote-eu{quotes:\"«\" \"»\"}.ecl-blockquote__citation[lang=fi].sc-ecl-blockquote-eu,.ecl-blockquote__citation[lang=sv].sc-ecl-blockquote-eu{quotes:\"”\" \"”\"}.ecl-blockquote__citation[lang=lv].sc-ecl-blockquote-eu,.ecl-blockquote__citation[lang=mt].sc-ecl-blockquote-eu,.ecl-blockquote__citation[lang=nl].sc-ecl-blockquote-eu{quotes:\"“\" \"”\"}.ecl-blockquote__quote.sc-ecl-blockquote-eu{margin:0}.ecl-blockquote__attribution.sc-ecl-blockquote-eu{margin-top:1rem;max-width:65ch}.ecl-blockquote__author.sc-ecl-blockquote-eu{color:#515560;font:normal normal 400 .875rem/1.25rem arial,sans-serif;font-weight:400}.ecl-blockquote__image.sc-ecl-blockquote-eu{aspect-ratio:1/1;height:120px;margin-top:.75rem;-o-object-fit:cover;object-fit:cover;width:120px}@media (min-width:480px){.ecl-blockquote.sc-ecl-blockquote-eu{padding-bottom:1rem;padding-inline-start:1.5rem;padding-top:1rem}.ecl-blockquote__citation.sc-ecl-blockquote-eu{font:normal normal 400 1.5rem/1.75rem arial,sans-serif;font-style:italic}.ecl-blockquote__attribution.sc-ecl-blockquote-eu{margin-top:1.5rem}.ecl-blockquote__author.sc-ecl-blockquote-eu{font:normal normal 400 1rem/1.5rem arial,sans-serif;font-weight:400}}@media (min-width:996px){.ecl-blockquote.sc-ecl-blockquote-eu{border-inline-start:0;display:flex;flex-direction:row-reverse;justify-content:flex-end;padding:0}.ecl-blockquote__body.sc-ecl-blockquote-eu{border-end-start-radius:4px;border-inline-start:8px solid #0e47cb;border-start-start-radius:4px;display:inline-block;padding-bottom:1rem;padding-inline-start:1.5rem;padding-top:1rem}.ecl-blockquote__citation.sc-ecl-blockquote-eu{font:normal normal 400 1.5rem/1.75rem arial,sans-serif;font-style:italic}.ecl-blockquote__attribution.sc-ecl-blockquote-eu{margin-top:1.5rem}.ecl-blockquote__author.sc-ecl-blockquote-eu{font:normal normal 400 1.125rem/1.75rem arial,sans-serif;font-weight:400}.ecl-blockquote__image.sc-ecl-blockquote-eu{margin-inline-end:1.5rem;margin-top:0}}";

const EclBlockquote = class {
    constructor(hostRef) {
        registerInstance(this, hostRef);
        this.styleClass = '';
        this.theme = 'ec';
        this.image = undefined;
        this.author = undefined;
        this.imageAlt = undefined;
    }
    getClass() {
        return [
            `ecl-blockquote`,
            this.styleClass
        ].join(' ');
    }
    render() {
        return (h("figure", { class: this.getClass() }, h("div", { class: "ecl-blockquote__body" }, h("blockquote", { class: "ecl-blockquote__quote" }, h("p", { class: "ecl-blockquote__citation" }, h("slot", null))), this.author ?
            h("footer", { class: "ecl-blockquote__attribution" }, h("cite", { class: "ecl-blockquote__author" }, this.author)) : ''), this.image ?
            h("ecl-picture", { styleClass: `ecl-blockquote__picture sc-ecl-picture-${this.theme}`, imgClass: `ecl-blockquote__image sc-ecl-blockquote-${this.theme}`, image: this.image, imageAlt: this.imageAlt }, h("slot", { name: "sources" }))
            : ''));
    }
};
EclBlockquote.style = {
    ec: eclBlockquoteEcCss,
    eu: eclBlockquoteEuCss
};

export { EclBlockquote as ecl_blockquote };

//# sourceMappingURL=ecl-blockquote.entry.js.map