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

const iconValidationWarningCss = ".sc-digi-icon-validation-warning-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-validation-warning-h svg.sc-digi-icon-validation-warning{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 DigiIconValidationWarningStyle0 = iconValidationWarningCss;

const IconValidationWarning = /*@__PURE__*/ proxyCustomElement(class IconValidationWarning 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("div", { key: 'fb9af02a7037ff74e21b20d20540849014be7e9d' }, h("svg", { key: 'ba50e2905cf6af29794d07558a60042d37af5930', class: "digi-icon-validation-warning", width: "18", height: "18", viewBox: "0 0 18 18", 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: 'c693a8a9ea27ec82bac429fd570ed9c3b128647c', id: this.titleId }, this.afTitle), this.afDesc && h("desc", { key: 'd16f8833d2732fc5cec73efa78bd858240300ac9' }, this.afDesc), h("g", { key: '7f7cf95fecf1a5273cf896fd92f2088586dc035a', fill: "none", "fill-rule": "evenodd" }, h("circle", { key: '4151cf12c89e97f4a4982e07257e873749d82763', cx: "9", cy: "9", r: "6.75", fill: "#333" }), h("path", { key: 'ebc8a1eac31217eda5c65ad6e172e86753a4d1b4', d: "m18 9c0 4.9717-4.0298 9-9 9-4.9702 0-9-4.0283-9-9 0-4.9688 4.0298-9 9-9 4.9702 0 9 4.0312 9 9zm-9 1.8145c-0.92196 0-1.6694 0.7474-1.6694 1.6694 0 0.92196 0.7474 1.6694 1.6694 1.6694s1.6694-0.7474 1.6694-1.6694c0-0.92196-0.7474-1.6694-1.6694-1.6694zm-1.3157-1.065c0.012593 0.23095 0.20355 0.41175 0.43483 0.41175h1.7618c0.23128 0 0.42224-0.1808 0.43483-0.41175l0.2692-4.9355c0.013609-0.24946-0.18501-0.45922-0.43483-0.45922h-2.3002c-0.24982 0-0.4484 0.20976-0.43479 0.45922l0.2692 4.9355z", fill: "#FFE200" })))));
    }
    static get style() { return DigiIconValidationWarningStyle0; }
}, [2, "digi-icon-validation-warning", {
        "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-validation-warning"];
    components.forEach(tagName => { switch (tagName) {
        case "digi-icon-validation-warning":
            if (!customElements.get(tagName)) {
                customElements.define(tagName, IconValidationWarning);
            }
            break;
    } });
}

export { IconValidationWarning as I, defineCustomElement as d };
