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: '5e944fc25c034289987f0e470a2f314d646ce6e8', 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: '9a809978ada495b9d4691bf1b078e24134b63d2f', id: this.titleId }, this.afTitle), this.afDesc && h("desc", { key: '3a3be78ecd2624ae79f6a9aef3d515217e495fb1' }, this.afDesc), h("path", { key: '8624d31fd2030740ca67c9fc977928da79c3196e', 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 };
