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

const iconChevronLeftCss = ".sc-digi-icon-chevron-left-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-chevron-left-h svg.sc-digi-icon-chevron-left{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 DigiIconChevronLeftStyle0 = iconChevronLeftCss;

const IconChevronLeft = /*@__PURE__*/ proxyCustomElement(class IconChevronLeft 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: '36baf6c9b5d93b30489a1bf8d02b718c7cd16061', class: "digi-icon-chevron-left", width: "9", height: "14", viewBox: "0 0 9 14", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": this.afSvgAriaHidden ? 'true' : 'false', "aria-labelledby": this.afSvgAriaLabelledby
                ? this.afSvgAriaLabelledby
                : this.afTitle
                    ? this.titleId
                    : undefined }, this.afTitle && h("title", { key: '8fb30b76c260ed0d1497d2e7cd5b9eb74ac433fd', id: this.titleId }, this.afTitle), this.afDesc && h("desc", { key: 'f845531e67e95f702df9f87c370a715003eaf5a3' }, this.afDesc), h("path", { key: '944fc7561a0f63dd2660610f62b6940920c9d99d', class: "digi-icon-chevron-left__shape", d: "M8 13L2 6.926 7.853 1", stroke: "currentColor", "stroke-width": "2", fill: "none", "fill-rule": "evenodd" })));
    }
    static get style() { return DigiIconChevronLeftStyle0; }
}, [2, "digi-icon-chevron-left", {
        "afTitle": [1, "af-title"],
        "afDesc": [1, "af-desc"],
        "afSvgAriaHidden": [4, "af-svg-aria-hidden"],
        "afSvgAriaLabelledby": [1, "af-svg-aria-labelledby"],
        "titleId": [32]
    }]);
function defineCustomElement() {
    if (typeof customElements === "undefined") {
        return;
    }
    const components = ["digi-icon-chevron-left"];
    components.forEach(tagName => { switch (tagName) {
        case "digi-icon-chevron-left":
            if (!customElements.get(tagName)) {
                customElements.define(tagName, IconChevronLeft);
            }
            break;
    } });
}

export { IconChevronLeft as I, defineCustomElement as d };
