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

const iconFolderDirectoryCss = ".sc-digi-icon-folder-directory-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-folder-directory-h svg.sc-digi-icon-folder-directory{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 DigiIconFolderDirectoryStyle0 = iconFolderDirectoryCss;

const FolderDirectory = /*@__PURE__*/ proxyCustomElement(class FolderDirectory extends H {
    constructor() {
        super();
        this.__registerHost();
        this.afTitle = undefined;
        this.afDesc = undefined;
        this.afSvgAriaHidden = true;
        this.afSvgAriaLabelledby = undefined;
        this.titleId = randomIdGenerator('icontitle');
    }
    prefix(id) {
        return this.titleId + '-' + id;
    }
    get labelledBy() {
        return this.afSvgAriaLabelledby
            ? this.afSvgAriaLabelledby
            : this.afTitle
                ? this.titleId
                : undefined;
    }
    render() {
        return (h("svg", { key: '7fe2bfc9ceab6538d95b9bdafb462111dccfefe0', class: "digi-icon-folder-directory", width: "48", height: "48", viewBox: "0 0 48 48", fill: "none", "aria-labelledby": this.labelledBy, "aria-hidden": this.afSvgAriaHidden ? 'true' : 'false', xmlns: "http://www.w3.org/2000/svg" }, this.afTitle && h("title", { key: '1d5b0377011c2618cb494264bbca16cf30b3b4ad', id: this.titleId }, this.afTitle), this.afDesc && h("desc", { key: '0cd2ecdf342d31b8d98b6f9fc4758a0c91519984' }, this.afDesc), h("g", { key: '82ff75e9fb8a794131952797f178b00866c74f5f', "clip-path": "url(#clip0_2337_535)" }, h("path", { key: '471706dc06d849d6478cfbccd1c07ae20d26dc0f', d: "M9.66674 12.4226V3.68311H5.07227V36.0442C5.07227 38.5264 7.08465 40.5388 9.56686 40.5388H20.8533V35.9443H10.8653C10.2035 35.9443 9.66674 35.4076 9.66674 34.7458V18.2156H20.8533V13.6212H10.8653C10.2035 13.6212 9.66674 13.0844 9.66674 12.4226Z", fill: "currentColor" }), h("path", { key: '61f2c638cccce8528e7cac6ed343e3dae564d91f', d: "M41.3744 10.2865H36.7078C36.092 10.2865 35.5259 9.94774 35.2346 9.40499L34.705 8.44535C34.3177 7.76177 33.8848 7.57959 32.5404 7.57959H25.0477C24.1903 7.57959 23.4951 8.27475 23.4951 9.13212V21.5574C23.4951 22.4147 24.1901 23.1099 25.0477 23.1099H41.3744C42.2318 23.1099 42.927 22.4149 42.927 21.5574V11.8391C42.927 10.9817 42.232 10.2865 41.3744 10.2865Z", fill: "currentColor" }), h("path", { key: '6b40818a0e9c5c2dba50bc41b91b6ea5e77d46eb', d: "M41.3744 32.8594H36.7078C36.092 32.8594 35.5259 32.5206 35.2346 31.9779L34.705 31.0182C34.3177 30.3346 33.8848 30.1525 32.5404 30.1525H25.0477C24.1903 30.1525 23.4951 30.8476 23.4951 31.705V44.1303C23.4951 44.9876 24.1901 45.6828 25.0477 45.6828H41.3744C42.2318 45.6828 42.927 44.9878 42.927 44.1303V34.4119C42.927 33.5546 42.232 32.8594 41.3744 32.8594Z", fill: "currentColor" })), h("defs", { key: '202c7287e7691956358579ba9f7f6d5e1476b768' }, h("clipPath", { key: 'b6eeac6417b56b32363af742f789b973ac43e8cb' }, h("rect", { key: 'fbbc06286daf00c3f3a9e202fb37e8c442608190', width: "37.8545", height: "42", fill: "currentColor", transform: "translate(5.07227 3.68298)" })))));
    }
    static get style() { return DigiIconFolderDirectoryStyle0; }
}, [2, "digi-icon-folder-directory", {
        "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-folder-directory"];
    components.forEach(tagName => { switch (tagName) {
        case "digi-icon-folder-directory":
            if (!customElements.get(tagName)) {
                customElements.define(tagName, FolderDirectory);
            }
            break;
    } });
}

const DigiIconFolderDirectory = FolderDirectory;
const defineCustomElement = defineCustomElement$1;

export { DigiIconFolderDirectory, defineCustomElement };
