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

const iconBookCss = ".sc-digi-icon-book-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-book-h svg.sc-digi-icon-book{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 DigiIconBookStyle0 = iconBookCss;

const IconBook = class {
    constructor(hostRef) {
        registerInstance(this, hostRef);
        this.afTitle = undefined;
        this.afDesc = undefined;
        this.afSvgAriaHidden = true;
        this.afSvgAriaLabelledby = undefined;
        this.titleId = randomIdGenerator('icontitle');
    }
    render() {
        return (h("svg", { key: '49f19801d254aab30a8d4688f66e6547139c3993', class: "digi-icon-book", 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: '041006a54d4ba0c346d9acd1a2634bb8281ec31e', id: this.titleId }, this.afTitle), this.afDesc && h("desc", { key: '0ac4212d10b2d25a8737c02c1c23e18d57d421de' }, this.afDesc), h("path", { key: '23edabc6bfd04ecda2b51638466c019d46e06888', class: "digi-icon-book__shape", d: "M22 18.281V1.22C22 .543 21.475 0 20.821 0H4.714C2.112 0 0 2.184 0 4.875v16.25C0 23.816 2.112 26 4.714 26h16.107c.654 0 1.179-.543 1.179-1.219v-.812c0-.381-.172-.726-.437-.95-.206-.782-.206-3.011 0-3.793.265-.219.437-.564.437-.945zM6.286 6.805A.3.3 0 016.58 6.5h10.411a.3.3 0 01.295.305V7.82a.3.3 0 01-.295.305H6.581a.3.3 0 01-.295-.305V6.805zm0 3.25a.3.3 0 01.294-.305h10.411a.3.3 0 01.295.305v1.015a.3.3 0 01-.295.305H6.581a.3.3 0 01-.295-.305v-1.015zM18.729 22.75H4.714c-.869 0-1.571-.726-1.571-1.625 0-.894.707-1.625 1.571-1.625H18.73c-.093.868-.093 2.382 0 3.25z", fill: "currentColor", "fill-rule": "nonzero" })));
    }
};
IconBook.style = DigiIconBookStyle0;

export { IconBook as digi_icon_book };
