import { r as registerInstance, h } from './index-148a7577.js';
import { r as randomIdGenerator } from './randomIdGenerator.util-56406f2e.js';

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

const Folder = class {
    constructor(hostRef) {
        registerInstance(this, hostRef);
        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: '80e5ca63bad7afe8f98ecd42a129d7d55721e70a', class: "digi-icon-folder", 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" }, h("path", { key: '8ed3df66b78b7339f24ba16ea5240bcad4d492a8', d: "M41.6443 12.5985H31.5581C30.2266 12.5985 29.003 11.8583 28.3735 10.6721L27.2288 8.57501C26.3919 7.08121 25.4563 6.68298 22.5507 6.68298H6.35567C4.5023 6.68298 3 8.20186 3 10.0757V39.2903C3 41.1641 4.5023 42.683 6.35567 42.683H41.6443C43.4977 42.683 45 41.1641 45 39.2903V15.9912C45 14.1174 43.4977 12.5985 41.6443 12.5985Z", fill: "currentColor" })));
    }
};
Folder.style = DigiIconFolderStyle0;

export { Folder as digi_icon_folder };
