import { p as proxyCustomElement, H, h } from './p-a53686b3.js';
import { r as randomIdGenerator } from './p-ffe5c0e8.js';

const iconOpenSourceCss = ".sc-digi-icon-open-source-h{--digi--icon--color:var(--digi--color--icon--primary);--digi--icon--width:initial;--digi--icon--height:auto;display:flex;min-height:1.4em;align-items:center}.sc-digi-icon-open-source-h svg.sc-digi-icon-open-source{color:var(--digi--icon--color);max-width:var(--digi--icon--width);max-height:var(--digi--icon--height);width:var(--digi--icon--width, auto);height:var(--digi--icon--height, auto)}";
const DigiIconOpenSourceStyle0 = iconOpenSourceCss;

const IconOpenSource = /*@__PURE__*/ proxyCustomElement(class IconOpenSource extends H {
    constructor() {
        super();
        this.__registerHost();
        this.afTitle = undefined;
        this.afDesc = undefined;
        this.afSvgAriaHidden = true;
        this.afSvgAriaLabelledby = undefined;
        this.titleId = randomIdGenerator('icontitle');
    }
    render() {
        return (h("svg", { key: '71693a36c74c1a515c618c39b89d92810d19f307', class: "digi-icon-open-source", width: "70", height: "70", viewBox: "0 0 158 158", "aria-hidden": this.afSvgAriaHidden ? 'true' : 'false', "aria-labelledby": this.afSvgAriaLabelledby
                ? this.afSvgAriaLabelledby
                : this.afTitle
                    ? this.titleId
                    : undefined, xmlns: "http://www.w3.org/2000/svg" }, this.afTitle && h("title", { key: '9fad32a72f90cff9119116036a9c9b49f9de1dfc', id: this.titleId }, this.afTitle), this.afDesc && h("desc", { key: '0cf8a8750b550235b96c6c0be2e56b6338753843' }, this.afDesc), h("path", { key: 'f4cf43ed60986a79815290b21fc3ef5e5988d7fe', class: "digi-icon-open-source__shape", d: "M156,79.5 C156,37.25 121.75,3 79.5,3 C37.25,3 3,37.25 3,79.5 C3,112.195 23.518,140.085 52.375,151.034 L69.106,103.882 C59.638,99.84 53,90.446 53,79.5 C53,64.864 64.864,53 79.5,53 C94.136,53 106,64.864 106,79.5 C106,90.78 98.95,100.407 89.018,104.232 L105.747,151.377 C135.068,140.667 156,112.529 156,79.5 Z", fill: "currentColor", "fill-rule": "nonzero" })));
    }
    static get style() { return DigiIconOpenSourceStyle0; }
}, [2, "digi-icon-open-source", {
        "afTitle": [1, "af-title"],
        "afDesc": [1, "af-desc"],
        "afSvgAriaHidden": [4, "af-svg-aria-hidden"],
        "afSvgAriaLabelledby": [1, "af-svg-aria-labelledby"],
        "titleId": [32]
    }]);
function defineCustomElement$1() {
    if (typeof customElements === "undefined") {
        return;
    }
    const components = ["digi-icon-open-source"];
    components.forEach(tagName => { switch (tagName) {
        case "digi-icon-open-source":
            if (!customElements.get(tagName)) {
                customElements.define(tagName, IconOpenSource);
            }
            break;
    } });
}

const DigiIconOpenSource = IconOpenSource;
const defineCustomElement = defineCustomElement$1;

export { DigiIconOpenSource, defineCustomElement };
