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

const iconLockCss = ".sc-digi-icon-lock-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-lock-h svg.sc-digi-icon-lock{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 DigiIconLockStyle0 = iconLockCss;

const IconLock = /*@__PURE__*/ proxyCustomElement(class IconLock 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: '0b84511b4bf90376e9ed794492952b84e5f3ba92', class: "digi-icon-lock", width: "22", height: "26", viewBox: "0 0 22 26", "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: '05a743190857130d88667ea642019e78f7ee596c', id: this.titleId }, this.afTitle), this.afDesc && h("desc", { key: '28e94bece9a874afca741079562079cad8264650' }, this.afDesc), h("path", { key: '48505168f0b6a5ca478e62471c25967e3616a411', class: "digi-icon-lock__shape", d: "M19.643 11.375h-1.179V7.719C18.464 3.463 15.115 0 11 0S3.536 3.463 3.536 7.719v3.656H2.357C1.056 11.375 0 12.467 0 13.813v9.75C0 24.907 1.056 26 2.357 26h17.286C20.944 26 22 24.908 22 23.562v-9.75c0-1.345-1.056-2.437-2.357-2.437zm-5.107 0H7.464V7.719c0-2.016 1.586-3.657 3.536-3.657s3.536 1.64 3.536 3.657v3.656z", fill: "currentColor", "fill-rule": "nonzero" })));
    }
    static get style() { return DigiIconLockStyle0; }
}, [2, "digi-icon-lock", {
        "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-lock"];
    components.forEach(tagName => { switch (tagName) {
        case "digi-icon-lock":
            if (!customElements.get(tagName)) {
                customElements.define(tagName, IconLock);
            }
            break;
    } });
}

const DigiIconLock = IconLock;
const defineCustomElement = defineCustomElement$1;

export { DigiIconLock, defineCustomElement };
